# Version 2-1

<mark style="color:green;">`POST`</mark> `https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v2-1/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 doctype value for PR: PR NRIC
doctype value for NRIC: SG NRIC" %}

```
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "333e1c8f-4360-4b94-8d83-060c4f67ab25",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-sg-lic-coatofarm",
                    "label": "Coat of Arms",
                    "value": "91.04602932929993",
                    "imageUrl": "/public/image/v2/333e1c8f-4360-4b94-8d83-060c4f67ab25?type=l-sg-lic-coatofarm",
                    "refImageUrl": null
                },
                {
                    "code": "l-sg-lic-lionhead",
                    "label": "Lion Head Symbol",
                    "value": "0",
                    "imageUrl": "/public/image/v2/333e1c8f-4360-4b94-8d83-060c4f67ab25?type=l-sg-lic-lionhead",
                    "refImageUrl": null
                },
                {
                    "code": "l-sg-lic-republic",
                    "label": "Republic of Singapore",
                    "value": "90.98642468452454",
                    "imageUrl": "/public/image/v2/333e1c8f-4360-4b94-8d83-060c4f67ab25?type=l-sg-lic-republic",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "illuminationLevel",
            "label": "Illumination Level",
            "componentList": [
                {
                    "code": "illuminationLevel",
                    "label": "Illumination Level",
                    "value": "Fail",
                    "imageUrl": "/public/image/v2/333e1c8f-4360-4b94-8d83-060c4f67ab25?type=illuminationLevel",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "headerColorDiff",
            "label": "Header Color Difference",
            "componentList": [
                {
                    "code": "headerColorDiff",
                    "label": "Header Color Difference",
                    "value": "Fail",
                    "imageUrl": "/public/image/v2/333e1c8f-4360-4b94-8d83-060c4f67ab25?type=headerColorDiff",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorMode",
            "label": "Color Detection",
            "componentList": [
                {
                    "code": "colorMode",
                    "label": "Color Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "screen",
            "label": "Screen Detection",
            "componentList": [
                {
                    "code": "screen",
                    "label": "Screen Detection",
                    "value": "Cautious",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "docType",
            "label": "Document Type",
            "componentList": [
                {
                    "code": "docType",
                    "label": "Document Type",
                    "value": "PR NRIC",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": null
}
```

{% 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-MZVkMToqNtHUwRwQHKi%2F-MZVkz1-N4Cjt4vHiJQT%2FOkayDoc%20SG%20ID%20Card%20Front%20V2-1.postman_collection.json?alt=media&token=74f68da0-71c8-49d1-acfb-27550e96abbd>" %}

### &#x20;Illumination Detection <a href="#illumination-detection" id="illumination-detection"></a>

**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-MZVgk4vtFVIa_Aiy26M%2F-MZVjNfZFQuXUSvIqs1t%2Fgetpict.jpg?alt=media\&token=57ab271f-233b-455c-b17b-dc8fc4752892)

![](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-MZVgk4vtFVIa_Aiy26M%2F-MZVjPUn3fD75g3OYobv%2Fgetpict%20\(1\).jpg?alt=media\&token=dc3268a6-4892-4b04-8254-15e297d26055)

### **Optically Variable Ink Detection**

**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-MZVgk4vtFVIa_Aiy26M%2F-MZVjVW7iO2UZ5n122RR%2Fgetpict%20\(2\).jpg?alt=media\&token=1724bb16-e9ce-415c-a2a7-050434525058)

![](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-MZVgk4vtFVIa_Aiy26M%2F-MZVk-LfzmDtcYZzHNvm%2Fgetpict%20\(3\).jpg?alt=media\&token=7812e3e8-c932-4f1c-8458-ef47be18db04)
