API Documentation
NIN Phone Number Verification
Verify a National Identity Number (NIN) utilizing a phone number linked to the user's identity.
Endpoint
POST
/nin-phone
Headers
| Header | Value | Required |
|---|---|---|
Authorization |
Bearer YOUR_API_TOKEN |
Required |
Accept |
application/json |
Required |
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
phone |
string |
The phone number linked to the NIN (format: 08012345678 or 2348012345678). | Required |
Example Request
cURL
curl -X POST "https://arewasmart.com.ng/api/nin-phone" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-d "phone=08012345678"
Example Response
JSON
{
"status": true,
"message": "NIN Phone Verified Successfully",
"data": {
"nin": "12345678901",
"phone": "08012345678",
"firstname": "Ahmad",
"surname": "Bello",
"birthdate": "1985-06-15",
"gender": "m"
}
}