Responses
Response Events
Events are sent in responses that show the status of the request. These events are sent in callbacks for both onsite and offsite verifications.
Following is the list of callbacks we receive in the callback function.
On SDK Completion
3D Liveness
Keys | Values | Description |
---|
Event | verification.accepted | Verification accepted callback in case of 3D Liveness |
Event | verification.declined | Verification declined callback in case of 3D Liveness |
Photo ID Match
Keys | Values | Description |
---|
Event | photo_id.match_success | Verification accepted callback in case of Photo ID Match |
Event | photo_id.match_failure | Verification declined callback in case of Photo ID Match |
On SDK Error
Keys | Values | Description |
---|
Event | permission.denied | This event is returned if the user did not give camera permissions to sdk. |
Event | request.timeout | This will occur if request has timed-out (user did not perform the requested action.) |
Event | equest.cancelled | This callback is returned when verification is cancelled midway by the end user |
Event | error.occurred | This event occures when an error appears on API processing |
Event | internet.issue | This event occurs when there is no internet |
Event | emulator.detected | This event occurs only on android devices if the end user is running app on emulator |