GET
/
document
/
aadhaar
Get Status of Aadhaar Verification via OCR
curl --request GET \
  --url https://sandbox.cashfree.com/verification/document/aadhaar \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>'
{
"name": "JOHN DOE",
"father": "JOSH DOE",
"yob": "1997",
"gender": "Male",
"uid": "XXXX-XXXX-3717",
"pincode": "474009",
"address": "S / O : JOSH DOE, 202-parivar daser complex , dal bazar , Gird , Gwalior , Lashkar City , Madhya Pradesh , 474019",
"state": " Madhya Pradesh",
"valid": true,
"status": "VALID",
"verification_id": "testverificationid",
"reference_id": "2345",
"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-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 Aadhaar Verification via OCR API.

verification_id
string
default:ABC00123

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

Response

200
application/json

Success response for verifying aadhaar information

Success response for Aadhaar Verification via OCR