What is DigiLocker?
What is DigiLocker?
How does Cashfree use DigiLocker for KYC?
How does Cashfree use DigiLocker for KYC?
Why should I use Cashfree’s DigiLocker integration?
Why should I use Cashfree’s DigiLocker integration?
Which documents can I verify using DigiLocker?
Which documents can I verify using DigiLocker?
Does the user need to provide consent?
Does the user need to provide consent?
Which industries can use this integration?
Which industries can use this integration?
How does the verification process work?
How does the verification process work?
Use the Create URL API to generate a consent link.
Redirect the user to the DigiLocker portal for login and consent.
Use the Get Verification Status API to check the user’s progress (optional).
Use the Get Document API to retrieve the verified document.
What statuses can I receive?
What statuses can I receive?
PENDING– The user has not completed the verification.AUTHENTICATED– The user has logged in and given consent.EXPIRED– The link expired before completion.CONSENT_DENIED– When user rejects or denies consent.
Do I need to change my existing integration?
Do I need to change my existing integration?
Why does the DigiLocker API return a 404 error when PAN and GSTIN verification work?
Why does the DigiLocker API return a 404 error when PAN and GSTIN verification work?
POST /verification/digilocker) requires separate account-level activation in addition to general Secure ID access. If PAN and GSTIN verification work but this endpoint returns 404, follow these steps:- Confirm you are using Secure ID credentials (
x-client-idandx-client-secret), not Payment Gateway keys. Using PG keys against Secure ID endpoints is a common cause of this error. - If your credentials are correct, fill out the Support Form to request DigiLocker activation on your account.
Why does the e-Aadhaar field in the API response return 'N'?
Why does the e-Aadhaar field in the API response return 'N'?
eaadhaar field returns N when the Aadhaar document isn’t available in the user’s DigiLocker account. This usually happens when the user registered with DigiLocker using only a mobile number and hasn’t linked their Aadhaar. It doesn’t mean the user denied consent. If the user denies consent, the verification status is CONSENT_DENIED instead.To fetch the Aadhaar document, ask the user to log in to DigiLocker and link their Aadhaar. Then start a new session by calling the Create DigiLocker URL API with a new verification_id, and ask the user to log in and give consent again.Why am I receiving an 'x-client-secret_value_invalid' error stating the client secret belongs to the test environment?
Why am I receiving an 'x-client-secret_value_invalid' error stating the client secret belongs to the test environment?
x-client-secret) with https://api.cashfree.com/verification, and test credentials with https://sandbox.cashfree.com/verification. Do not mix credentials from one environment with the endpoint of the other. See View end points for the full URLs.Can I retrieve the digitally signed PAN PDF through Cashfree's DigiLocker API?
Can I retrieve the digitally signed PAN PDF through Cashfree's DigiLocker API?
/file/{uri} endpoint.What does the consent_not_granted error mean in DigiLocker Aadhaar verification?
What does the consent_not_granted error mean in DigiLocker Aadhaar verification?
consent_not_granted, with a message such as “Consent not provided for AADHAAR document”, when the user hasn’t given explicit consent to share their Aadhaar document during the DigiLocker verification process. You can’t fetch the Aadhaar document through the API until this consent is recorded.You can also see this error when the Aadhaar document isn’t available in the user’s DigiLocker account at the time of verification. In this case, the eaadhaar field in the response is N. This can happen even when the user selects Allow on the consent screen, because DigiLocker can’t share a document that isn’t in the user’s account. It doesn’t mean the user denied consent.Does Aadhaar document retrieval work whether the user logs in to DigiLocker with a mobile number or an Aadhaar number?
Does Aadhaar document retrieval work whether the user logs in to DigiLocker with a mobile number or an Aadhaar number?
How should I handle the AADHAAR_NOT_LINKED status in DigiLocker document retrieval?
How should I handle the AADHAAR_NOT_LINKED status in DigiLocker document retrieval?
AADHAAR_NOT_LINKED, the user must log in to DigiLocker and link their Aadhaar manually. This is the same scenario as the eaadhaar field returning N.Calling the API again doesn’t resolve this. DigiLocker records consent when the user logs in, so linking Aadhaar afterwards doesn’t update the existing session. After the user links their Aadhaar, complete these steps:- Call the Create DigiLocker URL API with a new
verification_id. - Ask the user to log in to DigiLocker and give consent again.
- Call the Get Document API with the new
verification_id.
Should I poll the Get Document API for Aadhaar retrieval in DigiLocker?
Should I poll the Get Document API for Aadhaar retrieval in DigiLocker?
AUTHENTICATED. Repeated calls are billed and don’t change the result within the same session.Instead, call the Get Document API once after you receive the DIGILOCKER_VERIFICATION_SUCCESS webhook. Before you call it, verify that user_details.eaadhaar is Y and that document_consent includes AADHAAR.What happens when the DigiLocker URL expires?
What happens when the DigiLocker URL expires?
EXPIRED and Cashfree triggers the DIGILOCKER_VERIFICATION_LINK_EXPIRED webhook. To continue, call the Create DigiLocker URL API again with a new verification_id.