π¦πͺUAE Resident ID OCR
This API provides Data Extraction for the UAE Resident IDUAE ID OCR
POST https://valifystage.com/api/v1/ocr/
Headers
Name
Type
Description
Content-Type
string
application/json
Authentication
string
Bearer <access-token>
Request
Name
Type
Description
document_type*
string
uae_resident_id
data*
object
Request details
{
img: <base64 str>,
bundle_key: <str>,
lang: <str>
}
Status Codes
{
"result": {
"type": "<string>",
"country": "<string>",
"number": "<string>",
"date_of_birth": "<string>",
"expiration_date": "<string>",
"nationality": "<string>",
"sex": "<string>",
"name": "<string>",
"surname": "<string>",
"optional1": "<string>",
"personal_number": "<string>",
"validity": <int>,
"serial_number": "<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"
}{
"message": "Internal Server Error"
}Last updated