Supported Verification Services
- BVN Verification: Confirms customer identity against banking registry with full name, DOB, phone, and gender (₦75 / lookup).
- NIN Verification: Validates National Identification Number against NIMC national identity database (₦100 / lookup).
- 3D Biometric Liveness: Anti-spoofing facial analysis to verify customer presence (₦50 / check).
Wallet Funded
All verification fees are debited in real-time from your merchant wallet balance. If balance is insufficient to cover the verification fee, HTTP 402 (Payment Required) is returned.
POST
/identity/verify
Verify BVN or NIN Identity
Validates an 11-digit BVN or NIN against official Nigerian identity registries and retrieves verified personal records.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
id_type |
string | Yes | Type of identity record to verify: "nin" or "bvn". |
id_number |
string | Yes | The 11-digit identification number. |
businessId |
string | Optional | Optional merchant sub-account or business ID. |
Code Samples
cURL
curl -X POST {{API_BASE_URL}}/v1/identity/verify \
-H "Authorization: Bearer <secret_key>" \
-H "api-key: <api_key>" \
-H "Content-Type: application/json" \
-d '{
"id_type": "nin",
"id_number": "12345678901"
}'
Node.js
const res = await fetch("{{API_BASE_URL}}/v1/identity/verify", {
method: "POST",
headers: {
"Authorization": `Bearer ${secretKey}`,
"api-key": apiKey,
"Content-Type": "application/json",
},
body: JSON.stringify({
id_type: "nin",
id_number: "12345678901",
}),
});
const data = await res.json();
PHP
<?php
$ch = curl_init("{{API_BASE_URL}}/v1/identity/verify");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer {$secretKey}",
"api-key: {$apiKey}",
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"id_type" => "nin",
"id_number" => "12345678901",
]),
]);
$data = json_decode(curl_exec($ch), true);
Success Response (200 OK)
{
"status": "success",
"message": "NIN verification successful",
"data": {
"verification_type": "nin",
"identity_number": "12345678901",
"personal_details": {
"first_name": "CHINEDU",
"middle_name": "ADEWALE",
"last_name": "DANJUMA",
"full_name": "CHINEDU ADEWALE DANJUMA",
"date_of_birth": "1988-06-14",
"gender": "Male",
"nationality": "Nigerian"
},
"contact_details": {
"phone_number": "08031234567",
"email": "chinedu.danjuma@gmail.com"
},
"cost_charged": 100,
"request_id": "4b68e91d830bca2d897e",
"timestamp": "2026-10-12T10:15:30.000000Z"
}
}
Error Response
{
"status": "error",
"code": "insufficient_funds",
"message": "Insufficient wallet balance. NIN verification costs ₦100.00, but your current balance is ₦45.00"
}
POST
/liveness/check
3D Biometric Facial Liveness Detection
Performs real-time anti-spoofing facial analysis on a customer selfie image to verify live human presence.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
image |
string | Yes | Base64 encoded JPEG or PNG selfie photo. |
Code Samples
cURL
curl -X POST {{API_BASE_URL}}/v1/liveness/check \
-H "Authorization: Bearer <secret_key>" \
-H "api-key: <api_key>" \
-H "Content-Type: application/json" \
-d '{
"image": "/9j/4AAQSkZJRgABAQEASABIAAD..."
}'
Node.js
const res = await fetch("{{API_BASE_URL}}/v1/liveness/check", {
method: "POST",
headers: {
"Authorization": `Bearer ${secretKey}`,
"api-key": apiKey,
"Content-Type": "application/json",
},
body: JSON.stringify({
image: base64ImageString,
}),
});
const data = await res.json();
PHP
<?php
$ch = curl_init("{{API_BASE_URL}}/v1/liveness/check");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer {$secretKey}",
"api-key: {$apiKey}",
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"image" => $base64ImageString,
]),
]);
$data = json_decode(curl_exec($ch), true);
Success Response (200 OK)
{
"status": "success",
"message": "Liveness check passed",
"data": {
"face_detected": true,
"is_live": true,
"liveness_probability": 98.7,
"cost_charged": 50,
"request_id": "89fe738a1290bdca4e31",
"timestamp": "2026-10-12T10:16:00.000000Z"
}
}
Error Response
{
"status": "error",
"message": "Invalid image format. Ensure base64 string is properly encoded."
}