Verify document photo (base64)
This endpoint allows the matching between the user selfie and the photo on the ID document simultaneously.
Document - Verify document photo (base64)
Headers
Name
Type
Description
Request Body
Name
Type
Description
//Selfie Commpare Process
{
"status": true,
"data": {
"message": "FACE_COMPARED_WITH_SUCCESS",
"verified": true,
"confidence": "0.99"
}
}
}
//Selfie Compare Process Failed
{
"status": false,
"data": {
"message": "FACE_COMPARISON_FAILED"
}
}
}//No photo files detected on request. Not sent or invalid format.
{
"status": false,
"data": {
"message": "NO_FILES_OR_INVALID_FORMATS"
}
}
//Missing photo files on request.
{
"status": false,
"data": {
"message": "EXPECTING_2_IMAGE_FILES_TO_COMPARE"
}
}
//Missing Headers.
{
"status": false,
"data": {
"message": "AUTHENTICATION_HEADERS_MISSING"
}
}
// Unexpected Fields
{
"status": false,
"data": {
"message": "UNEXPECTED_FIELD"
}
}
// Invalid photo1 String base64 (min-validation)
{
"status": false,
"data": {
"message": "INVALID_BASE64STRING_PHOTO1"
}
}
// Invalid photo2 String base64 (min-validation)
{
"status": false,
"data": {
"message": "INVALID_BASE64STRING_PHOTO2"
}
}Success 200
Last updated
Was this helpful?