POST
/
document
/
aadhaar
Aadhaar Verification via OCR
curl --request POST \
  --url https://sandbox.cashfree.com/verification/document/aadhaar \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>' \
  --form verification_id=12345678 \
  --form back_image=BACK_IMAGE \
  --form front_image=FRONT_IMAGE
{
"uid": "XXXX-XXXX-3717",
"name": "Varun Bhupati",
"yob": "1997",
"pincode": "474009",
"address": "S / O : Mahesh Bhupati, 202-parivar daser complex , dal bazar , Gird , Gwalior , Lashkar City , Madhya Pradesh , 474019",
"state": " Madhya Pradesh",
"gender": "Male",
"father": "Mahesh Bhupati",
"valid": true,
"status": "VALID",
"verification_id": "19bf45c0-8149-4d3f-8d98-c004c4037eba",
"reference_id": "2345",
"confidence_score": "",
"message": "Aadhaar 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 extract the details of a customer from the aadhaar card image

Request body schema for Aadhaar Verification via OCR.

Response

200
application/json

Success response for verifying aadhaar information

Success response for Aadhaar Verification via OCR