POST
/
offline-aadhaar
/
verify
curl --request POST \
  --url https://sandbox.cashfree.com/verification/offline-aadhaar/verify \
  --header 'Content-Type: application/json' \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "otp": "267987",
  "ref_id": "21637861"
}'
{
"ref_id": "70471",
"status": "VALID",
"message": "Aadhaar Card Exists",
"care_of": "S/O: Fakkirappa Dollin",
"address": "Shri Kanaka Nilaya,,Umashankar Nagar 1st Main 5th Cross,Ranebennur,Haveri-Karnataka,India",
"dob": "02-02-1995",
"email": "",
"gender": "M",
"name": "Mallesh Fakkirappa Dollin",
"split_address": {
"country": "India",
"dist": "Haveri",
"house": "Shri Kanaka Nilaya",
"landmark": "",
"pincode": 581115,
"po": "Ranebennur",
"state": "Karnataka",
"street": "Umashankar Nagar 1st Main 5th Cross",
"subdist": "Ranibennur",
"vtc": "Ranibennur",
"locality": "Pritam Pura"
},
"year_of_birth": 1995,
"mobile_hash": "ed189eb73247cb90b769e7e8d7dfd2efa4cd6a5ec27602f5d2721c035266568c",
"photo_link": "<base64 encoded image>",
"share_code": "1234",
"xml_file": "<xml file link with 48hrs expiry>"
}

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.

Body

application/json

Find the request parameters to submit the generated OTP

The body is of type object.

Response

200
application/json

Success response for submitting the generated OTP for offline aadhaar verification

The response is of type object.