Skip to main content

Query Batch Requests With Specific Status

When managing multiple payout batch requests, it’s useful to quickly query and view them by their current statusβ€”whether they’re pending, processed, or completed. In this guide, we’ll show you how to query batch requests by status using our API through the following steps:

  • How to filter your batch requests based on their processing status
  • Viewing and tracking the progress of pending, processed, or completed requests
  • Using this information to identify which requests need attention

By utilizing these status filters, you can monitor your batch requests more efficiently, addressing any issues promptly to ensure a smooth payout process.


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

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
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": 441,
"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.