C么te d'Ivoire 馃嚚馃嚠

Extract PII data and perform analyses on C么te d'Ivoire ID documents

How It Works

Appruve's OCR API allows you to extract the Personally identifiable information from a C么te d鈥橧voire ID document including the ID face photo. This API also performs an analyses on each document uploaded to determine if the document is legit or not. Document analyses include Template Matching, UV Hologram / Ghost image Tampering Detection, Barcode and MRZ checks.

The endpoint is constructed as follows.

https://api.appruve.co/v1/verifications/selfie_image/ocr/ci/{id_type}

id_type should be replaced with the specific ID type. Supported ID types include passport, national_id, residence_permit, and identity_certificate (Attestation D'Identit茅 )

The request is a multipart POST request as shown in the example below. The front_id_image and back_id_image parameters are required and their values could be a File Object or a web URL.

curl --location --request POST 'https://api.appruve.co/v1/verifications/selfie_image/ocr/ci/national_id' \
--header 'Authorization: Bearer TOKEN' \
--form '[email protected]"/path/ci_national_id_front.jpg"' \
--form '[email protected]"/path/ci_national_id_back.jpg"'

An example response is given below.

{
"id_details": {
"front_id": {
"first_name": "John",
"last_name": "Doe",
"id_number": "C123456789",
"date_of_birth": "1900-05-01",
"issue_date": "2018-05-04",
"expiry_date": "2028-05-03",
"gender": "M",
"place_of_birth": "",
"height": "1,72"
},
"back_id": {
"fathers_name": "John Doe Snr",
"mothers_name": "Margaret Doe",
"fathers_date_of_birth": "1900-11-11,
"mothers_date_of_birth": "1978-04-14",
"home_address": "Port Bouet",
"serial_number": "100 000000 000 000"
}
},
"front_id_submitted": "",
"back_id_submitted": "",
"front_id_face_photo": "",
"transaction_reference": "c17cb1bf-0ee4-4590-b421-00939ee7063f",
"document_analyses": [
{
"type": "TEMPLATE_MATCHING",
"is_check_successful": true,
"data": null
}
],
"id_confidence_score": 100.00
}

The returned transaction_reference value should be used for the Upload Selfie endpoint.