post https://integrations.getravenbank.com/v1/bvn/verify
The BVN verification API allows you to validate a given BVN number by parsing it in the request body as bvn
just as shown in the example below.
Example Requests
var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
'bvn': '22278595765'
});
var config = {
method: 'post',
url: 'https://integrations.getravenbank.com/v1/bvn/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": "bvn data retrieved successfully",
"data": {
"firstname": "FIRSTNAME",
"lastname": "LASTNAME",
"lgaOfOrigin": "Etiosa",
"residentialAddress": "NO 7 ADA STREET,AJAH LAGOS",
"stateOfOrigin": "Lagos State"
}
}