post https://integrations.getravenbank.com/v1/nin/verify
The NIN verification API allows you to validate a given NIN number by parsing it in the request body as nin
just as shown in the example below.
Example Requests
var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
'nin': '87223631145'
});
var config = {
method: 'post',
url: 'http://localhost:4000/nin/verify',
headers: { },
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
Example Response
{
"status": "success",
"message": "Nin data retrieved successfully",
"data": {
"firstname": "FIRSNAME",
"lastname": "LASTNAME",
"middlename": "MIDDLENAME",
"residentialAddress": "NO 7 ADA STREET,AJAH LAGOS.",
"phone": "07039472283"
}
}