πNew Driver License
This API provides Data Extraction for the New Egyptian Driver License.Egyptian New Driver License OCR  
POST https://valifystage.com/api/v1/ocr/
Headers
Name
Type
Description
Content-Type*
string
application/json
Authorization*
string
Bearer <access-token>
Request 
Name
Type
Description
document_type*
string
egy_new_driver_license
data*
object
Object containing the parameters below:
{ 
"img": <string> # Required
"bundle_key": <string>, # Required
"lang": <string> 
}
Status Codes
{
    "result": {
        "governate": <string>,
        "office": <string>,
        "nid": <string>,
        "name": {
            "arabic": <string>,
            "latin": <string>,
        },
        "nationality": {
            "arabic": <string>,
            "latin": <string>,
        },
        "release_date": <string>,
        "exp_date": <string>,
        "profession": {
            "arabic": <string>,
            "latin": <string>,
        },
        "category_ltrs": <string>,
        "address": <string>,
        "birth_date": <string>,
        "lcs_notes": <string>,
        "restrictions": <string>
    },
    "transaction_id": <stirng>,
    "trials_remaining": <int>
}
{
    "message": "Bad Request β invalid request received (e.g. missing Bundle key, required parameters or invalid json) | Make sure all the required parameters are included"
}{
    "message": "Unauthorized β your Bundle key is invalid"
}{
    "message": "Forbidden β specified access_token could not be found"
}{
    "message": "Not Found"
}{
    "message": "Unsupported Media Type"
}{
    "message": "<error-description>",
    "error_code": <valify-error-code>
}{
    "message": "Internal Server Error"
}Last updated
