Perform OCR For Sequential Verification

Perform OCR on an ID document for sequential verification

post
Perform OCR

https://api.appruve.co/v1/verifications/selfie_image/ocr/{country}/{id_type}
This endpoint allows you to perform OCR on an ID Document for sequential Verification. Sequential verification is when you perform the OCR as a precursor to uploading a selfie for face matching. The combined process of performing the OCR and uploading a selfie will result in a final verification score which is the Confidence Score . The Confidence Score is a number between 0 and 100. The higher the score the greater confidence that the Identity of the user is verified.The is_reenrollment key on the response object indicates if the user has previously used the same ID card to perform a verification. See the Country Codes and the ID Types sections to know what countries and ID types we currently support.
Request
Response
Request
Path Parameters
id_type
required
string
The type of ID document. See the ID Types section.
country
required
string
The 2 digit country code. See the Country Codes section.
Headers
Authentication
required
string
Authentication token.
Form Data Parameters
transaction_reference
optional
string
Pass a previously obtained transaction reference ID to re-verify the same Identity.
id_image
required
object
The ID photo. This can be a String URL of the photo or a File object.
custom_params
optional
object
A custom JSON object that can be used to store custom data for this verification . This data will be returned alongside the verification result data.
Response
200: OK
Success.
{
"id_details": {
"first_name": "John",
"last_name": "Doe",
"date_of_birth": "1996-02-21",
"sex": "M"
},
"transaction_reference": "0e2e59cf-2c96-4cc9-b0c2-c8922429b379",
"face_sharpness": 88.5,
"face_brightness": 99.0,
"is_reenrollment": true
}

​