Skip to main content

Query Single Batch

Once a batch has been created, it's important to monitor its progress to ensure the payout process is on track. In this manual, we’ll show you how to query a single batch using our API to retrieve details such as the batch status, total amount, and any pending actions. This guide will walk you through:

  • How to use the API to query a specific batch by its unique ID
  • Understanding the batch's current status and related information
  • What to do if the batch is incomplete or facing issues

By the end of this manual, you’ll have the knowledge needed to track your batches effectively and stay informed about the progress of your payouts.


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

Request Parameters

To initiate a query batch request using this API Endpoint, there are specific parameters that need to be passed with valid information. The specification of these parameters is clarified below:

ParameterData TypeMinMaxRequired
batch_id
INTUnique ID of for a batch.
{
"batch_id": 263
}
profile_id
INTUnique profile ID associated with the batch.
{
"profile_id": 47128
}
account_id
INTUnique ID of the merchant account associated with the batch.
{
"account_id": 17
}

Request & Response Payload Samples

This section is dedicated give you a sample API request payload using the above mentioned required 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.

{
"batch_id": 263,
"profile_id": "47128",
"account_id": "17"
}

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.