Generate OTP to Verify Aadhaar

Use aadhar OTP verification API to generate OTP for a given aadhar number and it will be sent to the mobile number linked with the aadhar.

Click here to view the test data and response codes.

Sample Aadhaar Numbers

Aadhaar NumberOTPRemarks
655675523712111000Aadhaar Verification Successfull
655675523712000111OTP Invalid
655675523712000222Verification Failed
655675523711000113OTP Invalid
655675523710111000Invalid Aadhaar Number
655675523709111000Verification Failed

Response Codes

Sub CodeStatusMessageNext Action
200SUCCESSOTP sent successfully-
200SUCCESSInvalid Aadhaar CardEnter a valid aadhaar card number.
200SUCCESSAadhaar not linked to mobile number-
200SUCCESSAadhaar number does not have mobile numberLink aadhaar number with your customer's phone number.
400ERRORAadhaar Number should contain 12 characters.Enter the 12 digit aadhaar number.
400ERRORPlease enter aadhaar number in numeric formatAadhaar number should contain only numeric values.
400ERRORPlease enter aadhaar number in the requestEnter aadhaar number in the API request.
400ERRORx-client-id is missing in the request.Ensure x-client-id is entered in the API request.
401ERRORInvalid clientId and clientSecret combinationEnter the client ID and client secret key in the API.
403ERRORIP not whitelistedWhitelist the IP address.
409ERROROtp generated for this aadhaar, please try after some timeAn OTP is already generated for the aadhaar number. Retry after 30 seconds.
422ERRORInsufficient balance to process this requestAdd sufficient balance and try again.
500ERRORUnable to validate, please retry laterTry again after some time.
500ERRORSomething went wrong, please try after some timeTry again after some time.

📘

Best Practices for Generating OTP

  • Please wait for 30 seconds before generating a new OTP for the same Aadhaar using the Generate OTP to Verify Aadhaar API.
    • The average response time is between 4 to 5 seconds.
    • OTP generated is valid for 10 minutes only.

You can claim free credits to verify your beneficiary details.

Language

Experience the all-new Cashfree Payments Docs! Faster, smarter, and easier to navigate. Check it out here!🎉