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"
}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 are usable only in test environments such as sandbox.
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
Client ID. You can find your ID in the Merchant Dashboard.
Client secret key. You can find your secret key in the Merchant Dashboard.
Body
application/json
Find the request parameters to verify a Digilocker account
Response
Success response for digilocker account detail.
