Skip to main content

AucoFace

For each document state, a request is generated with the following body, varying in the description of the status.


Notified States

NameDescription
APPROVEDThis status is notified when the process has been successfully validated.
BLOCKEDThis status is notified when the process could not be automatically validated and is in a blocked state.
VALIDATEDThis status is notified when a process is manually validated.
INVALIDATEDThis status is notified when a process is manually rejected.

🧪 Notification Examples

tip

You can copy any of the examples according to your preferred language.

Response Parameters

NameTypeDescription
codeStringDocument code.
typeStringType of notified process veriface.
finishBooleanReturns whether the process is in a finished state.
statusStringCurrent status of the process (e.g., APPROVED, BLOCKED, VALIDATED, INVALIDATED).
messageStringText content associated with the process status. If the status is BLOCKED, contains the error reason for blocking.
dataObjectObject with the OCR extracted from the document submitted by the participant.

Process Completion

{
"code": "XXXXXCODE",
"type": "veriface",
"status": "APPROVED",
"finish": true,
"data": {
"name": "JUAN PEREZ GONZALEZ",
"documentName": "DNI 12345678"
},
"similarity": 0.92
}

Process Block

{
"code": "XXXXXCODE",
"type": "veriface",
"finish": true,
"status": "BLOCKED",
"message": "ERROR_IDENTIFICATION_NOT_DOCUMENT",
"data": {
"name": null,
"documentName": ""
}
}

Manually Validated Process

{
"code": "XXXXXCODE",
"type": "veriface",
"finish": true,
"status": "VALIDATED",
"data": {
"name": "JUAN PEREZ GONZALEZ",
"documentName": "DNI 12345678"
}
}

Manually Rejected Process

{
"code": "XXXXXCODE",
"type": "veriface",
"finish": true,
"status": "INVALIDATED",
"data": {
"name": null,
"documentName": ""
}
}