Loading...
Retrieves a comprehensive list of all supported banks in the system. This endpoint provides bank information including codes and names that can be used for account validation and other banking operations.
KEY | VALUE | DESCRIPTION |
---|---|---|
X-API-Key | public API Key | - |
X-API-Secret | private API Key | - |
// Using fetch API
const response = await fetch("http://localhost:5000/api/v1/developer/banks/list", {
method: "GET",
headers: {
"X-API-Key": "public API Key",
"X-API-Secret": "private API Key"
}
});
const data = await response.json();
console.log(data);
Parameter | Type | Required | Description |
---|
{}
Success response
{
"statusCode": 200
"message": "Banks retrieved successfully"
"data" [
{
"code": "044"
"name": "Access Bank"
},
{
"code": "023"
"name": "Citibank Nigeria"
},
{
"code": "050"
"name": "Ecobank Nigeria"
},
{
"code": "011"
"name": "First Bank of Nigeria"
},
{
"code": "058"
"name": "Guaranty Trust Bank"
}
]
}