Get Banks

This is an endpoint to fetch the list of banks

Endpoint

GET {{baseurl}}/banks?{currency}

This is a GET request, and it requires the following parameter(s).

FieldData TypeDescription
currencyStringThis can be NGN, GBP, or USD

If your request is successful, the response will look like this:

{
    "success": true,
    "statusCode": 200,
    "message": "Fetched list of bank accounts",
    "data": [
        {
            "id": "1",
            "bankCode": "99901",
            "bankName": "SafeHaven Bank"
        }
        {
            "id": "2",
            "bankCode": "10023",
            "bankName": "Loma Bank"
        }
    ]
}

This is has no pagination because bank list are mostly used in a dropdown. You could paginate it yourself as this is already cached on our end.