Verify ID

Use the following endpoints to verify an already registered user by submitting different side of identification images and performing liveness detection.

Workflow for Verify Endpoints

  1. General Setup:

    • The user sends a POST request to one of the verification endpoints (/id/front, /id/back, /liveness/multi) with a specific set of headers and a request body.

    • The headers include an API key and an Authorization token (Bearer).

    • Each request can either start a new verification transaction or continue an existing one by providing a transaction_id.

  2. Verification Process:

    • For National ID verification, the user sends a base64-encoded image of the ID (front or back).

    • For liveness detection, the user sends three base64-encoded face images captured in quick succession.

    • The server processes these inputs and returns a response indicating whether the verification process was successful.

  3. Response Handling:

    • A successful response includes details such as whether the verification was completed, the identity verification status, and user details.

    • Errors such as bad requests or unauthorized access will return appropriate error codes and messages.

post
Body
imagestringRequired
name_check_valuestring | nullableOptional
transaction_idstring | nullableOptional
client_transaction_idstring | nullableOptional
request_idstring | nullableOptional
countrystring | nullableOptional
getExtractedDatabooleanOptional
Responses
200

Success

post
/api/DigitalIdentity/verify/id/front
200

Success

post
Body
imagestringRequired
name_check_valuestring | nullableOptional
transaction_idstring | nullableOptional
client_transaction_idstring | nullableOptional
request_idstring | nullableOptional
countrystring | nullableOptional
getExtractedDatabooleanOptional
Responses
200

Success

post
/api/DigitalIdentity/verify/id/back
200

Success

post
Body
imagestringRequired
face_1stringRequired
face_2stringRequired
face_3stringRequired
id_front_imagestring | nullableOptional
name_check_valuestring | nullableOptional
transaction_idstring | nullableOptional
client_transaction_idstring | nullableOptional
request_idstring | nullableOptional
countrystring | nullableOptional
getExtractedDatabooleanOptional
Responses
200

Success

post
/api/DigitalIdentity/verify/liveness/multi
200

Success

Helpful Tips for Using Liveness Detection 🌟

Last updated