Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token authentication using JWT token |
| Content-Type | Yes | multipart/form-data |
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | image | Yes | Image file of the Emirates ID card to be processed |
| use_pdf | No | When input type is pdf file |
| Parameter | Type | Description |
|---|---|---|
| data | Object | Container for the extracted information |
| data.client_id | String | Unique identifier for the OCR request |
| data.emirates_id | String | Extracted Emirates ID number from the image |
| data.dob | String | Date of birth of the Emirates ID holder in "YYYY-MM-DD" format |
| data.nationality | String | Country code of the Emirates ID holder's nationality |
| status_code | Integer | HTTP status code indicating the result of the request |
| success | Boolean | Indicates whether the request was successful |
| message | String | Human-readable description of the response status |
| message_code | String | Machine-readable code representing the response status |
{
"data": {
"client_id": "ocr_uae_emirates_dxdmFsisdbgcHXHgCHVs",
"emirates_id": "78410000",
"dob": "1999-00-00",
"nationality": "IN"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 401,
"success": false,
"message": "Authentication failed. Invalid token provided.",
"message_code": "authentication_failed"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ocr/uae-emirates' \
--header 'Authorization: Bearer <token>' \
--form 'file=@""'{
"data": {
"client_id": "ocr_uae_emirates_dxdmFsisdbgcHXHgCHVs",
"emirates_id": "78410000",
"dob": "1999-00-00",
"nationality": "IN"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}