Overview
The ID Verification, Face Match, and Liveness (session-based) APIs return awarnings field when the verification provider signals non-blocking issues or risk flags. warnings is an array of risk code strings (e.g. "POSSIBLE_DUPLICATED_USER", "LOW_FACE_MATCH_SIMILARITY"). Clients can use these codes for:
- Display: Map each code to a human-readable message (e.g. via your own i18n or the descriptions below).
- Logic: Branch on specific codes (e.g. show a different UX for
DOCUMENT_EXPIREDvsPOSSIBLE_DUPLICATED_USER).
If the provider returns a code not listed here, you may still receive it in
warnings. Treat unknown codes as generic warnings and display the code or a fallback message.ID Verification
Returned in POST /api/kyc/id-verification and GET /api/kyc/id-verification/verifications/:id in thewarnings array.
| Code | Description |
|---|---|
ID_DOCUMENT_IN_BLOCKLIST | The document has been identified as matching an entry in your document blocklist (e.g. previously marked as fraudulent, stolen, or otherwise problematic). |
BARCODE_NOT_DETECTED | The system could not find or read the barcode on the document; may be due to poor image quality or unsupported document type. |
BARCODE_VALIDATION_FAILED | The barcode could not be validated against other data on the document. |
QR_NOT_DETECTED | The system could not find or read the QR code on the document. |
QR_VALIDATION_FAILED | The QR code could not be validated against other data on the document. |
MRZ_NOT_DETECTED | The Machine Readable Zone (MRZ) could not be found or read. |
MINIMUM_AGE_NOT_MET | The user’s age is below the minimum required for the application. |
DATA_INCONSISTENT | OCR data and NFC chip data do not match; possible document tampering or data inconsistency. |
COULD_NOT_RECOGNIZE_DOCUMENT | The system could not confirm the authenticity or validity of the document. |
PORTRAIT_IMAGE_NOT_DETECTED | The portrait image on the document could not be identified or processed. |
DOCUMENT_NUMBER_NOT_DETECTED | The document number could not be located or read. |
DATE_OF_BIRTH_NOT_DETECTED | The date of birth on the document could not be identified or processed. |
EXPIRATION_DATE_NOT_DETECTED | The expiration date on the document could not be identified or processed. |
NAME_NOT_DETECTED | The first name and/or last name on the document could not be identified or processed. |
MRZ_AND_DATA_EXTRACTED_FROM_OCR_NOT_SAME | Differences between MRZ and OCR-extracted data; possible document alteration. |
MRZ_VALIDATION_FAILED | The MRZ does not meet the expected format or contains invalid data. |
INVALID_DATE | One or more dates on the document are not valid or do not match expected formats. |
DOCUMENT_EXPIRED | The document’s expiration date has passed. |
DOCUMENT_NOT_SUPPORTED_FOR_APPLICATION | The type of document provided is not accepted for the current verification process. |
DOCUMENT_SIDES_MISMATCH | The sides of the document do not match the expected format or contain invalid data. |
COULD_NOT_DETECT_DOCUMENT_TYPE | The system could not determine the type of document submitted. |
DOCUMENT_NAME_DIFFERENT_FROM_OTHER_APPROVED_DOCUMENTS | The name on this document does not match the name on other documents previously verified for this user. |
POSSIBLE_DUPLICATED_USER | The system identified a potential duplicate user with previously approved documents from another session. |
LOW_FRONT_CAMERA_FACE_MATCH_SIMILARITY | The face captured during document scanning does not sufficiently match the portrait on the document. |
FULL_NAME_MISMATCH_WITH_PROVIDED | The provided full name does not match the data extracted from the document. |
DOB_MISMATCH_WITH_PROVIDED | The provided date of birth does not match the date extracted from the document. |
GENDER_MISMATCH_WITH_PROVIDED | The provided gender does not match the gender extracted from the document. |
COUNTRY_MISMATCH_WITH_PROVIDED | The provided country does not match the country extracted from the document. |
NATIONALITY_MISMATCH_WITH_PROVIDED | The provided nationality does not match the nationality extracted from the document. |
IDENTIFICATION_NUMBER_MISMATCH_WITH_PROVIDED | The provided identification number does not match the document number, personal number, or tax number extracted from the document. |
SCREEN_CAPTURE_DETECTED | The submitted document appears to be a screen capture or photo of a document on a screen rather than a physical document. |
PRINTED_COPY_DETECTED | The submitted document appears to be a printed copy rather than an original official document. |
PORTRAIT_MANIPULATION_DETECTED | Potential manipulation of the portrait area of the document was detected. |
UNPARSED_ADDRESS | The address on the document could not be parsed or geolocated. |
DOCUMENT_NUMBER_FORMAT_MISMATCH | The document number does not match the expected format for this type of document. |
PERSONAL_NUMBER_FORMAT_MISMATCH | The personal number does not match the expected format for this type of document. |
ID_VERIFICATION_DATA_MISMATCH_BETWEEN_DOCUMENTS | Data extracted from multiple ID verification documents in this session do not match (e.g. name or date of birth). |
Face Match
Returned in POST /api/kyc/face-match and GET /api/kyc/face-match/verifications/:id in thewarnings array.
| Code | Description |
|---|---|
LOW_FACE_MATCH_SIMILARITY | The facial features of the provided image do not closely match the reference image; potential identity mismatch. |
NO_REFERENCE_IMAGE | A reference image or face image for facial comparison is missing; the face matching process could not be completed. |
Liveness (session-based KYC)
Returned in session-based KYC validation responses (e.g. current validation, list validations) when liveness checks are performed. Thewarnings array in the validation payload may contain these codes.
| Code | Description |
|---|---|
FACE_IN_BLOCKLIST | The face matches an entry in your face blocklist (e.g. previously blocklisted individual). |
POSSIBLE_FACE_IN_BLOCKLIST | The system identified a possible face in the blocklist; the face is not allowed to be verified. |
LOW_LIVENESS_SCORE | The liveness check resulted in a low score; possible non-live facial representation or poor-quality biometric data. |
NO_FACE_DETECTED | The system could not identify a face during the liveness check. |
LIVENESS_FACE_ATTACK | The system detected a potential attempt to bypass the liveness check. |
DUPLICATED_FACE | The system identified a duplicated face from another approved session. |
POSSIBLE_DUPLICATED_FACE | This face may match another user already approved in the system. |
MULTIPLE_FACES_DETECTED | Multiple faces were detected; the system uses the largest face for verification. (Passive Liveness only) |
LOW_FACE_QUALITY | The facial image quality is below the acceptable threshold. (Passive Liveness only) |
LOW_FACE_LUMINANCE | The facial image is too dark. (Passive Liveness only) |
HIGH_FACE_LUMINANCE | The facial image is too bright or overexposed. (Passive Liveness only) |
Example response (ID Verification)
Example response (Face Match)
ID Verification
Verify document front/back and extract data
Face Match
Compare document portrait and selfie