Web SDK 2.0 Events

These are the same callbacks used in Web SDK 1.0, but now they provide additional information in the payload.

Loaded Event

When the Connect application starts. (No payload)

Cancel Event

User clicks Exit to cancel out of Connect.

Cancel Event
 {
code: 100,
reason: "exit"
}

Error Events

Timeout: User is forced to exit Connect after session times out.

Error Events
 {
code: 1440,
reason: "timeout"
}

Unexpected error: User exits Connect after an unexpected error.

Unexpected error
 {
code: 500,
reason: "error"
}

Resize Event

Emitted every time the widget’s dimensions change.

Unexpected error
 {
“type”: “resize”,
“data”: {
“wideth”: 375,
“height”: 735
}
}

Success Event

User successfully goes through Connect and submits accounts.

Unexpected error
 {
code: 200,
reason: "complete"
}