General Events
Open
The open event is triggered when an element has successfully launched. No additional data is passed at this time.
methodelements://general
?op=open
&element_type=connect
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.
methodelements://general
?op=error
&element_type=unknown
&type=INVALID_REQUEST
&sub_type=EXPIRED_TOKEN
&message=The public element token is no longer valid. Element tokens are short lived and can only be used once. Request a new element token and try your request again.
&code=400
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 open event is triggered when an element has successfully launched. No additional data is passed at this time.
methodelements://general
?op=open
&element_type=connect
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