SADAD APIs | Create Payment Request
PayTabs provides you with a collection of API endpoints which used to process all payments, regardless of if they are through either your own payment pages, the managed payment pages, or if you are using the hosted payment pages.
Be Aware Of
Be aware that Sadad MUST be enabled in your PayTabs profile in order to perform any payments using it, so kindly make sure to contact [email protected] or your account manager requesting to enable Sadad.
Sadad is a payment method that is supported only in Saudi Arabia, and its payment workflow is a little bit different from payments via credit/debit card workflow. In the article, we will walk you through the transaction API via Sadad, for a better understanding of the request/response workflow.
The Endpoint and Related Postman Collectionβ
In this tutorial, we will rely on the API Endpoint, mentioned on PayTabs API endpoints postman collection, which you can access fromKSA PayTabs Postman APIs Collection. The endpoint will need to be accessed with a POST request on the below-mentioned URLPOST | {{domain}}/payment/apm/sadad/ifs/request |
---|
Be Aware Of
Please note that not using the proper endpoint URL {domain} will lead to authentication issues within your responses. To find the your proper domain you can read ourWhat is my (Region)/(endpoint URL)?tutorial article.
- KSA
https://secure.paytabs.sa/payment/apm/sadad/ifs/request
Request Parametersβ
To initiate a direct payment request using this endpoint, there are minimum required parameters that need to be passed with valid information. The specification of both required parameters and all the other optional parameters/features that can be used are clarified below:- The Minimum Required Parameters
- The Available Optional Parameters
Parameter | Data Type | Min | Max | Required |
---|---|---|---|---|
| INT | Accept only valid profile number | β | |
The merchant Profile ID you can get from your PayTabs dashboard. For more information please check ourHow to get your account information from PT2 Dashboard?tutorial article. To know more about this parameter pleaseclick here. | ||||
| ||||
| INT | Accept only valid amount | β | |
The minimum amount is 25 SAR | ||||
| ||||
| STRING | Accept only valid string | β | |
| ||||
| STRING | Accept only valid phone number | β | |
|
Parameter | Data Type | Min | Max | Required |
---|---|---|---|---|
| STRING |