get
https://in.staging.decentro.tech/v2/kyc/uistream//status
API Endpoints
| Environment | Endpoint |
|---|---|
| Staging / Sandbox | https://in.staging.decentro.tech/v2/kyc/uistream/{initialDecentroTxnId}/status |
| Production | https://in.decentro.tech/v2/kyc/uistream/{initialDecentroTxnId}/status |
Session Expiry and Link Validity
sessionExpiresAt is set to 15 minutes after link generation. GTS may report SESSION_EXPIRED after this time.
The UIStream link’s authentication token is valid for 15 minutes from generation. Users must open the link and complete the flow within this period.
Response Key Description
| Field | Description |
|---|---|
data.stage | Current workflow status. |
data.createdOn | Session creation time. |
data.sessionExpiresAt | GTS expiry time: 5 minutes after link generation. The link token remains valid for 15 minutes. |
data.isTerminal | Terminal flag for the reported stage. A session reported as expired may still progress while the link token is valid. |
data.documents | Document-fetch results. |
data.callback | Callback count, delivery flags, and available timestamps. |
data.stageHistory | Recorded workflow stages and timestamps. |
UI Stream Journey Stages
The following table lists the different stages of the DigiLocker UI Stream journey and their corresponding descriptions.
| Stage | Description |
|---|---|
UISTREAM_LINK_GENERATED | This event is triggered when the UIstream link is generated successfully. |
DOCUMENT_AADHAAR_FETCHED | This event is triggered when aadhaar data is fetched successfully from Digilcoker. |
AADHAAR_DIGILOCKER_INITIATED | This event is triggered when the user is sent on the aadhaar journey on Digilocker UI. |
DIGILOCKER_SESSION_COMPLETED | This event is triggered when after the successful consent is submitted by the user and the user is redirected to UIstreams loader screen. |
EAADHAAR_PDF_GENERATION_SUCCESS | This event is triggered when Aadhaar Pdf is successfully generated from XML. |
MOBILE_DIGILOCKER_INITIATED | This event is triggered when the user is sent on the Mobile Journey on Digilocker UI. |
REDIRECTED_TO_DOCUMENT_FETCH_SCREEN | This event is triggered when the documents are getting fetched for the user in the UIstream journey. |
AADHAAR_NOT_SEEDED | This event is triggered when the user does not have Aadhaar seeded in Digilocker account. |
REINITIATED_AFTER_WRONG_CONSENT | This event is triggered when a new session is initiated for the user after he/she does not give the required consent for documents. |
USER_REDIRECTED | This event is triggered when the user has reached the terminal stage of UIstream journey and is redirected back to the URL given in the request body. |
FULL_CALLBACK_SENT | This event is triggered when the full callback is triggered to the merchant on the given callback URL in the request payload. |
PARTIAL_CALLBACK_SENT | This event is triggered when the partial callback is triggered to the merchant on the given callback URL in the request payload. |
WRONG_CONSENT | This event is triggered when the user does not give the required consent for documents. |
DOCUMENT_PAN_FETCHED | This event is triggered when the PAN is successfully fetched for the user from Digilocker. |
REINITIATED_AFTER_EMPTY_ACCOUNT_FOUND | This event is triggered when an Aadhaar session is initiated for the user if the Digilocker account of the user is empty. |
ALL_DOCUMENTS_AND_CONSENTS_FOUND | This event is triggered when all the required consents and documents are fetched from Digilocker. |
PAN_PULL_ATTEMPTED | This event is triggered when the PAN is getting fetched for the user from Digilocker |
VERIFY_ACCOUNT_RETRY_SUCCESS | This event is triggered as an intermediary step before redirecting the user to Digilocker UI. |
VERIFY_ACCOUNT_RETRY_SHOWN | This event is triggered as an intermediary step before redirecting the user to Digilocker UI failed. |
ACCESS_DENIED | This event is triggered when the user does not provide the consent to fetch the documents from Digilocker. |
