Use this API to verify whether a mobile number or Aadhaar number is already registered with DigiLocker. View the test data and use the information to trigger the validations. The test data are usable only in test environments such as sandbox.
Your unique client identifier issued by Cashfree. You can find this in your Merchant Dashboard.
The secret key associated with your client ID. Use this to authenticate your API requests. You can find this in your Merchant Dashboard.
Find the request parameters to verify a Digilocker account
It is a unique ID you create to identify the API request. The maximum character limit is 50. Alphanumeric, period (.), hyphen (-). and underscore ( _ ) are allowed.
"ABC00123"
It is the mobile number of a user. Either an Aadhaar number or mobile is required to verify whether a Digilocker account exists. (conditonal mandatory)
"9988777666"
It is the unique 12-digit identification number issued by the Unique Identification Authority of India (UIDAI). Either an Aadhaar number or mobile is required to verify whether a Digilocker account exists. (conditonal mandatory)
"655675523712"
Success response for digilocker account detail.
It displays the unique ID you created to identify this API request.
"ABC00123"
It displays the unique ID created by Cashfree Payments for reference purposes. format: int64
12345
Mobile number of the individual.
"1234567899"
Masked Aadhaar number of the individual.
"XXXXXXXX3712"
It displays the status of the digilocker account. Possible values are:
ACCOUNT_EXISTS: Digilocker account existsACCOUNT_NOT_FOUND: Digilocker account not found"ACCOUNT_EXISTS"
It is a unique 36-character DigiLocker ID of the user account.
"8aa626bf-34aa-5ffc-a123-f69207e129a7"