KYC Embedded Component

Seed the KYC component on your website to let your customers doing the KYC with minimum development time!

Prerequisites:

Before using the embedded component, you must register your client with a few essential fields.
for doing so, please have a look on the following endpoint reference - KYC Setup

After registering, you will receive an Account Id.
This account id will be used later on when using the component.


Initialize KYC Component:

To embed the onboarding flow into your page, you will need to create an empty container, create the onboarding component and then mount the element to the container.

First, create an empty container <div> with a unique id in your onboarding page. Then, inserts an iframe into this div on mounting the element.

Implement this JS code in your page:

    <script>
        window.MyWidgetOptions = {
          clientId: "ff38c94f-ed35-417d-822e-6a14d05c1c2f", // The Account Id received from the Setup endpoint
          env: "dmeo" // use "prod" for Production Environment 
        };
    </script>
    <script src="https://okoorastaticweb.z6.web.core.windows.net/js/KycComponent.js"></script>