Docs: POST /account/resolve

Resolve a bank account

Resolve account

Looks up the registered account name for a given account number and bank code. Requires an API key. Rate limited to 20 requests per key per 24 hours.

POST/public/account/resolve

Header

FieldTypeRequiredDescription
x-api-keystringtrueYour Myhappr API key. Get it from your Developer Dashboard.
Myhappr API Key drawer showing where to find your key

Request body

FieldTypeRequiredDescription
accountNumberstringtrue10-digit bank account number (NUBAN format for Nigerian banks).
bankCodestringtrueBank code from GET /public/banks. Example: 044 for Access Bank.

Request

curl
curl -X POST "https://api.myhappr.com/api/v1/public/account/resolve" \
  -H "Content-Type: application/json" \
  -H "x-api-key: mhk_your_api_key_here" \
  -d '{
    "accountNumber": "0123456789",
    "bankCode": "044"
  }'

Response

200 OK
{
  "message": "Account resolved successfully",
  "data": {
    "bankCode": "044",
    "accountNumber": "0123456789",
    "accountName": "John Doe"
  }
 }

Try it out

x-api-keyheaderrequired
accountNumberbodyrequired
bankCodebodyrequired