Resolve an account name
Confirms an account number exists at the given bank and returns the name on it — call this before a transfer to show the user who they are sending to.
Confirms an account number exists at the given bank and returns the name on it — call this before a transfer to show the user who they are sending to.
Header Parameters
Organisation API Key for external access
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/accounts/validate-bank-account" \ -H "x-api-key: string" \ -H "Content-Type: application/json" \ -d '{ "bank_code": "058", "account_number": "0123456789" }'{ "account_number": "0123456789", "account_name": "Jane Doe"}List supported banks
The bank directory for your organisation's active payment provider — the bank_code values here are what validate-bank-account and /transfers expect.
Create a customer
BVN-verifies the customer, then creates their record and a dedicated virtual account in the same request. If virtual account provisioning fails after the customer record is created, the customer is kept and `wallet` comes back `null` — call POST /customers/:id/retry-wallet once provisioning is healthy rather than recreating the customer. With a sandbox API key, any BVN is accepted (no real Dojah call).