---
updatedAt: 2026-11-12T11:19:28.000Z
agentTools:
  projectIndex: https://docs.decentro.tech/llms.txt
---

# DigiLocker UIStreams

UIStreams specialized in orchestrating DigiLocker-based workflows.

## Why are DigiLocker UIStreams needed?

DigiLocker UIStreams allow you to seamlessly integrate with all DigiLocker document retrieval workflows bundled into a single API. Just use the prefix `DIGILOCKER` and the name of the document you want to retrieve from your user and you are done!

The UIStream takes care of all of the following steps:

1. Make sure that the best and easiest login screen with the least friction and highest conversion rate is shown to the end customer so that there are minimal drop-offs when the user signs in.
2. Multi-lingual capabilities with on-the-fly translation to cater to audiences who are not familiar with English.
3. Automatic checking of wallet for existing documents and automatic isolation of consents to only the documents you want to retrieve from the customer.
4. Pull documents from issuers directly on the UIStream which manages real-time form rendering of all organizations, documents, and document parameters in the entire DigiLocker ecosystem.

***

## Supported DigiLocker Flows

The following is a list of DigiLocker UIStreams that are currently live in the production environment:

| UIStream Name                                  | Document Collected                    | Digital Use Case Examples                                                                                                                       | Real-World Conversion |
| :--------------------------------------------- | :------------------------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------- |
| `DIGILOCKER_AADHAAR`                           | Aadhaar Card                          | KYC, Address Verification in journeys for CRED, Bajaj Finserv, AU Small Finance Bank, Kotak Mahindra Bank                                       | ⭐⭐⭐⭐⭐                 |
| `DIGILOCKER_AADHAAR_PAN`                       | Aadhaar + PAN                         | Financial KYC for loan applications with CRED, Flipkart, ICICI Bank, Razorpay, Slice                                                            | ⭐⭐⭐⭐⭐                 |
| `DIGILOCKER_PAN_CERTIFICATE`                   | PAN Card                              | Tax Filing and Financial Onboarding for Paytm, Zerodha, HDFC Bank, Axis Bank                                                                    | ⭐⭐⭐⭐⭐                 |
| `DIGILOCKER_AADHAAR_PAN_DL`                    | Aadhaar + PAN + Driving License       | Insurance Claims & Policy Issuance, Employment & Workforce Management                                                                           | ⭐⭐⭐⭐                  |
| `DIGILOCKER_VEHICLE_REGISTRATION_CERTIFICATE`  | Vehicle Registration Certificate (RC) | Car Purchase, Vehicle Verification for Zoomcar, CARS24, OLX Autos, Spinny                                                                       | ⭐⭐⭐⭐                  |
| `DIGILOCKER_DRIVING_LICENSE`                   | Driving License                       | License Verification, Insurance Claims for Acko, Digit Insurance, Tata AIG, Bajaj Allianz                                                       | ⭐⭐⭐⭐                  |
| `DIGILOCKER_TWO_WHEELER_INSURANCE_POLICY`      | Two-Wheeler Insurance Policy          | Insurance for two-wheeler loans with L\&T Finance, Hero Fincorp, HDFC Ergo                                                                      | ⭐⭐⭐⭐                  |
| `DIGILOCKER_LIFE_INSURANCE_POLICY`             | Life Insurance Policy                 | Life insurance verification for PolicyBazaar, ICICI Prudential, Max Life Insurance                                                              | ⭐⭐⭐                   |
| `DIGILOCKER_HEALTH_INSURANCE_POLICY`           | Health Insurance Policy               | Health insurance verification for Star Health, Apollo Munich, Niva Bupa                                                                         | ⭐⭐⭐                   |
| `DIGILOCKER_CLASS_X_MARKSHEET`                 | Class X Marksheet                     | School Admission, Education Loan for Byju’s, FIITJEE, State Bank of India, Axis Bank                                                            | ⭐⭐⭐⭐                  |
| `DIGILOCKER_CLASS_X_LEAVING_CERTIFICATE`       | Class X Leaving Certificate           | School Transfer Verification for Allen Career Institute, Kendriya Vidyalaya                                                                     | ⭐⭐⭐                   |
| `DIGILOCKER_CLASS_X_PROVISIONAL_CERTIFICATE`   | Class X Provisional Certificate       | College Admission for Narayana Institute, Christ University, SRM University                                                                     | ⭐⭐⭐                   |
| `DIGILOCKER_CLASS_X_PASSING_CERTIFICATE`       | Class X Passing Certificate           | School Verification, College Admission for NIIT, Techno India, Amity University                                                                 | ⭐⭐⭐                   |
| `DIGILOCKER_CLASS_XII_MARKSHEET`               | Class XII Marksheet                   | College Admission, Job Application for Infosys, Wipro, Indian Army, Flipkart                                                                    | ⭐⭐⭐                   |
| `DIGILOCKER_CLASS_XII_PASSING_CERTIFICATE`     | Class XII Passing Certificate         | College Admission for BITS Pilani, Manipal University, Lovely Professional University                                                           | ⭐⭐⭐                   |
| `DIGILOCKER_DEGREE_MARKSHEET`                  | Degree Marksheet                      | Higher Education, Job Application for TCS, Infosys, Google, Cognizant                                                                           | ⭐⭐                    |
| `DIGILOCKER_DEGREE_CERTIFICATE`                | Degree Certificate                    | Higher Education, Job Application for Capgemini, Accenture, IBM                                                                                 | ⭐⭐                    |
| `DIGILOCKER_PROVISIONAL_DEGREE_CERTIFICATE`    | Provisional Degree Certificate        | Job Application, Further Studies for Mindtree, Infosys, Hexaware                                                                                | ⭐⭐                    |
| `DIGILOCKER_PENSION_COMMUTATION_PAYMENT_ORDER` | Pension Commutation Payment Order     | Pension Verification for LIC, PNB MetLife, HDFC Pension                                                                                         | ⭐⭐⭐                   |
| `DIGILOCKER_PENSION_CERTIFICATE`               | Pension Certificate                   | Pension Claims for EPFO, LIC Pension Funds                                                                                                      | ⭐⭐⭐                   |
| `DIGILOCKER_ELIGIBILITY_CERTIFICATE`           | Eligibility Certificate               | Scholarship Application for Vidya Lakshmi, Tata Trusts, SBI Education Loan                                                                      | ⭐⭐⭐                   |
| `DIGILOCKER_MIGRATION_CERTIFICATE`             | Migration Certificate                 | School/College Transfer for DU, Mumbai University, Pune University                                                                              | ⭐⭐⭐                   |
| `DIGILOCKER_ADMIT_CARD`                        | Admit Card                            | Exam Verification for CBSE, SSC, UPSC                                                                                                           | ⭐⭐⭐                   |
| `DIGILOCKER_UNIVERSITY_TRANSCRIPT`             | University Transcript                 | Higher Studies Abroad, Employment Verification for WES, IQAS, Narsee Monjee Institute                                                           | ⭐⭐                    |
| `DIGILOCKER_DIPLOMA_CERTIFICATE`               | Diploma Certificate                   | Job Application, Further Studies for L\&T, Siemens, Blue Star                                                                                   | ⭐⭐                    |
| `DIGILOCKER_DEGREE_DIPLOMA_MARKSHEET`          | Diploma Marksheet                     | Job Application, Higher Studies for Indian Institute of Technology (IIT), National Institute of Technology (NIT)                                | ⭐⭐                    |
| `DIGILOCKER_SKILL_CERTIFICATE`                 | Skill Certificate                     | Job Application, Skill Verification for National Skill Development Corporation (NSDC), UrbanClap, Tata Strive                                   | ⭐⭐⭐                   |
| `DIGILOCKER_COURSE_COMPLETION_CERTIFICATE`     | Course Completion Certificate         | Course Verification for Udemy, Coursera, LinkedIn Learning                                                                                      | ⭐⭐⭐                   |
| `DIGILOCKER_EQUIVALENCE_CERTIFICATE`           | Equivalence Certificate               | Qualification Verification for Ministry of Education, Narsee Monjee Institute of Management Studies (NMIMS), University Grants Commission (UGC) | ⭐⭐⭐                   |
| `DIGILOCKER_CLASS_XII_LEAVING_CERTIFICATE`     | Class XII Leaving Certificate         | College Transfer, Admission for Delhi University, Symbiosis, Amity                                                                              | ⭐⭐⭐                   |
| `DIGILOCKER_CLASS_X_MERIT_CERTIFICATE`         | Class X Merit Certificate             | Merit-Based Scholarship for Central Government Scholarships, Vidya Lakshmi, SBI Education Loans                                                 | ⭐⭐⭐                   |
| `DIGILOCKER_CLASS_XII_COMPARTMENT_MARKSHEET`   | Class XII Compartment Marksheet       | Re-Examination Verification for CBSE, NCERT, National Institute of Open Schooling (NIOS)                                                        | ⭐⭐                    |
| `DIGILOCKER_PROVISIONAL_CERTIFICATE`           | Provisional Certificate               | Further Studies, Job Application for Tata Consultancy Services, HCL Technologies, Infosys                                                       | ⭐⭐⭐                   |
| `DIGILOCKER_PASSING_CERTIFICATE`               | Passing Certificate                   | Qualification Verification for Accenture, IBM, Cognizant                                                                                        | ⭐⭐⭐                   |
| `DIGILOCKER_SCHOOL_LEAVING_CERTIFICATE`        | School Leaving Certificate            | School Transfer for CBSE, ICSE, Kendriya Vidyalaya Sangathan                                                                                    | ⭐⭐⭐                   |
| `DIGILOCKER_CONSOLIDATED_ACCOUNT_STATEMENT`    | Consolidated Account Statement        | Depositories like National Securities Depository Limited (NSDL) and Central Depository Services Limited (CDSL)                                  | ⭐⭐                    |

