POST
/
offline-aadhaar
/
otp
curl --request POST \
  --url https://sandbox.cashfree.com/verification/offline-aadhaar/otp \
  --header 'Content-Type: application/json' \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "aadhaar_number": "655675523712"
}'
{
"status": "SUCCESS",
"message": "OTP sent successfully",
"ref_id": 21637861
}

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 generate OTP for a given aadhar number

The body is of type object.

Response

200
application/json

Success response for generating the OTP for offline aadhaar verification

The response is of type object.