# Versions

## Version 1

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

#### Request Body

| Name                                                 | Type   | Description                     |
| ---------------------------------------------------- | ------ | ------------------------------- |
| apiKey<mark style="color:red;">\*</mark>             | String | Provided by Innov8tif Solutions |
| idImageBase64Image<mark style="color:red;">\*</mark> | String | Taiwan ID in base64 format      |

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

```json
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "3431375f-96d1-43d6-b69e-ea489b9c0648",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-tw-id-flag",
                    "label": "Flag Landmark",
                    "value": "0",
                    "imageUrl": null,
                    "refImageUrl": null
                },
                {
                    "code": "l-tw-id-logo",
                    "label": "Logo Landmark",
                    "value": "0",
                    "imageUrl": null,
                    "refImageUrl": null
                },
                {
                    "code": "l-tw-id-stamp",
                    "label": "Stamp Landmark",
                    "value": "0",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBlurDetection",
            "label": "ID Blur Detection",
            "componentList": [
                {
                    "code": "idBlurDetection",
                    "label": "ID Blur Detection",
                    "value": "Fail",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBrightnessDetc",
            "label": "ID Brightness Detection",
            "componentList": [
                {
                    "code": "idBrightnessDetc",
                    "label": "ID Brightness Detection",
                    "value": "Fail",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorMode",
            "label": "Color Mode",
            "componentList": [
                {
                    "code": "colorMode",
                    "label": "Color Mode",
                    "value": "Fail",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "screen",
            "label": "Screen Detection",
            "componentList": [
                {
                    "code": "screen",
                    "label": "Screen Detection",
                    "value": "Fail",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": null
}

```

{% endtab %}

{% tab title="400: Bad Request Failed to response" %}

```javascript
{
    status:"error"
}
```

{% endtab %}
{% endtabs %}
