DigiLocker
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
- Base URLhttps://prod.idto.ai
- URLhttps://prod.idto.ai/verify/digilocker/verify_account
- AuthAPI key in header X-Client-ID and API key in header X-API-KEY
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"
}Changes
No recorded changes to this operation across all 1 revision of this API.