get https://sandbox.cashfree.com/verification/digilocker/document/
Use this API to get your customer's document details from DigiLocker.
Response Codes
Sub Code | Status | Message | Next Action |
---|---|---|---|
200 | SUCCESS | - | - |
202 | SUCCESS | Validation in process check after some time | Try again after some time. |
400 | ERROR | Please provide verification_id or reference_id | Enter a valid verification_id or reference_id in the request. |
400 | ERROR | document_type should be AADHAAR. | Enter the value for document_type as AADHAAR. |
400 | ERROR | Digilocker request URL is expired | Create a new DigiLocker URL. |
400 | ERROR | Digilocker consent session expired | Create a new DigiLocker consent session. |
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. |
404 | ERROR | Please enter a valid verification_id | Enter a valid verification ID. |
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. |