Aadhaar Verification via OCR

Use this API to extract the details of a customer from the respective aadhaar card image and return it to the business for verification or for KYC requirements. 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 CodeStatusMessageNext Action
200SUCCESSAadhaar card is valid-
200SUCCESSAadhaar card is invalidUpload a valid aadhaar copy.
400ERRORfile size exceededThe max file size of both the files is 10MB.
400ERRORplease upload the file of valid format(jpeg/jpg/png)Allowed file type - JPEG/JPG/PNG.
400ERRORverification_id is missing in the request.Enter a unique verification ID in the request.
400ERRORFront Image File is missingUpload the scanned image of the front of the aadhaar card.
400ERRORverification_id can include a maximum of 50 characters.Enter a unique verification ID within 50 characters.
400ERRORClient secret belongs to test environmentEnter the correct environment credentials in the request.
400ERRORverification_id can include only alphanum, dot, hyphen and underscores.Only alphanumeric, hyphen (-), period (.), and underscore ( _ ) are allowed.
400ERRORx-client-id is missing in the requestEnter all the header information in the API request.
401ERRORInvalid clientId and clientSecret combinationEnter valid client ID and secret key in the request.
403ERRORIP 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-verificationWhitelist the IP address.
422ERRORInsufficient balance to process this request.Ensure you have sufficient balance and then process the request.
500ERRORsomething went wrongTry after some time.
Language
Credentials
URL
Click Try It! to start a request and see the response here!

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