Skip to main content
POST
/
kyc
/
aadhaar
/
okyc
/
otp
Aadhaar Offline e-KYC Generate OTP
curl --request POST \
  --url https://api.sandbox.co.in/kyc/aadhaar/okyc/otp \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "@entity": "<string>",
  "aadhaar_number": "<string>",
  "consent": "Y",
  "reason": "<string>"
}
'
{
  "code": 200,
  "timestamp": 1765889766000,
  "transaction_id": "fad04935-d568-4830-a650-7abd4ecec507",
  "data": {
    "@entity": "in.co.sandbox.kyc.aadhaar.okyc.otp.response",
    "reference_id": 1234567,
    "message": "OTP sent successfully"
  }
}
https://mintcdn.com/sandboxfinancialtechnologiesprivatelimited/9R19aQQ6ZD9_5iIN/static/svg/Postman.svg?fit=max&auto=format&n=9R19aQQ6ZD9_5iIN&q=85&s=3f44f5c9e4d8b761c9447be03a2f5f96

Run in Postman

Headers

Authorization
string
required

JWT access token

x-api-key
string
required

API key for identification

x-api-version
string

Body

application/json
@entity
string
required
Allowed value: "in.co.sandbox.kyc.aadhaar.okyc.otp.request"
aadhaar_number
string
required

12-digit number issued by the UIDAI

Required string length: 12

Consent of the end-user to get their information for verification purposes.

Available options:
Y,
y
reason
string
required

Indicate the purpose for verification.

Response

200 - OK

code
integer
timestamp
integer
transaction_id
string
data
object