Verify Permanent voter's card

The PVC verification API allows you to validate a given VIN number by parsing it in the request body as vin just as shown in the example below.

Example Requests

var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  'vin': '90F5B23A8C532428586' 
});
var config = {
  method: 'post',
  url: 'https://integrations.getravenbank.com/v1/pvc/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": "Voters card data retrieved successfully",
  "data": {
    "firstname": "FIRSTNAME",
    "lastname": "LASTNAME",
    "middlename": "MIDDLENAME",
    "fullname": "FIRSTNAME LASTNAME"
  }
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!