window.syntage.onboarding
. To start the onboarding process, use the init()
method. Specify which data you want to request from users.
Example of initialization with sat
only:
buroDeCredito
only:
syntage.onboarding
provides a subscribe
method to receive notifications of events from the Entity Onboarding.
To subscribe to the success event, use the following code:
step
parameter will return sat
or buroDeCredito
.
To subscribe to error events, use the following code:
code
and a message. Example of an error:
credentialDisabled
credentialInvalid
error
unknownError
init()
, you can listen for the entityOnboardingLoaded
event to ensure proper initialization: