Tutorial
Configuration
If you haven't created a project and a projectFlow with the property type = onboarding, then here there are the links for that.
Create a projectProjectFlow Setup
Create a project flowLet's get started
The flow mainly starts with the creation of the AppRegistration then we proceed with the creation of the email validation/phone validation (depending on the configuration inside the ProjectFlow) which will grant us access to either redirect the user and complete the record without the KYC process or we continue with the next validations which starts with the document validation and then the liveness detection so we can later on do a comparison of the document photo and the selfie that was taken.
Create an app registrationValidations
Based on the configuration we will stat with the signUpForm validations. The email and phone validations are the first ones to do.
Email Validation
Every validation starts by initiating it with the params that are required to get triggered, in the case of the email, we require the email address so the user can receive the one time password
Create Email ValidationOnce the email is sent, the user will receive a 6-digit One Time Password (OTP). They must enter this OTP in the UI or submit it to the following API endpoint.
Validate Email ValidationPhone Validation
If the AppRegistration needs to validate the phone as well, we will have to repeat the same process with some changes, for the phone validation it's required to pass the phoneGateway (sms, whatsapp) and the countryCode, and the phone.
Create Phone ValidationAfter the SMS or WhatsApp message is sent, the user will receive a 6-digit One Time Password (OTP). They must enter this OTP in the UI or submit it to the following API endpoint.
Validate Phone ValidationDocument Validation
If the AppRegistration needs to validate a legal document, we will have to create a documentValidation which will require a photo of the document to extract the information with our OCR system and we will determinate if the document requires a back side or the document is completed with just the front side.
Enroll - Create Document ValidationBiometric Validation
If the AppRegistration needs to validate the liveness of the person we will require to create a biometricValidation which will require a selfie of the person doing the enrollment and we will perform several checks, such as 1:N search to find duplicates and also a liveness detection score will be assigned to the record and it will be compared to the minimum liveness score that the projectFlow has in the liveness configuration.
First we will start by initiating it so we can perform a validation next.
Create Biometric ValidationAfter we have a session, we will use that session to perform the selfie extraction and we will accept a base64 image which will be passed to our liveness detection model and it will return a score
Validate Biometric ValidationLast updated