<br />

> ℹ️ DigiLocker has no visibility of Aadhaar linked mobile numbers
>
> In case of DigiLocker account login via mobile numbers, since DigiLocker does not process any Aadhaar data as such, so even if there are multiple Aadhaar linked DigiLocker accounts, there is no way to know such information via APIs at the moment.

### Brief Explanation of the Payload Sent to `callback_url`

The payload represents a structured response containing details about the successful retrieval of user documents via the `uistream` callback. Below is a breakdown of its key components:

***

#### **High-Level Information**

| Key                        | Value (Masked)                                  |
| -------------------------- | ----------------------------------------------- |
| **`initialDecentroTxnId`** | `**************6813`                            |
| **`status`**               | `SUCCESS`                                       |
| **`message`**              | `All documents have been fetched successfully.` |
| **`responseKey`**          | `success_uistream_documents_fetch`              |

***

#### **Document Details in `data`**

1. **`EAADHAAR`**: Contains Aadhaar-related information retrieved from Digilocker.\
   **Transaction Details**:

| Key                 | Value (Masked)                                                |
| ------------------- | ------------------------------------------------------------- |
| **`decentroTxnId`** | `**************B73`                                           |
| **`status`**        | `SUCCESS`                                                     |
| **`responseCode`**  | `S00000`                                                      |
| **`message`**       | `E-Aadhaar information received successfully from Digilocker` |

* **Aadhaar Details**:

| Key                   | Value (Masked)                                                       |
| --------------------- | -------------------------------------------------------------------- |
| **`aadhaarUid`**      | `********2661`                                                       |
| **`proofOfIdentity`** | Contains details such as DOB (`DD-MM-YYYY`), gender (`M`), and name. |
| **`proofOfAddress`**  | Includes address fields like house number, pincode, and locality.    |

* **Document Media**: Base64-encoded versions of the Aadhaar image, PDF, and XML.

1. **`ISSUED_FILES`**: Lists additional retrieved documents.

   * **Items**:

   | Document Name           | Document Type | Issuer                |
   | ----------------------- | ------------- | --------------------- |
   | Aadhaar Card            | `ADHAR`       | UIDAI                 |
   | PAN Verification Record | `PANCR`       | Income Tax Department |

2. **`PAN`**: Contains details about the user's PAN card.\
   **PAN Details**:

| Key                      | Value        |
| ------------------------ | ------------ |
| **`idNumber`**           | `BDABJ1234J` |
| **`userName`**           | `John Doe`   |
| **`userDateOfBirth`**    | `DD-MM-YYYY` |
| **`userGender`**         | `MALE`       |
| **`documentVerifiedOn`** | `DD-MM-YYYY` |
| **`documentStatus`**     | `Active`     |

* **Document Media**: Base64-encoded file (masked).

***

### **Full Payload Sample (Happy Scenario)**

