Payout Utilities
Get Payment Purposes by Country Code
Retrieves the list of valid payment purposes for a specific country. Payment purposes are required fields for certain payout destinations.
Call this GET endpoint first to fetch the accepted values before submitting a Payout request.
{{baseurl}}/merchant/api/v1/misc/payout-payment-purpose-by-country-code/:countryCodeNote: This endpoint is conditionally required. Check whether the target country mandates a payment purpose before initiating a payout.
Supported Countries
| Country | Country Code | Currency | Currency Code |
|---|---|---|---|
| United States | US | US Dollar | USD |
| Great Britain | GB | Pound Sterling | GBP |
Integration Notes
- Call this endpoint before submitting a Payout request when the destination country requires a payment purpose.
- Pass the returned code value as the
purpose_of_paymentfield in your Payout payload. - If an unsupported country code is provided, the endpoint will return a
400error.
Example Request – United States (USD)
{{baseurl}}/merchant/api/v1/misc/payout-payment-purpose-by-country-code/USPayment Purposes Response – United States (USD)
This is an example response to the request for payment purposes.
{
"status": true,
"message": "Payment purposes retrieved successfully",
"data": [
{
"countryCode": "US",
"code": "SALA", // pass this as purpose_of_payment in your Payout request
"name": "Salary",
"description": "Wage or salary payments"
},
{
"countryCode": "US",
"code": "SERV",
"name": "Services",
"description": "Payment for services rendered"
}
]
}Get Supported Bank Countries by Currency Code
Retrieves the list of countries for which we have supported banks for a specific currency. Use this endpoint to confirm that we have bank support in your target country for the given currency before initiating a Payout request.
{{baseurl}}/merchant/api/v1/misc/payout-countries-by-currency-code/:currencyCodeNote: This endpoint is conditionally required. Call it to verify that your destination country has supported banks under your target currency before submitting a Payout request.
Supported Currencies
| Currency | Currency Code | Example Countries with Supported Banks |
|---|---|---|
| US Dollar | USD | United States |
| Pound Sterling | GBP | Great Britain |
Integration Notes
- The returned countries represent destinations where we have supported banks for the given currency. Use this to confirm bank availability before proceeding with a Payout.
- Call this endpoint before submitting a Payout request to ensure we have bank support in your destination country for the target currency.
- Use the returned
iso2value as the bank_country in your Payout payload. - If an unsupported currency code is provided, the endpoint will return a
400error. - Requests without a valid public key will return a
401 Unauthorizederror.
Example Request – US Dollar (USD)
{{baseurl}}/merchant/api/v1/misc/payout-countries-by-currency-code/USDSupported Bank Countries Response – USD
This is an example response to the request for supported bank countries
{
"status": true,
"message": "currency countries retrieved successfully",
"data": [
{
"country": "United States",
"countryCode": "US", // use as bank_country in your Payout request
"currencyCode": "USD",
"metadata": null
},
{
"country": "United Kingdom",
"countryCode": "GB",
"currencyCode": "USD",
"metadata": null
}
]
}Updated 4 days ago
