List Banks
GET /transfers/banks
Description
List banks.
Path Parameters
| Name | Type | Description |
|---|---|---|
| None | No parameters |
Request Headers
| Name | Type | Description |
|---|---|---|
countryCode | string | The country code (header) |
Example
GET /transfers/banks
Content-Type: application/json
countryCode: string
Response Code: 200 - OK
Description
Successful.
Response Fields
| Field | Type | Description |
|---|---|---|
status | boolean | Indicates if the operation was successful |
statusCode | integer | Status code |
message | string | Response message |
data | object | Data related to the list of banks |
errors | array | List of error messages, if any |
Example
{
"status": true,
"statusCode": 0,
"message": "List of banks fetched successfully",
"data": {},
"errors": [
{
"message": "Some error occurred",
"descriptiveMessage": "Detailed error message"
}
]
}
Headers
| Content-Type | Value |
|---|---|
| apiKey | {{apiKey}} |
| countryCode | string |
🔑 Authentication bearer
| Param | Value | Type |
|---|---|---|
| token | {{accessCode}} | string |
LANGUAGE
CURL REQUEST
curl --request GET \
--url /transfers/banks \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!