```json DIGILOCKER_AADHAAR_PAN
{
    "initialDecentroTxnId": "**************6813",
    "status": "SUCCESS",
    "message": "All documents have been fetched successfully.",
    "responseKey": "success_uistream_documents_fetch",
    "data": {
        "EAADHAAR": {
            "decentroTxnId": "**************B73",
            "status": "SUCCESS",
            "responseCode": "S00000",
            "message": "E-Aadhaar information received successfully from Digilocker",
            "data": {
                "aadhaarReferenceNumber": "",
                "aadhaarUid": "********1234",
      				  "ttl": "2026-01-03T14:00:51", //if skip_survey :true
                "proofOfIdentity": {
                    "dob": "DD-MM-YYYY",
                    "hashedEmail": "",
                    "gender": "M",
                    "hashedMobileNumber": "",
                    "name": "**** ****"
                },
                "proofOfAddress": {
                    "careOf": "S/O **** ****",
                    "country": "India",
                    "district": "******",
                    "house": "***",
                    "landmark": "Beside ****",
                    "locality": "*********",
                    "pincode": "******",
                    "postOffice": "********",
                    "state": "**********",
                    "street": "**** Main, ********** Road",
                    "subDistrict": "",
                    "vtc": "******"
                },
                "image": "BASE64",
                "pdf": "BASE64",
                "xml": "BASE64"
            },
            "responseKey": "success_eaadhaar_download"
        },
        "ISSUED_FILES": {
            "items": [
                {
                    "name": "Aadhaar Card",
                    "type": "file",
                    "size": "",
                    "date": "**-**-2024",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.uidai-ADHAR-************",
                    "doctype": "ADHAR",
                    "description": "Aadhaar Card",
                    "issuerid": "in.gov.uidai",
                    "issuer": "Unique Identification Authority of India (UIDAI)"
                },
                {
                    "name": "PAN Verification Record",
                    "type": "file",
                    "size": "",
                    "date": "**-**-2024",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.pan-PANCR-************",
                    "doctype": "PANCR",
                    "description": "PAN Verification Record",
                    "issuerid": "in.gov.pan",
                    "issuer": "Income Tax Department"
                }
            ]
        },
        "PAN": {
            "documentIssuer": "Income Tax Department",
            "documentName": "PAN Verification Record",
            "documentType": "PANCR",
            "idNumber": "**********6J",
            "userName": "**** ****",
            "userDateOfBirth": "**-**-1998",
            "userGender": "MALE",
            "documentVerifiedOn": "**-**-2024",
            "documentStatus": "Active",
            "documentBase64": "BASE64"
        }
    }
}
```
```json DIGILOCKER_AADHAAR
{
    "initialDecentroTxnId": "**************6813",
    "status": "SUCCESS",
    "message": "All documents have been fetched successfully.",
    "responseKey": "success_uistream_documents_fetch",
    "data": {
        "AADHAAR": {
            "decentroTxnId": "**************B73",
            "status": "SUCCESS",
            "responseCode": "S00000",
            "message": "E-Aadhaar information received successfully from Digilocker",
            "data": {
                "aadhaarReferenceNumber": "",
                "aadhaarUid": "********1234",
           		  "ttl": "2026-01-03T14:00:51", 
                "proofOfIdentity": {
                    "dob": "DD-MM-YYYY",
                    "hashedEmail": "",
                    "gender": "M",
                    "hashedMobileNumber": "",
                    "name": "**** ****"
                },
                "proofOfAddress": {
                    "careOf": "S/O **** ****",
                    "country": "India",
                    "district": "******",
                    "house": "***",
                    "landmark": "Beside ****",
                    "locality": "*********",
                    "pincode": "******",
                    "postOffice": "********",
                    "state": "**********",
                    "street": "**** Main, ********** Road",
                    "subDistrict": "",
                    "vtc": "******"
                },
                "image": "BASE64",
                "pdf": "BASE64",
                "xml": "BASE64"
            },
            "responseKey": "success_eaadhaar_download"
        }
    }
}
```
```json DIGILOCKER_AADHAAR_PAN_DL
{
  "initialDecentroTxnId": "**************6813",
  "status": "SUCCESS",
  "message": "All documents have been fetched successfully.",
  "responseKey": "success_uistream_documents_fetch",
  "data": {
    "EAADHAAR": {
      "decentroTxnId": "**************B73",
      "status": "SUCCESS",
      "responseCode": "S00000",
      "message": "E-Aadhaar information received successfully from Digilocker",
      "data": {
        "aadhaarReferenceNumber": "",
        "aadhaarUid": "********1234",
        "proofOfIdentity": {
          "dob": "DD-MM-YYYY",
          "hashedEmail": "",
          "gender": "M",
          "hashedMobileNumber": "",
          "name": "**** ****"
        },
        "proofOfAddress": {
          "careOf": "S/O **** ****",
          "country": "India",
          "district": "******",
          "house": "***",
          "landmark": "Beside ****",
          "locality": "*********",
          "pincode": "******",
          "postOffice": "********",
          "state": "**********",
          "street": "**** Main, ********** Road",
          "subDistrict": "",
          "vtc": "******"
        },
        "image": "BASE64",
        "pdf": "BASE64",
        "xml": "BASE64"
      },
      "responseKey": "success_eaadhaar_download"
    },
    "ISSUED_FILES": {
      "items": [
        {
          "name": "Aadhaar Card",
          "type": "file",
          "doctype": "ADHAR",
          "issuer": "Unique Identification Authority of India (UIDAI)",
          "issuerid": "in.gov.uidai",
          "mime": ["application/json", "application/xml", "application/pdf"],
          "uri": "in.gov.uidai-ADHAR-************"
        },
        {
          "name": "PAN Verification Record",
          "type": "file",
          "doctype": "PANCR",
          "issuer": "Income Tax Department",
          "issuerid": "in.gov.pan",
          "mime": ["application/json", "application/xml", "application/pdf"],
          "uri": "in.gov.pan-PANCR-************"
        }
      ]
    },
    "PAN": {
      "documentIssuer": "Income Tax Department",
      "documentName": "PAN Verification Record",
      "documentType": "PANCR",
      "idNumber": "**********6J",
      "userName": "**** ****",
      "userDateOfBirth": "**-**-1998",
      "userGender": "MALE",
      "documentVerifiedOn": "**-**-2024",
      "documentStatus": "Active",
      "documentBase64": "BASE64"
    },
    "DIGILOCKER_DRIVING_LICENSE": {
      "documentIssuer": "RTO, DELHI",
      "documentName": "Driving License",
      "documentType": "DRVLC",
      "idNumber": "************",
      "userName": "*** ***",
      "userDateOfBirth": "01-01-2001",
      "userGender": "Male",
      "documentVerifiedOn": "01-01-2001",
      "documentStatus": "Inactive",
      "documentBase64": "BASE64"
    }
  }
}
```

## Exhaustive List of Response Keys for Callbacks

