General Events
Open
The open event is triggered when an element has successfully launched. No additional data is passed at this time.
The event payload will have the following form:
The operation type returned by the element.
The name of the element that triggered the event. Possible values are: connect
, auth
, account_verify
, unknown
Error
The error event is sent for any element that encounters any error while it’s active.
The event payload will have the following form:
The operation type returned by the element.
The name of the element that triggered the event. Possible values are: connect
, auth
, account_verify
, unknown
The status code of the response.
A broad description of the error
The specific error type
A human-readable message providing more details about the error
Exit
The exit event is the last event in the element flow, at this point your app should no longer present the Method Element. Exit is triggered after an error, a user requested exit or a successful element event.
The event payload will have the following form:
The operation type returned by the element.
The name of the element that triggered the event. Possible values are: connect
, auth
, account_verify
, unknown