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:
op
string
The operation type returned by the element.
element_type
string
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:
op
string
The operation type returned by the element.
element_type
string
The name of the element that triggered the event. Possible values are: connect, auth, account_verify, unknown
code
integer
The status code of the response.
type
string
A broad description of the error
sub_type
string
The specific error type
message
string
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.
methodelements://general
  ?op=exit
  &element_type=connect
The event payload will have the following form:
op
string
The operation type returned by the element.
element_type
string
The name of the element that triggered the event. Possible values are: connect, auth, account_verify, unknown