curl --request POST \
--url https://infopass.in/api/v1/in/identity/pan/comprehensive \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"pan": "ABCDE2432A"
}'
{
"code": "0x0200",
"message": "Record found successful.",
"status": "SUCCESS",
"data": {
"pan": "ABCDE1234A",
"fullName": "ANIL KUMAR",
"firstName": "ANIL",
"middleName": "",
"lastName": "KUMAR",
"emailId": "",
"mobileNumber": "",
"gender": "M",
"dob": "1995-07-12",
"aadhaarLinked": true,
"category": "person",
"maskedAadhaarNumber": "XXXXXXXX2742",
"address": {
"fullAddress": "",
"addressLineOne": "",
"addressLineTwo": "",
"street": "",
"city": "",
"state": "",
"pincode": "",
"country": ""
}
}
}
curl --request POST \
--url https://infopass.in/api/v1/in/identity/pan/comprehensive \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"pan": "ABCDE2432A"
}'
{
"code": "0x0200",
"message": "Record found successful.",
"status": "SUCCESS",
"data": {
"pan": "ABCDE1234A",
"fullName": "ANIL KUMAR",
"firstName": "ANIL",
"middleName": "",
"lastName": "KUMAR",
"emailId": "",
"mobileNumber": "",
"gender": "M",
"dob": "1995-07-12",
"aadhaarLinked": true,
"category": "person",
"maskedAadhaarNumber": "XXXXXXXX2742",
"address": {
"fullAddress": "",
"addressLineOne": "",
"addressLineTwo": "",
"street": "",
"city": "",
"state": "",
"pincode": "",
"country": ""
}
}
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
OK
The response is of type object
.