[block:parameters]
{
  "data": {
    "h-0": "No",
    "h-1": "Response Key",
    "h-2": "Description",
    "0-0": "1",
    "0-1": "`success_uistream_documents_fetch`",
    "0-2": "A full callback has been sent.",
    "1-0": "2",
    "1-1": "`success_uistream_partial_documents_fetch`",
    "1-2": "A partial callback has been sent without poller initiation. This happens when either the poller configuration is turned off by the merchant, or if the documents failed due to a validation error. \u000b\u000bFor instance, if the PAN Pull step failed due to a name or DOB mismatch, the poller is NOT initiated.",
    "2-0": "3",
    "2-1": "`success_uistream_partial_fetch_with_poller`",
    "2-2": "A partial callback has been sent with poller initiation. \u000b\u000bThis happens when two conditions are true. First, the poller configuration should be turned on by the merchant. This is NOT turned on by default. Second, the error received from the DigiLocker source should be an intermittent fluctuation or a downtime.",
    "3-0": "4",
    "3-1": "`success_uistream_poller`",
    "3-2": "A partial callback containing only the PAN document’s data points that is received once the poller has successfully downloaded the EPAN document.",
    "4-0": "5",
    "4-1": "`error_uistream_poller_retries_exhausted`",
    "4-2": "A callback that simply informs the merchant that the poller retries have been exhausted.",
    "5-0": "6",
    "5-1": "`event_uistream_session_initiated`",
    "5-2": "An event callback sent when the session is initiated.",
    "6-0": "7",
    "6-1": "`event_uistream_session_termination`",
    "6-2": "An event callback sent when the session is terminated.",
    "7-0": "8",
    "7-1": "`event_uistream_session_timeout`",
    "7-2": "An event callback sent when the session is timed out.  Currently, this happens after 300 seconds of non-completion. Please note: Non-completion does not indicate non-activity. \u000b\u000bThis is a configurable value.",
    "8-0": "9",
    "8-1": "`error_uistream_digilocker_data_fetch`",
    "8-2": "A failure callback indicating UIStream failed to fetch the requested DigiLocker data/documents.",
    "9-0": "10",
    "9-1": "`error_uistream_digilocker_file_params`",
    "9-2": "A failure callback indicating required DigiLocker file upload parameters were missing or invalid.",
    "10-0": "11",
    "10-1": "`error_uistream_api_error`",
    "10-2": "A failure callback indicating an internal/downstream API error occurred while processing the flow.",
    "11-0": "12",
    "11-1": "`error_uistream_initiate_session`",
    "11-2": "A failure callback indicating UIStream was unable to initiate the session successfully.",
    "12-0": "13",
    "12-1": "`error_uistream_session_error`",
    "12-2": "A failure callback indicating a session/parameter/state error (invalid or missing session context).",
    "13-0": "14",
    "13-1": "`error_full_name_mismatch`",
    "13-2": "A failure callback indicating PAN full  name validation mismatch with the full name on Aadhaar during the  DigiLocker/PAN fetch step.",
    "14-0": "15",
    "14-1": "`error_pan_dob_mismatch`",
    "14-2": "A failure callback when Date of Birth on PAN mismatched during  \nthe DigiLocker/PAN fetch step",
    "15-0": "16",
    "15-1": "`error_invalid_pan`",
    "15-2": "A failure response key indicating the PAN provided/derived was invalid during validation.",
    "16-0": "17",
    "16-1": "`error_aadhaar_mobile_unlinked`",
    "16-2": "A failure response key indicating the mobile number is not linked/unseeded with Aadhaar in the DigiLocker context.",
    "17-0": "18",
    "17-1": "`error_digilocker_wallet_empty`",
    "17-2": "A failure response key indicating the DigiLocker wallet/account has no documents available to fetch",
    "18-0": "19",
    "18-1": "`error_aadhaar_not_linked_to_digilocker`",
    "18-2": "A failure callback indicating Aadhaar is not linked to the DigiLocker account (used for termination callbacks as well)",
    "19-0": "20",
    "19-1": "`error_no_aadhaar_linked`",
    "19-2": "A failure response key received from source indicating no Aadhaar is linked to the DigiLocker account",
    "20-0": "21",
    "20-1": "error_no_digilocker_account",
    "20-2": "A failure response indicating that the user does not have an existing DigiLocker account or could not be identified using the provided login details. The user must register or sign in with valid registered details to continue.",
    "21-0": "22",
    "21-1": "error_invalid_otp",
    "21-2": "A failure response indicating that the OTP entered by the user is incorrect or invalid. The user must enter a valid OTP to complete the verification process.",
    "22-0": "23",
    "22-1": "error_no_mobile_with_aadhaar",
    "22-2": "A failure response indicating that no verified mobile number is linked to the user's Aadhaar. This prevents OTP-based Aadhaar verification from proceeding.",
    "23-0": "24",
    "23-1": "error_invalid_aadhaar",
    "23-2": "A failure response indicating that the Aadhaar number provided is invalid or does not meet the required 12-digit format. A valid Aadhaar number is required to initiate OTP verification.",
    "24-0": "25",
    "24-1": "error_otp_already_sent",
    "24-2": "A failure response indicating that an OTP has already been generated and sent to the user's registered mobile number. The user must use the existing OTP or wait for the resend interval before requesting another OTP.",
    "25-0": "26",
    "25-1": "error_provider_error",
    "25-2": "A failure response indicating that an issue occurred at the underlying provider's end, preventing the requested operation from being completed successfully.",
    "26-0": "27",
    "26-1": "error_uidai_error",
    "26-2": "A failure response indicating that the request could not be processed due to an issue or unavailability at UIDAI's end. The operation may be retried after some time.",
    "27-0": "28",
    "27-1": "error_no_data_found",
    "27-2": "A failure response indicating that the requested document or record could not be found at the underlying provider's or issuing authority's end. This may occur when no matching record exists for the supplied document parameters.",
    "28-0": "29",
    "28-1": "error_otp_expired",
    "28-2": "A failure response indicating that the OTP provided has expired and is no longer valid for verification. The user must request a new OTP to proceed.",
    "29-0": "30",
    "29-1": "error_invalid_file_urn",
    "29-2": "A failure response indicating that the file URI or URN provided for document retrieval is invalid. A valid document identifier is required to download the requested file.",
    "30-0": "31",
    "30-1": "error_digilocker_locked",
    "30-2": "A failure response indicating that the user's DigiLocker account has been temporarily locked due to multiple unsuccessful attempts. The user must wait for the one-hour lock period to expire before trying again.",
    "31-0": "32",
    "31-1": "error_no_aadhaar_available",
    "31-2": "A failure response indicating that the user's Aadhaar document or related data is not available for retrieval through DigiLocker.",
    "32-0": "33",
    "32-1": "error_invalid_uri",
    "32-2": "A failure response indicating that the file URI provided is not supported by DigiLocker, preventing the requested document from being retrieved.",
    "33-0": "34",
    "33-1": "error_insufficient_privileges",
    "33-2": "A failure response indicating that the user has not granted the required consent or permissions to access the requested document. The document cannot be retrieved without the necessary authorization.",
    "34-0": "35",
    "34-1": "error_malformed_request",
    "34-2": "A failure response indicating that the request payload is incorrectly structured or does not follow the expected format, preventing the API from processing the request.",
    "35-0": "36",
    "35-1": "error_invalid_additional_data",
    "35-2": "A failure response indicating that the additional_data object contains invalid values, unsupported keys, or incorrectly formatted parameters. The request must contain valid and supported additional data fields.",
    "36-0": "37",
    "36-1": "error_invalid_uistream",
    "36-2": "A failure response indicating that the UIStream name provided in the request is invalid or unsupported. A valid UIStream name must be specified to initiate the requested workflow."
  },
  "cols": 3,
  "rows": 37,
  "align": [
    "left",
    "left",
    "left"
  ]
}
[/block]

