Advance vNIN Verification
The Advance VNIN Verification API allows you to verify an individual's details using their Virtual National Identification Number (VNIN). This helps in identity validation and fraud prevention.
Base URL
Endpoint
Request Headers
You can use either the API key or Bearer Token for Authorization
Content-Type
application/json
Specifies that the request body is in JSON format.
Authorization
Bearer <token>
Bearer Token for authentication.
x-api-key
API Key
API Key for authentication.
Request Body
The request body should contain VNIN details in JSON format.
Example Request
Request Body Schema
number
string
✅
The VNIN number of the individual.
firstName
string
✅
First name of the VNIN holder.
lastName
string
✅
Last name of the VNIN holder.
reference
string
✅
A unique transaction reference.
serviceProviderCode
string
✅
Code identifying the service provider.
Responses
Success Response (200 OK)
If the VNIN is valid, the API returns user details as per the GetDetailsOfNINResponseApiResponse
schema.
Error Responses
400
Bad Request (Invalid VNIN format)
{ "status": "error", "message": "Invalid VNIN format." }
401
Unauthorized (Invalid API Key)
{ "status": "error", "message": "Unauthorized access." }
500
Internal Server Error
{ "status": "error", "message": "Something went wrong." }
Usage Example (cURL)
Last updated