Skip to main content

Create Payout Batch

The first and most important step in the External Payout workflow is creating a batch. A batch acts as a container for your deposit requests, grouping them into a single, manageable unit. By organizing requests into a batch, you can easily track, process, and review them all at once, making the payout process smoother and more efficient.

When you create a batch, you have two options:

  • You can create the batch first and add deposit requests to it later which will be clarified in our Adding more Request(s) to a Batch manual.
  • Or, you can create a batch, add requests to this batch, and close the batch all that in the same time/request which will be clarified in this manual.

This flexibility allows you to manage your workflow based on your business needs. Grouping your deposit requests into a batch ensures they are processed consistently and efficiently, saving time and reducing manual effort.

For a full guide on managing the entire External Payout processβ€”including adding and closing batchesβ€”be sure to check out our External Payout APIs Workflow manual.

Let’s dive into how to create your first batch and set your payouts in motion!


POST{{domain}}/payout/batch/new
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.

https://secure.paytabs.sa/payout/batch/new

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:

ParameterData TypeMinMaxRequired
profile_id
INT-βœ”
PayTabs Merchant Profile ID.
{
"profile_id": 654321,
}
account_id
INT-βœ”
PayTabs Merchant Deposit Account ID.
{
"account_id": 876543,
}
order_id
STRING-βœ”
Merchant's Batch Reference
{
"order_id": "Payout-API-20220211"
}

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.

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.

{
"profile_id": 654321,
"account_id": 876543,
"order_id": "Payout-API-20220211",
}

The Payment Flow Experience​

Reaching this point, you are now able to initiate a Split Payout request and as you now, the process involves several key steps that ensure a smooth payment and tracking experience for both you and customers. Here’s how it works:

We are glad to be always in help. We aim to serve you better each time. As such, please spare a minute to share feedback about your recent experience with PayTabs Developers , on Trustpilot, or Google Reviews.