**Case 1: success\_uistream\_documents\_fetch**

**When does this happen:**

A full callback has been sent.

```json DIGILOCKER_AADHAAR_PAN
{
    "initialDecentroTxnId": "**************6813",
    "status": "SUCCESS",
    "message": "All documents have been fetched successfully.",
    "responseKey": "success_uistream_documents_fetch",
    "data": {
        "EAADHAAR": {
            "decentroTxnId": "**************B73",
            "status": "SUCCESS",
            "responseCode": "S00000",
            "message": "E-Aadhaar information received successfully from Digilocker",
            "data": {
                "aadhaarReferenceNumber": "",
                "aadhaarUid": "********1234",
                "proofOfIdentity": {
                    "dob": "DD-MM-YYYY",
                    "hashedEmail": "",
                    "gender": "M",
                    "hashedMobileNumber": "",
                    "name": "**** ****"
                },
                "proofOfAddress": {
                    "careOf": "S/O **** ****",
                    "country": "India",
                    "district": "******",
                    "house": "***",
                    "landmark": "Beside ****",
                    "locality": "*********",
                    "pincode": "******",
                    "postOffice": "********",
                    "state": "**********",
                    "street": "**** Main, ********** Road",
                    "subDistrict": "",
                    "vtc": "******"
                },
                "image": "BASE64",
                "pdf": "BASE64",
                "xml": "BASE64"
            },
            "responseKey": "success_eaadhaar_download"
        },
        "ISSUED_FILES": {
            "items": [
                {
                    "name": "Aadhaar Card",
                    "type": "file",
                    "size": "",
                    "date": "**-**-2024",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.uidai-ADHAR-************",
                    "doctype": "ADHAR",
                    "description": "Aadhaar Card",
                    "issuerid": "in.gov.uidai",
                    "issuer": "Unique Identification Authority of India (UIDAI)"
                },
                {
                    "name": "PAN Verification Record",
                    "type": "file",
                    "size": "",
                    "date": "**-**-2024",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.pan-PANCR-************",
                    "doctype": "PANCR",
                    "description": "PAN Verification Record",
                    "issuerid": "in.gov.pan",
                    "issuer": "Income Tax Department"
                }
            ]
        },
        "PAN": {
            "documentIssuer": "Income Tax Department",
            "documentName": "PAN Verification Record",
            "documentType": "PANCR",
            "idNumber": "**********6J",
            "userName": "**** ****",
            "userDateOfBirth": "**-**-1998",
            "userGender": "MALE",
            "documentVerifiedOn": "**-**-2024",
            "documentStatus": "Active",
            "documentBase64": "BASE64"
        }
    }
}
```
```json FALLBACK RESPONSE
{
    "initialDecentroTxnId": "6951C81A006A478598BBCE39290CB9D6",
    "status": "SUCCESS",
    "message": "All documents have been fetched successfully.",
    "responseKey": "success_uistream_documents_fetch",
    "data": {
        "AADHAAR": {
            "decentroTxnId": "99CF25343CE9425E868A7D4655A484C5",
            "status": "SUCCESS",
            "responseCode": "S00000",
            "message": "Aadhaar data retrieved successfully.",
            "data": {
                "aadhaarReferenceNumber": "554220250806113402345",
                "proofOfIdentity": {
                    "dob": "12-12-1991",
                    "hashedEmail": "",
                    "gender": "M",
                    "name": "Pulu Gulu Chulu",
                    "hashedMobileNumber": "******3214"
                },
                "proofOfAddress": {
                    "careOf": "S/O Avinash",
                    "country": "India",
                    "district": "Samstipur",
                    "house": "",
                    "landmark": "",
                    "locality": "",
                    "pincode": "848130",
                    "postOffice": "Rahimabad",
                    "state": "Bihar",
                    "street": "",
                    "subDistrict": "",
                    "vtc": "Rahimabad"
                },
                "image": "/9j/4AAQSkZJRgABAgAAAQABAAD/+F4HeiihKysgbu7kWCakA4ooqkIUA5oAI9qKKYh6jDA46VpDJwaKKuAmBGVquyknkUUVbJR//2Q==",
                "pdf": "JVBERi0xLjQKJfbk/xOTQxZGE+XS9QcmV2IDEzNjc2ODE+PgolaVRleHQtNS41LjEzLjMKc3RhcnR4cmVmCjEzOTA5NzgKJSVFT0YK",
                "password": "PULU1991",
                "aadhaarUid": "",
                "ttl": ""
            },
            "responseKey": "success_aadhaar_fetched"
        }
    }
}
```

**Case 2: success\_uistream\_partial\_documents\_fetch**

**When does this happen:**

A partial callback has been sent without poller initiation. This happens when either the poller configuration is turned off by the merchant, or if the documents failed due to a validation error.

For instance, if the PAN Pull step failed due to a name or DOB mismatch, the poller is NOT initiated.

```json DIGILOCKER_AADHAAR_PAN
{
    "initialDecentroTxnId": "**************6813",
    "status": "SUCCESS",
    "message": "Some documents have been fetched successfully.",
    "responseKey": "success_uistream_partial_documents_fetch",
    "data": {
        "EAADHAAR": {
            "decentroTxnId": "**************B73",
            "status": "SUCCESS",
            "responseCode": "S00000",
            "message": "E-Aadhaar information received successfully from Digilocker",
            "data": {
                "aadhaarReferenceNumber": "",
                "aadhaarUid": "********1234",
                "proofOfIdentity": {
                    "dob": "DD-MM-YYYY",
                    "hashedEmail": "",
                    "gender": "M",
                    "hashedMobileNumber": "",
                    "name": "**** ****"
                },
                "proofOfAddress": {
                    "careOf": "S/O **** ****",
                    "country": "India",
                    "district": "******",
                    "house": "***",
                    "landmark": "Beside ****",
                    "locality": "*********",
                    "pincode": "******",
                    "postOffice": "********",
                    "state": "**********",
                    "street": "**** Main, ********** Road",
                    "subDistrict": "",
                    "vtc": "******"
                },
                "image": "BASE64",
                "pdf": "BASE64",
                "xml": "BASE64"
            },
            "responseKey": "success_eaadhaar_download"
        },
        "ISSUED_FILES": {
            "items": [
                {
                    "name": "Aadhaar Card",
                    "type": "file",
                    "size": "",
                    "date": "**-**-2024",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.uidai-ADHAR-************",
                    "doctype": "ADHAR",
                    "description": "Aadhaar Card",
                    "issuerid": "in.gov.uidai",
                    "issuer": "Unique Identification Authority of India (UIDAI)"
                },
                {
                    "name": "PAN Verification Record",
                    "type": "file",
                    "size": "",
                    "date": "**-**-2024",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.pan-PANCR-************",
                    "doctype": "PANCR",
                    "description": "PAN Verification Record",
                    "issuerid": "in.gov.pan",
                    "issuer": "Income Tax Department"
                }
            ]
        },
        "PAN": {
		"message": "An error occurred during PAN retrieval. Reason: <ERROR MESSAGE>"
        }
    }
}
```

