Modules
All the modules supported by the SDK are listed here, with their configuration parameters.
Every entry in flowConfig includes:
module(required): string. The module name.enabled(optional, defaults totrue): boolean. Explicitly include or skip the module in the flow.
For completion payloads, update events, and module error examples, see Results.
Phone
Ask the user to enter a phone number.
otpVerification(optional, defaults tofalse): boolean. Ask for OTP verification.
DocumentScan
Ask the user to capture a document.
showTutorial(optional, defaults tofalse): boolean. Show the document scan tutorial. Only on iOS.showDocumentProviderScreen(optional, defaults totrue): boolean. Specifytrueto show the document provider screen, orfalseto go directly to capture.type(optional, defaults toaddressStatement):addressStatement,paymentProof,medicalDoc,otherDocument1,otherDocument2, orotherDocument3.
Geolocation
Get information about the user's current location.
isSkippable(optional, defaults tofalse): boolean. Allows the geolocation step to be skipped. When set totrue, skipping or denying location permission advances the flow instead of ending the session with a permission error.
UserConsent
Ask the user for consent.
title(required): string. Title shown on the consent screen.content(required): string. Content shown on the consent screen.
CombinedConsent
Ask the user for data-sharing consent.
consentId(required): string. ID for the combined consent configured in the dashboard.
Signature
Ask the user to draw a signature.
title(optional): string. Optional title shown at the top of the screen.description(optional): string. Optional description shown below the title.descriptionMaxLines(optional): number. Maximum number of description text lines.
This module enables user to add a digital signature by signing on a canvas.
Besides specifying title and description keys, it is needed to provide texts for Android and iOS in their res/values/strings.xml and Localizable.strings files.
{
module: 'Signature',
title: 'onboard_sdk_signature_title',
description: 'onboard_sdk_signature_description',
descriptionMaxLines: 2
}
For Android:
<string name="onboard_sdk_signature_title">Example title</string>
<string name="onboard_sdk_signature_description">Description example</string>
For iOS:
"onboard_sdk_signature_title" = "Example title";
"onboard_sdk_signature_description" = "Description example";
VideoSelfie
Record a video selfie flow. Available only for Android API level 21+.
showTutorial(optional, defaults totrue): boolean. Show the video selfie tutorial.selfieScanMode(optional, defaults toselfieMatch):selfieMatchorfaceMatch. Specify whether to compare the selfie directly or compare with the photo from the ID.selfieLivenessCheck(optional, defaults tofalse): boolean. Check user liveness during video selfie.showIdScan(optional, defaults totrue): boolean. Ask for ID scan during video selfie.showVoiceConsent(optional, defaults totrue): boolean. Ask for voice consent during video selfie.cameraFacingConfig(optional):CameraFacingConfig. Set the camera for each step usingselfieCameraFacing,idFrontCameraFacing,idBackCameraFacing,documentScanCameraFacing,randomQuestionsCameraFacing, andvoiceConsentCameraFacing; each value isfrontorback.questions(optional):VideoSelfieQuestion[]. List of{ question: string; answer: string }entries to show in capture-only/random-question mode.
IdScan
Ask the user to capture ID or passport.
showTutorial(optional, defaults totrue): boolean. Show the ID scan tutorial.idType(optional):idorpassport. If omitted, the SDK can show a chooser to the user.showIdTypeChooser(optional, defaults totrue): boolean. Specifyfalseto skip the document chooser screen.idCategory(optional, defaults toprimary):primaryorsecondary.
IdScanFront
Ask the user to capture only the front side of an ID.
showTutorial(optional, defaults totrue): boolean. Show the ID scan tutorial.idType(optional):idorpassport.
IdScanBack
Ask the user to capture only the back side of an ID.
showTutorial(optional, defaults totrue): boolean. Show the ID scan tutorial.idCategory(optional, defaults toprimary):primaryorsecondary.
ProcessId
Process the ID after separated front and back captures.
idCategory(optional, defaults toprimary):primaryorsecondary. Applied on Android.
Conference
Start a video conference call.
disableMicOnStart: boolean. Disable the microphone when the call starts.
SelfieScan
Ask the user to capture a selfie.
showTutorial(optional, defaults totrue): boolean. Show the selfie scan tutorial.cameraFacing(optional, defaults tofront):frontorback. Camera used during selfie capture.
FaceMatch
Perform a face match between the captured ID/passport and Selfie or NFC data.
idCategory(optional, defaults toprimary):primaryorsecondary.
QrScan
Ask the user to scan a QR code.
- No additional parameters
Captcha
Ask the user to enter the OTP generated for the current session.
- No additional parameters
Ask the user to enter an email.
otpVerification(optional, defaults tofalse): boolean. Ask for OTP verification.
Approve
Approve the current onboarding session and add the user to the Omni database.
forceApproval(optional, defaults tofalse): boolean. Force approval when set totrue.
UserScore
Show the info and scoring for all performed steps.
mode(optional, defaults toaccurate):accurateorfast.accuratefetches server-side results and can take longer;fastshows results based on on-device processing.
MLConsent
Ask the user for Machine Learning consent.
type(required):gdprorus.
GovernmentValidation
Perform government validation of the ID.
isBackgroundExecuted(optional, defaults tofalse): boolean. Run the module without showing its UI.
Antifraud
Compare the current interview with existing interviews and customers to detect possible fraud.
- No additional parameters
GlobalWatchlist
Check customer identities against sanctions, PEP, and watchlist sources.
- No additional parameters
CustomWatchlist
Check whether the user is present in an Incode Dashboard custom watchlist.
- No additional parameters
Aes
Enable advanced electronic signature document handling.
uploadDocument(optional, defaults tofalse): boolean. Upload the signed document.downloadDocument(optional, defaults tofalse): boolean. Download the signed document.
Name
Ask the user to enter a name.
- No additional parameters
CURP
Validate the user's CURP from the ID.
validationEnabled(optional, defaults totrue): boolean. Validate the CURP on the server.
OCREdit
Review OCR data.
isEditable(optional, defaults tofalse): boolean. Allow the user to edit OCR data.
eKYB
Run KYB validation with business information.
checkBusinessName(optional, defaults tofalse): boolean. Validate business name.checkAddress(optional, defaults tofalse): boolean. Validate address.checkTaxId(optional, defaults tofalse): boolean. Validate tax ID.
eKYC
Run KYC validation with user information.
checkName(optional, defaults tofalse): boolean. Validate name.checkEmail(optional, defaults tofalse): boolean. Validate email.checkAddress(optional, defaults tofalse): boolean. Validate address.checkPhone(optional, defaults tofalse): boolean. Validate phone.checkSsn(optional, defaults tofalse): boolean. Validate SSN.checkDob(optional, defaults tofalse): boolean. Validate date of birth.checkNationality(optional, defaults tofalse): boolean. Validate nationality.
NFCScan
Ask the user to scan the NFC chip on their document.
idType(optional):idorpassport. ID type used for NFC scanning. If omitted, the SDK reuses the ID type from ID scan when available; otherwise, it can show a chooser.processNFCData(optional, defaults totrue): boolean. Use data read from the NFC chip to validate identity.
FaceAuthentication
Authenticate an existing user with face recognition.
showTutorials(optional, defaults totrue): boolean. Show the tutorial before face authentication.autoCaptureTimeout(optional, defaults to16): number. Timeout in seconds for automatic face capture.captureAttempts(optional, defaults to3): number. Number of allowed face capture attempts before failing the step.