HubtelDevelopers
API referenceVerification

Look up a bank account name

GET
/v2/merchantaccount/merchants/{accountNumber}/bank/verify/{bankCode}/{accountNumber2}

Returns the account holder's name for a bank code and account number. Compare it with the name your customer gave you before paying out.

Authorization

basicAuth
AuthorizationBasic <token>

Base64 of API ID:API Key.

In: header

Path Parameters

accountNumber*string

Your collection account number (POS sales), where customer payments land. Find it in your Hubtel merchant account under Programmable keys → Account ID. In the sandbox, use the collection account in Workbench.

bankCode*string

The recipient bank's GhIPSS code, for example 300304 for GCB Bank or 300312 for Ecobank. See the full list of bank codes.

Value in

  • "300302"
  • "300303"
  • "300304"
  • "300305"
  • "300306"
  • "300307"
  • "300309"
  • "300310"
  • "300311"
  • "300312"
  • "300313"
  • "300316"
  • "300317"
  • "300318"
  • "300319"
  • "300320"
  • "300322"
  • "300323"
  • "300324"
  • "300325"
  • "300329"
  • "300331"
  • "300334"
  • "300362"
accountNumber2*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v2/merchantaccount/merchants/string/bank/verify/300302/string"

{  "message": "Success",  "responseCode": "0000",  "data": {    "name": "JOHN DOE"  }}