Resolve Bank Account

post
Resolve Bank Account

https://api.payant.ng/resolve-account
Request
Response
Headers
Authorization
optional
string
Payant secret key prefixed with "Bearer "
Body Parameters
account_number
optional
string
Customers NUBAN account number
settlement_bank
optional
string
6 digit bank code gotten from Get Banks
200: OK
{
"status": "success",
"message": "Account resolved successfully.",
"data": {
"settlement_bank": 058,
"account_number": "01234567890",
"account_name": "JANE, ALBERT SPECIALIST HOSPITAL"
}
}

Request

curl https://api.payant.ng/resolve-account \
-H "Content-Type: application/json" \
-H "Authorization: Bearer SECRET_KEY" \
-d '{ "settlement_bank": "058",
"account_number": "0123456789" }' \
-X POST

Response

{
"status": "success",
"message": "Account resolved successfully.",
"data": {
"settlement_bank": 058,
"account_number": "01234567890",
"account_name": "JANE, ALBERT SPECIALIST HOSPITAL"
}
}