Version 3(Deprecated)

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

POST https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v3/doc-verify/mykad

Request Body

NameTypeDescription

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

Default as False. Set true to do landmark checking .

fontCheck

string

Default as False. Set true to do font checking.

microprintCheck

string

Default as False. Set true to do microprint checking.

photoSubstitutionCheck

string

Default as False. Set true to do photo substitution checking.

icTypeCheck

string

Default as False. Set true to do ic type checking.

colorMode

string

Default as False. Set true to do color checking.

{
    "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" 
    }]
}

Input Example

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
}

Last updated