cURL
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>" } '
200
200 - Success
{ "code": 200, "timestamp": 1765889766000, "transaction_id": "33d55e13-d145-4b95-ae8e-5cbafc1d6e5c", "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" } }
Verify the Aadhaar number by passing the OTP received on the individualās registered mobile number.
JWT access token
API key for identification
"in.co.sandbox.kyc.aadhaar.okyc.request"
Reference ID received in the Generate OTP response
OTP generated to mobile number associated with Aadhaar
200 - OK
Show child attributes
Was this page helpful?