Handle messages
Interpret WebSDK messages.
When providing the on
handler, you will receive messages from the WebSDK for the selected message type (all of them are prefixed with idCheck
).
Message type | Payload | Description |
---|---|---|
|
Empty | WebSDK resources have been loaded. |
|
Empty | The first screen is rendered. |
|
|
A screen that corresponds to |
|
In WebSDK:
In WebSDK and WebSDK 2.0:
|
Step |
|
|
Applicant with id |
|
Empty | Documents were submitted for verification. |
|
|
Applicant status has been changed. |
|
Empty | Documents re-submitted for verification. |
|
Empty | Applicant action was submitted. |
|
|
Applicant action |
|
|
The result of the standalone module has been presented to the user. Valid only for the "module" customization types. Happens either when the user has just completed the check or when user reopened the module for the previously completed check. Possible answers:
Not shown if the rejection is not final. |
|
|
WebSDK frame has been resized. |
|
Empty | Video call was started by the user. |
|
Empty | Video call was answered by operator. |
|
Empty | Video call was completed by operator. |
|
|
Uploaded document was rejected. |
|
|
Warnings about the uploaded document. |
|
|
The state of the navigation controls in the SDK. Pass |
Updated 3 months ago