Adding more Request(s) to a Batch
Understanding Adding Request(s) to Batchβ
After creating the batch, you may need to add deposit requests to ensure that funds are transferred to the intended recipients. Each deposit request is designed to transfer a specific amount of money to a designated beneficiary.
At this stage, you will need to fill in the beneficiary details, which include the beneficiaryβs name, account number, and any other relevant information required for the transfer. This process ensures that each beneficiary receives the correct amount in a timely manner. Additionally, it is important to review all the details carefully to avoid any errors that could delay the transfer or result in funds being sent to the wrong account.
The Endpoint and Related Postman Collectionβ
POST | {{domain}}/payout/batch/request/add |
---|
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
- UAE
- Egypt
- Oman
- Jordan
- Kuwait
- Global
https://secure.paytabs.sa/payout/batch/request/add
https://secure.paytabs.com/payout/batch/request/add
https://secure-egypt.paytabs.com/payout/batch/request/add
https://secure-oman.paytabs.com/payout/batch/request/add
https://secure-jordan.paytabs.com/payout/batch/request/add
https://secure-kuwait.paytabs.com/payout/batch/request/add
https://secure-global.paytabs.com/payout/batch/request/add
Request Parametersβ
To initiate a payment request using this service, there are minimum required parameters that need to be passed with valid information. The specification of these required parameters is clarified below:
- The Minimum Required Parameters
Parameter | Data Type | Min | Max | Required |
---|---|---|---|---|
| INT | - | β | |
The Batch ID as received from Creating Batch API. | ||||
| ||||
| INT | - | β | |
PayTabs Merchant Profile ID. | ||||
| ||||
| INT | β | ||
PayTabs Merchant Deposit Account ID. | ||||
| ||||
| STRING | β | ||
Merchant's Batch Reference | ||||
| ||||
| OBJECT | β | ||
Transfer record requests. | ||||
| ||||
| STRING | β | ||
Merchant specific data. | ||||
| ||||
| DECIMAL | Numeric with support for decimals | β | |
Transfer Amount | ||||
| ||||
| STRING | β | ||
Beneficiary Name as defined in the bank. | ||||
| ||||
| STRING | β | ||
Beneficiary Country Code. | ||||
| ||||
| INT | Alphanumeric - Length as mentioned in https://www.iban.com/structure | β | |
Beneficiary account (IBAN, VIBAN). | ||||
| ||||
| STRING | β | ||
Beneficiary Bank. | ||||
| ||||
| STRING | β | ||
Beneficiary Bank Branch. | ||||
| ||||
| STRING | β | ||
Beneficiary Email address. | ||||
| ||||
| STRING | β | ||
Beneficiary Mobile Number in E164 format. | ||||
| ||||
| STRING | β | ||
Beneficiary Address Line 1. | ||||
| ||||
| STRING | β | ||
Beneficiary Address Line 2. | ||||
| ||||
| DECIMAL | 100 - Salary 101 - Pension 102 - General Cash Management 103 - Donation | β | |
Transfer Code. | ||||
| ||||
| DECIMAL | β | ||
Payout ordering party name. | ||||
| ||||
| DECIMAL | β | ||
Payout ordering party address 1. | ||||
| ||||
| DECIMAL | β | ||
Payout ordering party address 2. | ||||
| ||||
| DECIMAL | β | ||
Payout ordering party address 3. | ||||
|
Request & Response Payload Samplesβ
This section is dedicated give you a sample API request payload using both the above mentioned required and optional parameters, along with showing you the response payload received upon using each request payload.
- Required Parameters Sample Payloads
The below sample request payload will show you how you can pass the above-mentioned required parameter/s, which are needed to be passed with valid values to perform a request. Along with the response payload received after using this request payload.
- Sample Request Payload
- Sample Response Payload
{
"batch_id": 987654,
"profile_id": 654321,
"account_id": 876543,
"order_id": "Payout-API-100101",
"requests": [
{
"merchant_reference":"1234",
"amount": 101,
"beneficiary_name": "Rami Hegazi",
"beneficiary_country": "SE",
"beneficiary_account_number": "SE3550000000054910000003",
"beneficiary_bank": "ESSESESS",
"beneficiary_bank_branch": "",
"beneficiary_email": "[email protected]",
"beneficiary_mobile_number": "+971585436859",
"beneficiary_address1": "Riyadh",
"beneficiary_address2": "",
"transfer_code": "100",
"source_name": "PayTabs Technical Support Team",
"source_address1": "address1",
"source_address2": "address2",
"source_address3": "address3"
},
{
"merchant_reference":"8906",
"amount": 155,
"beneficiary_name": "Rami Hegazi",
"beneficiary_country": "SE",
"beneficiary_account_number": "SE3550000000054910000003",
"beneficiary_bank": "ESSESESS",
"beneficiary_bank_branch": "",
"beneficiary_email": "[email protected]",
"beneficiary_mobile_number": "+971585436859",
"beneficiary_address1": "Riyadh",
"beneficiary_address2": "",
"transfer_code": 101,
"source_name": "PayTabs Technical Support Team",
"source_address1": "address1",
"source_address2": "address2",
"source_address3": "address3"
}
]
}
{
"batch_id": 12,
"profile_id": 48264,
"account_id": 5154,
"currency": "SAR",
"total": "0",
"count": 0,
"order_id": "Payout-API-20220211",
"status": "New",
"trace": "PMNT0201.62376344.00074C2A"
}