Create URL
Use this API to create a DigiLocker URL to retrieve and verify Aadhaar, PAN, and driving-license information of your customer.
Authorizations
Client ID. You can find your ID in the Merchant Dashboard.
Client secret key. You can find your secret key in the Merchant Dashboard.
Headers
Send the signature if IP is not whitelisted
Body
Find the request parameters to create a DigiLocker URL for the document verification.
It is the unique ID you create to identify the API request. The maximum character limit is 50. Alphanumeric, period (.), hyphen (-). and underscore ( _ ) are allowed.
It is the list of customer documents required for verification.
AADHAAR
, PAN
, DRIVING_LICENSE
It is the URL you need to provide to redirect the user after completing the DigiLocker journey. It will contain the verification_id, which can be used to check the status of the verification.
Response
Success response for creating a DigiLocker URL for document verification.
It displays the unique ID you created to identify this API request.
It displays the unique ID created by Cashfree Payments for reference purposes. format: int64
It displays the URL received to retrieve and verify aadhaar information from DigiLocker.
It displays the status of the verification request.. Possible values are:
PENDING
It displays the list of documents requested for verification.
AADHAAR
, PAN
, DRIVING_LICENSE
It displays the URL entered in the request that takes the user to after completing the DigiLocker journey.
Was this page helpful?