# Version 1

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

#### Request Body

| Name               | Type   | Description                                                                             |
| ------------------ | ------ | --------------------------------------------------------------------------------------- |
| caseNo             | string | Reference code given by user                                                            |
| otherDocList       | string | This parameter is needed for illumination detection and optical variable ink detection. |
| apiKey             | string | To be assigned by Innov8tif                                                             |
| idImageBase64Image | string | Front id card image in base64                                                           |

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

```
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "ac4bdb9e-ccf8-4b60-bd18-3c6f1fb1fe4b",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-sg-lic-coatofarm",
                    "label": "Coat of Arms",
                    "value": "72.79978394508362",
                    "imageUrl": "/public/image/v2/xxxxxxxxxxxxx?type=l-sg-lic-coatofarm",
                    "refImageUrl": null
                },
                {
                    "code": "l-sg-lic-lionhead",
                    "label": "Lion Head Symbol",
                    "value": "90.22381901741028",
                    "imageUrl": "/public/image/v2/xxxxxxxxxxxxx?type=l-sg-lic-lionhead",
                    "refImageUrl": null
                },
                {
                    "code": "l-sg-lic-republic",
                    "label": "Republic of Singapore",
                    "value": "32.84326791763306",
                    "imageUrl": "/public/image/v2/xxxxxxxxx?type=l-sg-lic-republic",
                    "refImageUrl": null
                }
            ]
        {
            "method": "illuminationLevel",
            "label": "Illumination Level",
            "componentList": [
                {
                    "code": "illuminationLevel",
                    "label": "Illumination Level",
                    "value": " No Difference in Illumination Detected",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "headerColorDiff",
            "label": "Header Color Difference",
            "componentList": [
                {
                    "code": "headerColorDiff",
                    "label": "Header Color Difference",
                    "value": " Optical Variable Ink Not Detected",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": null
}
```

{% endcode %}
{% endtab %}
{% endtabs %}

### Input Example

```
{
    "apiKey": "apikey",
    "caseNo": "CASE 123",
    "idImageBase64Image": "/9j/4AAQSkZJ...fYs1wRtQHt//Z\r\n",
    "idNumber": "820403-05-1111",
    "otherDocList": [
        {
            "base64Image":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBD",
            "type":"with_flash" 
        }
    ]

}
```

{% file src="<https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-Luou3xBRNQHqvn2zvTm%2F-Luov4y28w04jZOA6AIb%2FOkayDoc%20SG%20ID%20Front.postman_collection.json?alt=media&token=05a56100-489c-4530-8687-d3a88e0d2352>" %}
OkayDoc SG ID Card Front
{% endfile %}

### Illumination Detection

**Multiple Laser Image (MLI):** A laser-generated optically variable image, composed of horizontal lines.

![](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-LuetZ3xa6XQkdgJ5nfx%2F-LueuVTvOi1p8mVBYpZ9%2Fgetpict.jpg?alt=media\&token=4296df30-1168-48c6-9d02-5efc4d60e600)

![](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-LuetZ3xa6XQkdgJ5nfx%2F-LueuY_iueAS-KkZwWj-%2Fgetpict%20\(1\).jpg?alt=media\&token=4779f3c4-9f1b-483d-a01d-2b10d0786bd7)

### **Optically Variable Ink Detection**<br>

**Optically Variable Ink (OVI):** Ink containing optically variable pigments that generate a noticeable colour change (shift), depending on the angle of view and/or incidence of light.

![](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-LuetZ3xa6XQkdgJ5nfx%2F-LueuxQhvTv2QADbK_nf%2Fgetpict%20\(2\).jpg?alt=media\&token=27a025d1-6e98-4474-8acf-356eaca5c52c)

![](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-LuetZ3xa6XQkdgJ5nfx%2F-Luev-AYqeC6hNPoIqL1%2Fgetpict%20\(3\).jpg?alt=media\&token=f9cf318a-1d3e-404d-8c97-d65c1b7153bb)
