Skip to main content

Query Batch With Merchant Reference

For businesses managing multiple payout batches, staying organized is crucial. In this manual, we’ll explain how to query batches by merchant reference, allowing you to retrieve batches that are tied to specific transactions or accounts through the below points:

  • How to use your merchant reference to query and retrieve batches via API
  • Tracking batches associated with a particular project or account
  • How to use this data for easier reconciliation and reporting

By querying batches using merchant reference, you can streamline your tracking process and maintain better control over your payouts.


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

Request Parameters

To initiate a query batch request searching for specific merchant reference 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
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
}
merchant_reference
STRINGMerchant reference for the transaction.
{
"merchant_reference": 960
}

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.

{
"profile_id": "47128",
"account_id": "17",
"merchant_reference":"Delivery Fee"
}

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.