curl --request POST \
--url https://sandbox.cashfree.com/verification/digilocker/verify-account \
--header 'Content-Type: application/json' \
--header 'x-client-id: <api-key>' \
--header 'x-client-secret: <api-key>' \
--data '
{
"verification_id": "ABC001238",
"mobile_number": "101340612345"
}
'{
"verification_id": "ABC00123",
"reference_id": 12345,
"mobile_number": 1234567899,
"status": "ACCOUNT_EXISTS",
"digilocker_id": "8aa626bf-34aa-5ffc-a123-f69207e129a7"
}DigiLocker
Verify Account
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 can be used only in the sandbox environment.
POST
/
digilocker
/
verify-account
curl --request POST \
--url https://sandbox.cashfree.com/verification/digilocker/verify-account \
--header 'Content-Type: application/json' \
--header 'x-client-id: <api-key>' \
--header 'x-client-secret: <api-key>' \
--data '
{
"verification_id": "ABC001238",
"mobile_number": "101340612345"
}
'{
"verification_id": "ABC00123",
"reference_id": 12345,
"mobile_number": 1234567899,
"status": "ACCOUNT_EXISTS",
"digilocker_id": "8aa626bf-34aa-5ffc-a123-f69207e129a7"
}Authorizations
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.
Body
application/json
Find the request parameters to verify a Digilocker account.
Response
Success response for digilocker account detail.
Was this page helpful?