curl --request POST \
  --url https://api.nomba.com/v1/transfers/bank/lookup \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'accountId: <accountid>' \
  --data '{
  "accountNumber": "0554772814",
  "bankCode": "053"
}'
{
  "code": "00",
  "description": "Success",
  "data": {
    "accountNumber": "0554772814",
    "accountName": "M.A Animashaun"
  }
}
You can use this to retrieve the specific bankCode for any desired bank.

POST /v1/transfers/bank/lookup

Request body

accountNumber
string
required
The account number to be looked up.
bankCode
string
required
The code of the bank that the account number belongs to. This can be obtained from a call to /v1/transfers/banks.

Response body

code
string
required
Response code
description
string
required
Response description
data
object
curl --request POST \
  --url https://api.nomba.com/v1/transfers/bank/lookup \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'accountId: <accountid>' \
  --data '{
  "accountNumber": "0554772814",
  "bankCode": "053"
}'
{
  "code": "00",
  "description": "Success",
  "data": {
    "accountNumber": "0554772814",
    "accountName": "M.A Animashaun"
  }
}