πDriver License
This API provides Data Extraction for the Egyptian Driver License.Egyptian 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_driver_license
data*
object
Object containing the parameters below:
{ 
"front_img": <string> # Required
"bundle_key": <string>, # Required
"lang": <string> 
}
Status Codes
{
    "result": {
        "governate": <string>,
        "office": <string>,
        "name": {
            "arabic": <string>,
            "latin": <string>,
        },
        "address": <string>,
        "nationality": {
            "latin": <string>,
            "arabic": <string>
        },
        "exp_date": <string>,
        "lcs_ltrs": <string>,
        "nid": <string>,
        "lcs_type": <string>,
        "release_date": <string>,
        "profession": <string>,
        "lcs_notes": <string>,
        "proffesion": <string>
    },
    "transaction_id": <string>,
    "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
