Download OpenAPI specification:Download
{- "build": {
- "artifact": "digital-identity-service",
- "name": "digital-identity-service",
- "group": "com.innovatrics.dot",
- "version": "1.0.0"
}, - "iface": {
- "version": "4.18.0",
- "license": {
- "year": "2024",
- "month": "3",
- "day": "4"
}
}, - "sam": {
- "version": "1.28.1"
}
}
id required | string |
object (Image) Image provided as Base64 encoded string or via URL. Data or URL have to be provided. | |
object (LivenessSelfieOrigin) This allows to link the image from liveness to be selfie photo. Do not upload the photo in Image class in this case. |
{- "selfieOrigin": {
- "link": "/api/v1/customers/65ebc529-50da-43cb-9963-e15fbf524f8e/liveness/records/df0d69e3-9d59-4a8b-82de-510b3950dc39/selfie"
}
}
{- "detection": {
- "confidence": 0.34,
- "faceRectangle": {
- "topLeft": {
- "x": 10,
- "y": 20
}, - "topRight": {
- "x": 10,
- "y": 20
}, - "bottomRight": {
- "x": 10,
- "y": 20
}, - "bottomLeft": {
- "x": 10,
- "y": 20
}
}
}, - "links": {
- "self": "string"
}, - "errorCode": "NO_FACE_DETECTED",
- "warnings": [
- "MULTIPLE_FACES_DETECTED"
], - "additionalData": {
- "video": {
- "data": "string"
}
}
}
id required | string |
type required | string Enum: "EYE_GAZE_LIVENESS" "PASSIVE_LIVENESS" "SMILE_LIVENESS" "MAGNIFEYE_LIVENESS" Liveness type for the challenge. |
{- "type": "EYE_GAZE_LIVENESS"
}
{- "details": {
- "corners": [
- "TOP_LEFT"
]
}
}
id required | string |
object (DocumentAdvice) Advice to the OCR document classification process about expected document type in the uploaded image. | |
sources | Array of strings Items Enum: "VIZ" "MRZ" "BARCODE" "DOCUMENT_PORTRAIT" "GLOBAL_OCR" The document sources. The chosen document sources indicate which part of the document should be processed. For instance, if only MRZ is requested, the document is classified only by MRZ, and only MRZ is recognized and processed. |
{- "advice": {
- "classification": {
- "countries": [
- "svk",
- "cze"
], - "types": [
- "identity-card",
- "passport"
], - "editions": [
- "2008-2019"
], - "machineReadableTravelDocuments": [
- "td1",
- "td2",
- "td3"
]
}
}, - "sources": [
- "VIZ"
]
}
{- "links": {
- "self": "string"
}
}
id required | string |
required | object (Image) Image provided as Base64 encoded string or via URL. Data or URL have to be provided. |
object (DocumentPageAdvice) The document page processing advice. |
{- "advice": {
- "classification": {
- "pageTypes": [
- "front",
- "back"
]
}
}
}
{- "documentType": {
- "country": "svk",
- "edition": "2008-2019",
- "type": "identity-card",
- "machineReadableTravelDocument": "TD1",
- "supportLevel": "FULL_SUPPORT"
}, - "pageType": "front",
- "detection": {
- "confidence": 0.8,
- "coordinates": {
- "topLeftCorner": {
- "x": 10,
- "y": 20
}, - "topRightCorner": {
- "x": 10,
- "y": 20
}, - "bottomLeftCorner": {
- "x": 10,
- "y": 20
}, - "bottomRightCorner": {
- "x": 10,
- "y": 20
}
}, - "cornerOutOfImage": true
}, - "errorCode": "NO_CARD_CORNERS_DETECTED",
- "warnings": [
- "DOCUMENT_TYPE_MISMATCH_BETWEEN_PAGES"
], - "links": {
- "self": "string"
}, - "additionalData": {
- "video": {
- "data": "string"
}
}
}
{- "customer": {
- "age": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "selfie": "string",
- "documentPortrait": "string"
}, - "gender": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "selfie": "string",
- "documentPortrait": "string"
}, - "givenNames": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "barcode": "string"
}, - "surname": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "barcode": "string"
}, - "fullName": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "barcode": "string"
}, - "dateOfBirth": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "barcode": "string"
}, - "personalNumber": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "barcode": "string"
}, - "citizenship": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "barcode": "string"
}, - "nationality": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "barcode": "string"
}, - "document": {
- "type": {
- "country": "svk",
- "edition": "2008-2019",
- "type": "identity-card",
- "machineReadableTravelDocument": "TD1",
- "supportLevel": "FULL_SUPPORT"
}, - "pageTypes": [
- "string"
], - "dateOfIssue": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "barcode": "string"
}, - "dateOfExpiry": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "barcode": "string"
}, - "documentNumber": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "barcode": "string"
}, - "issuingAuthority": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "mrz": "string",
- "chip": "string",
- "barcode": "string"
}, - "additionalTexts": {
- "property1": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "chip": "string",
- "barcode": "string"
}, - "property2": {
- "visualZone": "string",
- "visualZoneDuplicates": [
- "string"
], - "chip": "string",
- "barcode": "string"
}
}, - "mrz": {
- "td1": {
- "documentCode": "P",
- "issuingAuthority": "SVK",
- "surname": "DOE",
- "givenNames": "JOHN",
- "documentNumber": "123456789",
- "nationality": "SVK",
- "dateOfBirth": "841102",
- "gender": "M",
- "dateOfExpiry": "261019",
- "optionalDataFirstLine": "2222",
- "optionalDataSecondLine": "2222",
- "checkDigitsValidity": {
- "documentNumberCheckDigitValid": true,
- "dateOfBirthCheckDigitValid": true,
- "dateOfExpiryCheckDigitValid": true,
- "compositeCheckDigitValid": true
}
}, - "td2": {
- "documentCode": "P",
- "issuingAuthority": "SVK",
- "surname": "DOE",
- "givenNames": "JOHN",
- "documentNumber": "123456789",
- "nationality": "SVK",
- "dateOfBirth": "841102",
- "gender": "M",
- "dateOfExpiry": "261019",
- "optionalDataSecondLine": "2222",
- "checkDigitsValidity": {
- "documentNumberCheckDigitValid": true,
- "dateOfBirthCheckDigitValid": true,
- "dateOfExpiryCheckDigitValid": true,
- "compositeCheckDigitValid": true
}
}, - "td3": {
- "documentCode": "P",
- "issuingAuthority": "SVK",
- "surname": "DOE",
- "givenNames": "JOHN",
- "documentNumber": "123456789",
- "nationality": "SVK",
- "dateOfBirth": "841102",
- "gender": "M",
- "dateOfExpiry": "261019",
- "personalNumberOrOptionalDataSecondLine": "2222",
- "checkDigitsValidity": {
- "documentNumberCheckDigitValid": true,
- "dateOfBirthCheckDigitValid": true,
- "dateOfExpiryCheckDigitValid": true,
- "personalNumberCheckDigitValid": true,
- "compositeCheckDigitValid": true
}
}
}, - "barcodes": {
- "property1": {
- "property1": {
- "data": "string",
- "type": "code_39"
}, - "property2": {
- "data": "string",
- "type": "code_39"
}
}, - "property2": {
- "property1": {
- "data": "string",
- "type": "code_39"
}, - "property2": {
- "data": "string",
- "type": "code_39"
}
}
}, - "links": {
- "portrait": "string",
- "chipPortrait": "string",
- "ghostPortrait": "string",
- "signature": "string",
- "fingerprint": "string",
- "pages": {
- "property1": "string",
- "property2": "string"
}
}
}
}
}
id required | string |
object (Image) Image provided as Base64 encoded string or via URL. Data or URL have to be provided. | |
object (SelfieOrigin) This allows to link the image already used for customer selfie to be reused as one of the liveness photos, ideal for using the selfie photo for passive liveness. Do not upload the photo in Image class in this case. | |
assertion required | string Enum: "EYE_GAZE_TOP_LEFT" "EYE_GAZE_TOP_RIGHT" "EYE_GAZE_BOTTOM_LEFT" "EYE_GAZE_BOTTOM_RIGHT" "SMILE" "NEUTRAL" "NONE" Definition of the active liveness challenge that the customer's face has to display in the provided selfie photo. E.g. if it is expected that the face is looking to top left corner of the screen, assertion EYE_GAZE_TOP_LEFT has to be used. |
{- "selfieOrigin": {
- "link": "/api/v1/customers/65ebc529-50da-43cb-9963-e15fbf524f8e/selfie"
}, - "assertion": "EYE_GAZE_TOP_LEFT"
}
{- "errorCode": "NO_FACE_DETECTED",
- "warnings": [
- "MULTIPLE_FACES_DETECTED"
]
}
id required | string |
type required | string Enum: "EYE_GAZE_LIVENESS" "PASSIVE_LIVENESS" "SMILE_LIVENESS" "MAGNIFEYE_LIVENESS" Describes which type of liveness selfies and record liveness selfies should be returned |
{- "type": "EYE_GAZE_LIVENESS"
}
{- "selfies": [
- {
- "assertion": "EYE_GAZE_TOP_LEFT",
- "data": "string"
}
], - "recordSelfies": [
- {
- "assertion": "EYE_GAZE_TOP_LEFT",
- "data": "string"
}
]
}
id required | string |
{- "selfie": {
- "detection": {
- "confidence": 0.34,
- "faceRectangle": {
- "topLeft": {
- "x": 10,
- "y": 20
}, - "topRight": {
- "x": 10,
- "y": 20
}, - "bottomRight": {
- "x": 10,
- "y": 20
}, - "bottomLeft": {
- "x": 10,
- "y": 20
}
}
}
}, - "links": {
- "selfie": "string"
}, - "errorCode": "INVALID_DATA",
- "additionalData": {
- "video": {
- "data": "string"
}
}
}
id required | string |
type required | string Enum: "EYE_GAZE_LIVENESS" "PASSIVE_LIVENESS" "SMILE_LIVENESS" "MAGNIFEYE_LIVENESS" |
{- "type": "EYE_GAZE_LIVENESS"
}
{- "score": 0.8,
- "errorCode": "INVALID_DATA"
}
{- "selfieInspection": {
- "similarityWith": {
- "documentPortrait": true,
- "chipPortrait": true,
- "livenessSelfies": true
}, - "genderEstimate": "F",
- "genderConsistency": {
- "documentPortrait": true,
- "viz": true,
- "mrz": true
}, - "ageEstimate": 32,
- "ageDifferenceWith": {
- "documentPortrait": 0,
- "dateOfBirth": 0
}, - "hasMask": false
}, - "security": {
- "videoInjection": {
- "evaluated": true,
- "detected": true
}
}, - "links": {
- "documentInspection": "string"
}
}
{- "expired": false,
- "mrzInspection": {
- "valid": true
}, - "portraitInspection": {
- "genderEstimate": "M",
- "genderConsistency": {
- "viz": true,
- "mrz": true
}, - "ageEstimate": 42,
- "ageDifferenceWith": {
- "dateOfBirth": 7
}
}, - "visualZoneInspection": {
- "ocrConfidence": {
- "confidence": 0.98,
- "lowOcrConfidenceTexts": [
- "string"
]
}, - "textConsistency": {
- "consistent": true,
- "consistencyWith": {
- "mrz": {
- "inconsistentTexts": [
- "string"
]
}, - "barcodes": {
- "inconsistentTexts": [
- "string"
]
}
}
}
}, - "pageTampering": {
- "property1": {
- "colorProfileChangeDetected": false,
- "looksLikeScreenshot": false,
- "tamperedTexts": false,
- "looksLikePrintCopy": false
}, - "property2": {
- "colorProfileChangeDetected": false,
- "looksLikeScreenshot": false,
- "tamperedTexts": false,
- "looksLikePrintCopy": false
}
}, - "chipInspection": {
- "dataAuthentication": "string",
- "chipAuthentication": "string",
- "chipAuthenticationType": "string",
- "accessControlProtocolType": "string"
}
}
{- "pageTampering": {
- "property1": {
- "colorProfileChangeDetected": {
- "score": 0.2345
}, - "looksLikeScreenshot": {
- "score": 0.1455
}, - "documentPortraitGenuine": {
- "score": 0.2165
}, - "tamperedTexts": {
- "property1": {
- "score": 0.2165
}, - "property2": {
- "score": 0.2165
}
}, - "presentationAttackDetectionGenuine": {
- "score": 0.2165
}, - "presentationAttackScreenClass": {
- "score": 0.1455
}, - "presentationAttackPrintClass": {
- "score": 0.1455
}
}, - "property2": {
- "colorProfileChangeDetected": {
- "score": 0.2345
}, - "looksLikeScreenshot": {
- "score": 0.1455
}, - "documentPortraitGenuine": {
- "score": 0.2165
}, - "tamperedTexts": {
- "property1": {
- "score": 0.2165
}, - "property2": {
- "score": 0.2165
}
}, - "presentationAttackDetectionGenuine": {
- "score": 0.2165
}, - "presentationAttackScreenClass": {
- "score": 0.1455
}, - "presentationAttackPrintClass": {
- "score": 0.1455
}
}
}
}
id required | string |
page-type required | string |
{- "fine": false,
- "issues": "BRIGHTNESS_HIGH",
- "warnings": "DOCUMENT_CLOSE_TO_IMAGE_BORDER",
- "details": {
- "sharpness": {
- "score": 0.45,
- "level": "LOW"
}, - "brightness": {
- "score": 0.45,
- "level": "LOW"
}, - "hotspots": {
- "score": 0.45,
- "level": "LOW"
}
}
}
required | object (Base64ImageDto) Image provided as Base64 encoded string. |
{- "image": {
- "data": "string"
}
}
{- "id": "string",
- "detection": {
- "confidence": 0.34,
- "palmRectangle": {
- "topLeft": {
- "x": 10,
- "y": 20
}, - "topRight": {
- "x": 10,
- "y": 20
}, - "bottomRight": {
- "x": 10,
- "y": 20
}, - "bottomLeft": {
- "x": 10,
- "y": 20
}
}
}, - "links": {
- "self": "string"
}, - "errorCode": "NO_PALM_DETECTED"
}
probe_palm_id required | string |
referencePalm | string The reference palm |
referencePalmTemplate | string <byte> |
{- "referencePalm": "/api/v1/palms/ff0d8fb4-be47-4858-b03c-6f21b479c302",
- "referencePalmTemplate": "string"
}
{- "score": 0.83,
- "errorCode": "PALM_TEMPLATE_VERSION_MISMATCH"
}
object (Image) Image provided as Base64 encoded string or via URL. Data or URL have to be provided. | |
object (FaceDetectionProperties) The face detection properties | |
object (CustomerSelfieOrigin) This allows to link the image from customer selfie or face from the document portrait. Do not upload the photo in Image class in this case and do not set detection properties. |
{- "detection": {
- "mode": "FREE",
- "faceSizeRatio": {
- "min": 0.05,
- "max": 0.5
}
}, - "faceOrigin": {
- "link": "/api/v1/customers/65ebc529-50da-43cb-9963-e15fbf524f8e/selfie"
}
}
{- "id": "string",
- "detection": {
- "confidence": 0.34,
- "faceRectangle": {
- "topLeft": {
- "x": 10,
- "y": 20
}, - "topRight": {
- "x": 10,
- "y": 20
}, - "bottomRight": {
- "x": 10,
- "y": 20
}, - "bottomLeft": {
- "x": 10,
- "y": 20
}
}
}, - "links": {
- "self": "string"
}, - "errorCode": "MULTIPLE_FACES_DETECTED",
- "warnings": [
- "MULTIPLE_FACES_DETECTED"
]
}
probe_face_id required | string |
referenceFace | string The reference face |
referenceFaceTemplate | string <byte> |
{- "referenceFace": "/api/v1/faces/ff0d8fb4-be47-4858-b03c-6f21b479c302",
- "referenceFaceTemplate": "string"
}
{- "score": 0.83
}
{- "sharpness": {
- "score": 0.24,
- "preconditionsMet": true
}, - "brightness": {
- "score": 0.24,
- "preconditionsMet": true
}, - "contrast": {
- "score": 0.24,
- "preconditionsMet": true
}, - "uniqueIntensityLevels": {
- "score": 0.24,
- "preconditionsMet": true
}, - "shadow": {
- "score": 0.24,
- "preconditionsMet": true
}, - "noseShadow": {
- "score": 0.24,
- "preconditionsMet": true
}, - "specularity": {
- "score": 0.24,
- "preconditionsMet": true
}, - "backgroundUniformity": {
- "score": 0.24,
- "preconditionsMet": true
}, - "redRightEye": {
- "score": 0.24,
- "preconditionsMet": true
}, - "redLeftEye": {
- "score": 0.24,
- "preconditionsMet": true
}, - "roll": {
- "angle": 25,
- "preconditionsMet": true
}, - "yaw": {
- "angle": 25,
- "preconditionsMet": true
}, - "pitch": {
- "angle": 25,
- "preconditionsMet": true
}, - "eyeDistance": {
- "score": 0.24,
- "preconditionsMet": true
}, - "eyeGaze": {
- "score": 0.24,
- "preconditionsMet": true
}, - "rightEye": {
- "score": 0.24,
- "preconditionsMet": true
}, - "leftEye": {
- "score": 0.24,
- "preconditionsMet": true
}, - "mouth": {
- "score": 0.24,
- "preconditionsMet": true
}, - "faceSize": {
- "score": 0.24,
- "preconditionsMet": true
}, - "faceRelativeArea": {
- "score": 0.24,
- "preconditionsMet": true
}, - "faceRelativeAreaInImage": {
- "score": 0.24,
- "preconditionsMet": true
}
}
{- "fullyCaptured": true,
- "coordinates": {
- "topLeft": {
- "x": 10,
- "y": 20
}, - "topRight": {
- "x": 10,
- "y": 20
}, - "bottomRight": {
- "x": 10,
- "y": 20
}, - "bottomLeft": {
- "x": 10,
- "y": 20
}
}
}
id required | string |
externalId | string^[a-zA-Z\d._-]{1,64}$ External identifier of the customer (for pairing between Trust Platform and external database), limited to alphanumeric, '.', '-' and '_' characters and maximum length of 64. If not supplied, the UUID of the customer present in the request URL is used instead. |
onboardingStatus required | string Enum: "IN_PROGRESS" "FINISHED" Onboarding status of the customer to be stored in the Trust Platform. Use the FINISHED status only if you have collected all required data of the customer. |
{- "externalId": "55bd71d3-12cc-4c15-accd-b6dc8702bf3b",
- "onboardingStatus": "IN_PROGRESS"
}
{- "errorCode": "NOT_FOUND",
- "errorMessage": "string"
}
{- "documents": [
- {
- "documentType": {
- "country": "svk",
- "edition": "2008-2019",
- "type": "identity-card",
- "machineReadableTravelDocument": "TD1",
- "supportLevel": "FULL_SUPPORT"
}, - "pages": {
- "property1": {
- "classificationAdviceRequired": true,
- "portrait": {
- "present": true
}, - "visualZone": {
- "property1": {
- "label": "Surname",
- "valueNormalized": true
}, - "property2": {
- "label": "Surname",
- "valueNormalized": true
}
}
}, - "property2": {
- "classificationAdviceRequired": true,
- "portrait": {
- "present": true
}, - "visualZone": {
- "property1": {
- "label": "Surname",
- "valueNormalized": true
}, - "property2": {
- "label": "Surname",
- "valueNormalized": true
}
}
}
}
}
]
}