Skip to main content
POST
Beneficiary Lookup
Validate a Nigerian bank account and retrieve the account holder’s name. Use this to confirm details before creating a beneficiary.
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.
This is the same lookup as Account Lookup on a different path. Either works; use whichever fits your code.

Example Request

Example Response

currency is optional on this path and, if sent, must be NGN.
accountNameVerified is always true here because the NIP name enquiry returned a real account name. bvn is always empty.

Error Responses

A missing field returns 400 with "message": "Bank code is required" or "Account number is required"; a currency other than NGN returns 400 with "message": "Currency must be one of: NGN". An account the bank does not recognise returns 404:
Any other provider failure returns 500.
Always verify the account name with your user before creating a beneficiary or 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
required
Example:

200

message
string
required
Example:

"Account details retrieved successfully"

success
boolean
required
Example:

true

data
object
required

The NIP name-enquiry result for a Nigerian account.