Set Up an Integration for Digilocker
Configure the integration to connect with Digilocker, allowing applicants to fetch and upload their official documents directly into the loan application. This integration provides a secure and streamlined way for users to submit required documentation like Aadhaar and PAN cards.
Required Editions
Available in: Lightning Experience in Professional, Enterprise, and Unlimited Editions that have the Financial Services Cloud enabled.
| User Permissions Needed | |
|---|---|
| To create integration definitions: | IndustriesIntegrationFwk |
| To create or update an Integration Procedure, Data Mapper, or an Omniscript: | OmniStudio Admin permission set AND Digital Lending India Admin User |
API 1: Initiate Document Request
- From Setup, in the Quick Find box, enter integration definitions, and then select Integration Definitions.
- Click + New.
-
Configure the integration definition with the following details:
- Select the type as External Services Defined.
- Enter the integration definition name as DigitalLendingIndiaDigilockerRequestIntegDef.
- For external service, enter the name of the registered external service you want to use to connect to the Digilocker API.
- For action, select the service provider API method to be called to request documents from Digilocker.
- Select the input processor as DigitalLendingIndia_DigilockerRequest.
- Select the output processor as DigitalLendingIndia_DigilockerResponse.
- Turn on Integration Orchestrator.
Invocation Details:
This integration is a UI-Triggered Integration, invoked bythe DigitalLendingIndia_InitiateDigilockerRequest integration procedure from the DigitalLendingIndia_DigilockerRequestOmniscript. This Omniscript can be configured as a manual task within a stage like Document Validation in your Stage Management plan.
The handler processor DigitalLendingIndia_InitiateDigilockerRequest calls the DigitalLendingIndiaDigilockerRequestIntegDef integration definition and the following data mappers:
- DigitalLendingIndiaCreatePayloadForDigilocker
- DigitalLendingIndiaFetchPartyIDVForInitiatedPartyProfile
- DigitalLendingIndiaCreateAuthFormConsent
- DigitalLendingIndiaGetPartyIdVerfStatusForDigilocker
Data Mapper Configuration:
The input processor DigitalLendingIndia_DigilockerRequest calls the following data mappers to prepare the request:
- DigitalLendingIndiaTransformDigilockerRequest
The output processor DigitalLendingIndia_DigilockerResponse calls the following data mappers to handle the response and create Party Identity Verification records for the requested documents.:
- DigitalLendingIndiaGetInfoFromPartyProfile
- DigitalLendingIndiaGetPartyIdVerfForRecDigio
- DigitalLendingIndiaCreatePartyIdVerfForDigilocker
- Save your changes and activate the integration definition.
API 2: Get document request status
- From Setup, in the Quick Find box, enter integration definitions, and then select Integration Definitions.
- Click + New.
-
Configure the integration definition with the following details:
- Select the type as External Services Defined.
- Enter the integration definition name as DigitalLendingIndiaDigilockerRequestStatusIntegDef
- For external service, enter the name of the registered external service you want to use to connect to the Digilocker API.
- For action, select the service provider API method to be called to get the document request status.
- Select the input processor as DigitalLendingIndia_DigilockerStatusRequest.
- Select the output processor as DigitalLendingIndia_DigilockerStatusResponse.
- Turn on Integration Orchestrator.
Invocation Details:
This integration is a UI-Triggered Integration, invoked by DigitalLendingIndia_InitiateDigilockerStatusRequest integration procedure from the DigitalLendingIndia_DigilockerRequest OmniScript. This Omniscript can be configured as a manual task within a stage like Document Validation in your Stage Management plan.
The handler processor DigitalLendingIndia_InitiateDigilockerStatusRequest calls the DigitalLendingIndiaDigilockerRequestStatusIntegDef integration definition and the following data mappers:
- DigitalLendingIndiaGetPartyIdVerfStatusForDigilocker
Data Mapper Configuration:
The input processor DigitalLendingIndia_DigilockerStatusRequest calls the following data mapper to prepare the request:
- DigitalLendingIndiaGetPartyIdentityVerfRecDigiLocker
The output processor DigitalLendingIndia_DigilockerStatusResponse calls the following data mappers to handle the response:
- DigitalLendingIndiaGetPartyIdentityVerfRecDigiLocker
- DigitalLendingIndiaCreatePartyIdVerfForDigilocker
- Save your changes and activate the integration definition.
API 3: Download the shared documents
- From Setup, in the Quick Find box, enter integration definitions, and then select Integration Definitions.
- Click + New.
-
Configure the integration definition with the following details:
- Select the type as External Services Defined.
- Enter the integration definition name as DigitalLendingIndiaDownloadMediaAPI
- For external service, enter the name of the registered external service you want to use.
- For action, select the service provider API method to be called to download the shared documents.
- Select the input processor as DigitalLendingIndia_DownloadMediaRequest.
- Select the output processor as DigitalLendingIndia_DownloadMediaResponse.
- Turn on Integration Orchestrator.
Invocation Details:
This integration is a UI-Triggered Integration, invoked by DigitalLendingIndia_DownloadMediaHandler integration procedure from the DigitalLendingIndia_DigilockerRequest OmniScript. This Omniscript can be configured as a manual task within a stage like Document Validation in your Stage Management plan.
The handler processor DigitalLendingIndia_DownloadMediaHandler calls the DigitalLendingIndiaDownloadMediaAPI integration definition and the following data mappers:
- DigitalLendingIndiaGetPartyIDVDetailsForDownloadMedia
- DigitalLendingIndiaCreatePayloadForDownloadMedia
- DigitalLendingIndiaGetDCIInfo
- DigitalLendingIndiaDownloadMediaDCI
- DigitalLendingIndiaExtractContentDocumentId
- DigitalLendingIndiaCreateContentDocLink
- DigitalLendingIndiaUpdatePartyIdvDigilocker
- Save your changes and activate the integration definition.

