Skip to main content
POST
Account Lookup
Validate a Nigerian bank account number and retrieve the account holder’s name. This is useful for confirming beneficiary details before initiating a payout.
Nigerian accounts only. This confirms an account holder’s name through Nigeria’s NIP name enquiry, which is why it takes a bankCode. There is no equivalent for USD, GBP or EUR — those rails do not allow a name to be confirmed against an account number before a payment is sent, so no provider can offer it.USD support is coming: it will take a routingNumber and return the bank, so you do not have to supply the bank name and address by hand. It will not return an account holder’s name, because that cannot be verified on US rails.

Example Request

Example Response

accountNameVerified is always true here: accountName is the name NIP’s name enquiry returned for the account, not a name you supplied. bvn is always an empty string: the BVN is deliberately stripped from the lookup result, and the field is kept only so existing integrations keep parsing. An account number that no bank recognises returns 404 with "Account not found. Please verify the account number and bank are correct.", and a missing bankCode or accountNumber returns 400 with "Bank code is required" or "Account number is required".
Always verify the account name with your user before initiating a payout. Incorrect details may result in failed or misdirected payments.

Authorizations

X-API-Key
string
header
required

Your Rolla API key

Body

application/json

Nigerian accounts only. Both fields are trimmed; a blank string counts as absent.

bankCode
string
required

Bank code from GET /banks

Minimum string length: 1
Example:

"000014"

accountNumber
string
required

10-digit NUBAN account number

Minimum string length: 1
Example:

"0123456789"

currency
enum<string>
default:NGN

Optional. Nigerian accounts are the only ones that can be looked up by name, so NGN is the only accepted value and is assumed when the field is omitted. Anything else returns 400 "Currency must be one of: NGN".

Available options:
NGN

Response

Account details retrieved successfully

status
integer
Example:

200

message
string
Example:

"Account details retrieved successfully"

success
boolean
Example:

true

data
object

The NIP name-enquiry result for a Nigerian account.