# Version 3(Deprecated)

## This version will no longer be maintained starting 1st August 2021.

## &#x20;

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

#### 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                                                                                                      |
| idNumber               | string | Id card number as shown on id card. If this value is provided, higher chance of getting higher score for font checking.            |
| otherDocList           | array  | Type can be: high quality, with flash, without flash, without specific order. At least one of the listed fields above is required. |
| landmarkCheck          | string | <p>Default as False.<br>Set true to do landmark checking .</p>                                                                     |
| fontCheck              | string | <p>Default as False. <br>Set true to do font checking.</p>                                                                         |
| microprintCheck        | string | <p>Default as False.<br>Set true to do microprint checking.</p>                                                                    |
| photoSubstitutionCheck | string | <p>Default as False.<br>Set true to do photo substitution checking.</p>                                                            |
| icTypeCheck            | string | <p>Default as False.<br>Set true to do ic type checking.</p>                                                                       |
| colorMode              | string | <p>Default as False.<br>Set true to do color checking.</p>                                                                         |

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

```
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "methodList": [{
        "method": "landmark",
        "label": "Landmark Analysis Result",
        "componentList": [{
            "code": "l-mykad-header",
            "label": "MyKad Header(Kad Pengenalan)",
            "value": "0.79320114851",
            "imageUrl": "/public/image/v2/d569a1a1-9ed2-42ea-ba8a-3f59ccd26db6?type=l-mykad-header",
            "refImageUrl": null
        },
        {
            "code": "l-mykad-logo",
            "label": "MyKad Logo",
            "value": "0.727208554745",
            "imageUrl": "/public/image/v2/d569a1a1-9ed2-42ea-ba8a-3f59ccd26db6?type=l-mykad-logo",
            "refImageUrl": null
        },
        {
            "code": "l-my-flag-logo",
            "label": "Malaysia Flag",
            "value": "0.71590679884",
            "imageUrl": "/public/image/v2/d569a1a1-9ed2-42ea-ba8a-3f59ccd26db6?type=l-my-flag-logo",
            "refImageUrl": null
        },
        {
            "code": "l-chip",
            "label": "Chip",
            "value": "0.784151494503",
            "imageUrl": "/public/image/v2/d569a1a1-9ed2-42ea-ba8a-3f59ccd26db6?type=l-chip",
            "refImageUrl": null
        },
        {
            "code": "l-hibiscus",
            "label": "Hibiscus",
            "value": "0.771929860115",
            "imageUrl": "/public/image/v2/d569a1a1-9ed2-42ea-ba8a-3f59ccd26db6?type=l-hibiscus",
            "refImageUrl": null
        },
        {
            "code": "l-msc",
            "label": "MSC",
            "value": "0.899240195751",
            "imageUrl": "/public/image/v2/d569a1a1-9ed2-42ea-ba8a-3f59ccd26db6?type=l-msc",
            "refImageUrl": null
        }]
    },
    {
        "method": "belowImageText",
        "label": "Text Below IC Face",
        "componentList": [{
            "code": "belowImageText",
            "label": "Text Below IC Face",
            "value": "WAROANeOARA",
            "imageUrl": "/public/image/v2/d569a1a1-9ed2-42ea-ba8a-3f59ccd26db6?type=belowImageText",
            "refImageUrl": null
        }]
    },
    {
        "method": "font",
        "label": "MyKad Front Checking Result",
        "componentList": [{
            "code": "f-id-no",
            "label": "ID No",
            "value": "0.706493735313",
            "imageUrl": "/public/image/v2/d569a1a1-9ed2-42ea-ba8a-3f59ccd26db6?type=f-id-no",
            "refImageUrl": "/public/image/v2/d569a1a1-9ed2-42ea-ba8a-3f59ccd26db6?type=f-id-no-ref" 
        }]
    },
    {
        "method": "microprint",
        "label": "Microprint Score",
        "componentList": [{
            "code": "microprint",
            "label": "Microprint",
            "value": "1",
            "imageUrl": "/public/image/v2/d569a1a1-9ed2-42ea-ba8a-3f59ccd26db6?type=microprint",
            "refImageUrl": null
        }]
    },
    {
        "method": "substitution",
        "label": "Substitution Checking",
        "componentList": [{
            "code": "substitution",
            "label": "Substitution Score",
            "value": "79.86243",
            "imageUrl": null,
            "refImageUrl": null
        }]
    },
    {
        "method": "docType",
        "label": "MyKad Type",
        "componentList": [{
            "code": "docType",
            "label": "IC Type",
            "value": "New IC",
            "imageUrl": null,
            "refImageUrl": null
        }]
    },
    {
        "method": "colorMode",
        "label": "Color Mode",
        "componentList": [{
            "code": "colorMode",
            "label": "Color",
            "value": "Colored Image",
            "imageUrl": null,
            "refImageUrl": null
        }]
    }],
    "outputImageList": [{
        "tag": "holoFace",
        "imageUrl": "/public/image/v2/d569a1a1-9ed2-42ea-ba8a-3f59ccd26db6?type=holoFace" 
    },
    {
        "tag": "idFace",
        "imageUrl": "/public/image/v2/d569a1a1-9ed2-42ea-ba8a-3f59ccd26db6?type=idFace" 
    }]
}

```

{% endtab %}
{% endtabs %}

### Input Example

{% code title="JSON" %}

```
{
    "apiKey": "API_KEY",
    "caseNo": "",
    "idImageBase64Image": "/9j/4AAQSkZJ...fYs1wRtQHt//Z\r\n",
    "idNumber": "820403-05-1111",
    "otherDocList": [{
        "base64Image": "/9j/4AAQSkZ...p41fYs1wRtQHt//Z\r\n",
        "type": "high_quality" 
    },
    {
        "base64Image": "/9j/4AAQSk...Ys1wRtQHt//Z\r\n",
        "type": "with_flash" 
    },
    {
        "base64Image": "/9j/4AAQSkZJ...Ys1wRtQHt//Z\r\n",
        "type": "without_flash" 
    },
    {
        "base64Image": "/9j/4AAQSk...s1wRtQHt//Z\r\n",
        "type": "without_flash" 
    }],
    "landmarkCheck": true,
    "fontCheck": true,
    "microprintCheck": true,
    "photoSubstitutionCheck": true,
    "icTypeCheck": true,
    "colorMode": true
}
```

{% endcode %}

{% file src="<https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-LtxLRLxuBWTDL08n0dl%2F-LtxO7rXR-IfKnPE0tE0%2FOkayDoc%20-%20MyKad%20Front%20v3.postman_collection.json?alt=media&token=b6a4973f-e8a9-470e-97bf-91b53c598106>" %}
OkayDoc MyKad Front v3
{% endfile %}
