Create DigiLocker URL

Use this API to create a DigiLocker URL to retrieve and verify aadhaar information of your customer.

Response Codes

Sub CodeStatusMessageNext Action
200SUCCESSPENDING-
400ERRORverification_id is missing in the request.Enter a valid verification_id in the request.
400ERRORverification_id can include only alphanum, dot, hyphen, and underscores.Only alphanumeric, period (.), hyphen (-), and underscore ( _ ) are allowed.
400ERRORdocument_requested is missing in the request.Enter the document required for verification in the request.
400ERRORRequested Document Type can't be emptyEnter the type of document required for verification in the respective parameter and hit the API.
400ERRORInvalid Document Type SubmittedEnter a valid value for the parameter.
400ERRORDuplicate Document Type SubmittedEnter a valid value for the document_requested parameter.
400ERRORredirect_url should start with https.Enter a valid redirect URL.
400ERRORredirect_url should be valid url.Enter a valid redirect URL.
400ERRORClient secret belongs to test environmentEnter the correct environment credentials in the request.
400ERRORx-client-id is missing in the request.Enter all the header information in the API request.
401ERRORInvalid clientId and clientSecret combinationEnsure you enter valid x-client-id and x-client-secret information in the API 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.
409ERRORverification_id already exists, please provide new verification_idEnter a unique verification ID to identify the request.
422ERRORInsufficient balance to process this requestTry again with sufficient balance.
500ERRORUnable to process your request. Try again after some timeTry again 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!🎉