# PayTabs API Documentation

This is the complete API documentation for connecting to the PayTabs API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **PayTabs connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/payTabs/actions/{actionSlug}/run
```

## PayTabs actions

- PUT `cancel-invoice` Cancel Invoice
- PUT `cancel-invoice-by-path` Cancel Invoice by Path
- PUT `capture-transaction` Capture Transaction
- POST `create-adcb-touchpoints-payment-page` Create ADCB TouchPoints Payment Page
- POST `create-alternate-currency-payment-page` Create Alternate Currency Payment Page
- POST `create-aman-payment-page` Create Aman Payment Page
- POST `create-apple-pay-payment` Create Apple Pay Payment
- POST `create-donation-payment-page` Create Donation Payment Page
- POST `create-framed-hosted-payment-page` Create Framed Hosted Payment Page
- POST `create-halan-payment-page` Create Halan Payment Page
- POST `create-hosted-payment-page` Create Hosted Payment Page
- POST `create-hosted-payment-page-with-card-approval` Create Hosted Payment Page with Card Approval
- POST `create-hosted-payment-page-with-card-discounts-amount` Create Hosted Payment Page with Card Discounts Amount
- POST `create-hosted-payment-page-with-card-discounts-percent-and-flat-amount` Create Hosted Payment Page with Card Discounts Percent and Flat Amount
- POST `create-hosted-payment-page-with-card-filter` Create Hosted Payment Page with Card Filter
- POST `create-hosted-payment-page-with-custom-parameters` Create Hosted Payment Page with Custom Parameters
- POST `create-hosted-payment-page-with-hidden-shipping` Create Hosted Payment Page with Hidden Shipping
- POST `create-hosted-payment-page-with-iframe-post-message` Create Hosted Payment Page with iFrame PostMessage
- POST `create-hosted-payment-page-with-invoice` Create Hosted Payment Page with Invoice
- POST `create-hosted-payment-page-with-theme` Create Hosted Payment Page with Theme
- POST `create-hosted-payment-page-with-token-info` Create Hosted Payment Page with Token Info
- POST `create-invoice` Create Invoice
- POST `create-invoice-with-payment-methods` Create Invoice with Payment Methods
- POST `create-knet-payment-page` Create KNET Payment Page
- POST `create-managed-form-payment` Create Managed Form Payment
- POST `create-moto-non3ds-non-cvv-payment` Create MOTO Non-3DS Non-CVV Payment
- POST `create-moto-non3ds-payment` Create MOTO Non-3DS Payment
- POST `create-moto-payment` Create MOTO Payment
- POST `create-optional-tokenizing-hosted-payment-page` Create Optional Tokenizing Hosted Payment Page
- POST `create-own-form-payment` Create Own Form Payment
- POST `create-paypal-payment-page` Create PayPal Payment Page
- POST `create-recurring-payment` Create Recurring Payment
- POST `create-sadad-payment-request` Create Sadad Payment Request
- POST `create-sadad-split-payout-payment-request` Create Sadad Split Payout Payment Request
- POST `create-samsung-pay-payment` Create Samsung Pay Payment
- POST `create-tabby-payment-page` Create Tabby Payment Page
- POST `create-tamara-payment-page` Create Tamara Payment Page
- POST `create-token-based-payment` Create Token-Based Payment
- POST `create-token-based-payment-with-token-info` Create Token-Based Payment with Token Info
- POST `create-tokenized-invoice` Create Tokenized Invoice
- POST `create-tokenizing-hosted-payment-page` Create Tokenizing Hosted Payment Page
- DELETE `delete-token` Delete Token
- GET `download-invoice-pdf` Download Invoice PDF
- PUT `extend-authorization` Extend Authorization
- GET `get-invoice-status` Get Invoice Status
- GET `get-invoice-status-by-path` Get Invoice Status by Path
- GET `get-token-status` Get Token Status
- PUT `mark-invoice-as-paid` Mark Invoice as Paid
- GET `query-shopify-transaction-by-reference` Query Shopify Transaction by Reference
- GET `query-transaction-by-cart-id` Query Transaction by Cart ID
- GET `query-transaction-by-reference` Query Transaction by Reference
- PUT `refund-transaction` Refund Transaction
- GET `sadad-inquiry` Sadad Inquiry
- GET `search-invoices` Search Invoices
- PUT `send-invoice-sms` Send Invoice SMS
- POST `tokenize-card` Tokenize Card
- GET `valu-inquiry` ValU Inquiry
- PUT `void-transaction` Void Transaction
