Skip to main content
GET
/
document
/
pan
Get Status
curl --request GET \
  --url https://sandbox.cashfree.com/verification/document/pan \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>'
{
"name": "JOHN DOE",
"dob": "03/06/1993",
"father": "JOSH DOE",
"pan_type": "Individual",
"pan": "AUHPJ0671P",
"valid": true,
"age": "29",
"status": "VALID",
"reference_id": "106",
"verification_id": "76",
"message": "PAN card is valid"
}

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

Query Parameters

reference_id
string
default:1358

It is the unique ID created by Cashfree Payments that you receive in the response of PAN Verification via OCR API.

verification_id
string
default:ABC00123

It is the unique ID you created to identify the verification request.

Response

Success response for getting the PAN OCR information

PAN Verification via OCR success response

name
string

It displays the name of the PAN holder.

Example:

"John Doe"

organization_name
string

It displays the name of the organisation the individual runs.

Example:

"ABC pvt ltd."

pan_type
string

It displays the type of PAN issued to the individual.

Example:

"Business"

date_of_incorporation
string

It displays the incorporation date of the individual's organisation.

Example:

"01-01-2000"

dob
string

It displays the date of birth of the individual.

Example:

"01-01-1990"

father
string

It displays the father's name of the individual.

Example:

"Jone Doe"

pan
string

It displays the entered PAN information in the request.

Example:

"ABCPP3011E"

valid
boolean

It displays whethere the entered PAN information is valid.

Example:

true

age
string

It displays the age of the individual.

Example:

"20"

status
string

It displays the status of the PAN information.

Example:

"Valid"

reference_id
string

It displays the unique ID created by Cashfree Payments for reference purposes.

Example:

"123456789"

verification_id
string

It displays the unique ID you created to identify the request.

Example:

"1676668986"

confidence_score
string

It displays the level of confidence or reliability associated with the PAN verification.

Example:

"0.98"

message
string

It displays details about the success or failure of the API request.

Example:

"Valid PAN"