Hosted Common Use Cases
Instead of building your own flow, it’s highly recommended to fork an existing flow from the public sample codes found here
eKYC Forms Flow
The eKYC Forms Flow on the Hosted OneSDK allow customers to embed or send their end-users a link with a fixed set of forms that allow PII data to be captured and used for KYC. Customers will gain access to the following screens in sequence with no ability to make any modifications.
eKYC Forms Flow User Journey
Generating Hosted OneSDK Link with eKYC Forms Flow
IDV Flow
The IDV flow is a combination of the vendors SDK all-in-one where the customer goes through the process of (1) capturing their document and (2) running the selfie and liveness checks.
IDV Only User Journey
Generating Hosted OneSDK Link with IDV Only Flow
IDV + Review Screen Flow
IDV + Review Scren User Journey
Generating Hosted OneSDK Link with IDV Only Flow
OCR Only Flow
OCR Only Flow on the Hosted OneSDK allow customers to embed or send their end-users a link with an OCR journey provided by Onfido / Incode, getting their data to be captured and used for KYC.
IDV Only User Journey
Generating Hosted OneSDK Link with IDV Only Flow
Listening to Window Events with Hosted OneSDK
Hosted OneSDK will emit window events during specific stage of your onboarding experience. You can leverage this mechanism to handle error and success handling
Table of Events
Implementation method
flowId | On which stage? | Event Emitted | Payload |
ocr_only | failed uploading OCR | ocr_only:failed | - |
ocr_only | success uploading OCR | ocr_only:success | - |
manual_kyc | manual kyc is mounted | manual_kyc:mounted | - |
manual_kyc | success with manual kyc | manual_kyc:success | - |
manual_kyc | partial success with manual kyc | manual_kyc:partial | - |
manual_kyc | failed manual kyc | manual_kyc:failed | - |
idv | idv is getting mounted | idv:mount | - |
idv | idv process success | idv:success | - |
idv | idv process failed | idv:failed | - |
idv | idv getting rendered | idv:render | - |
idv_review | idv_review is getting mounted | idv_review:mount | - |
idv_review | idv_review getting rendered | idv_review:render | - |
idv_review | idv was failed on idv_review flow | idv_review:idv_failed | (error message depends on error type) |
idv_review | after submitting review screen | idv_review:submit | |
idv_review | idv_review process is success | idv_review:success | result from calling sample: |
idv_review | during idv_review, there are some issues occurred | idv_review:error |