Skip to main content
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
It is responsible for changing the id of the enriched fields.Example:
changeActionId
function(params: object): void
It is responsible for changing the id of the elements that trigger the actions.Example:
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: