post https://sandbox.bankopen.co/v1/aadhaar/otp
Sample Aadhaar Numbers and Corresponding API Response for Sandbox Testing purpose
aadhar_number | Response code | Response Body |
---|---|---|
444444444444 | 200 | {"data":{"access_key":"fffee111-ffee222-ffee333","status_message":"OTP sent to registered mobile number","case_id":"d4d411-d4d422-d4d433","share_code":1111},"status":200} |
222222222222 | 200 | {"data":{"access_key":"fffee111-ffee222-ffee333","status_message":"Invalid Aadhaar No.","case_id":"d4d411-d4d422-d4d433","share_code":1111},"status":200} |
333333333333 | 412 | {"message":"Could not get Aadhar OTP.Aadhar OTP generation failed. Please try again","status":412} |
Any other digits | 412 | {"message":"Could not get Aadhar OTP.Oops! You have exceeded the OTP verification attempts. Please try again later.","status":412} |