OCR + Liveness SDK
Methods
See how to customize the SDK even more
mount
function(): void
It is responsible for mounting the SDK and should be called after configuration.
Example:
verifyDocument
function({ cpf: '99999999999' }): void
Responsible for starting the verification process programmatically wherever you want in your code.
Example:
setLang
function(lang: 'pt' | 'en' | 'es'): void
It is responsible for changing the language of the OCR + Facematch validation flow.
Example:
changeFieldId
function(params: object): void
changeActionId
function(params: object): void
setWithdraw
function(value: number | string): void
Accept formats like: R$ 1,23
, R$ 1.23
, 1.23
, 1,23
, 123
.
Example:
setBalance
function(value: number | string): void
Accept formats like: R$ 1,23
, R$ 1.23
, 1.23
, 1,23
, 123
.
Example:
closeModal
function(): void
It is responsible for closing the OCR + Facematch validation modal.
Example: