curl --request GET \
  --url https://api.nomba.com/v1/transfers/banks \
  --header 'Authorization: Bearer <token>' \
  --header 'accountId: <accountid>'
{
  "code": "00",
  "description": "Success",
  "data": {
    "results": [
      {
        "code": "058",
        "name": "Guaranty Trust Bank"
      },
      {
        "code": "090160",
        "name": "Addosser Microfinance Bank"
      },
    ]
  }
}

Fetch bank codes and names

Fetch the bank codes and names tied to all banks

POST /v1/transfers/banks

Response body

code
string
required

Response code

description
string
required

Response description

data
object
results
object[]

Contains result of all banks fetched.

code
string

The bank’s code.

name
string

The bank’s name.

curl --request GET \
  --url https://api.nomba.com/v1/transfers/banks \
  --header 'Authorization: Bearer <token>' \
  --header 'accountId: <accountid>'
{
  "code": "00",
  "description": "Success",
  "data": {
    "results": [
      {
        "code": "058",
        "name": "Guaranty Trust Bank"
      },
      {
        "code": "090160",
        "name": "Addosser Microfinance Bank"
      },
    ]
  }
}