Cashout Bank Codes
Learn how to use the Cashout Bank Codes Endpoint to retrieve the list of bank codes accepted for cashouts in each country
Cashout Bank Codes
GET
https://api-stg.directa24.com/v3/banks?country={ISO_CODE}
This API allows you to retrieve the list of banks available in each country
Query Parameters
country*
string
Country ISO code
Headers
Authorization*
string
Authorization Header. Format: "Bearer your_read_only_key"
Introduction
This endpoint is used to retrieve and display to your customer the list of banks available on their country. In case we add or remove a bank, this endpoint will reflect those updates real-time and therefore it is a good idea to constantly check this endpoint for the list of banks.
Once the user selected their bank by its name, you need to send its code to us in the bank_code field of the requests.
The endpoint is read only and so it uses a read only key. It can be used from the front-end without major security concerns.
Bank Codes Request
Request Example
Request Fields
Type
Field
Format
Description
Query Param
country
String (length: 2)
Header
Authorization
String
Bearer Token Authentication. It is a concatenation of the word "Bearer" and your Read Only API Key.
Bank Codes Response
Response Example
Response fields
Field
Format
Description
code
Number
Bank code. It is the value you must send in the field bank_code
of the cashouts and deposits requests
name
String
Name of the bank
Last updated
Was this helpful?