post https://sandbox.cashfree.com/verification/digilocker
Use this API to create a DigiLocker URL to retrieve and verify aadhaar information of your customer.
Response Codes
Sub Code | Status | Message | Next Action |
---|---|---|---|
200 | SUCCESS | PENDING | - |
400 | ERROR | verification_id is missing in the request. | Enter a valid verification_id in the request. |
400 | ERROR | verification_id can include only alphanum, dot, hyphen, and underscores. | Only alphanumeric, period (.), hyphen (-), and underscore ( _ ) are allowed. |
400 | ERROR | document_requested is missing in the request. | Enter the document required for verification in the request. |
400 | ERROR | Requested Document Type can't be empty | Enter the type of document required for verification in the respective parameter and hit the API. |
400 | ERROR | Invalid Document Type Submitted | Enter a valid value for the parameter. |
400 | ERROR | Duplicate Document Type Submitted | Enter a valid value for the document_requested parameter. |
400 | ERROR | redirect_url should start with https. | Enter a valid redirect URL. |
400 | ERROR | redirect_url should be valid url. | Enter a valid redirect URL. |
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 | Ensure you enter valid x-client-id and x-client-secret information in the API 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. |
409 | ERROR | verification_id already exists, please provide new verification_id | Enter a unique verification ID to identify the request. |
422 | ERROR | Insufficient balance to process this request | Try again with sufficient balance. |
500 | ERROR | Unable to process your request. Try again after some time | Try again after some time. |