post https://sandbox.cashfree.com/verification/offline-aadhaar/verify
Use this API to verify aadhaar by submitting the OTP received on the mobile number linked to the aadhaar information. You also need to enter the reference ID received in the response of Generate OTP to Verify Aadhaar API. View the test data and use the information to trigger the validations. The test data are usable only in the test environments such as gamma and sandbox.
Response Codes
Sub Code | Status | Message | Next Action |
---|---|---|---|
200 | SUCCESS | Aadhaar Card Exists | - |
400 | ERROR | Session expired, please generate a new OTP | Generate a new OTP using Generate OTP to Verify Aadhaar API. |
400 | ERROR | Invalid Aadhaar Card | - |
400 | ERROR | Aadhaar not linked to mobile number | Enter a valid aadhaar number linked to a mobile number in the Generate OTP to Verify Aadhaar. |
400 | ERROR | Otp expired | Generate a new OTP using Generate OTP to Verify Aadhaar API. |
400 | ERROR | Please enter a valid otp. | Enter the generated OTP. |
400 | ERROR | Please enter the otp in the request | Enter the generated OTP. |
400 | ERROR | OTP entered is invalid | Enter the generated OTP. |
400 | ERROR | Client secret belongs to test environment | Enter the correct environment credentials in the request. |
400 | ERROR | x-client-id is missing in the request | Enter all the header information in the API request. |
401 | ERROR | Invalid clientId and clientSecret combination | Enter valid client ID and secret key in the request. |
403 | ERROR | IP not whitelisted your current ip is 106.51.91.104.For IP whitelisting assistance, visit our guide at https://docs.cashfree.com/docs/ip-whitelisting-verification | Whitelist the IP address. |
422 | ERROR | Insufficient balance to process this request. | Ensure you have sufficient balance and then process the request. |
500 | ERROR | Unable to validate, please retry later | Try again after some time. |