Public endpoints
These endpoints do not require authentication. They rate-limit per IP, so cache the bank list on your side for at least an hour.
GET
/kyc/banks
List Nigerian banks
Returns the current list of supported banks and their bank codes.
Code Samples
cURL
curl {{API_BASE_URL}}/v1/kyc/banks
Node.js
const res = await fetch("{{API_BASE_URL}}/v1/kyc/banks");
const { banks } = await res.json();
PHP
<?php
$ch = curl_init("{{API_BASE_URL}}/v1/kyc/banks");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$banks = json_decode(curl_exec($ch), true)["banks"];
Success Response (200 OK)
{
"ok": true,
"banks": [
{ "code": "999991", "name": "PalmPay" },
{ "code": "044", "name": "Access Bank" },
{ "code": "058", "name": "Guaranty Trust Bank" }
]
}
POST
/kyc/resolve-account
Resolve account name
Confirm the registered account name for an account number + bank code before saving it or paying to it.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
account_number |
string | Yes | 10-digit Nigerian bank account number. |
bank_code |
string | Yes | Bank code from /kyc/banks. |
Code Samples
cURL
curl -X POST {{API_BASE_URL}}/v1/kyc/resolve-account \
-H "Content-Type: application/json" \
-d '{ "account_number": "0123456789", "bank_code": "058" }'
Node.js
const res = await fetch("{{API_BASE_URL}}/v1/kyc/resolve-account", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ account_number: "0123456789", bank_code: "058" }),
});
const data = await res.json();
PHP
<?php
$ch = curl_init("{{API_BASE_URL}}/v1/kyc/resolve-account");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
"account_number" => "0123456789",
"bank_code" => "058",
]),
]);
$data = json_decode(curl_exec($ch), true);
Success Response (200 OK)
{
"ok": true,
"account_name": "ADAEZE OKAFOR",
"account_number": "0123456789",
"bank_code": "058"
}
Error Response
{
"ok": false,
"code": "resolve_failed",
"message": "Account could not be resolved. Confirm the account number and bank."
}