Docs: GET /public/banks
List banks API
List banks
Returns all banks for a given country. Results are served from a 24-hour Redis cache, so this is fast regardless of load.
GET/public/banks
Query parameter
| Field | Type | Required | Description |
|---|---|---|---|
country | string | true | ISO 3166-1 alpha-2 country code. Supported: NG, GH, KE, ZA, TZ, UG, CM, CI, SN, RW. |
Request
curl
curl "https://api.myhappr.com/api/v1/public/banks?country=NG"Response
200 OK
{
"message": "78 banks found",
"data": [
{
"id": 302,
"name": "Access Bank",
"code": "044"
},
{
"id": 303,
"name": "GTBank",
"code": "058"
}
]
}Try it out
countryqueryrequired