Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Payout services

A service is the way the money reaches the beneficiary, for example a bank deposit. This endpoint returns the services that have at least one active payer, optionally for a given country and currency.

Endpoint

GET/api/v1/pay-out/services

Authentication: HTTP Basic with your API key and secret. See Authentication.

Query parameters

All parameters are optional.

ParameterTypeDescription
country_isostring3-letter destination country code, for example COL.
currencystringDestination currency (ISO 4217), for example COP.

country_iso_code is accepted as an alias of country_iso. Codes are case-insensitive.

Example

Terminal window
curl "https://sandbox-api.cashela.com/api/v1/pay-out/services?country_iso=COL&currency=COP" \
-u "$CASHELA_API_KEY:$CASHELA_API_SECRET" \
-H "Accept: application/json"
{
"success": true,
"data": {
"data": [
{ "id": 2, "slug": "bank-deposit", "name": "Bank deposit", "source": "pay_out_services" }
]
},
"message": "Services retrieved successfully."
}

The list is nested in data.data. IDs and names are illustrative; read them from the API.

Response fields

FieldTypeDescription
idintegerService ID. Send it as pay_out_service_id in a quotation to limit the quote to this service.
slugstringStable service identifier. Use it as service_slug in countries and payers.
namestringDisplay name.
sourcestringCatalog the service comes from. Always pay_out_services.

Errors

StatusWhen
422country_iso or currency does not exist.