Skip to main content
POST
/
kyc
/
aadhaar
/
okyc
/
otp
/
verify
Aadhaar Offline e-KYC Verify OTP
curl --request POST \
  --url https://api.sandbox.co.in/kyc/aadhaar/okyc/otp/verify \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '{
  "@entity": "<string>",
  "reference_id": "<string>",
  "otp": "<string>"
}'
{
"code": 200,
"timestamp": 1763725205000,
"transaction_id": "fa7a24c8-06df-41a4-815a-a2a00e7bf25c",
"data": {
"@entity": "in.co.sandbox.kyc.aadhaar.okyc",
"reference_id": 1234567,
"status": "VALID",
"message": "Aadhaar Card Exists",
"care_of": "S/O: Johnny Doe",
"full_address": "Mangal Kanaka Niwas, Main Cross 3rd, Bengaluru, Bengaluru-Karnataka, India ",
"date_of_birth": "21-04-1985",
"email_hash": "044917e2c4c62a439d068.......d9f71bbde10b1d227a914e",
"gender": "M",
"name": "John Doe",
"address": {
"@entity": "in.co.sandbox.kyc.aadhaar.okyc.address",
"country": "India",
"district": "Bengaluru",
"house": "Mangal Kanaka Niwas",
"landmark": "",
"pincode": "581615",
"post_office": "Bengaluru",
"state": "Karnataka",
"street": "Main Cross 3rd",
"subdistrict": "",
"vtc": "Bengaluru"
},
"year_of_birth": "1985",
"mobile_hash": "044917e2c4c62a439d068.......d9f71bbde10b1d227a914e",
"photo": "data:image/jpeg;base64,/9j/4AAQSk.......mj/2Q==",
"share_code": "1234"
}
}

Headers

Authorization
string
required

JWT access token

x-api-key
string
required

API key for identification

x-api-version
integer

Body

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

Reference ID received in the Generate OTP response

otp
string
required

OTP generated to mobile number associated with Aadhaar

Response

200 - OK

code
integer
timestamp
integer
transaction_id
string
data
object