Set Up an Integration to Initiate KYC for PAN with OCR
Set up an integration to check if your loan applicants have uploaded a structurally valid PAN card, and then extract the PAN card details.
Required Editions
| Available in: Lightning Experience |
| Available in: Professional, Enterprise, and Unlimited Editions |
| User Permissions Needed | |
|---|---|
| To create integration definitions: | IndustriesIntegrationFwk |
| To create or update an Integration Procedure, a Data Mapper, or an Omniscript: | OmniStudio Admin AND Digital Lending India Admin User |
- From Setup, in the Quick Find box, enter integration definitions, and then select Integration Definitions.
-
To validate the PAN uploaded by the applicant, create an integration definition.
- Click+ New.
- SelectExternal Services Definedas the type.
- EnterDigitalLendingIndiaKycOcrPlusIntegDef as the integration definition name.
- For the external service, enter the name of the registered external service that you want to use to connect to an external API.
- For the action, select the method or the operation of the service provider API to be called to match the address of the party profile with the address in Aadhaar.
- Select DigitalLendingIndia_KycOcrPlusRequest as the input processor.
- Select DigitalLendingIndia_KycOcrPlusResponseas the output processor.
- Turn on Integration Ochestrator.
-
SelectIntegrationOrchestrationShowIntegTimelineDetailsas the
Flexcard.
Make sure to select a cloned and activated version of the Flexcard. This Flexcard shows the integration execution status and the request and response details.
- SelectAutomatic as the integration execution mode.
This integration definition is invoked by the DigitalLendingIndia_InitiateKycOcrPlusPanId integration procedure from the DigitalLendingIndiaApplicationFormOnboarding and DigitalLendingIndiaAdditionalApplicantOnboarding Omniscripts. It is triggered when a user clicks the Validate PAN button on the Omniscript.
The DigitalLendingIndia_InitiateKycOcrPlusPanId integration procedure calls these data mappers.
- DigitalLendingIndiaSetPartyProfiletoPayload
- DigitalLendingIndiaGetIdentityProofContentDocumentId
The DigitalLendingIndia_KycOcrPlusRequest input processor calls these Data Mappers.
- DigitalLendingIndiaGetDocumentKycOcrfromContentDocument
- DigitalLendingIndiaGetInitiatedPartyIdentity
- DigitalLendingIndiaCreatePartyIdVerification
The DigitalLendingIndia_KycOcrPlusResponse output processor calls these Data Mappers.
- DigitalLendingIndiaTransformKycOcrPlusResponse
- DigitalLendingIndiaGetPartyProfileAccount
- DigitalLendingIndiaUpdateVerficationIdEntities
- DigitalLendingIndiaGetPANDocument
- DigitalLendingIndiaUpdatePANDocChkItm
To handle the response from the external service API to validate the PAN, configure the cloned copy of the DigitalLendingIndiaTransformKycOcrPlusResponse data mapper.
- Save your changes and activate the integration definition.

