verification_id
or reference_id
to retrieve the current status.
Possible status values:
PENDING
: User hasn’t completed the verification process.AUTHENTICATED
: User has logged in and given consent.EXPIRED
: Link expired before the process was completed.CONSENT_DENIED
: When user rejects or denies consent.Create URL API
to generate the login consent link.Get Verification Status API
to confirm.Get Document API
.Create URL API
to generate sign-up consent link.Get Verification Status API
to confirm.Get Document API
.Step | API used | Description |
---|---|---|
1 | Verify Account API | Checks if Aadhaar is linked with DigiLocker |
2 | Create URL API | Generates DigiLocker consent URL |
3 | Get Verification Status API | Checks status: PENDING, AUTHENTICATED, EXPIRED, CONSENT_DENIED |
4 | Get Document API | Fetches verified user documents |
Step | Edge case | Scenario | Root cause | Resolution |
---|---|---|---|---|
1 | eaadhaar not available in DigiLocker | The eaadhaar field in the API response returns ‘N’. | Indicates that the user’s Aadhaar document isn’t currently available in their DigiLocker account. | Instruct the user to log in to DigiLocker and complete their profile by linking their Aadhaar. Once linked, fetch the document using the Get Document API. |
2 | Can be accessed label appears on consent screen | The DigiLocker consent screen displays the label Can be accessed next to a document. | Indicates that the document isn’t currently present in the user’s DigiLocker. This status implies that while the document is eligible to be linked, it hasn’t yet been fetched or issued to the account. | Instruct the user to log in to DigiLocker and link the issued document manually from the issuing authority. Once linked, retrieve the document using the Get Document API. |
Edge case 2