✅With Verification
Last updated
Last updated
This API provides Data Extraction for the Egyptian National ID, along with document verification. The following information is included in this API's response:
Front Confidence: indicates if the front of the document is real or fake.
Back Confidence: indicates if the back of the document is real or fake.
Expired: indicates whether the NID is past its expiry date.
Front Data Validity: data on the front side is valid or not.
Back Data Validity: data on the back side is valid or not.
Make sure to add the "document_verification_plus" extra in the request body to "true" in order to leverage the verification capability.
POST
https://valifystage.com/api/v1.5/ocr/
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
The following are possible values that could come in the review required list along with their triggers
date_of_birth
triggered by an invalid date or incorrect format
street
when the field value is missing from the response
police_station
when the field value is missing from the response
governorate
when the field value is missing from the response
birth_governorate
triggered by an invalid field format
back_nid
triggered by an invalid field format
front_nid
triggered by an invalid field format
serial_number
triggered by an invalid field format
full_name
triggered when the field value is missing from the response
first_name
triggered when the field value is missing from the response
expiry_date
triggered by an invalid date or incorrect format
release_date
triggered by an invalid date or incorrect format
front_img
triggered when is_front_greyscale
is true
back_img
triggered when is_back_greyscale
is true
Content-Type*
string
application/json
Authentication*
string
Bearer <access-token>
document_type*
string
egy_nid
data*
object
Object containing the parameters below:
{
"extras: ["document_verification_plus"],
"front_image": <base64 str>,
"back_image": <base64 str>,
"bundle_key": <str>,
"lang": <str>
}