v1
latestOpenAPI 3.0.32026-07-14108241269.2 KBDigiLocker
Verify DigiLocker account
Verifies a DigiLocker account using mobile number.
| HTTP Status | Code | Reason | Message | Merchant Action |
|---|---|---|---|---|
| 200 | 2002 | ACCOUNT_NOT_FOUND | No DigiLocker account linked. | Skip DigiLocker or redirect to sign-up. |
| 200 | 1004 | ACCOUNT_FOUND | DigiLocker account exists. | Proceed with initiate session. |
| 400 | 3000 | INVALID_INPUT | Mobile number invalid/missing. | Validate input and retry. |
post/verify/digilocker/verify_account
Request body
Example request
{
"mobile_number": "9123456789"
}Response
Lookup result
Example response
{
"status": "success",
"code": 1004,
"result": {
"registered": true,
"digilockerid": "11111111-2222-3333-4444-555555555555",
"source": "misc"
},
"chargeble": "true",
"user_consent": "true"
}