`<ERROR_MESSAGE>` can be one of the following:

1. The full name does not match the PAN data.
2. The mobile number is not linked with Aadhaar.
3. The PAN DOB does not match the Aadhaar data.
4. The PAN provided is invalid.

**Case 3: success\_uistream\_partial\_fetch\_with\_poller**

**When does this happen:**

A partial callback has been sent with poller initiation.

This happens when two conditions are true. First, the poller configuration should be turned on by the merchant. This is NOT turned on by default. Second, the error received from the DigiLocker source should be an intermittent fluctuation or a downtime.

**Case 3A: Document Base64 received, but data points failed**

```json DIGILOCKER_AADHAAR_PAN
{
    "initialDecentroTxnId": "**************6813",
    "status": "SUCCESS",
    "message": "Some documents have been fetched successfully.",
    "responseKey": "success_uistream_partial_fetch_with_poller",
    "data": {
        "EAADHAAR": {
            "decentroTxnId": "**************B73",
            "status": "SUCCESS",
            "responseCode": "S00000",
            "message": "E-Aadhaar information received successfully from Digilocker",
            "data": {
                "aadhaarReferenceNumber": "",
                "aadhaarUid": "********1234",
                "proofOfIdentity": {
                    "dob": "DD-MM-YYYY",
                    "hashedEmail": "",
                    "gender": "M",
                    "hashedMobileNumber": "",
                    "name": "**** ****"
                },
                "proofOfAddress": {
                    "careOf": "S/O **** ****",
                    "country": "India",
                    "district": "******",
                    "house": "***",
                    "landmark": "Beside ****",
                    "locality": "*********",
                    "pincode": "******",
                    "postOffice": "********",
                    "state": "**********",
                    "street": "**** Main, ********** Road",
                    "subDistrict": "",
                    "vtc": "******"
                },
                "image": "BASE64",
                "pdf": "BASE64",
                "xml": "BASE64"
            },
            "responseKey": "success_eaadhaar_download"
        },
        "ISSUED_FILES": {
            "items": [
                {
                    "name": "Aadhaar Card",
                    "type": "file",
                    "size": "",
                    "date": "**-**-2024",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.uidai-ADHAR-************",
                    "doctype": "ADHAR",
                    "description": "Aadhaar Card",
                    "issuerid": "in.gov.uidai",
                    "issuer": "Unique Identification Authority of India (UIDAI)"
                },
                {
                    "name": "PAN Verification Record",
                    "type": "file",
                    "size": "",
                    "date": "**-**-2024",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.pan-PANCR-************",
                    "doctype": "PANCR",
                    "description": "PAN Verification Record",
                    "issuerid": "in.gov.pan",
                    "issuer": "Income Tax Department"
                }
            ]
        },
        "PAN": {
            "documentIssuer": "Income Tax Department",
            "documentName": "PAN Verification Record",
            "documentType": "PANCR",
            "documentBase64": "BASE64",
            "message": "Poller has been initiated to retrieve missing data points.",
        }
    }
}
```
```json DIGILOCKER_AADHAR_PAN_DL
{
  "initialDecentroTxnId": "**************6813",
  "status": "SUCCESS",
  "message": "Some documents have been fetched successfully.",
  "responseKey": "success_uistream_partial_fetch_with_poller",
  "data": {
    "EAADHAAR": {
      "decentroTxnId": "**************B73",
      "status": "SUCCESS",
      "responseCode": "S00000",
      "message": "E-Aadhaar information received successfully from Digilocker",
      "data": {
        "aadhaarReferenceNumber": "",
        "aadhaarUid": "********1234",
        "proofOfIdentity": {
          "dob": "DD-MM-YYYY",
          "hashedEmail": "",
          "gender": "M",
          "hashedMobileNumber": "",
          "name": "**** ****"
        },
        "proofOfAddress": {
          "careOf": "S/O **** ****",
          "country": "India",
          "district": "******",
          "house": "***",
          "landmark": "Beside ****",
          "locality": "*********",
          "pincode": "******",
          "postOffice": "********",
          "state": "**********",
          "street": "**** Main, ********** Road",
          "subDistrict": "",
          "vtc": "******"
        },
        "image": "BASE64",
        "pdf": "BASE64",
        "xml": "BASE64"
      },
      "responseKey": "success_eaadhaar_download"
    },
    "ISSUED_FILES": {
      "items": [
        {
          "name": "Aadhaar Card",
          "type": "file",
          "doctype": "ADHAR",
          "issuer": "Unique Identification Authority of India (UIDAI)",
          "issuerid": "in.gov.uidai",
          "mime": ["application/json", "application/xml", "application/pdf"],
          "uri": "in.gov.uidai-ADHAR-************"
        },
        {
          "name": "PAN Verification Record",
          "type": "file",
          "doctype": "PANCR",
          "issuer": "Income Tax Department",
          "issuerid": "in.gov.pan",
          "mime": ["application/json", "application/xml", "application/pdf"],
          "uri": "in.gov.pan-PANCR-************"
        }
      ]
    },
    "PAN": {
      "documentIssuer": "Income Tax Department",
      "documentName": "PAN Verification Record",
      "documentType": "PANCR",
      "documentBase64": "BASE64",
      "message": "Poller has been initiated to retrieve missing data points."
    },
    "DRIVING_LICENSE": {
      "documentIssuer": "RTO, DELHI",
      "documentName": "Driving License",
      "documentType": "DRVLC",
      "documentBase64": "BASE64",
      "message": "Poller has been initiated to retrieve missing data points."
    }
  
```

**Case 3B: Document data points received, but document base 64 download failed**

