{
"bankCode": "058",
"accountNumber": "0123456789"
}
curl -X POST "https://api.cngn.co/v1/api/account/verify" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "<base64 AES-256-CBC ciphertext of the plain body>",
"iv": "<base64 16-byte IV>"
}'
{
"status": 200,
"message": "Account details verified successfully",
"data": {
"accountNumber": "0123456789",
"accountName": "ADA OBI",
"bankCode": "058"
}
}
{
"status": 400,
"message": "Could not resolve account details"
}
Redemptions
Verify Account Details
Resolve a bank account number to its registered account name
POST
/
v1
/
api
/
account
/
verify
{
"bankCode": "058",
"accountNumber": "0123456789"
}
curl -X POST "https://api.cngn.co/v1/api/account/verify" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "<base64 AES-256-CBC ciphertext of the plain body>",
"iv": "<base64 16-byte IV>"
}'
{
"status": 200,
"message": "Account details verified successfully",
"data": {
"accountNumber": "0123456789",
"accountName": "ADA OBI",
"bankCode": "058"
}
}
{
"status": 400,
"message": "Could not resolve account details"
}
Resolves a Nigerian bank account and returns the registered account name. Use this before Redeem Asset or Update Bank Account to confirm the destination is correct.
The request body must be encrypted.
Body parameters (plain payload, pre-encryption)
string
required
10-digit account number to resolve.
{
"bankCode": "058",
"accountNumber": "0123456789"
}
curl -X POST "https://api.cngn.co/v1/api/account/verify" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "<base64 AES-256-CBC ciphertext of the plain body>",
"iv": "<base64 16-byte IV>"
}'
{
"status": 200,
"message": "Account details verified successfully",
"data": {
"accountNumber": "0123456789",
"accountName": "ADA OBI",
"bankCode": "058"
}
}
{
"status": 400,
"message": "Could not resolve account details"
}