The bank and branch APIs provide the list of banks and their respective branches that are available in the destination country.
curl -X GET {{url}}/v2/banks \
-H 'Accept: application/json' \
-H 'X-Client-Id: clientid' \
-H 'X-Client-Secret: clientsecret'
{
"id": 00,
"name": "Test Bank",
"country": "NGA",
"branches": [
{
"id": 00,
"name": "Test Bank Branch"
}
]
}
GET
/v2/
banks?countryCode={{countryCode}}
curl -X GET {{url}}/v2/banks?countryCode=KEN \
-H 'Accept: application/json' \
-H 'X-Client-Id: clientid' \
-H 'X-Client-Secret: clientsecret'
{
"id": 00,
"name": "Test Bank",
"country": "KEN",
"branches": [
{
"id": 00,
"name": "Test Bank Branch",
}
]
}
curl -X GET {{url}}/v2/banks/10 \
-H 'Accept: application/json' \
-H 'X-Client-Id: clientid' \
-H 'X-Client-Secret: clientsecret'
{
"id": 10,
"name": "Test Bank",
"country": "NGA",
"receiving_currency" : ["NGN", "USD"],
"branches": [
{
"id": 20,
"name": "Test Bank Branch"
}
]
}