```json DIGILOCKER_AADHAAR_PAN
{
    "initialDecentroTxnId": "**************6813",
    "status": "SUCCESS",
    "message": "Some documents have been fetched successfully.",
    "responseKey": "success_uistream_partial_fetch_with_poller",
    "data": {
        "EAADHAAR": {
            "decentroTxnId": "**************B73",
            "status": "SUCCESS",
            "responseCode": "S00000",
            "message": "E-Aadhaar information received successfully from Digilocker",
            "data": {
                "aadhaarReferenceNumber": "",
                "aadhaarUid": "********1234",
                "proofOfIdentity": {
                    "dob": "DD-MM-YYYY",
                    "hashedEmail": "",
                    "gender": "M",
                    "hashedMobileNumber": "",
                    "name": "**** ****"
                },
                "proofOfAddress": {
                    "careOf": "S/O **** ****",
                    "country": "India",
                    "district": "******",
                    "house": "***",
                    "landmark": "Beside ****",
                    "locality": "*********",
                    "pincode": "******",
                    "postOffice": "********",
                    "state": "**********",
                    "street": "**** Main, ********** Road",
                    "subDistrict": "",
                    "vtc": "******"
                },
                "image": "BASE64",
                "pdf": "BASE64",
                "xml": "BASE64"
            },
            "responseKey": "success_eaadhaar_download"
        },
        "ISSUED_FILES": {
            "items": [
                {
                    "name": "Aadhaar Card",
                    "type": "file",
                    "size": "",
                    "date": "**-**-2024",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.uidai-ADHAR-************",
                    "doctype": "ADHAR",
                    "description": "Aadhaar Card",
                    "issuerid": "in.gov.uidai",
                    "issuer": "Unique Identification Authority of India (UIDAI)"
                },
                {
                    "name": "PAN Verification Record",
                    "type": "file",
                    "size": "",
                    "date": "**-**-2024",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.pan-PANCR-************",
                    "doctype": "PANCR",
                    "description": "PAN Verification Record",
                    "issuerid": "in.gov.pan",
                    "issuer": "Income Tax Department"
                }
            ]
        },
        "PAN": {
            "documentIssuer": "Income Tax Department",
            "documentName": "PAN Verification Record",
            "documentType": "PANCR",
            "idNumber": "**********6J",
            "userName": "**** ****",
            "userDateOfBirth": "**-**-1998",
            "userGender": "MALE",
            "documentVerifiedOn": "**-**-2024",
            "documentStatus": "Active",
            "message": "Poller has been initiated to retrieve missing data points.",
        }
    }
}
```

**Case 3C: Both document data points and document base 64 download failed**

```json DIGILOCKER_AADHAAR_PAN
{
    "initialDecentroTxnId": "**************6813",
    "status": "SUCCESS",
    "message": "Some documents have been fetched successfully.",
    "responseKey": "success_uistream_partial_fetch_with_poller",
    "data": {
        "EAADHAAR": {
            "decentroTxnId": "**************B73",
            "status": "SUCCESS",
            "responseCode": "S00000",
            "message": "E-Aadhaar information received successfully from Digilocker",
            "data": {
                "aadhaarReferenceNumber": "",
                "aadhaarUid": "********1234",
                "proofOfIdentity": {
                    "dob": "DD-MM-YYYY",
                    "hashedEmail": "",
                    "gender": "M",
                    "hashedMobileNumber": "",
                    "name": "**** ****"
                },
                "proofOfAddress": {
                    "careOf": "S/O **** ****",
                    "country": "India",
                    "district": "******",
                    "house": "***",
                    "landmark": "Beside ****",
                    "locality": "*********",
                    "pincode": "******",
                    "postOffice": "********",
                    "state": "**********",
                    "street": "**** Main, ********** Road",
                    "subDistrict": "",
                    "vtc": "******"
                },
                "image": "BASE64",
                "pdf": "BASE64",
                "xml": "BASE64"
            },
            "responseKey": "success_eaadhaar_download"
        },
        "ISSUED_FILES": {
            "items": [
                {
                    "name": "Aadhaar Card",
                    "type": "file",
                    "size": "",
                    "date": "**-**-2024",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.uidai-ADHAR-************",
                    "doctype": "ADHAR",
                    "description": "Aadhaar Card",
                    "issuerid": "in.gov.uidai",
                    "issuer": "Unique Identification Authority of India (UIDAI)"
                },
                {
                    "name": "PAN Verification Record",
                    "type": "file",
                    "size": "",
                    "date": "**-**-2024",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.pan-PANCR-************",
                    "doctype": "PANCR",
                    "description": "PAN Verification Record",
                    "issuerid": "in.gov.pan",
                    "issuer": "Income Tax Department"
                }
            ]
        },
        "PAN": {
            "documentIssuer": "Income Tax Department",
            "documentName": "PAN Verification Record",
            "documentType": "PANCR",
            "message": "Poller has been initiated to retrieve missing data points.",
        }
    }
}
```

**Case 4: success\_uistream\_poller**

**When does this happen:**

A partial callback containing only the PAN document’s data points that is received once the poller has successfully downloaded the EPAN document.

**NOTE: Regardless of Case 3A, 3B or 3C, you can always expect to get all data points when the response key is success\_uistream\_poller**

```json DIGILOCKER_AADHAAR_PAN
{
    "initialDecentroTxnId": "**************6813",
    "status": "SUCCESS",
    "message": "Poller has fetched missing data points successfully.",
    "responseKey": "success_uistream_poller",
    "data": {
        "PAN": {
            "documentIssuer": "Income Tax Department",
            "documentName": "PAN Verification Record",
            "documentType": "PANCR",
            "idNumber": "**********6J",
            "userName": "**** ****",
            "userDateOfBirth": "**-**-1998",
            "userGender": "MALE",
            "documentVerifiedOn": "**-**-2024",
            "documentStatus": "Active",
            "documentBase64": "BASE64"
        }
    }
}
```

**Case 5: error\_uistream\_poller\_retries\_exhausted**

**When does this happen:**

A callback that simply informs the merchant that the poller retries have been exhausted.

```json DIGILOCKER_AADHAAR_PAN
{
    "initialDecentroTxnId": "**************6813",
    "status": "SUCCESS",
    "message": "UIStream Poller retries exhausted after 3600 seconds.",
    "responseKey": "error_uistream_poller_retries_exhausted",
    "data": null
}
```

**Case 6: event\_uistream\_session\_initiated**

**When does this happen:**

An event callback sent when the session is initiated.

```json DIGILOCKER_AADHAAR_PAN
{
  "initialDecentroTxnId": "4D77AF65ACD34E1DBF288DD00A2C0EC1",
  "status": "SUCCESS",
  "message": "The Digilocker session has been initiated.",
  "responseKey": "event_uistream_session_initiated",
  "data": null
}
```

