Perform OCR

Perform an OCR on an ID document

post
Perform OCR

https://api.appruve.co/v1/verifications/selfie_image/ocr/{country}/{id_type}
This endpoint allows you to perform an OCR on an ID Document. 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 document 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
}

‚Äč