# Version 2

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

#### Request Body

| Name               | Type   | Description                   |
| ------------------ | ------ | ----------------------------- |
| caseNo             | string | Reference code given by user  |
| apiKey             | string | To be assigned by Innov8tif   |
| idImageBase64Image | string | Front id card image in base64 |

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

```
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "151d1e33-5b8b-49d1-8bff-1afc584143fd",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-vn-old-id-front-logo",
                    "label": "Logo",
                    "value": "74.92177486419678",
                    "imageUrl": "/public/image/v2/151d1e33-5b8b-49d1-8bff-1afc584143fd?type=l-vn-old-id-front-logo",
                    "refImageUrl": null
                },
                {
                    "code": "l-vn-old-id-front-header1",
                    "label": "Header1",
                    "value": "84.9748969078064",
                    "imageUrl": "/public/image/v2/151d1e33-5b8b-49d1-8bff-1afc584143fd?type=l-vn-old-id-front-header1",
                    "refImageUrl": null
                },
                {
                    "code": "l-vn-old-id-front-header2",
                    "label": "Header2",
                    "value": "84.71530079841614",
                    "imageUrl": "/public/image/v2/151d1e33-5b8b-49d1-8bff-1afc584143fd?type=l-vn-old-id-front-header2",
                    "refImageUrl": null
                },
                {
                    "code": "l-vn-old-id-front-no",
                    "label": "No",
                    "value": "90.30178189277649",
                    "imageUrl": "/public/image/v2/151d1e33-5b8b-49d1-8bff-1afc584143fd?type=l-vn-old-id-front-no",
                    "refImageUrl": null
                },
                {
                    "code": "l-vn-old-id-front-name",
                    "label": "Name",
                    "value": "88.81002068519592",
                    "imageUrl": "/public/image/v2/151d1e33-5b8b-49d1-8bff-1afc584143fd?type=l-vn-old-id-front-name",
                    "refImageUrl": null
                },
                {
                    "code": "l-vn-old-id-front-dob",
                    "label": "Date Of Birth",
                    "value": "87.4322772026062",
                    "imageUrl": "/public/image/v2/151d1e33-5b8b-49d1-8bff-1afc584143fd?type=l-vn-old-id-front-dob",
                    "refImageUrl": null
                },
                {
                    "code": "l-vn-old-id-front-pob",
                    "label": "Place Of Birth",
                    "value": "83.88580083847046",
                    "imageUrl": "/public/image/v2/151d1e33-5b8b-49d1-8bff-1afc584143fd?type=l-vn-old-id-front-pob",
                    "refImageUrl": null
                },
                {
                    "code": "l-vn-old-id-front-address",
                    "label": "Address",
                    "value": "82.717764377594",
                    "imageUrl": "/public/image/v2/151d1e33-5b8b-49d1-8bff-1afc584143fd?type=l-vn-old-id-front-address",
                    "refImageUrl": null
                },
                {
                    "code": "l-vn-old-id-front-backgroundlandmark",
                    "label": "Background Landmark",
                    "value": "41.22561812400818",
                    "imageUrl": "/public/image/v2/151d1e33-5b8b-49d1-8bff-1afc584143fd?type=l-vn-old-id-front-backgroundlandmark",
                    "refImageUrl": null
                },
                {
                    "code": "l-vn-old-id-front-wavinglines",
                    "label": "Waving Lines",
                    "value": "75.50296783447266",
                    "imageUrl": "/public/image/v2/151d1e33-5b8b-49d1-8bff-1afc584143fd?type=l-vn-old-id-front-wavinglines",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "blurrinessDetection",
            "label": "ID Blur Detection",
            "componentList": [
                {
                    "code": "blurrinessDetection",
                    "label": "ID Blur Detection",
                    "value": "Fail",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "brightnessDetection",
            "label": "ID Brightness Detection",
            "componentList": [
                {
                    "code": "brightnessDetection",
                    "label": "ID Brightness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorDetection",
            "label": "Color Mode",
            "componentList": [
                {
                    "code": "colorDetection",
                    "label": "Color Mode",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/151d1e33-5b8b-49d1-8bff-1afc584143fd?type=cropId"
        }
    ]
}
```

{% endtab %}
{% endtabs %}

### Input Example

{% code title="JSON" %}

```
{
    "apiKey": "apiKey",
    "caseNo": "CASE 123",
    "idImageBase64Image": "/9j/4AAQSkZJ...fYs1wRtQHt//Z\r\n" 
}
```

{% endcode %}

{% file src="<https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-M1-53TF00VFKXLxRi8q%2F-M1-5HEChYsvr8V1weTC%2FOkayDoc%20VN%20Old%20ID%20v2.postman_collection.json?alt=media&token=cc9a3b83-6987-4728-ac18-dd40dc221172>" %}
OkayDoc VN Old IC v2
{% endfile %}
