Get Banks by Currency
Get banks available for a specific fiat currency.
Endpoint
GET /v1/banks/:currencyAuthentication
Header
Value
Path parameters
Parameter
Type
Description
Example request
curl -X GET https://ramp-api.ivorypay.io/api/v1/banks/NGN \
-H "x-api-key: your_api_key"const response = await fetch("https://ramp-api.ivorypay.io/api/v1/banks/NGN", {
method: "GET",
headers: {
"x-api-key": "your_api_key",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.get(
"https://ramp-api.ivorypay.io/api/v1/banks/NGN",
headers={
"x-api-key": "your_api_key",
},
)
print(response.json())Example response
{
"statusCode": 200,
"success": true,
"message": "Query successful",
"data": [
{
"bankName": "Access Bank",
"bankId": "uuid-here",
"bankCode": "044"
},
{
"bankName": "GTBank",
"bankId": "uuid-here",
"bankCode": "058"
},
{
"bankName": "Zenith Bank",
"bankId": "uuid-here",
"bankCode": "057"
}
]
}Last updated