POST
/
voter-id
curl --request POST \
  --url https://sandbox.cashfree.com/verification/voter-id \
  --header 'Content-Type: application/json' \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "verification_id": "test123",
  "epic_number": "UAI4574761",
  "name": "John Doe"
}'
{
"reference_id": 1358,
"verification_id": "testverificationid",
"status": "VALID",
"epic_number": "UAI4574761",
"name": "HARSHIT PRAJAPATI",
"name_in_regional_lang": "हर्षित",
"age": "23",
"relation_type": "FTHR",
"relation_name": "RAJ PRAJAPATI",
"relation_name_in_regional_lang": "राज",
"father_name": "RAJ PRAJAPATI",
"dob": "2000-12-07",
"gender": "Male",
"address": "GOVT JUNIOR COLLEGE SIRWAR",
"photo": "PHOTO_LINK.jpeg",
"split_address": {
"district": [
"INDORE"
],
"state": [
[
"Madhya Pradesh"
]
],
"city": [
"SANER"
],
"pincode": "560034",
"country": [
"IN",
"IND",
"INDIA"
],
"address_line": "GOVT JUNIOR COLLEGE SIRWAR"
},
"state": "Madhya Pradesh",
"assembly_constituency_number": "211",
"assembly_constituency": "SANER",
"parliamentary_constituency_number": "25",
"parliamentary_constituency": "INDORE",
"part_number": "27",
"part_name": "SIRWAR",
"serial_number": "713",
"polling_station": "GOVT JUNIOR COLLEGE SIRWAR"
}

Authorizations

x-client-id
string
header
required

Client ID. You can find your ID in the Merchant Dashboard.

x-client-secret
string
header
required

Client secret key. You can find your secret key in the Merchant Dashboard.

Headers

x-cf-signature
string

Send the signature if IP is not whitelisted.

Body

application/json

Find the request parameters to fetch voter ID details

The body is of type object.

Response

200
application/json

Success response for retreiving voter ID information.

The response is of type object.