Skip to main content

Veritran Docs

CreateSession

This function allows you to create a session to perform the onboarding process.

Parameter Configuration

This function requires you to complete the input parameters with the validation modules and custom files.

Function ID

Register

Value

110

1

Input Registers

Register

Description

Mandatory

Value

390

Validation Modules

X

ID;FACE_RECOGNITION;LIVENESS;GOVERNMENT_VALIDATION;GOVERNMENT_ORC_VALIDATION;GOVERNMENT_FACE_VALIDATION;VIDEO_SELFIE

391

CustomFiles

X

KEY1:VALUE1;KEY2:VALUE2

Output Registers

Register

Description

Value

112

Call Result

000

API_NO_ERROR

001

API_GENERIC_ERROR

002

API_WRONG_PARAMETERS_ERROR

003

API_INCODE_NOT_INITIALIZED

004

SESSION_ERROR

005

GEOLOCATION_ERROR

006

SCAN_ID_ERROR

007

SCAN_SELFIE_ERROR

008

VIDEO_SELFIE_ERROR

009

CLAVE_DE_ELECTOR_ERROR

010

CANCELLED_BY_USER

011

ANDROID_VERSION_ERROR

012

FACE_MATCH_ERROR

290

Token

STRING

291

InterviewID

STRING

292

Region

STRING