Payout Countries
Endpoint
Method: GET
URL: /api/v1/pay-out/countries
Authentication: Basic Auth (Business Key + Secret)
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| iso_code | string | No | ISO-3 country code to filter by country |
| name | string | No | Country name to filter results |
| service_id | integer | No | Filter by payout service type |
Example cURL
curl -X GET "https://api.cashela.com/api/v1/pay-out/countries?iso_code=BRA" \ -H "Authorization: Basic BASE64_ENCODED_KEY_SECRET" \ -H "Content-Type: application/json" \ -H "Accept: application/json"Example Response
{ "success": true, "data": [ { "id": 11, "name": "Argentina", "iso_code": "ARG" }, { "id": 3, "name": "Brazil", "iso_code": "BRA" } ], "message": "Countries retrieved successfully.", "role": "business"}Response Fields
| Field | Type | Description |
|---|---|---|
| id | integer | Unique country identifier |
| name | string | Country name |
| iso_code | string | ISO-3 country code |
Notes
- Use ISO-3 for country codes.
- Filtering is optional; omit to get all available countries.