This endpoint allows developers to fetch customers details using the National Identification Number (NIN) of the customer.
Request
{{baseURL}}/kyc/nin/:NIN
Headers
Parameters | Type | Description |
---|---|---|
Authorization | String | public secret key e.g dc_test_1T1eSavlZxy02OT3OWlvbxK4G |
Body Parameters
Parameters | Type | Description |
---|---|---|
first_name | String | First name of the NIN holder |
last_name | String | Last name of the NIN holder |
Response Sample
{
"status": true,
"message": "NIN Data Retrieved. Test Mode",
"data": {
"firstname": "SAMSON",
"lastname": "PEDRO",
"middlename": "",
"gender": "m",
"phone": "",
"birthdate": "",
"nationality": "Nigerian",
"photo": "",
"nin": "",
"residence": {
"address1": "",
"lga": "Amuwo-Odofin"
},
"trackingId": "",
"fieldMatches": {
"lastname": "true"
}
}
}