Pooling
This endpoint allows fetching the results from a previous document validation process, that was initiated with the pooling option.
Document - Pooling
Headers
Name
Type
Description
Request Body
Name
Type
Description
// Response when process still validating
{
"status": true,
"data": {
"message": "PROCESSING",
"process": "process identifier" // Polygon OCR processId
}
}
//Validate Document Process - providerB
{
"status": true,
"data": {
"message": "DOCUMENT_VALIDATED_WITH_SUCCESS",
"result": "GOOD",
"fields": {
"surnames": "REIS",
"names": "JOAO MIGUEL",
"origin": "PRT",
"gender": "M",
"height": "1,89",
"birth_date": "1900-01-01",
"expiry_date": "2022-01-01",
"id_number": "123456789",
"doc_number": "123456789 5ZZZ0",
"parents": "JOSE REIS * MARIA REIS",
"tax_number": "123456789",
"social_security_number": "123456789",
"health_number": "386926259",
"mrz": {
"line0": "I<PRT123456<ZZY0<<<<<<<<K",
"line1": "24123123 <<< ",
"line2": "JOAO<<<<<<REIS>>>>"
}
},
"validations": {
"front_resolution": "GOOD [4032x3024]",
"front_blurring": "GOOD [199.44849196759998]",
"front_luminance": "GOOD [77]",
"back_resolution": "GOOD [4032x3024]",
"back_blurring": "GOOD [224.78067465369602]",
"back_luminance": "GOOD [80]",
"integrity_tax_number": "GOOD",
"integrity_id_number": "GOOD",
"integrity_doc_number": "GOOD",
"integrity_birth_date": "GOOD",
"integrity_expiry_date": "GOOD",
"match_birth_date": "GOOD",
"match_name": "FAIL",
"match_surname": "GOOD",
"match_gender": "GOOD",
"match_nationality": "GOOD",
"match_expiry_date": "GOOD",
"expiration_date": "GOOD",
"fake_front_value": "GOOD",
"fake_back_value": "GOOD",
"fake_front_ratio": 0.99,
"fake_back_ratio": 0.99,
"value": "GOOD"
},
"images": {
"front": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAA",
"back": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIB",
"photo": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAI"
},
"process": "5ed91c890482a7306bbc2511"
}
}Last updated
Was this helpful?