**Case 7: event\_uistream\_session\_termination**

**When does this happen:**

An event callback sent when the session is terminated.

```json DIGILOCKER_AADHAAR_PAN
{
  "initialDecentroTxnId": "DD18D0F32EA64814A1A615DC3C646CB4",
  "status": "FAILURE",
  "message": "The Digilocker session has been terminated.",
  "responseKey": "error_uistream_session_termination",
  "data": null
}
```

**Case 8: event\_uistream\_session\_timeout**

**When does this happen:**

An event callback sent when the session is timed out.

Currently, this happens after 300 seconds of non-completion. Please note: Non-completion does not indicate non-activity.

This is a configurable value.

```json DIGILOCKER_AADHAAR_PAN
{
  "initialDecentroTxnId": "4D77AF65ACD34E1DBF288DD00A2C0EC1",
  "status": "SUCCESS",
  "message": "The user has been stuck in the DigiLocker page for more than 300 seconds and has been timed out.",
  "responseKey": "event_uistream_session_timeout",
  "data": null
}
```

### Additional Configuration

**When UIStream is configured for Name Mismatch Flow**

When a name mismatch is detected during the KYC workflow, end-users are now prompted to upload their PAN document to facilitate further verification. This mechanism supports more effective exception handling and improves overall match confidence when enable\_name\_match: true is enabled in the request configuration.

#### Flow

**Name Mismatch Detection**\
If the system identifies a discrepancy between the provided name and the name retrieved from the authoritative source, it triggers the error code error\_full\_name\_mismatch.

**PAN Document Upload Prompt**\
Users are guided to upload their PAN document for additional verification. The .png, .jpg, .jpeg and .pdf format are supported for the document upload.

**Validation at Document Upload Step**\
The system enforces the following checks to ensure proper submission:

* The user cannot proceed without entering a valid PAN number.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/bc1670b4e67b9b9c7d4ba31ec407d6c4e5bc85a77a68bbd14e06e79f253a435a-Screenshot_2025-12-11_at_10.57.03AM.png",
        null,
        ""
      ],
      "align": "center",
      "sizing": "400px",
      "border": true
    }
  ]
}
[/block]

* The user cannot proceed without uploading the PAN document.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/ce437ca0a982c0bfcf6a20adb5db58f5133c218e74491aae9746c252f8e6af7b-Screenshot_2025-12-11_at_10.49.00AM.png",
        null,
        ""
      ],
      "align": "center",
      "sizing": "400px",
      "border": true
    }
  ]
}
[/block]

**Post-Submission Workflow**\
After successful form submission and document upload, the user is redirected to the configured redirect\_url. Refer below for the callback structure.

```json Request: DIGILOCKER_AADHAAR_PAN
{
    "reference_id": "REFERENCE123",
    "consent": true,
    "purpose": "To perform KYC of the customer",
    "uistream": "DIGILOCKER_AADHAAR_PAN",
    "callback_url" : "https://decentro.tech/callback-endpoint",
    "redirect_url" : "https://decentro.tech",
    "enable_name_match": true,
    "name_match_cutoff": 80,
    "additional_data": {
        "mobile": "9999999999",
        "name": "JOHN DOE",
        "pan": "AAAAA1111A"
    },
   "skip_survey": true,
   "disable_multiple_tabs": false,
   "language": "en",
   "force_aadhaar": false,
   "force_mobile": false,
   "clear_cookies": false
}'
```
```json Response: DIGILOCKER_AADHAAR_PAN
{
    "initialDecentroTxnId": "ECC69627DD324565A4E59AD04DA8B223",
    "status": "SUCCESS",
    "message": "All documents have been fetched successfully.",
    "responseKey": "success_uistream_documents_fetch",
    "data": {
        "EAADHAAR": {
            "decentroTxnId": "44BA813A890745139708970AD4BD4099",
            "status": "SUCCESS",
            "responseCode": "S00000",
            "message": "E-Aadhaar information received successfully from MeriPehchaan",
            "data": {
                "aadhaarReferenceNumber": "",
                "aadhaarUid": "xxxxxxxxXXXXX",
                "ttl": "2026-11-19T11:33:47",
                "proofOfIdentity": {
                    "dob": "XXXXX",
                    "hashedEmail": "",
                    "gender": "M",
                    "hashedMobileNumber": "",
                    "name": "XXXXX XXXXX"
                },
                "proofOfAddress": {
                    "careOf": "XXXXX",
                    "country": "XXXXX",
                    "district": "XXXXX",
                    "house": "",
                    "landmark": "",
                    "locality": "",
                    "pincode": "XXXXX",
                    "postOffice": "XXXXX",
                    "state": "XXXXX",
                    "street": "",
                    "subDistrict": "",
                    "vtc": "XXXXX"
                },
                "image": "XXXXX",
                "pdf": "XXXXX",
                "xml": "XXXXX"
            },
            "responseKey": "success_eaadhaar_download"
        },
        "ISSUED_FILES": {
            "items": [
                {
                    "name": "Aadhaar Card",
                    "type": "file",
                    "size": "",
                    "date": "19-11-2025",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.uidai-ADHAR-6246d6471370eXXXXX",
                    "doctype": "ADHAR",
                    "description": "Aadhaar Card",
                    "issuerid": "in.gov.uidai",
                    "issuer": "Unique Identification Authority of India (UIDAI)"
                },
                {
                    "name": "PAN Verification Record",
                    "type": "file",
                    "size": "",
                    "date": "09-12-2025",
                    "parent": "",
                    "mime": [
                        "application/json",
                        "application/xml",
                        "application/pdf"
                    ],
                    "uri": "in.gov.pan-PANCR-XXXXX",
                    "doctype": "PANCR",
                    "description": "PAN Verification Record",
                    "issuerid": "in.gov.pan",
                    "issuer": "Income Tax Department"
                }
            ],
            "initiationDecentroTransactionId": "8768EB34F799487B951F88C647377F6C"
        },
        "PAN": {
            "documentIssuer": "Income Tax Department",
            "documentName": "PAN Verification Record",
            "documentType": "PANCR",
            "idNumber": "AAAAA0000A",
            "userName": "JOHN DOE",
            "userDateOfBirth": "11-11-1995",
            "userGender": "MALE",
            "documentVerifiedOn": "09-12-2025",
            "documentStatus": "Active",
            "documentBase64": "XXXXXX"
        },
        "NAME_MATCH_SUMMARY": {
            "nameMatchPercentage": 100,
            "matchStatus": true,
            "cutoffThreshold": 50,
            "remarks": "Name matches Aadhaar and PAN records."
        }
    }
}

```