Skip to main content
POST
/
document
/
pan
Verify
curl --request POST \
  --url https://sandbox.cashfree.com/verification/document/pan \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>' \
  --form verification_id=12345678 \
  --form front_image=@example-file
{
"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-api-version
string

It is the API version. To receive the aadhaar seeding status in the response, use any date after 2022-09-12

x-cf-signature
string

Send the signature if IP is not whitelisted

Body

multipart/form-data

Find the request parameters to verify and validate the PAN information

Find the request parameters to verify PAN via OCR

verification_id
string
default:12345678
required

It is the unique ID you create to identify the verification request. The maximum character limit is 50. Only alphanumeric, period (.), hyphen (-), and underscore ( _ ) are allowed.

Example:

"12345678"

front_image
file
required

It is the scanned copy of the PAN card. Allowed file type - JPEG/JPG/PNG.

Response

Success response for verifiying the PAN 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"