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.
Load Event
When the Connect application starts. (No payload)
Cancel Event
The customer clicks Exit to cancel out of the Connect session.
{
"code": 100,
"reason": "exit"
}
Error Events
Timeout: The customer is forced to exit Connect after the session times out.
{
"code": 1440,
"reason": "timeout"
}
Unexpected error: The customer exits Connect after an unexpected error.
{
"code": 500,
"reason": "error"
}
Success Event
The customer successfully completes the Connect app and submits their accounts.
{
"reason": "complete",
"code": 200,
"reportData": [
{
"portfolioId": "puukbn68n9kf-6-port",
"type": "voi",
"reportId": "ubjqshpkcsru-voi"
},
{
"portfolioId": "puukbn68n9kf-6-port",
"type": "transactions",
"reportId": "9d0kr7s5h4th-transactions"
}
]
}