# Versions

## Version 1

## Cambodia ID

<mark style="color:green;">`POST`</mark> `https://okayiddemo.innov8tif.com/okayid/api/innov-ocr/v1`

#### Request Body

| Name                                          | Type   | Description                                                                                       |
| --------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------- |
| apiKey<mark style="color:red;">\*</mark>      | string | To be assigned by Innov8tif                                                                       |
| imageBase64<mark style="color:red;">\*</mark> | string | Image in base64 encoded string                                                                    |
| imageFile                                     | object | <p>Image file.<br>(If both imageBase64 and imageFile are provided, imageBase64 will be used.)</p> |
| docType                                       | string | <p>Document type:<br>cambodia\_id<br>      </p>                                                   |

{% tabs %}
{% tab title="200 Cambodia's ID Response" %}

```
{
    "status": "success",
    "listFieldMaps": [
        {
            "fieldType": "pob",
            "fieldValue": "- ឃុំពេជសារ ស្រុកកោះអណ្តែត តាកែវ"
        },
        {
            "fieldType": "gender",
            "fieldValue": "empty"
        },
        {
            "fieldType": "address2",
            "fieldValue": "Sឃុំពេជសារ ស្រុកកោះអណ្តែត តាកែវ"
        },
        {
            "fieldType": "dob",
            "fieldValue": "empty"
        },
        {
            "fieldType": "address1",
            "fieldValue": "ភូមិព្រៃធំ"
        },
        {
            "fieldType": "name",
            "fieldValue": "empty"
        },
        {
            "fieldType": "remark",
            "fieldValue": "សំលាកតូចចំ 0,៥សម ក្រោយក្រោមចុងចិញ្ចើមឆ្វេង'"
        },
        {
            "fieldType": "validity",
            "fieldValue": "empty"
        },
        {
            "fieldType": "b'id",
            "fieldValue": "empty"
        },
        {
            "fieldType": "height",
            "fieldValue": "១៧៥ ស.ម"
        }
    ]
}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
For cambodia ID,  OCR for ID number, name, date of birth, gender, and validity are not available at this moment.
{% endhint %}

#### Postman Collection

{% file src="<https://1723857616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoP1M8bTYgFFHHnAdjjta%2Fuploads%2FBN8GSuELuKRa4nS2wX0Q%2FOkayID%20Lite.postman_collection.rar?alt=media&token=935a77be-7a75-4d61-ade3-517858b6a63c>" %}
