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

# Digilocker UIStreams

# API Endpoints

> 👍 Override Orchestrator Decision
>
> You can use the `force_aadhaar` and the `force_mobile` optional boolean keys in the request body to force the end-user to a specific flow and ignore the orchestrator's decision.

> 👍 Multi-lingual Support
>
> UIStreams now supports UIs in 12 Indian Languages. Just pass the `language` key in the request contract with any one of the following supported language codes:
>
> * Hindi: `hi`
> * Marathi: `mr`
> * Tamil: `ta`
> * Gujarati: `gu`
> * Punjabi: `pa`
> * Malayalam: `ml`
> * Oriya: `or`
> * Kannada: `kn`
> * Bengali: `bn`
> * Telugu: `te`
> * Assamese: `as`
> * Urdu: `ur`

> 📘 `pan_optional` Key in the DIGILOCKER UIStreams
>
> The `DIGILOCKER_AADHAAR` / `DIGILOCKER_AADHAAR_PAN` UIStream has an optional boolean key named `pan_optional`. This is enabled by default and allows the user to pass through as long as atleast Aadhaar is present.
>
> Hence, by default, whenever users deny PAN consent or do not have a PAN in their DigiLocker account, they are allowed to pass through the flow unless the `pan_optional` key is passed inside the `additional_data` object as `false`.

> 📘 `enable_name_match` Key in the DIGILOCKER UIStreams
>
> The enable\_name\_match key, when set to true, activates a name matching step in the DIGILOCKER\_AADHAAR\_PAN flow. By default, an 80% match threshold is applied, which can be adjusted using the name\_match\_cutoff key. This ensures the user’s provided name aligns closely with the DigiLocker records before proceeding.

> 🚧 Link Validity
>
> The DigiLocker UIStream link is valid for 15 minutes from generation. Users must open the link and complete the flow within this period.

The Atomic UIStream API is a single RESTful API based on HTTP requests and JSON responses. All requests work on HTTPS.

The API expects a JSON request body and responds with a JSON response body. All responses maintain a strict and consistent structure.

**Endpoint:** `https://<DECENTRO_HOST>/v2/kyc/workflows/uistream`

| Environment | Host                       |
| :---------- | :------------------------- |
| Staging     | `in.staging.decentro.tech` |
| Production  | `in.decentro.tech`         |

Please note that the API Reference has been set to use only the staging host. Hence, only **staging client credentials** will work on API Reference pages to test out the APIs

