Version 5.1(Deprecated)
Added screen detection and ghost photo color detection.
This version will no longer be maintained starting 1st August 2021.
POST
https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v5-1/doc-verify/mykad
Request Body
caseNo
string
Reference code given by user
ghostPhotoColorDetection
string
Default as False. Set True to do ghost photo color detection.
screenDetection
string
Default as False. Set True to do screen detection.
edgeDetection
string
Default as False. Set True to do edge detection.
hologram
string
Default as False. Set True to do hologram detection.
colorMode
string
Default as False. Set True to do color checking.
icTypeCheck
string
Default as False. Set True to do IC type checking.
photoSubstitutionCheck
string
Default as False. Set True to do photo substitution checking.
microprintCheck
string
Default as False. Set True to do microprint checking.
fontCheck
string
Default as False. Set True to do font checking.
landmarkCheck
string
Default as False. Set True to do landmark checking.
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, with no specific order. At least one of the listed field above is required.
{
"status": "success",
"messageCode": "api.success",
"message": "",
"id": "f5a2b235-3e05-45dd-9ca2-0afe4476a0d6",
"methodList": [
{
"method": "landmark",
"label": "Landmark Analysis Result",
"componentList": [
{
"code": "l-mykad-header",
"label": "Kad Pengenalan Header",
"value": "62.883500000000005",
"imageUrl": "/public/image/v2/xxxxxxxxxxxxxxxxxx?type=l-mykad-header",
"refImageUrl": null
},
{
"code": "l-mykad-logo",
"label": "MyKad Logo",
"value": "86.7302",
"imageUrl": "/public/image/v2/xxxxxxxxxxxxxxxxx?type=l-mykad-logo",
"refImageUrl": null
},
{
"code": "l-my-flag-logo",
"label": "Malaysia Flag",
"value": "93.38260000000001",
"imageUrl": "/public/image/v2/xxxxxxxxxxxxxxxxx?type=l-my-flag-logo",
"refImageUrl": null
},
{
"code": "l-chip",
"label": "Chip",
"value": "80.6771",
"imageUrl": "/public/image/v2/xxxxxxxxxxxxxxxxx?type=l-chip",
"refImageUrl": null
},
{
"code": "l-hibiscus",
"label": "Hibiscus",
"value": "74.3468",
"imageUrl": "/public/image/v2/xxxxxxxxxxxxxxxxx?type=l-hibiscus",
"refImageUrl": null
},
{
"code": "l-msc",
"label": "MSC",
"value": "89.17439999999999",
"imageUrl": "/public/image/v2/xxxxxxxxxxxxxxxxxxxx?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/xxxxxxxxxxxxxxxxxx?type=belowImageText",
"refImageUrl": null
}
]
},
{
"method": "font",
"label": "MyKad Font Checking Result",
"componentList": [
{
"code": "f-id-no",
"label": "ID No",
"value": "Pass",
"imageUrl": "/public/image/v2/xxxxxxxxxxxxxxx?type=f-id-no",
"refImageUrl": "/public/image/v2/xxxxxxxxxxxxxxxxxxx?type=f-id-no-ref"
}
]
},
{
"method": "microprint",
"label": "Microprint Score",
"componentList": [
{
"code": "microprint",
"label": "Microprint",
"value": "9",
"imageUrl": "/public/image/v2/xxxxxxxxxxxxxx?type=microprint",
"refImageUrl": null
}
]
},
{
"method": "hologram",
"label": "Hologram",
"componentList": [
{
"code": "hologram",
"label": "Hologram",
"value": "Hologram Visible,Hologram Visible",
"imageUrl": "/public/image/v2/xxxxxxxxxxxxxxx?type=hologram",
"refImageUrl": null
}
]
},
{
"method": "substitution",
"label": "Ghost Photo Comparison",
"componentList": [
{
"code": "substitution",
"label": "Substitution Score",
"value": "86.63142",
"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": "Edge Not Detected,Edge Not Detected",
"imageUrl": null,
"refImageUrl": null
}
]
},
{
"method": "screen",
"label": "Screen Detection",
"componentList": [
{
"code": "screenDetection",
"label": "Screen Detection",
"value": "Cautious",
"imageUrl": null,
"refImageUrl": null
}
]
},
{
"method": "ghostPhotoColorDetection",
"label": "Ghost Photo Color Detection",
"componentList": [
{
"code": "ghostPhotoColorDetection",
"label": "Ghost Photo Color Detection",
"value": "Pass",
"imageUrl": null,
"refImageUrl": null
}
]
}
],
"outputImageList": [
{
"tag": "holoFace",
"imageUrl": "/public/image/v2/xxxxxxxxxxxxx?type=holoFace"
},
{
"tag": "idFace",
"imageUrl": "/public/image/v2/xxxxxxxxxxxxxx?type=idFace"
}
]
}
Input Example
{
"apiKey": "apiKey",
"caseNo": "",
"idImageBase64Image": "xxxxxxxxxxxxxx",
"idNumber": "",
"otherDocList": [
{
"base64Image": "xxxxxxxxxxx",
"type": "high_quality"
},
{
"base64Image": "xxxxxxxxx",
"type": "without_flash"
},
{
"base64Image": "xxxxxxxxx",
"type": "with_flash"
}
],
"photoSubstitutionCheck": true,
"edgeDetection": true,
"fontCheck": true,
"hologram": true,
"icTypeCheck": true,
"landmarkCheck": true,
"microprintCheck": true,
"screenDetection":true,
"ghostPhotoColorDetection":true
}
Last updated
Was this helpful?