id
(the Client ID). It is required for the next step.data
returned by the SDK, via the onComplete
callback, you can now instruct your backend server to run the appropriate checks using the create a check endpoint. For instance, use:token
language
en
de
es
fr
it
nl
no
pl
en
containerId
complycube-mount
stages
intro
, userConsentCapture
faceCapture
, documentCapture
, poaCapture
, and completion
. ['intro', 'faceCapture, 'documentCapture', 'completion']
onComplete
data
may include the following attributes:documentCapture
documentId
: the uploaded identity document unique reference generated by ComplyCube.documentType:
the type of document uploaded.faceCapture
liveVideoId
: the captured video unique reference number generated by ComplyCube, OR;livePhotoId
: the captured photo unique reference number generated by ComplyCube.poaCapture
documentId
: the uploaded ID document unique reference generated by ComplyCube.documentType:
the type of document uploaded.onModalClose
isModalOpen
attribute using the updateSettings
method, as shown below.onError
type
: this can be either:exception
token_expired
: indicates the SDK token provided has expired. When this occurs, a new SDK toke must be provided, as shown below.message
: a descriptive message of the error that has occurred.onExit
USER_CONSENT_NOT_GRANTED