POST
/
offline-aadhaar
/
otp
{
  "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.

Body

application/json

Find the request parameters to generate an OTP for aadhaar verification

aadhaar_number
string
default:
655675523712
required

It is the unique 12-digit identification number issued by the Unique Identification Authority of India (UIDAI).

Response

200 - application/json

Success response for Generate OTP to Verify Aadhaar API

message
string

It displays details about the success or failure of the API request.

ref_id
string

It displays the unique ID created by Cashfree Payments for reference purposes.

status
string

It displays the status of the API request. Possible values are:

  • SUCCESS: Otp generated successfully / Aadhaar not linked to mobile number.
  • INVALID: Aadhaar card invalid.