**Note**: DigiLocker has no visibility of Aadhaar linked mobile numbers in any way. 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.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "decentro-staging",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://in.staging.decentro.tech"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/v2/kyc/workflows/uistream": {
      "post": {
        "summary": "Digilocker UIStreams",
        "description": "",
        "operationId": "kyc-and-onboarding-api-reference-workflows-uistreams-atomic-uistreams",
        "parameters": [
          {
            "name": "client_id",
            "in": "header",
            "description": "ID/identifier that is provided by Decentro to a specific client and environment. Please note, this may change based on the environment you are on.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "client_secret",
            "in": "header",
            "description": "The confidential credential provided by Decentro that is associated with the client_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "reference_id",
                  "consent",
                  "purpose",
                  "callback_url",
                  "redirect_url",
                  "uistream"
                ],
                "properties": {
                  "reference_id": {
                    "type": "string",
                    "description": "Any unique ID assigned by you for this request"
                  },
                  "consent": {
                    "type": "boolean",
                    "description": "true/false based on the consent given by the customer. Mandatory as per regulation."
                  },
                  "purpose": {
                    "type": "string",
                    "description": "The purpose of taking this consent from your customer. Mandatory as per regulation. (>20 characters)",
                    "default": "To perform KYC of the individual"
                  },
                  "callback_url": {
                    "type": "string",
                    "description": "The URL where the results of the UIStream will be sent. This URL must accept a POST request."
                  },
                  "redirect_url": {
                    "type": "string",
                    "description": "The URL where the user is redirected to after completion of the session.",
                    "default": "https://decentro.tech"
                  },
                  "uistream": {
                    "type": "string",
                    "description": "The ID of the UIStream.",
                    "default": "DIGILOCKER_AADHAAR"
                  },
                  "additional_data": {
                    "type": "object",
                    "description": "All additional data that might be used in the UIStream",
                    "properties": {
                      "mobile": {
                        "type": "string",
                        "description": "The mobile number of the individual",
                        "default": "9999999999"
                      }
                    }
                  },
                  "skip_survey": {
                    "type": "boolean",
                    "description": "Optional key to skip the first screen. This is turned on by default. If you'd like the survey screen, please explicitly send this as false",
                    "default": true
                  },
                  "disable_multiple_tabs": {
                    "type": "boolean",
                    "description": "Optional boolean key to disable the UIStreams from opening multiple tabs",
                    "default": false
                  },
                  "language": {
                    "type": "string",
                    "description": "Optional string field that expects a 2-character language code",
                    "default": "en"
                  },
                  "force_aadhaar": {
                    "type": "boolean",
                    "description": "Optional boolean key to force the user to the Aadhaar login page",
                    "default": false
                  },
                  "force_mobile": {
                    "type": "boolean",
                    "description": "Optional boolean key to force the user to the Mobile page",
                    "default": false
                  },
                  "clear_cookies": {
                    "type": "boolean",
                    "description": "Optional boolean key to clear DigiLocker cookies. Important in cases where users try to login multiple times via different login credentials",
                    "default": false
                  }
                }
              },
              "examples": {
                "DIGILOCKER_AADHAAR": {
                  "value": {
                    "reference_id": "XXXXXX",
                    "consent": true,
                    "purpose": "To perform KYC of the customer",
                    "uistream": "DIGILOCKER_AADHAAR",
                    "callback_url": "https://decentro.tech/callback-endpoint",
                    "redirect_url": "https://decentro.tech",
                    "additional_data": {
                      "mobile": "9999999999"
                    }
                  }
                },
                "DIGILOCKER_AADHAAR_PAN": {
                  "value": {
                    "reference_id": "XXXXXX",
                    "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",
                    "additional_data": {
                      "mobile": "9999999999",
                      "name": "JOHN DOE",
                      "pan": "AAAAA1111A"
                    }
                  }
                },
                "DIGILOCKER_TWO_WHEELER_INSURANCE_POLICY": {
                  "value": {
                    "reference_id": "XXXXXX",
                    "consent": true,
                    "purpose": "To perform KYC of the customer",
                    "uistream": "DIGILOCKER_TWO_WHEELER_INSURANCE_POLICY",
                    "callback_url": "https://decentro.tech/callback-endpoint",
                    "redirect_url": "https://decentro.tech",
                    "additional_data": {
                      "mobile": "9999999999"
                    }
                  }
                },
                "DIGILOCKER_AADHAAR_PAN: Name Mismatch": {
                  "value": {
                    "reference_id": "XXXXXX",
                    "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"
                    }
                  }
                },
                "DIGILOCKER_PAN_CERTIFICATE": {
                  "value": {
                    "reference_id": "{{$randomUUID}}",
                    "consent": true,
                    "purpose": "To perform KYC of the user",
                    "uistream": "DIGILOCKER_PAN_CERTIFICATE",
                    "callback_url": "https://decentro.tech/callback-endpoint",
                    "redirect_url": "https://www.decentro.tech/",
                    "additional_data": {
                      "mobile": "9999999999",
                      "name": "John Doe",
                      "pan": "AAAAA1111A"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "[ALL UISTREAM] Session URL Response": {
                    "value": "{\n    \"decentroTxnId\": \"XXXXXXXX\",\n    \"status\": \"SUCCESS\",\n    \"responseCode\": \"S00000\",\n    \"message\": \"UIStream Session URL generated successfully\",\n    \"data\": {\n      \"url\": \"XXXXXXX\"\n    },\n    \"response_key\": \"success_uistream_session_generation\"\n}\n    "
                  },
                  "[DIGILOCKER_AADHAAR_PAN] Success Callback": {
                    "value": "{\n  \"initialDecentroTxnId\": \"97A9AEAC67F14BBBBB8D510B0D51E553\",\n  \"status\": \"SUCCESS\",\n  \"message\": \"All documents have been fetched successfully.\",\n  \"responseKey\": \"success_uistream_documents_fetch\",\n  \"data\": {\n    \"EAADHAAR\": {\n      \"decentroTxnId\": \"B8FB45C7418A47F38971EF6FD6425A9E\",\n      \"status\": \"SUCCESS\",\n      \"responseCode\": \"S00000\",\n      \"message\": \"E-Aadhaar information received successfully from MeriPehchaan\",\n      \"data\": {\n        \"aadhaarReferenceNumber\": \"\",\n        \"aadhaarUid\": \"xxxxxxxxX1111\",\n        \"ttl\": \"2026-10-24T23:17:37\",\n        \"proofOfIdentity\": {\n          \"dob\": \"01-01-1990\",\n          \"hashedEmail\": \"\",\n          \"gender\": \"M\",\n          \"hashedMobileNumber\": \"\",\n          \"name\": \"John Doe\"\n        },\n        \"proofOfAddress\": {\n          \"careOf\": \"S/O James Doe\",\n          \"country\": \"India\",\n          \"district\": \"West Delhi\",\n          \"house\": \"\",\n          \"landmark\": \"\",\n          \"locality\": \"\",\n          \"pincode\": \"111111\",\n          \"postOffice\": \"\",\n          \"state\": \"Delhi\",\n          \"street\": \"\",\n          \"subDistrict\": \"\",\n          \"vtc\": \"Patel Nagar\"\n        },\n        \"image\": \"<base64>\",\n        \"pdf\": \"<base64>\",\n        \"xml\": \"<base64>\"\n      },\n      \"responseKey\": \"success_eaadhaar_download\"\n    },\n    \"ISSUED_FILES\": {\n      \"items\": [\n        {\n          \"name\": \"Aadhaar Card\",\n          \"type\": \"file\",\n          \"size\": \"\",\n          \"date\": \"25-10-2025\",\n          \"parent\": \"\",\n          \"mime\": [\n            \"application/json\",\n            \"application/xml\",\n            \"application/pdf\"\n          ],\n          \"uri\": \"in.gov.uidai-ADHAR-6246d6471370edfbc520f228ddb84a4b\",\n          \"doctype\": \"ADHAR\",\n          \"description\": \"Aadhaar Card\",\n          \"issuerid\": \"in.gov.uidai\",\n          \"issuer\": \"Unique Identification Authority of India (UIDAI)\"\n        },\n        {\n          \"name\": \"PAN Verification Record\",\n          \"type\": \"file\",\n          \"size\": \"\",\n          \"date\": \"05-11-2025\",\n          \"parent\": \"\",\n          \"mime\": [\n            \"application/json\",\n            \"application/xml\",\n            \"application/pdf\"\n          ],\n          \"uri\": \"in.gov.pan-PANCR-XXXXX\",\n          \"doctype\": \"PANCR\",\n          \"description\": \"PAN Verification Record\",\n          \"issuerid\": \"in.gov.pan\",\n          \"issuer\": \"Income Tax Department\"\n        }\n      ]\n    },\n    \"PAN\": {\n      \"documentIssuer\": \"Income Tax Department\",\n      \"documentName\": \"PAN Verification Record\",\n      \"documentType\": \"PANCR\",\n      \"idNumber\": \"AAAAA1111A\",\n      \"userName\": \"John Doe\",\n      \"userDateOfBirth\": \"01-01-1990\",\n      \"userGender\": \"MALE\",\n      \"documentVerifiedOn\": \"04-11-2025\",\n      \"documentStatus\": \"Active\",\n      \"documentBase64\": \"<base64>\"\n    }\n  }\n}"
                  },
                  "[TWO WHEELER INSURANCE] Partial Success": {
                    "value": "{\n  \"initialDecentroTxnId\": \"06849E367FE14B578D5BBBCC40B7DE03\",\n  \"status\": \"SUCCESS\",\n  \"message\": \"Some documents have been fetched successfully.\",\n  \"responseKey\": \"success_uistream_partial_documents_fetch\",\n  \"data\": {\n    \"TWO_WHEELER_INSURANCE_POLICY\": {\n      \"1111111111\": {\n        \"documentIssuer\": \"Bajaj Allianz General Insurance Company Ltd. (BAGIC)\",\n        \"documentName\": \"Insurance Policy - Two Wheeler\",\n        \"documentType\": \"TWIPC\",\n        \"idNumber\": \"111111XXXXXXXXX\",\n        \"documentVerifiedOn\": \"09-05-2025\",\n        \"documentDownloadToken\": \"69AC5270ABB84BF8AFE5F356BA07151C\",\n        \"message\": \"The underlying provider is down. Hence, userName, userDateOfBirth, userGender, and documentStatus keys are missing. Please hit the File Data API with the documentDownloadToken after some time to retrieve these details.\",\n        \"documentBase64\": \"XXXXXXXXX\"\n      }\n    }\n  }\n}"
                  },
                  "[DIGILOCKER_AADHAAR_PAN]: PAN Name Mismatch with PAN Upload": {
                    "value": "{\n    \"initialDecentroTxnId\": \"**************6813\",\n    \"status\": \"SUCCESS\",\n    \"message\": \"Some documents have been fetched successfully.\",\n    \"responseKey\": \"success_uistream_partial_fetch_with_poller\",\n    \"data\": {\n        \"EAADHAAR\": {\n            \"decentroTxnId\": \"**************B73\",\n            \"status\": \"SUCCESS\",\n            \"responseCode\": \"S00000\",\n            \"message\": \"E-Aadhaar information received successfully from Digilocker\",\n            \"data\": {\n                \"aadhaarReferenceNumber\": \"\",\n                \"aadhaarUid\": \"********1234\",\n                \"proofOfIdentity\": {\n                    \"dob\": \"DD-MM-YYYY\",\n                    \"hashedEmail\": \"\",\n                    \"gender\": \"M\",\n                    \"hashedMobileNumber\": \"\",\n                    \"name\": \"**** ****\"\n                },\n                \"proofOfAddress\": {\n                    \"careOf\": \"S/O **** ****\",\n                    \"country\": \"India\",\n                    \"district\": \"******\",\n                    \"house\": \"***\",\n                    \"landmark\": \"Beside ****\",\n                    \"locality\": \"*********\",\n                    \"pincode\": \"******\",\n                    \"postOffice\": \"********\",\n                    \"state\": \"**********\",\n                    \"street\": \"**** Main, ********** Road\",\n                    \"subDistrict\": \"\",\n                    \"vtc\": \"******\"\n                },\n                \"image\": \"BASE64\",\n                \"pdf\": \"BASE64\",\n                \"xml\": \"BASE64\"\n            },\n            \"responseKey\": \"success_eaadhaar_download\"\n        },\n        \"ISSUED_FILES\": {\n            \"items\": [\n                {\n                    \"name\": \"Aadhaar Card\",\n                    \"type\": \"file\",\n                    \"size\": \"\",\n                    \"date\": \"**-**-2024\",\n                    \"parent\": \"\",\n                    \"mime\": [\n                        \"application/json\",\n                        \"application/xml\",\n                        \"application/pdf\"\n                    ],\n                    \"uri\": \"in.gov.uidai-ADHAR-************\",\n                    \"doctype\": \"ADHAR\",\n                    \"description\": \"Aadhaar Card\",\n                    \"issuerid\": \"in.gov.uidai\",\n                    \"issuer\": \"Unique Identification Authority of India (UIDAI)\"\n                },\n                {\n                    \"name\": \"PAN Verification Record\",\n                    \"type\": \"file\",\n                    \"size\": \"\",\n                    \"date\": \"**-**-2024\",\n                    \"parent\": \"\",\n                    \"mime\": [\n                        \"application/json\",\n                        \"application/xml\",\n                        \"application/pdf\"\n                    ],\n                    \"uri\": \"in.gov.pan-PANCR-************\",\n                    \"doctype\": \"PANCR\",\n                    \"description\": \"PAN Verification Record\",\n                    \"issuerid\": \"in.gov.pan\",\n                    \"issuer\": \"Income Tax Department\"\n                }\n            ]\n        },\n        \"PAN\": {\n            \"documentIssuer\": \"Income Tax Department\",\n            \"documentName\": \"PAN Verification Record\",\n            \"documentType\": \"PANCR\",\n            \"idNumber\": \"AAAAA0000A\",\n            \"userName\": \"JOHN DOE\",\n            \"userDateOfBirth\": \"11-11-1995\",\n            \"userGender\": \"MALE\",\n            \"documentVerifiedOn\": \"09-12-2025\",\n            \"documentStatus\": \"Active\",\n            \"documentBase64\": \"<base64>\"\n        },\n        \"NAME_MATCH_SUMMARY\": {\n          \"nameMatchPercentage\": 73,\n          \"fileBase64\": \".... (only if user uploaded PAN document) ....\",\n          \"fileType\": \"PDF\",\n          \"matchStatus\": false,\n          \"cutoffThreshold\": 80,\n          \"remarks\": \"Name mismatch found. User prompted to upload PAN document.\"\n        }\n    }\n}"
                  },
                  "[PAN_CERTIFICATE] Success Callback": {
                    "value": "{\n  \"initialDecentroTxnId\": \"6B14C00CF53B464F8F1AD29697B75A07\",\n  \"status\": \"SUCCESS\",\n  \"message\": \"All documents have been fetched successfully.\",\n  \"responseKey\": \"success_uistream_documents_fetch\",\n  \"data\": {\n    \"DIGILOCKER_PAN_CERTIFICATE\": {\n      \"AAAAA1111A\": {\n        \"documentIssuer\": \"Income Tax Department\",\n        \"documentName\": \"PAN Verification Record\",\n        \"documentType\": \"PANCR\",\n        \"idNumber\": \"AAAAA1111A\",\n        \"userName\": \"JOHN DOE\",\n        \"userDateOfBirth\": \"01-01-1990\",\n        \"userGender\": \"FEMALE\",\n        \"documentVerifiedOn\": \"09-12-2025\",\n        \"documentStatus\": \"Active\",\n        \"documentBase64\": \"<base64>\"\n        }\n   \t }\n\t}\n}"
                  },
                  "[ALL UISTREAM] Session Initiated Successfully": {
                    "value": "{\n  \"initialDecentroTxnId\": \"6B14C00CF53B464F8F1AD29697B75A07\",\n  \"status\": \"SUCCESS\",\n  \"message\": \"The Digilocker session has been initiated.\",\n  \"responseKey\": \"event_uistream_session_initiated\",\n  \"data\": null\n}"
                  },
                  "[PAN_CERTIFICATE] Partial Data Fetch": {
                    "value": "{\n  \"initialDecentroTxnId\": \"1C01208BD7514235BTW5AC3A8C11D22B\",\n  \"status\": \"SUCCESS\",\n  \"message\": \"Some documents have been fetched successfully.\",\n  \"responseKey\": \"success_uistream_partial_documents_fetch\",\n  \"data\": {\n    \"DIGILOCKER_PAN_CERTIFICATE\": {\n      \"*****1111A\": {\n        \"documentIssuer\": \"Income Tax Department\",\n        \"documentName\": \"PAN Verification Record\",\n        \"documentType\": \"PANCR\",\n        \"idNumber\": \"*****1111A\",\n        \"documentVerifiedOn\": \"01-01-2000\",\n        \"message\": \"The underlying provider is down. Please hit the Download File API and the File Data API with the documentDownloadToken after some time to retrieve these details.\"\n      }\n    }\n  },\n  \"dataDumpUri\": null,\n  \"errorResponses\": []\n}"
                  },
                  "[PAN_CERTIFICATE] Partial Data with Download Token": {
                    "value": "{\n  \"initialDecentroTxnId\": \"1C01208BD7514235BCE5AC3A8C11D65B\",\n  \"status\": \"SUCCESS\",\n  \"message\": \"Some documents have been fetched successfully.\",\n  \"responseKey\": \"success_uistream_partial_documents_fetch\",\n  \"data\": {\n    \"DIGILOCKER_PAN_CERTIFICATE\": {\n      \"AAAAA1111A\": {\n        \"documentIssuer\": \"Income Tax Department\",\n        \"documentName\": \"PAN Verification Record\",\n        \"documentType\": \"PANCR\",\n        \"idNumber\": \"*****1111A\",\n        \"documentVerifiedOn\": \"01-01-2000\",\n        \"documentDownloadToken\": \"XXXXX\",\n        \"message\": \"The underlying provider is down. Please hit the Download File API and the File Data API with the documentDownloadToken after some time to retrieve these details\"\n      }\n    }\n  }\n}"
                  },
                  "[DIGILOCKER_AADHAAR_PAN] Partial Success due to PAN failure": {
                    "value": "{\n    \"initialDecentroTxnId\": \"**************6813\",\n    \"status\": \"SUCCESS\",\n    \"message\": \"Some documents have been fetched successfully.\",\n    \"responseKey\": \"success_uistream_partial_documents_fetch\",\n    \"data\": {\n        \"EAADHAAR\": {\n            \"decentroTxnId\": \"**************B73\",\n            \"status\": \"SUCCESS\",\n            \"responseCode\": \"S00000\",\n            \"message\": \"E-Aadhaar information received successfully from Digilocker\",\n            \"data\": {\n                \"aadhaarReferenceNumber\": \"\",\n                \"aadhaarUid\": \"********1234\",\n                \"proofOfIdentity\": {\n                    \"dob\": \"DD-MM-YYYY\",\n                    \"hashedEmail\": \"\",\n                    \"gender\": \"M\",\n                    \"hashedMobileNumber\": \"\",\n                    \"name\": \"**** ****\"\n                },\n                \"proofOfAddress\": {\n                    \"careOf\": \"S/O **** ****\",\n                    \"country\": \"India\",\n                    \"district\": \"******\",\n                    \"house\": \"***\",\n                    \"landmark\": \"Beside ****\",\n                    \"locality\": \"*********\",\n                    \"pincode\": \"******\",\n                    \"postOffice\": \"********\",\n                    \"state\": \"**********\",\n                    \"street\": \"**** Main, ********** Road\",\n                    \"subDistrict\": \"\",\n                    \"vtc\": \"******\"\n                },\n                \"image\": \"BASE64\",\n                \"pdf\": \"BASE64\",\n                \"xml\": \"BASE64\"\n            },\n            \"responseKey\": \"success_eaadhaar_download\"\n        },\n        \"ISSUED_FILES\": {\n            \"items\": [\n                {\n                    \"name\": \"Aadhaar Card\",\n                    \"type\": \"file\",\n                    \"size\": \"\",\n                    \"date\": \"**-**-2024\",\n                    \"parent\": \"\",\n                    \"mime\": [\n                        \"application/json\",\n                        \"application/xml\",\n                        \"application/pdf\"\n                    ],\n                    \"uri\": \"in.gov.uidai-ADHAR-************\",\n                    \"doctype\": \"ADHAR\",\n                    \"description\": \"Aadhaar Card\",\n                    \"issuerid\": \"in.gov.uidai\",\n                    \"issuer\": \"Unique Identification Authority of India (UIDAI)\"\n                },\n                {\n                    \"name\": \"PAN Verification Record\",\n                    \"type\": \"file\",\n                    \"size\": \"\",\n                    \"date\": \"**-**-2024\",\n                    \"parent\": \"\",\n                    \"mime\": [\n                        \"application/json\",\n                        \"application/xml\",\n                        \"application/pdf\"\n                    ],\n                    \"uri\": \"in.gov.pan-PANCR-************\",\n                    \"doctype\": \"PANCR\",\n                    \"description\": \"PAN Verification Record\",\n                    \"issuerid\": \"in.gov.pan\",\n                    \"issuer\": \"Income Tax Department\"\n                }\n            ]\n        },\n        \"PAN\": {\n\t\t\"message\": \"An error occurred during PAN retrieval. Reason: <ERROR MESSAGE>\"\n        }\n    }\n}"
                  },
                  "[DIGILOCKER_AADHAAR_PAN] PAN timeout Error": {
                    "value": "{\n    \"initialDecentroTxnId\": \"**************6813\",\n    \"status\": \"SUCCESS\",\n    \"message\": \"Some documents have been fetched successfully.\",\n    \"responseKey\": \"success_uistream_partial_documents_fetch\",\n    \"data\": {\n        \"EAADHAAR\": {\n            \"decentroTxnId\": \"**************B73\",\n            \"status\": \"SUCCESS\",\n            \"responseCode\": \"S00000\",\n            \"message\": \"E-Aadhaar information received successfully from Digilocker\",\n            \"data\": {\n                \"aadhaarReferenceNumber\": \"\",\n                \"aadhaarUid\": \"********1234\",\n                \"proofOfIdentity\": {\n                    \"dob\": \"DD-MM-YYYY\",\n                    \"hashedEmail\": \"\",\n                    \"gender\": \"M\",\n                    \"hashedMobileNumber\": \"\",\n                    \"name\": \"**** ****\"\n                },\n                \"proofOfAddress\": {\n                    \"careOf\": \"S/O **** ****\",\n                    \"country\": \"India\",\n                    \"district\": \"******\",\n                    \"house\": \"***\",\n                    \"landmark\": \"Beside ****\",\n                    \"locality\": \"*********\",\n                    \"pincode\": \"******\",\n                    \"postOffice\": \"********\",\n                    \"state\": \"**********\",\n                    \"street\": \"**** Main, ********** Road\",\n                    \"subDistrict\": \"\",\n                    \"vtc\": \"******\"\n                },\n                \"image\": \"BASE64\",\n                \"pdf\": \"BASE64\",\n                \"xml\": \"BASE64\"\n            },\n            \"responseKey\": \"success_eaadhaar_download\"\n        },\n        \"ISSUED_FILES\": {\n            \"items\": [\n                {\n                    \"name\": \"Aadhaar Card\",\n                    \"type\": \"file\",\n                    \"size\": \"\",\n                    \"date\": \"**-**-2024\",\n                    \"parent\": \"\",\n                    \"mime\": [\n                        \"application/json\",\n                        \"application/xml\",\n                        \"application/pdf\"\n                    ],\n                    \"uri\": \"in.gov.uidai-ADHAR-************\",\n                    \"doctype\": \"ADHAR\",\n                    \"description\": \"Aadhaar Card\",\n                    \"issuerid\": \"in.gov.uidai\",\n                    \"issuer\": \"Unique Identification Authority of India (UIDAI)\"\n                },\n                {\n                    \"name\": \"PAN Verification Record\",\n                    \"type\": \"file\",\n                    \"size\": \"\",\n                    \"date\": \"**-**-2024\",\n                    \"parent\": \"\",\n                    \"mime\": [\n                        \"application/json\",\n                        \"application/xml\",\n                        \"application/pdf\"\n                    ],\n                    \"uri\": \"in.gov.pan-PANCR-************\",\n                    \"doctype\": \"PANCR\",\n                    \"description\": \"PAN Verification Record\",\n                    \"issuerid\": \"in.gov.pan\",\n                    \"issuer\": \"Income Tax Department\"\n                }\n            ]\n        },\n    \"PAN\": {\n      \"message\": \"An error occurred during PAN retrieval. Reason: The request timed out at source after 30 sec. Please try again.\"\n    }\n  }\n}"
                  },
                  "[DIGILOCKER_AADHAAR_PAN] PAN Pull Name Mismatch": {
                    "value": "{\n    \"initialDecentroTxnId\": \"**************6813\",\n    \"status\": \"SUCCESS\",\n    \"message\": \"Some documents have been fetched successfully.\",\n    \"responseKey\": \"success_uistream_partial_documents_fetch\",\n    \"data\": {\n        \"EAADHAAR\": {\n            \"decentroTxnId\": \"**************B73\",\n            \"status\": \"SUCCESS\",\n            \"responseCode\": \"S00000\",\n            \"message\": \"E-Aadhaar information received successfully from Digilocker\",\n            \"data\": {\n                \"aadhaarReferenceNumber\": \"\",\n                \"aadhaarUid\": \"********1234\",\n                \"proofOfIdentity\": {\n                    \"dob\": \"DD-MM-YYYY\",\n                    \"hashedEmail\": \"\",\n                    \"gender\": \"M\",\n                    \"hashedMobileNumber\": \"\",\n                    \"name\": \"**** ****\"\n                },\n                \"proofOfAddress\": {\n                    \"careOf\": \"S/O **** ****\",\n                    \"country\": \"India\",\n                    \"district\": \"******\",\n                    \"house\": \"***\",\n                    \"landmark\": \"Beside ****\",\n                    \"locality\": \"*********\",\n                    \"pincode\": \"******\",\n                    \"postOffice\": \"********\",\n                    \"state\": \"**********\",\n                    \"street\": \"**** Main, ********** Road\",\n                    \"subDistrict\": \"\",\n                    \"vtc\": \"******\"\n                },\n                \"image\": \"BASE64\",\n                \"pdf\": \"BASE64\",\n                \"xml\": \"BASE64\"\n            },\n            \"responseKey\": \"success_eaadhaar_download\"\n        },\n        \"ISSUED_FILES\": {\n            \"items\": [\n                {\n                    \"name\": \"Aadhaar Card\",\n                    \"type\": \"file\",\n                    \"size\": \"\",\n                    \"date\": \"**-**-2024\",\n                    \"parent\": \"\",\n                    \"mime\": [\n                        \"application/json\",\n                        \"application/xml\",\n                        \"application/pdf\"\n                    ],\n                    \"uri\": \"in.gov.uidai-ADHAR-************\",\n                    \"doctype\": \"ADHAR\",\n                    \"description\": \"Aadhaar Card\",\n                    \"issuerid\": \"in.gov.uidai\",\n                    \"issuer\": \"Unique Identification Authority of India (UIDAI)\"\n                },\n                {\n                    \"name\": \"PAN Verification Record\",\n                    \"type\": \"file\",\n                    \"size\": \"\",\n                    \"date\": \"**-**-2024\",\n                    \"parent\": \"\",\n                    \"mime\": [\n                        \"application/json\",\n                        \"application/xml\",\n                        \"application/pdf\"\n                    ],\n                    \"uri\": \"in.gov.pan-PANCR-************\",\n                    \"doctype\": \"PANCR\",\n                    \"description\": \"PAN Verification Record\",\n                    \"issuerid\": \"in.gov.pan\",\n                    \"issuer\": \"Income Tax Department\"\n                }\n            ]\n        },\n    \"PAN\": {\n      \"message\": \"An error occurred during PAN retrieval. Reason: Provided name does not match the document. Please update the name in request and retry again.\"\n    }\n  }\n}"
                  },
                  "[DIGILOCKER_AADHAAR] Success Callback": {
                    "value": "{\n  \"initialDecentroTxnId\": \"97A9AEAC67F14BBBBB8D510B0D51E553\",\n  \"status\": \"SUCCESS\",\n  \"message\": \"All documents have been fetched successfully.\",\n  \"responseKey\": \"success_uistream_documents_fetch\",\n  \"data\": {\n    \"EAADHAAR\": {\n      \"decentroTxnId\": \"B8FB45C7418A47F38971EF6FD6425A9E\",\n      \"status\": \"SUCCESS\",\n      \"responseCode\": \"S00000\",\n      \"message\": \"E-Aadhaar information received successfully from MeriPehchaan\",\n      \"data\": {\n        \"aadhaarReferenceNumber\": \"\",\n        \"aadhaarUid\": \"xxxxxxxxX1111\",\n        \"ttl\": \"2026-10-24T23:17:37\",\n        \"proofOfIdentity\": {\n          \"dob\": \"01-01-1990\",\n          \"hashedEmail\": \"\",\n          \"gender\": \"M\",\n          \"hashedMobileNumber\": \"\",\n          \"name\": \"John Doe\"\n        },\n        \"proofOfAddress\": {\n          \"careOf\": \"S/O James Doe\",\n          \"country\": \"India\",\n          \"district\": \"West Delhi\",\n          \"house\": \"\",\n          \"landmark\": \"\",\n          \"locality\": \"\",\n          \"pincode\": \"111111\",\n          \"postOffice\": \"\",\n          \"state\": \"Delhi\",\n          \"street\": \"\",\n          \"subDistrict\": \"\",\n          \"vtc\": \"Patel Nagar\"\n        },\n        \"image\": \"<base64>\",\n        \"pdf\": \"<base64>\",\n        \"xml\": \"<base64>\"\n      },\n      \"responseKey\": \"success_eaadhaar_download\"\n    },\n    \"ISSUED_FILES\": {\n      \"items\": [\n        {\n          \"name\": \"Aadhaar Card\",\n          \"type\": \"file\",\n          \"size\": \"\",\n          \"date\": \"25-10-2025\",\n          \"parent\": \"\",\n          \"mime\": [\n            \"application/json\",\n            \"application/xml\",\n            \"application/pdf\"\n          ],\n          \"uri\": \"in.gov.uidai-ADHAR-6246d6471370edfbc520f228ddb84a4b\",\n          \"doctype\": \"ADHAR\",\n          \"description\": \"Aadhaar Card\",\n          \"issuerid\": \"in.gov.uidai\",\n          \"issuer\": \"Unique Identification Authority of India (UIDAI)\"\n        }\n      ]\n    }\n   }\n}\n"
                  },
                  "[DIGILOCKER_VEHICLE_REGISTRATION_CERTIFICATE] Success Callback": {
                    "value": "{\n  \"initialDecentroTxnId\": \"A7FD118DA5254681BBFB1AB24A62BF82\",\n  \"status\": \"SUCCESS\",\n  \"message\": \"All documents have been fetched successfully.\",\n  \"responseKey\": \"success_uistream_documents_fetch\",\n  \"data\": {\n    \"DIGILOCKER_VEHICLE_REGISTRATION_CERTIFICATE\": {\n      \"BR33AF0645\": {\n        \"documentIssuer\": \"Ministry of Road Transport and Highways\",\n        \"documentName\": \"Registration of Vehicles\",\n        \"documentType\": \"RVCER\",\n        \"idNumber\": \"AA11AA1111\",\n        \"userName\": \"JOHN DOE\",\n        \"userDateOfBirth\": \"\",\n        \"userGender\": \"\",\n        \"documentVerifiedOn\": \"01-01-2020\",\n        \"documentStatus\": \"Active\",\n        \"documentBase64\": \"<base64>\"\n      }\n    }\n  }\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "[ALL UISTREAM] Session URL Response",
                      "type": "object",
                      "properties": {
                        "decentroTxnId": {
                          "type": "string",
                          "example": "XXXXXXXX"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "responseCode": {
                          "type": "string",
                          "example": "S00000"
                        },
                        "message": {
                          "type": "string",
                          "example": "UIStream Session URL generated successfully"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "example": "XXXXXXX"
                            }
                          }
                        },
                        "response_key": {
                          "type": "string",
                          "example": "success_uistream_session_generation"
                        }
                      }
                    },
                    {
                      "title": "[DIGILOCKER_AADHAAR_PAN] Success Callback",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "97A9AEAC67F14BBBBB8D510B0D51E553"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "All documents have been fetched successfully."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "success_uistream_documents_fetch"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "EAADHAAR": {
                              "type": "object",
                              "properties": {
                                "decentroTxnId": {
                                  "type": "string",
                                  "example": "B8FB45C7418A47F38971EF6FD6425A9E"
                                },
                                "status": {
                                  "type": "string",
                                  "example": "SUCCESS"
                                },
                                "responseCode": {
                                  "type": "string",
                                  "example": "S00000"
                                },
                                "message": {
                                  "type": "string",
                                  "example": "E-Aadhaar information received successfully from MeriPehchaan"
                                },
                                "data": {
                                  "type": "object",
                                  "properties": {
                                    "aadhaarReferenceNumber": {
                                      "type": "string",
                                      "example": ""
                                    },
                                    "aadhaarUid": {
                                      "type": "string",
                                      "example": "xxxxxxxxX1111"
                                    },
                                    "ttl": {
                                      "type": "string",
                                      "example": "2026-10-24T23:17:37"
                                    },
                                    "proofOfIdentity": {
                                      "type": "object",
                                      "properties": {
                                        "dob": {
                                          "type": "string",
                                          "example": "01-01-1990"
                                        },
                                        "hashedEmail": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "gender": {
                                          "type": "string",
                                          "example": "M"
                                        },
                                        "hashedMobileNumber": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "name": {
                                          "type": "string",
                                          "example": "John Doe"
                                        }
                                      }
                                    },
                                    "proofOfAddress": {
                                      "type": "object",
                                      "properties": {
                                        "careOf": {
                                          "type": "string",
                                          "example": "S/O James Doe"
                                        },
                                        "country": {
                                          "type": "string",
                                          "example": "India"
                                        },
                                        "district": {
                                          "type": "string",
                                          "example": "West Delhi"
                                        },
                                        "house": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "landmark": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "locality": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "pincode": {
                                          "type": "string",
                                          "example": "111111"
                                        },
                                        "postOffice": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "state": {
                                          "type": "string",
                                          "example": "Delhi"
                                        },
                                        "street": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "subDistrict": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "vtc": {
                                          "type": "string",
                                          "example": "Patel Nagar"
                                        }
                                      }
                                    },
                                    "image": {
                                      "type": "string",
                                      "example": "<base64>"
                                    },
                                    "pdf": {
                                      "type": "string",
                                      "example": "<base64>"
                                    },
                                    "xml": {
                                      "type": "string",
                                      "example": "<base64>"
                                    }
                                  }
                                },
                                "responseKey": {
                                  "type": "string",
                                  "example": "success_eaadhaar_download"
                                }
                              }
                            },
                            "ISSUED_FILES": {
                              "type": "object",
                              "properties": {
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string",
                                        "example": "Aadhaar Card"
                                      },
                                      "type": {
                                        "type": "string",
                                        "example": "file"
                                      },
                                      "size": {
                                        "type": "string",
                                        "example": ""
                                      },
                                      "date": {
                                        "type": "string",
                                        "example": "25-10-2025"
                                      },
                                      "parent": {
                                        "type": "string",
                                        "example": ""
                                      },
                                      "mime": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "example": "application/json"
                                        }
                                      },
                                      "uri": {
                                        "type": "string",
                                        "example": "in.gov.uidai-ADHAR-6246d6471370edfbc520f228ddb84a4b"
                                      },
                                      "doctype": {
                                        "type": "string",
                                        "example": "ADHAR"
                                      },
                                      "description": {
                                        "type": "string",
                                        "example": "Aadhaar Card"
                                      },
                                      "issuerid": {
                                        "type": "string",
                                        "example": "in.gov.uidai"
                                      },
                                      "issuer": {
                                        "type": "string",
                                        "example": "Unique Identification Authority of India (UIDAI)"
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "PAN": {
                              "type": "object",
                              "properties": {
                                "documentIssuer": {
                                  "type": "string",
                                  "example": "Income Tax Department"
                                },
                                "documentName": {
                                  "type": "string",
                                  "example": "PAN Verification Record"
                                },
                                "documentType": {
                                  "type": "string",
                                  "example": "PANCR"
                                },
                                "idNumber": {
                                  "type": "string",
                                  "example": "AAAAA1111A"
                                },
                                "userName": {
                                  "type": "string",
                                  "example": "John Doe"
                                },
                                "userDateOfBirth": {
                                  "type": "string",
                                  "example": "01-01-1990"
                                },
                                "userGender": {
                                  "type": "string",
                                  "example": "MALE"
                                },
                                "documentVerifiedOn": {
                                  "type": "string",
                                  "example": "04-11-2025"
                                },
                                "documentStatus": {
                                  "type": "string",
                                  "example": "Active"
                                },
                                "documentBase64": {
                                  "type": "string",
                                  "example": "<base64>"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "[TWO WHEELER INSURANCE] Partial Success",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "06849E367FE14B578D5BBBCC40B7DE03"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "Some documents have been fetched successfully."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "success_uistream_partial_documents_fetch"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "TWO_WHEELER_INSURANCE_POLICY": {
                              "type": "object",
                              "properties": {
                                "1111111111": {
                                  "type": "object",
                                  "properties": {
                                    "documentIssuer": {
                                      "type": "string",
                                      "example": "Bajaj Allianz General Insurance Company Ltd. (BAGIC)"
                                    },
                                    "documentName": {
                                      "type": "string",
                                      "example": "Insurance Policy - Two Wheeler"
                                    },
                                    "documentType": {
                                      "type": "string",
                                      "example": "TWIPC"
                                    },
                                    "idNumber": {
                                      "type": "string",
                                      "example": "111111XXXXXXXXX"
                                    },
                                    "documentVerifiedOn": {
                                      "type": "string",
                                      "example": "09-05-2025"
                                    },
                                    "documentDownloadToken": {
                                      "type": "string",
                                      "example": "69AC5270ABB84BF8AFE5F356BA07151C"
                                    },
                                    "message": {
                                      "type": "string",
                                      "example": "The underlying provider is down. Hence, userName, userDateOfBirth, userGender, and documentStatus keys are missing. Please hit the File Data API with the documentDownloadToken after some time to retrieve these details."
                                    },
                                    "documentBase64": {
                                      "type": "string",
                                      "example": "XXXXXXXXX"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "[DIGILOCKER_AADHAAR_PAN]: PAN Name Mismatch with PAN Upload",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "**************6813"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "Some documents have been fetched successfully."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "success_uistream_partial_fetch_with_poller"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "EAADHAAR": {
                              "type": "object",
                              "properties": {
                                "decentroTxnId": {
                                  "type": "string",
                                  "example": "**************B73"
                                },
                                "status": {
                                  "type": "string",
                                  "example": "SUCCESS"
                                },
                                "responseCode": {
                                  "type": "string",
                                  "example": "S00000"
                                },
                                "message": {
                                  "type": "string",
                                  "example": "E-Aadhaar information received successfully from Digilocker"
                                },
                                "data": {
                                  "type": "object",
                                  "properties": {
                                    "aadhaarReferenceNumber": {
                                      "type": "string",
                                      "example": ""
                                    },
                                    "aadhaarUid": {
                                      "type": "string",
                                      "example": "********1234"
                                    },
                                    "proofOfIdentity": {
                                      "type": "object",
                                      "properties": {
                                        "dob": {
                                          "type": "string",
                                          "example": "DD-MM-YYYY"
                                        },
                                        "hashedEmail": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "gender": {
                                          "type": "string",
                                          "example": "M"
                                        },
                                        "hashedMobileNumber": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "name": {
                                          "type": "string",
                                          "example": "**** ****"
                                        }
                                      }
                                    },
                                    "proofOfAddress": {
                                      "type": "object",
                                      "properties": {
                                        "careOf": {
                                          "type": "string",
                                          "example": "S/O **** ****"
                                        },
                                        "country": {
                                          "type": "string",
                                          "example": "India"
                                        },
                                        "district": {
                                          "type": "string",
                                          "example": "******"
                                        },
                                        "house": {
                                          "type": "string",
                                          "example": "***"
                                        },
                                        "landmark": {
                                          "type": "string",
                                          "example": "Beside ****"
                                        },
                                        "locality": {
                                          "type": "string",
                                          "example": "*********"
                                        },
                                        "pincode": {
                                          "type": "string",
                                          "example": "******"
                                        },
                                        "postOffice": {
                                          "type": "string",
                                          "example": "********"
                                        },
                                        "state": {
                                          "type": "string",
                                          "example": "**********"
                                        },
                                        "street": {
                                          "type": "string",
                                          "example": "**** Main, ********** Road"
                                        },
                                        "subDistrict": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "vtc": {
                                          "type": "string",
                                          "example": "******"
                                        }
                                      }
                                    },
                                    "image": {
                                      "type": "string",
                                      "example": "BASE64"
                                    },
                                    "pdf": {
                                      "type": "string",
                                      "example": "BASE64"
                                    },
                                    "xml": {
                                      "type": "string",
                                      "example": "BASE64"
                                    }
                                  }
                                },
                                "responseKey": {
                                  "type": "string",
                                  "example": "success_eaadhaar_download"
                                }
                              }
                            },
                            "ISSUED_FILES": {
                              "type": "object",
                              "properties": {
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string",
                                        "example": "Aadhaar Card"
                                      },
                                      "type": {
                                        "type": "string",
                                        "example": "file"
                                      },
                                      "size": {
                                        "type": "string",
                                        "example": ""
                                      },
                                      "date": {
                                        "type": "string",
                                        "example": "**-**-2024"
                                      },
                                      "parent": {
                                        "type": "string",
                                        "example": ""
                                      },
                                      "mime": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "example": "application/json"
                                        }
                                      },
                                      "uri": {
                                        "type": "string",
                                        "example": "in.gov.uidai-ADHAR-************"
                                      },
                                      "doctype": {
                                        "type": "string",
                                        "example": "ADHAR"
                                      },
                                      "description": {
                                        "type": "string",
                                        "example": "Aadhaar Card"
                                      },
                                      "issuerid": {
                                        "type": "string",
                                        "example": "in.gov.uidai"
                                      },
                                      "issuer": {
                                        "type": "string",
                                        "example": "Unique Identification Authority of India (UIDAI)"
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "PAN": {
                              "type": "object",
                              "properties": {
                                "documentIssuer": {
                                  "type": "string",
                                  "example": "Income Tax Department"
                                },
                                "documentName": {
                                  "type": "string",
                                  "example": "PAN Verification Record"
                                },
                                "documentType": {
                                  "type": "string",
                                  "example": "PANCR"
                                },
                                "idNumber": {
                                  "type": "string",
                                  "example": "AAAAA0000A"
                                },
                                "userName": {
                                  "type": "string",
                                  "example": "JOHN DOE"
                                },
                                "userDateOfBirth": {
                                  "type": "string",
                                  "example": "11-11-1995"
                                },
                                "userGender": {
                                  "type": "string",
                                  "example": "MALE"
                                },
                                "documentVerifiedOn": {
                                  "type": "string",
                                  "example": "09-12-2025"
                                },
                                "documentStatus": {
                                  "type": "string",
                                  "example": "Active"
                                },
                                "documentBase64": {
                                  "type": "string",
                                  "example": "<base64>"
                                }
                              }
                            },
                            "NAME_MATCH_SUMMARY": {
                              "type": "object",
                              "properties": {
                                "nameMatchPercentage": {
                                  "type": "integer",
                                  "example": 73,
                                  "default": 0
                                },
                                "fileBase64": {
                                  "type": "string",
                                  "example": ".... (only if user uploaded PAN document) ...."
                                },
                                "fileType": {
                                  "type": "string",
                                  "example": "PDF"
                                },
                                "matchStatus": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "cutoffThreshold": {
                                  "type": "integer",
                                  "example": 80,
                                  "default": 0
                                },
                                "remarks": {
                                  "type": "string",
                                  "example": "Name mismatch found. User prompted to upload PAN document."
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "[PAN_CERTIFICATE] Success Callback",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "6B14C00CF53B464F8F1AD29697B75A07"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "All documents have been fetched successfully."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "success_uistream_documents_fetch"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "DIGILOCKER_PAN_CERTIFICATE": {
                              "type": "object",
                              "properties": {
                                "AAAAA1111A": {
                                  "type": "object",
                                  "properties": {
                                    "documentIssuer": {
                                      "type": "string",
                                      "example": "Income Tax Department"
                                    },
                                    "documentName": {
                                      "type": "string",
                                      "example": "PAN Verification Record"
                                    },
                                    "documentType": {
                                      "type": "string",
                                      "example": "PANCR"
                                    },
                                    "idNumber": {
                                      "type": "string",
                                      "example": "AAAAA1111A"
                                    },
                                    "userName": {
                                      "type": "string",
                                      "example": "JOHN DOE"
                                    },
                                    "userDateOfBirth": {
                                      "type": "string",
                                      "example": "01-01-1990"
                                    },
                                    "userGender": {
                                      "type": "string",
                                      "example": "FEMALE"
                                    },
                                    "documentVerifiedOn": {
                                      "type": "string",
                                      "example": "09-12-2025"
                                    },
                                    "documentStatus": {
                                      "type": "string",
                                      "example": "Active"
                                    },
                                    "documentBase64": {
                                      "type": "string",
                                      "example": "<base64>"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "[ALL UISTREAM] Session Initiated Successfully",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "6B14C00CF53B464F8F1AD29697B75A07"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "The Digilocker session has been initiated."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "event_uistream_session_initiated"
                        },
                        "data": {}
                      }
                    },
                    {
                      "title": "[PAN_CERTIFICATE] Partial Data Fetch",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "1C01208BD7514235BTW5AC3A8C11D22B"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "Some documents have been fetched successfully."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "success_uistream_partial_documents_fetch"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "DIGILOCKER_PAN_CERTIFICATE": {
                              "type": "object",
                              "properties": {
                                "*****1111A": {
                                  "type": "object",
                                  "properties": {
                                    "documentIssuer": {
                                      "type": "string",
                                      "example": "Income Tax Department"
                                    },
                                    "documentName": {
                                      "type": "string",
                                      "example": "PAN Verification Record"
                                    },
                                    "documentType": {
                                      "type": "string",
                                      "example": "PANCR"
                                    },
                                    "idNumber": {
                                      "type": "string",
                                      "example": "*****1111A"
                                    },
                                    "documentVerifiedOn": {
                                      "type": "string",
                                      "example": "01-01-2000"
                                    },
                                    "message": {
                                      "type": "string",
                                      "example": "The underlying provider is down. Please hit the Download File API and the File Data API with the documentDownloadToken after some time to retrieve these details."
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "dataDumpUri": {},
                        "errorResponses": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {}
                          }
                        }
                      }
                    },
                    {
                      "title": "[PAN_CERTIFICATE] Partial Data with Download Token",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "1C01208BD7514235BCE5AC3A8C11D65B"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "Some documents have been fetched successfully."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "success_uistream_partial_documents_fetch"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "DIGILOCKER_PAN_CERTIFICATE": {
                              "type": "object",
                              "properties": {
                                "AAAAA1111A": {
                                  "type": "object",
                                  "properties": {
                                    "documentIssuer": {
                                      "type": "string",
                                      "example": "Income Tax Department"
                                    },
                                    "documentName": {
                                      "type": "string",
                                      "example": "PAN Verification Record"
                                    },
                                    "documentType": {
                                      "type": "string",
                                      "example": "PANCR"
                                    },
                                    "idNumber": {
                                      "type": "string",
                                      "example": "*****1111A"
                                    },
                                    "documentVerifiedOn": {
                                      "type": "string",
                                      "example": "01-01-2000"
                                    },
                                    "documentDownloadToken": {
                                      "type": "string",
                                      "example": "XXXXX"
                                    },
                                    "message": {
                                      "type": "string",
                                      "example": "The underlying provider is down. Please hit the Download File API and the File Data API with the documentDownloadToken after some time to retrieve these details"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "[DIGILOCKER_AADHAAR_PAN] Partial Success due to PAN failure",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "**************6813"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "Some documents have been fetched successfully."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "success_uistream_partial_documents_fetch"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "EAADHAAR": {
                              "type": "object",
                              "properties": {
                                "decentroTxnId": {
                                  "type": "string",
                                  "example": "**************B73"
                                },
                                "status": {
                                  "type": "string",
                                  "example": "SUCCESS"
                                },
                                "responseCode": {
                                  "type": "string",
                                  "example": "S00000"
                                },
                                "message": {
                                  "type": "string",
                                  "example": "E-Aadhaar information received successfully from Digilocker"
                                },
                                "data": {
                                  "type": "object",
                                  "properties": {
                                    "aadhaarReferenceNumber": {
                                      "type": "string",
                                      "example": ""
                                    },
                                    "aadhaarUid": {
                                      "type": "string",
                                      "example": "********1234"
                                    },
                                    "proofOfIdentity": {
                                      "type": "object",
                                      "properties": {
                                        "dob": {
                                          "type": "string",
                                          "example": "DD-MM-YYYY"
                                        },
                                        "hashedEmail": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "gender": {
                                          "type": "string",
                                          "example": "M"
                                        },
                                        "hashedMobileNumber": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "name": {
                                          "type": "string",
                                          "example": "**** ****"
                                        }
                                      }
                                    },
                                    "proofOfAddress": {
                                      "type": "object",
                                      "properties": {
                                        "careOf": {
                                          "type": "string",
                                          "example": "S/O **** ****"
                                        },
                                        "country": {
                                          "type": "string",
                                          "example": "India"
                                        },
                                        "district": {
                                          "type": "string",
                                          "example": "******"
                                        },
                                        "house": {
                                          "type": "string",
                                          "example": "***"
                                        },
                                        "landmark": {
                                          "type": "string",
                                          "example": "Beside ****"
                                        },
                                        "locality": {
                                          "type": "string",
                                          "example": "*********"
                                        },
                                        "pincode": {
                                          "type": "string",
                                          "example": "******"
                                        },
                                        "postOffice": {
                                          "type": "string",
                                          "example": "********"
                                        },
                                        "state": {
                                          "type": "string",
                                          "example": "**********"
                                        },
                                        "street": {
                                          "type": "string",
                                          "example": "**** Main, ********** Road"
                                        },
                                        "subDistrict": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "vtc": {
                                          "type": "string",
                                          "example": "******"
                                        }
                                      }
                                    },
                                    "image": {
                                      "type": "string",
                                      "example": "BASE64"
                                    },
                                    "pdf": {
                                      "type": "string",
                                      "example": "BASE64"
                                    },
                                    "xml": {
                                      "type": "string",
                                      "example": "BASE64"
                                    }
                                  }
                                },
                                "responseKey": {
                                  "type": "string",
                                  "example": "success_eaadhaar_download"
                                }
                              }
                            },
                            "ISSUED_FILES": {
                              "type": "object",
                              "properties": {
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string",
                                        "example": "Aadhaar Card"
                                      },
                                      "type": {
                                        "type": "string",
                                        "example": "file"
                                      },
                                      "size": {
                                        "type": "string",
                                        "example": ""
                                      },
                                      "date": {
                                        "type": "string",
                                        "example": "**-**-2024"
                                      },
                                      "parent": {
                                        "type": "string",
                                        "example": ""
                                      },
                                      "mime": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "example": "application/json"
                                        }
                                      },
                                      "uri": {
                                        "type": "string",
                                        "example": "in.gov.uidai-ADHAR-************"
                                      },
                                      "doctype": {
                                        "type": "string",
                                        "example": "ADHAR"
                                      },
                                      "description": {
                                        "type": "string",
                                        "example": "Aadhaar Card"
                                      },
                                      "issuerid": {
                                        "type": "string",
                                        "example": "in.gov.uidai"
                                      },
                                      "issuer": {
                                        "type": "string",
                                        "example": "Unique Identification Authority of India (UIDAI)"
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "PAN": {
                              "type": "object",
                              "properties": {
                                "message": {
                                  "type": "string",
                                  "example": "An error occurred during PAN retrieval. Reason: <ERROR MESSAGE>"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "[DIGILOCKER_AADHAAR_PAN] PAN timeout Error",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "**************6813"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "Some documents have been fetched successfully."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "success_uistream_partial_documents_fetch"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "EAADHAAR": {
                              "type": "object",
                              "properties": {
                                "decentroTxnId": {
                                  "type": "string",
                                  "example": "**************B73"
                                },
                                "status": {
                                  "type": "string",
                                  "example": "SUCCESS"
                                },
                                "responseCode": {
                                  "type": "string",
                                  "example": "S00000"
                                },
                                "message": {
                                  "type": "string",
                                  "example": "E-Aadhaar information received successfully from Digilocker"
                                },
                                "data": {
                                  "type": "object",
                                  "properties": {
                                    "aadhaarReferenceNumber": {
                                      "type": "string",
                                      "example": ""
                                    },
                                    "aadhaarUid": {
                                      "type": "string",
                                      "example": "********1234"
                                    },
                                    "proofOfIdentity": {
                                      "type": "object",
                                      "properties": {
                                        "dob": {
                                          "type": "string",
                                          "example": "DD-MM-YYYY"
                                        },
                                        "hashedEmail": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "gender": {
                                          "type": "string",
                                          "example": "M"
                                        },
                                        "hashedMobileNumber": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "name": {
                                          "type": "string",
                                          "example": "**** ****"
                                        }
                                      }
                                    },
                                    "proofOfAddress": {
                                      "type": "object",
                                      "properties": {
                                        "careOf": {
                                          "type": "string",
                                          "example": "S/O **** ****"
                                        },
                                        "country": {
                                          "type": "string",
                                          "example": "India"
                                        },
                                        "district": {
                                          "type": "string",
                                          "example": "******"
                                        },
                                        "house": {
                                          "type": "string",
                                          "example": "***"
                                        },
                                        "landmark": {
                                          "type": "string",
                                          "example": "Beside ****"
                                        },
                                        "locality": {
                                          "type": "string",
                                          "example": "*********"
                                        },
                                        "pincode": {
                                          "type": "string",
                                          "example": "******"
                                        },
                                        "postOffice": {
                                          "type": "string",
                                          "example": "********"
                                        },
                                        "state": {
                                          "type": "string",
                                          "example": "**********"
                                        },
                                        "street": {
                                          "type": "string",
                                          "example": "**** Main, ********** Road"
                                        },
                                        "subDistrict": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "vtc": {
                                          "type": "string",
                                          "example": "******"
                                        }
                                      }
                                    },
                                    "image": {
                                      "type": "string",
                                      "example": "BASE64"
                                    },
                                    "pdf": {
                                      "type": "string",
                                      "example": "BASE64"
                                    },
                                    "xml": {
                                      "type": "string",
                                      "example": "BASE64"
                                    }
                                  }
                                },
                                "responseKey": {
                                  "type": "string",
                                  "example": "success_eaadhaar_download"
                                }
                              }
                            },
                            "ISSUED_FILES": {
                              "type": "object",
                              "properties": {
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string",
                                        "example": "Aadhaar Card"
                                      },
                                      "type": {
                                        "type": "string",
                                        "example": "file"
                                      },
                                      "size": {
                                        "type": "string",
                                        "example": ""
                                      },
                                      "date": {
                                        "type": "string",
                                        "example": "**-**-2024"
                                      },
                                      "parent": {
                                        "type": "string",
                                        "example": ""
                                      },
                                      "mime": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "example": "application/json"
                                        }
                                      },
                                      "uri": {
                                        "type": "string",
                                        "example": "in.gov.uidai-ADHAR-************"
                                      },
                                      "doctype": {
                                        "type": "string",
                                        "example": "ADHAR"
                                      },
                                      "description": {
                                        "type": "string",
                                        "example": "Aadhaar Card"
                                      },
                                      "issuerid": {
                                        "type": "string",
                                        "example": "in.gov.uidai"
                                      },
                                      "issuer": {
                                        "type": "string",
                                        "example": "Unique Identification Authority of India (UIDAI)"
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "PAN": {
                              "type": "object",
                              "properties": {
                                "message": {
                                  "type": "string",
                                  "example": "An error occurred during PAN retrieval. Reason: The request timed out at source after 30 sec. Please try again."
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "[DIGILOCKER_AADHAAR_PAN] PAN Pull Name Mismatch",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "**************6813"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "Some documents have been fetched successfully."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "success_uistream_partial_documents_fetch"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "EAADHAAR": {
                              "type": "object",
                              "properties": {
                                "decentroTxnId": {
                                  "type": "string",
                                  "example": "**************B73"
                                },
                                "status": {
                                  "type": "string",
                                  "example": "SUCCESS"
                                },
                                "responseCode": {
                                  "type": "string",
                                  "example": "S00000"
                                },
                                "message": {
                                  "type": "string",
                                  "example": "E-Aadhaar information received successfully from Digilocker"
                                },
                                "data": {
                                  "type": "object",
                                  "properties": {
                                    "aadhaarReferenceNumber": {
                                      "type": "string",
                                      "example": ""
                                    },
                                    "aadhaarUid": {
                                      "type": "string",
                                      "example": "********1234"
                                    },
                                    "proofOfIdentity": {
                                      "type": "object",
                                      "properties": {
                                        "dob": {
                                          "type": "string",
                                          "example": "DD-MM-YYYY"
                                        },
                                        "hashedEmail": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "gender": {
                                          "type": "string",
                                          "example": "M"
                                        },
                                        "hashedMobileNumber": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "name": {
                                          "type": "string",
                                          "example": "**** ****"
                                        }
                                      }
                                    },
                                    "proofOfAddress": {
                                      "type": "object",
                                      "properties": {
                                        "careOf": {
                                          "type": "string",
                                          "example": "S/O **** ****"
                                        },
                                        "country": {
                                          "type": "string",
                                          "example": "India"
                                        },
                                        "district": {
                                          "type": "string",
                                          "example": "******"
                                        },
                                        "house": {
                                          "type": "string",
                                          "example": "***"
                                        },
                                        "landmark": {
                                          "type": "string",
                                          "example": "Beside ****"
                                        },
                                        "locality": {
                                          "type": "string",
                                          "example": "*********"
                                        },
                                        "pincode": {
                                          "type": "string",
                                          "example": "******"
                                        },
                                        "postOffice": {
                                          "type": "string",
                                          "example": "********"
                                        },
                                        "state": {
                                          "type": "string",
                                          "example": "**********"
                                        },
                                        "street": {
                                          "type": "string",
                                          "example": "**** Main, ********** Road"
                                        },
                                        "subDistrict": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "vtc": {
                                          "type": "string",
                                          "example": "******"
                                        }
                                      }
                                    },
                                    "image": {
                                      "type": "string",
                                      "example": "BASE64"
                                    },
                                    "pdf": {
                                      "type": "string",
                                      "example": "BASE64"
                                    },
                                    "xml": {
                                      "type": "string",
                                      "example": "BASE64"
                                    }
                                  }
                                },
                                "responseKey": {
                                  "type": "string",
                                  "example": "success_eaadhaar_download"
                                }
                              }
                            },
                            "ISSUED_FILES": {
                              "type": "object",
                              "properties": {
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string",
                                        "example": "Aadhaar Card"
                                      },
                                      "type": {
                                        "type": "string",
                                        "example": "file"
                                      },
                                      "size": {
                                        "type": "string",
                                        "example": ""
                                      },
                                      "date": {
                                        "type": "string",
                                        "example": "**-**-2024"
                                      },
                                      "parent": {
                                        "type": "string",
                                        "example": ""
                                      },
                                      "mime": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "example": "application/json"
                                        }
                                      },
                                      "uri": {
                                        "type": "string",
                                        "example": "in.gov.uidai-ADHAR-************"
                                      },
                                      "doctype": {
                                        "type": "string",
                                        "example": "ADHAR"
                                      },
                                      "description": {
                                        "type": "string",
                                        "example": "Aadhaar Card"
                                      },
                                      "issuerid": {
                                        "type": "string",
                                        "example": "in.gov.uidai"
                                      },
                                      "issuer": {
                                        "type": "string",
                                        "example": "Unique Identification Authority of India (UIDAI)"
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "PAN": {
                              "type": "object",
                              "properties": {
                                "message": {
                                  "type": "string",
                                  "example": "An error occurred during PAN retrieval. Reason: Provided name does not match the document. Please update the name in request and retry again."
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "[DIGILOCKER_AADHAAR] Success Callback",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "97A9AEAC67F14BBBBB8D510B0D51E553"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "All documents have been fetched successfully."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "success_uistream_documents_fetch"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "EAADHAAR": {
                              "type": "object",
                              "properties": {
                                "decentroTxnId": {
                                  "type": "string",
                                  "example": "B8FB45C7418A47F38971EF6FD6425A9E"
                                },
                                "status": {
                                  "type": "string",
                                  "example": "SUCCESS"
                                },
                                "responseCode": {
                                  "type": "string",
                                  "example": "S00000"
                                },
                                "message": {
                                  "type": "string",
                                  "example": "E-Aadhaar information received successfully from MeriPehchaan"
                                },
                                "data": {
                                  "type": "object",
                                  "properties": {
                                    "aadhaarReferenceNumber": {
                                      "type": "string",
                                      "example": ""
                                    },
                                    "aadhaarUid": {
                                      "type": "string",
                                      "example": "xxxxxxxxX1111"
                                    },
                                    "ttl": {
                                      "type": "string",
                                      "example": "2026-10-24T23:17:37"
                                    },
                                    "proofOfIdentity": {
                                      "type": "object",
                                      "properties": {
                                        "dob": {
                                          "type": "string",
                                          "example": "01-01-1990"
                                        },
                                        "hashedEmail": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "gender": {
                                          "type": "string",
                                          "example": "M"
                                        },
                                        "hashedMobileNumber": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "name": {
                                          "type": "string",
                                          "example": "John Doe"
                                        }
                                      }
                                    },
                                    "proofOfAddress": {
                                      "type": "object",
                                      "properties": {
                                        "careOf": {
                                          "type": "string",
                                          "example": "S/O James Doe"
                                        },
                                        "country": {
                                          "type": "string",
                                          "example": "India"
                                        },
                                        "district": {
                                          "type": "string",
                                          "example": "West Delhi"
                                        },
                                        "house": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "landmark": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "locality": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "pincode": {
                                          "type": "string",
                                          "example": "111111"
                                        },
                                        "postOffice": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "state": {
                                          "type": "string",
                                          "example": "Delhi"
                                        },
                                        "street": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "subDistrict": {
                                          "type": "string",
                                          "example": ""
                                        },
                                        "vtc": {
                                          "type": "string",
                                          "example": "Patel Nagar"
                                        }
                                      }
                                    },
                                    "image": {
                                      "type": "string",
                                      "example": "<base64>"
                                    },
                                    "pdf": {
                                      "type": "string",
                                      "example": "<base64>"
                                    },
                                    "xml": {
                                      "type": "string",
                                      "example": "<base64>"
                                    }
                                  }
                                },
                                "responseKey": {
                                  "type": "string",
                                  "example": "success_eaadhaar_download"
                                }
                              }
                            },
                            "ISSUED_FILES": {
                              "type": "object",
                              "properties": {
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string",
                                        "example": "Aadhaar Card"
                                      },
                                      "type": {
                                        "type": "string",
                                        "example": "file"
                                      },
                                      "size": {
                                        "type": "string",
                                        "example": ""
                                      },
                                      "date": {
                                        "type": "string",
                                        "example": "25-10-2025"
                                      },
                                      "parent": {
                                        "type": "string",
                                        "example": ""
                                      },
                                      "mime": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "example": "application/json"
                                        }
                                      },
                                      "uri": {
                                        "type": "string",
                                        "example": "in.gov.uidai-ADHAR-6246d6471370edfbc520f228ddb84a4b"
                                      },
                                      "doctype": {
                                        "type": "string",
                                        "example": "ADHAR"
                                      },
                                      "description": {
                                        "type": "string",
                                        "example": "Aadhaar Card"
                                      },
                                      "issuerid": {
                                        "type": "string",
                                        "example": "in.gov.uidai"
                                      },
                                      "issuer": {
                                        "type": "string",
                                        "example": "Unique Identification Authority of India (UIDAI)"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "[DIGILOCKER_VEHICLE_REGISTRATION_CERTIFICATE] Success Callback",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "A7FD118DA5254681BBFB1AB24A62BF82"
                        },
                        "status": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "message": {
                          "type": "string",
                          "example": "All documents have been fetched successfully."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "success_uistream_documents_fetch"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "DIGILOCKER_VEHICLE_REGISTRATION_CERTIFICATE": {
                              "type": "object",
                              "properties": {
                                "BR33AF0645": {
                                  "type": "object",
                                  "properties": {
                                    "documentIssuer": {
                                      "type": "string",
                                      "example": "Ministry of Road Transport and Highways"
                                    },
                                    "documentName": {
                                      "type": "string",
                                      "example": "Registration of Vehicles"
                                    },
                                    "documentType": {
                                      "type": "string",
                                      "example": "RVCER"
                                    },
                                    "idNumber": {
                                      "type": "string",
                                      "example": "AA11AA1111"
                                    },
                                    "userName": {
                                      "type": "string",
                                      "example": "JOHN DOE"
                                    },
                                    "userDateOfBirth": {
                                      "type": "string",
                                      "example": ""
                                    },
                                    "userGender": {
                                      "type": "string",
                                      "example": ""
                                    },
                                    "documentVerifiedOn": {
                                      "type": "string",
                                      "example": "01-01-2020"
                                    },
                                    "documentStatus": {
                                      "type": "string",
                                      "example": "Active"
                                    },
                                    "documentBase64": {
                                      "type": "string",
                                      "example": "<base64>"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "[PAN CERTIFICATE] Invalid PAN Error": {
                    "value": "{\n  \"initialDecentroTxnId\": \"5D6E54E74906498B96B3CF60826F7581\",\n  \"status\": \"FAILURE\",\n  \"message\": \"The PAN provided is invalid. Response: {\\\"decentroTxnId\\\":\\\"8B539B57D4744D48832B24EC69C9277D\\\",\\\"status\\\":\\\"FAILURE\\\",\\\"responseCode\\\":\\\"E00009\\\",\\\"message\\\":\\\"The PAN provided is invalid.\\\",\\\"responseKey\\\":\\\"error_invalid_pan\\\"}.\",\n  \"responseKey\": \"error_uistream_digilocker_data_fetch\",\n  \"data\": null\n}"
                  },
                  "[ALL UISTREAM] Timeout Error": {
                    "value": "{\n  \"initialDecentroTxnId\": \"A2D35F83C82E481CA889E741C6FC7369\",\n  \"status\": \"FAILURE\",\n  \"message\": \"The user has been stuck in the DigiLocker page for more than 300 seconds and has been timed out.\",\n  \"responseKey\": \"error_uistream_digilocker_timeout\",\n  \"data\": null\n}"
                  },
                  "[DIGILOCKER_AADHAAR_PAN & PAN_CERTIFICATE] DOB Mismatch Error": {
                    "value": "{\n    \"initialDecentroTxnId\": \"B98FA4E45A5C41868B206976E5647F64\",\n    \"status\": \"FAILURE\",\n    \"message\": \"The PAN DOB does not match with the Aadhaar data. Response: {\\\"decentroTxnId\\\":\\\"F3DDE65F5F254D15B58C243ED9D80DF0\\\",\\\"status\\\":\\\"FAILURE\\\",\\\"responseCode\\\":\\\"E00009\\\",\\\"message\\\":\\\"The PAN DOB does not match with the Aadhaar data.\\\",\\\"responseKey\\\":\\\"error_pan_dob_mismatch\\\"}.\",\n    \"responseKey\": \"error_uistream_digilocker_data_fetch\",\n    \"data\": null\n}"
                  },
                  "[ALL UISTREAM] Session Terminated Error": {
                    "value": "{\n  \"initialDecentroTxnId\": \"BFD1E281AB7242DF8656BD7F6CF22B33\",\n  \"status\": \"FAILURE\",\n  \"message\": \"The Digilocker session has been terminated.\",\n  \"responseKey\": \"error_uistream_session_termination\",\n  \"data\": null\n}"
                  },
                  "[ALL UISTREAM] Callback not sent": {
                    "value": "{\n  \"initialDecentroTxnId\": \"A2D35F83C82E481CA889E741C6FC7369\",\n  \"status\": \"FAILURE\",\n  \"message\": \"Unable to send data to callback url.\",\n  \"responseKey\": \"error_uistream_api_error\",\n  \"data\": null\n}"
                  },
                  "[ALL UISTREAM] Consent Error": {
                    "value": "{\n    \"initialDecentroTxnId\": \"DB0FCB59DB964697ABAA028CA987806C\",\n    \"status\": \"FAILURE\",\n    \"message\": \"The user has not provided the consent required to access the underlying file. Response: {\\\"decentroTxnId\\\":\\\"032B0AFD8D49408D9C823E61E8310855\\\",\\\"status\\\":\\\"FAILURE\\\",\\\"responseCode\\\":\\\"E00012\\\",\\\"message\\\":\\\"The user has not provided the consent required to access the underlying file.\\\",\\\"responseKey\\\":\\\"error_insufficient_privileges\\\"}.\",\n    \"responseKey\": \"error_uistream_digilocker_data_fetch\"\n  }"
                  },
                  "[ALL UISTREAM] Initiate Session Error": {
                    "value": "{\n    \"initialDecentroTxnId\": \"C15522CC197D42AE8A34762C213C4D2A\",\n    \"status\": \"FAILURE\",\n    \"message\": \"An error occurred while trying to start the Digilocker session.\",\n    \"responseKey\": \"error_uistream_initiate_session\",\n    \"data\": null\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "[PAN CERTIFICATE] Invalid PAN Error",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "5D6E54E74906498B96B3CF60826F7581"
                        },
                        "status": {
                          "type": "string",
                          "example": "FAILURE"
                        },
                        "message": {
                          "type": "string",
                          "example": "The PAN provided is invalid. Response: {\"decentroTxnId\":\"8B539B57D4744D48832B24EC69C9277D\",\"status\":\"FAILURE\",\"responseCode\":\"E00009\",\"message\":\"The PAN provided is invalid.\",\"responseKey\":\"error_invalid_pan\"}."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "error_uistream_digilocker_data_fetch"
                        },
                        "data": {}
                      }
                    },
                    {
                      "title": "[ALL UISTREAM] Timeout Error",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "A2D35F83C82E481CA889E741C6FC7369"
                        },
                        "status": {
                          "type": "string",
                          "example": "FAILURE"
                        },
                        "message": {
                          "type": "string",
                          "example": "The user has been stuck in the DigiLocker page for more than 300 seconds and has been timed out."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "error_uistream_digilocker_timeout"
                        },
                        "data": {}
                      }
                    },
                    {
                      "title": "[DIGILOCKER_AADHAAR_PAN & PAN_CERTIFICATE] DOB Mismatch Error",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "B98FA4E45A5C41868B206976E5647F64"
                        },
                        "status": {
                          "type": "string",
                          "example": "FAILURE"
                        },
                        "message": {
                          "type": "string",
                          "example": "The PAN DOB does not match with the Aadhaar data. Response: {\"decentroTxnId\":\"F3DDE65F5F254D15B58C243ED9D80DF0\",\"status\":\"FAILURE\",\"responseCode\":\"E00009\",\"message\":\"The PAN DOB does not match with the Aadhaar data.\",\"responseKey\":\"error_pan_dob_mismatch\"}."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "error_uistream_digilocker_data_fetch"
                        },
                        "data": {}
                      }
                    },
                    {
                      "title": "[ALL UISTREAM] Session Terminated Error",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "BFD1E281AB7242DF8656BD7F6CF22B33"
                        },
                        "status": {
                          "type": "string",
                          "example": "FAILURE"
                        },
                        "message": {
                          "type": "string",
                          "example": "The Digilocker session has been terminated."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "error_uistream_session_termination"
                        },
                        "data": {}
                      }
                    },
                    {
                      "title": "[ALL UISTREAM] Callback not sent",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "A2D35F83C82E481CA889E741C6FC7369"
                        },
                        "status": {
                          "type": "string",
                          "example": "FAILURE"
                        },
                        "message": {
                          "type": "string",
                          "example": "Unable to send data to callback url."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "error_uistream_api_error"
                        },
                        "data": {}
                      }
                    },
                    {
                      "title": "[ALL UISTREAM] Consent Error",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "DB0FCB59DB964697ABAA028CA987806C"
                        },
                        "status": {
                          "type": "string",
                          "example": "FAILURE"
                        },
                        "message": {
                          "type": "string",
                          "example": "The user has not provided the consent required to access the underlying file. Response: {\"decentroTxnId\":\"032B0AFD8D49408D9C823E61E8310855\",\"status\":\"FAILURE\",\"responseCode\":\"E00012\",\"message\":\"The user has not provided the consent required to access the underlying file.\",\"responseKey\":\"error_insufficient_privileges\"}."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "error_uistream_digilocker_data_fetch"
                        }
                      }
                    },
                    {
                      "title": "[ALL UISTREAM] Initiate Session Error",
                      "type": "object",
                      "properties": {
                        "initialDecentroTxnId": {
                          "type": "string",
                          "example": "C15522CC197D42AE8A34762C213C4D2A"
                        },
                        "status": {
                          "type": "string",
                          "example": "FAILURE"
                        },
                        "message": {
                          "type": "string",
                          "example": "An error occurred while trying to start the Digilocker session."
                        },
                        "responseKey": {
                          "type": "string",
                          "example": "error_uistream_initiate_session"
                        },
                        "data": {}
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "[ALL UISTREAM] Invalid or Expired Session": {
                    "value": "{\n  \"initialDecentroTxnId\": \"327F53E893724B30B2AB8C52D1FEA3B8\",\n  \"status\": \"FAILURE\",\n  \"message\": \"Invalid Session. The session has either completed or exhausted. Please initiate a new session Response: {\\\"decentroTxnId\\\":\\\"5B99E04B52714BB19666C64DEA8BDC8D\\\",\\\"status\\\":\\\"FAILURE\\\",\\\"responseCode\\\":\\\"E00009\\\",\\\"message\\\":\\\"Invalid Session. The session has either completed or exhausted. Please initiate a new session\\\",\\\"responseKey\\\":\\\"error_invalid_session\\\"}\",\n  \"responseKey\": \"error_uistream_digilocker_data_fetch\",\n  \"data\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "initialDecentroTxnId": {
                      "type": "string",
                      "example": "327F53E893724B30B2AB8C52D1FEA3B8"
                    },
                    "status": {
                      "type": "string",
                      "example": "FAILURE"
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid Session. The session has either completed or exhausted. Please initiate a new session Response: {\"decentroTxnId\":\"5B99E04B52714BB19666C64DEA8BDC8D\",\"status\":\"FAILURE\",\"responseCode\":\"E00009\",\"message\":\"Invalid Session. The session has either completed or exhausted. Please initiate a new session\",\"responseKey\":\"error_invalid_session\"}"
                    },
                    "responseKey": {
                      "type": "string",
                      "example": "error_uistream_digilocker_data_fetch"
                    },
                    "data": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "[ALL UISTREAM] Wallet empty": {
                    "value": "{\n  \"initialDecentroTxnId\": \"31BA15BB5110476C8542CD8090DB4190\",\n  \"status\": \"FAILURE\",\n  \"message\": \"DigiLocker wallet is empty.\",\n  \"responseKey\": \"error_digilocker_wallet_empty\",\n  \"data\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "initialDecentroTxnId": {
                      "type": "string",
                      "example": "31BA15BB5110476C8542CD8090DB4190"
                    },
                    "status": {
                      "type": "string",
                      "example": "FAILURE"
                    },
                    "message": {
                      "type": "string",
                      "example": "DigiLocker wallet is empty."
                    },
                    "responseKey": {
                      "type": "string",
                      "example": "error_digilocker_wallet_empty"
                    },
                    "data": {}
                  }
                }
              }
            }
          },
          "5XX": {
            "description": "5XX",
            "content": {
              "application/json": {
                "examples": {
                  "[ALL UISTREAM] Network Error": {
                    "value": "{\n    \"initialDecentroTxnId\": \"A447B454EE404B9EBE1F20CB86581124\",\n    \"status\": \"FAILURE\",\n    \"message\": \"Message: Network Error\",\n    \"responseKey\": \"error_uistream_api_error\",\n    \"data\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "initialDecentroTxnId": {
                      "type": "string",
                      "example": "A447B454EE404B9EBE1F20CB86581124"
                    },
                    "status": {
                      "type": "string",
                      "example": "FAILURE"
                    },
                    "message": {
                      "type": "string",
                      "example": "Message: Network Error"
                    },
                    "responseKey": {
                      "type": "string",
                      "example": "error_uistream_api_error"
                    },
                    "data": {}
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```