ID Check URL
The ID Check URL is:https://app.{env}.verisoul.ai/
where {env}
is:
prod
for productionsandbox
for sandbox
The session token obtained from the Verisoul API
The URL encoded string to redirect to after the verification is complete (default: https://verisoul.ai)
Optional language parameter to customize the instructions (default: en)
See Localization for more details
On Completion
Once the ID Check session is complete, the user will be sent to theredirect_url
configured in the query parameters. By default, ID Check redirects to https://verisoul.ai
.
The completed redirect URL will contain the following parameters:
The session ID used for the verification
Whether the verification was successful
Present only if success is
false
, contains the reason for failureNavigation Options
For web applications, you can redirect the user to the FaceMatch URL:
If your user is on desktop, Face Match will automatically recognize this and display a QR code so that the user can complete the verification on their mobile device.
Error Handling
Error messages can include:- invalid_session_id: The session token provided is expired or invalid
- session_id_not_found: No session token was provided
- failed_to_get_camera_permission: The user did not agree to give the browser camera permissions
- failed_to_complete_face_scan: The user was not able to complete the face scan process
- failed_to_process_id_scan: This user was not able to complete the identity document capture process
- failed_to_collect_device_data: The user’s device/network was not able to send device data
- liveness_check_failed: The user did not pass liveness verification
It is recommended to parse the error_message and prompt the user to restart the ID Check process. To let a user retry, you will need to fetch a new session token.