Submit aadhaar otp
Submit AADHAAR OTP:
Postman Collection
URL
POST : /v1/service/verification/aadhaar/otpHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
requestedId (String) Required
You will get requestedId from the above Api response (Max Length: 50)
You will get requestedId from the above Api response (Max Length: 50)
otp (Number) Required
Recived the Otp on Aadhaar registered Mobile Number (Max Length: 8)
Recived the Otp on Aadhaar registered Mobile Number (Max Length: 8)
Request
cURL
curl --location --request POST '/v1/service/verification/aadhaar/otp' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tsb2NfdXNlcn19Ont7bG9jX3Bhc3N9fQ==' \
--data-raw '{
"requestId":"VADR28310891589610079158",
"otp": "582126",
}'
Response Samples
- SUCCESS
- FAILED
{
"code":"0x0200",
"message":"Record fetched successfully.",
"status":"SUCCESS",
"data":{
"requestId":"VADR28310891589610079158",
"currentStatus":"FOUND",
"response":{
"fullName":"Amit Gupta",
"dob":"2000-01-0",
"gender":"M",
"zip":"226000",
"house":"123",
"district":"Lucknow",
"vtc":"Lucknow",
"loc":"Lucknow",
"subdistrict":"Bakshi Ka Talab",
"country":"India",
"po":"",
"state":"Uttar Pradesh",
"street":"Road",
"profileImage":"\/9j\/4AAQSkZJRgABAgAAAQABAAD\/f\/9k="
}
}
}
{
"code":"0x0202",
"status":"FAILURE",
"message":"Invalid request Id."
}
Response Code
| Status Code | Status | Message |
|---|---|---|
| 0x0200 | SUCCESS | TRANSACTION SUCCESSFULL |
| 0x0201 | UNAUTHORIZED | UNAUTHORIZED USER |
| 0x0202 | FAILURE | FAILURE USER |
| 0x0203 | MISSING_PARAMETER | MISSING PARAMETER |
| 0x0204 | CONNECTION_TIMEOUT | CONNECTION TIMEOUT |
| 0x0205 | SOMETHING_WENT_WRONG | SOMETHING WENT WRONG |
| 0x0206 | PENDING | TRANSACTION PENDING |
| 0x0208 | 2FA | TWO FACTOR AUNTHENTICATION |