# Versions

## Versions 2

<mark style="color:green;">`POST`</mark> `https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v1/doc-verify/kh-id-back`

#### Request Body

| Name                                                 | Type   | Description                  |
| ---------------------------------------------------- | ------ | ---------------------------- |
| caseNo                                               | string | Reference code given by user |
| apiKey<mark style="color:red;">\*</mark>             | string | To be assigned by innov8tif  |
| idImageBase64Image<mark style="color:red;">\*</mark> | string | Back id card image in base64 |

{% tabs %}
{% tab title="200 " %}

```
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "935cee99-e2fe-43a3-b02c-d98a8661bcdc",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-kh-id-back-logo1",
                    "label": "Logo 1",
                    "value": "94.56533193588257",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-logo1",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-logo2",
                    "label": "Logo 2",
                    "value": "94.21520233154297",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-logo2",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-logo3",
                    "label": "Logo 3",
                    "value": "92.07828640937805",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-logo3",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-kingdom",
                    "label": "Kingdom of Cambodia",
                    "value": "90.77043533325195",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-kingdom",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-national",
                    "label": "National Religion King",
                    "value": "85.3787899017334",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-national",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-card",
                    "label": "Khmer Identity Card",
                    "value": "94.36067938804626",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-card",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-2-lines",
                    "label": "Secruity Statements",
                    "value": "86.49997115135193",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-2-lines",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBlurDetection",
            "label": "ID Blur Detection",
            "componentList": [
                {
                    "code": "idBlurDetection",
                    "label": "ID Blur Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBrightnessDetc",
            "label": "ID Brightness Detection",
            "componentList": [
                {
                    "code": "idBrightnessDetc",
                    "label": "ID Brightness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorMode",
            "label": "Color Mode",
            "componentList": [
                {
                    "code": "colorMode",
                    "label": "Color Mode",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=cropId"
        }}
```

{% endtab %}

{% tab title="400: Bad Request " %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

{% file src="/files/GH5FiWNZwy53zTTtGMVx" %}
OkayDoc KH ID Card Back v2
{% endfile %}

## Versions 1

<mark style="color:green;">`POST`</mark> `https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v1/doc-verify/kh-id-back`

#### Request Body

| Name                                                 | Type   | Description                  |
| ---------------------------------------------------- | ------ | ---------------------------- |
| caseNo                                               | string | Reference code given by user |
| apiKey<mark style="color:red;">\*</mark>             | string | To be assigned by innov8tif  |
| idImageBase64Image<mark style="color:red;">\*</mark> | string | Back id card image in base64 |

{% tabs %}
{% tab title="200 " %}

```
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "eecb3304-dcca-431b-901c-93edab3a001d",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-kh-id-back-logo1",
                    "label": "Logo 1",
                    "value": "99.85318779945374",
                    "imageUrl": "/public/image/v2/xxxxxxxxxxxxxx?type=l-kh-id-back-logo1",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-logo2",
                    "label": "Logo 2",
                    "value": "99.69037771224976",
                    "imageUrl": "/public/image/v2/xxxxxxxxxxxxxxx?type=l-kh-id-back-logo2",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-logo3",
                    "label": "Logo 3",
                    "value": "99.55347776412964",
                    "imageUrl": "/public/image/v2/xxxxxxxxxxxxxx?type=l-kh-id-back-logo3",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-kingdom",
                    "label": "Kingdom of Cambodia",
                    "value": "99.67079758644104",
                    "imageUrl": "/public/image/v2/xxxxxxxxxxxxxxxxx?type=l-kh-id-back-kingdom",
                    "refImageUrl": null
                },
                {
                    "code": "l-th-id-back-national",
                    "label": "National Religion King",
                    "value": "99.68679547309875",
                    "imageUrl": "/public/image/v2/xxxxxxxxxxxxxxx?type=l-th-id-back-national",
                    "refImageUrl": null
                },
                {
                    "code": "l-th-id-back-card",
                    "label": "Khmer Identity Card",
                    "value": "99.73368048667908",
                    "imageUrl": "/public/image/v2/xxxxxxxxxxxxxxxxx?type=l-th-id-back-card",
                    "refImageUrl": null
                },
                {
                    "code": "l-th-id-back-2-lines",
                    "label": "Secruity Statements",
                    "value": "99.59036707878113",
                    "imageUrl": "/public/image/v2/xxxxxxxxxxxxxxxx?type=l-th-id-back-2-lines",
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/eecb3304-dcca-431b-901c-93edab3a001d?type=cropId"
        }
    ]
}
```

{% endtab %}
{% endtabs %}

#### Postman Collection

{% file src="/files/UNe7LfBNivMrPqywB2Fy" %}
OkayDoc KH ID Card Back
{% endfile %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api2-ekycapis.innov8tif.com/okaydoc/okaydoc-all/supported-documents/cambodia/kh-id-card-back/versions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
