Perform Standalone OCR

Perform OCR on an ID document for non-sequential verification

post
Perform Standalone OCR

https://api.appruve.co/v1/ocr_jobs/{country}/{id_type}
This endpoint allows you to perform OCR on an ID document for non-sequential verification. This is non-sequential because it can be used a standalone endpoint without being tied to a specific verification flow. See the Country Codes and the ID Types sections to know what countries and ID types we currently support. The is_reenrollment key on the response object indicates if the user has previously used the same ID card to perform a verification.
Request
Response
Request
Path Parameters
country
required
string
The 2-digit country code. See the Country Codes section
id_type
required
string
The type of ID document. See the ID Types section.
Headers
Authentication
required
string
Authentication token.
Form Data Parameters
id_image
required
object
The ID photo. This can be a String URL of the photo or a File object.
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": false
}

​