Version 5(Deprecated)

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

POST https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v5/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 field above is required.

landmarkCheck

string

Default as Fault. Set true to do landmark checking.

fontCheck

string

Default as Fault. Set true to do font checking.

microprintCheck

string

Default as Fault. Set true to do microprint checking.

photoSubstitutionCheck

string

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

icTypeCheck

string

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

colorMode

string

Default as Fault. Set true to do color checking.

hologram

string

Default as Fault. Set true to do hologram checking.

edgeDetection

string

Default as Fault. Set true to do edge detection

{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-mykad-header",
                    "label": "Kad Pengenalan Header",
                    "value": "76.7508",
                    "imageUrl": "/public/image/v2/5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f?type=l-mykad-header",
                    "refImageUrl": null
                },
                {
                    "code": "l-mykad-logo",
                    "label": "MyKad Logo",
                    "value": "69.0792",
                    "imageUrl": "/public/image/v2/5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f?type=l-mykad-logo",
                    "refImageUrl": null
                },
                {
                    "code": "l-my-flag-logo",
                    "label": "Malaysia Flag",
                    "value": "83.2025",
                    "imageUrl": "/public/image/v2/5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f?type=l-my-flag-logo",
                    "refImageUrl": null
                },
                {
                    "code": "l-chip",
                    "label": "Chip",
                    "value": "54.8358",
                    "imageUrl": "/public/image/v2/5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f?type=l-chip",
                    "refImageUrl": null
                },
                {
                    "code": "l-hibiscus",
                    "label": "Hibiscus",
                    "value": "57.7256",
                    "imageUrl": "/public/image/v2/5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f?type=l-hibiscus",
                    "refImageUrl": null
                },
                {
                    "code": "l-msc",
                    "label": "MSC",
                    "value": "83.07050000000001",
                    "imageUrl": "/public/image/v2/5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f?type=l-msc",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "belowImageText",
            "label": "Text Below IC Face",
            "componentList": [
                {
                    "code": "belowImageText",
                    "label": "Text Below IC Face",
                    "value": " None ",
                    "imageUrl": "/public/image/v2/5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f?type=belowImageText",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "font",
            "label": "MyKad Font Checking Result",
            "componentList": [
                {
                    "code": "f-id-no",
                    "label": "ID No",
                    "value": "0.6689989566802979",
                    "imageUrl": "/public/image/v2/5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f?type=f-id-no",
                    "refImageUrl": "/public/image/v2/5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f?type=f-id-no-ref"
                }
            ]
        },
        {
            "method": "microprint",
            "label": "Microprint Score",
            "componentList": [
                {
                    "code": "microprint",
                    "label": "Microprint",
                    "value": "1",
                    "imageUrl": "/public/image/v2/5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f?type=microprint",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "hologram",
            "label": "Hologram",
            "componentList": [
                {
                    "code": "hologram",
                    "label": "Hologram",
                    "value": "0",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "substitution",
            "label": "Ghost Photo Comparison",
            "componentList": [
                {
                    "code": "substitution",
                    "label": "Substitution Score",
                    "value": "71.4388",
                    "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
                }
            ]
        },
        {
            "method": "edge",
            "label": "Edge Detection",
            "componentList": [
                {
                    "code": "edge",
                    "label": "Edge Detection",
                    "value": "0",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "holoFace",
            "imageUrl": "/public/image/v2/5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f?type=holoFace"
        },
        {
            "tag": "idFace",
            "imageUrl": "/public/image/v2/5f5d2f2d-ae72-456c-ab67-e1118d3b3f2f?type=idFace"
        }
    ]
}

Input Example

JSON
{
    "apiKey": "apiKey",
    "caseNo": "",
    "idImageBase64Image": "xxxxxxxxxxxxxxx",
    "idNumber": "",
    "otherDocList": [
        {
            "base64Image": "xxxxxxxxxxxxxxxxx",
            "type": "high_quality" 
        },
        {
            "base64Image": "xxxxxxxxxxxxxxxxx",
            "type": "without_flash" 
        },
        {
            "base64Image": "xxxxxxxxxxxxxxxx",
            "type": "with_flash" 
        }
    ],
    "photoSubstitutionCheck": true,
    "edgeDetection": true,
    "fontCheck": true,
    "hologram": true,
    "colorMode": true,
    "icTypeCheck": true,
    "landmarkCheck": true,
    "microprintCheck": true
}

Last updated