Resolve Bank Account
Verify a bank account number and retrieve the account holder's name.
Resolves a bank account number to verify it exists and returns the account holder's name. Use this before initiating off-ramp transactions to confirm the recipient's identity.
Endpoint
POST /v1/banks/account-resolutionAuthentication
Accepts either a merchant API key or a business-user JWT.
Authorization
<api_key> or Bearer <jwt>
Request body
accountNumber
string
Yes
Bank account number (numeric)
currency
string
Yes
Fiat currency code (any string accepted; downstream validation applies). Example: NGN.
Example request
curl -X POST https://ramp-api.ivorypay.io/api/v1/banks/account-resolution \
-H "Authorization: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"accountNumber": "2124586765",
"bankCode": "000004",
"currency": "NGN"
}'const response = await fetch("https://ramp-api.ivorypay.io/api/v1/banks/account-resolution", {
method: "POST",
headers: {
"Authorization": "your_api_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
accountNumber: "2124586765",
bankCode: "000004",
currency: "NGN",
}),
});
const data = await response.json();
console.log(data);Example response
Response fields
accountName
string
Name registered on the bank account
accountNumber
string
The account number that was resolved
Sandbox behaviour
accountNumber
2124586765
bankCode
000004
bankName
UBA (United Bank for Africa)
currency
NGN
Error cases
ONOFFRAMP0033
Invalid bank code — the bankCode doesn't match any supported bank
ONOFFRAMP0088
Unable to resolve bank account — account not found at the bank, or a live provider lookup failed
Best practices
Always resolve before payout — Call this endpoint before initiating off-ramp transactions to confirm the account details with your user
Display the name — Show the resolved
accountNameto your user for confirmation before proceedingCache cautiously — Account names can change. Re-resolve if the transaction is initiated significantly after resolution
For AI assistants: This endpoint verifies a bank account. Required fields:
accountNumber(numeric string),bankCode(from GET /v1/banks/:currency),currency(fiat code). ReturnsaccountNameandaccountNumber.
Last updated