Sample Input

Input Example Version 7

{
    "apiKey": "apiKey",
    "caseNo": "", 
    "idImageBase64Image": "",
    "livenessFaceBase64Image": "",
    "idNumber": "",
    "otherDocList": [
        {
            "base64Image": "",
            "type": "high_quality"
        },
        {
            "base64Image": "",
            "type": "without_flash"
        },
        {
            "base64Image": "",
            "type": "with_flash"
        }
    ],
    "photoSubstitutionCheck": true,
    "landmarkCheck": true,
    "screenDetection":true,
    "ghostPhotoColorDetection":true,
    "fontCheck": true,
    "colorMode": true,
    "hologram": true,
    "icTypeCheck": true,
    "microprintCheck": true,
    "faceBrightnessDetection": true,
    "idBlurDetection": true,
    "idBrightnessDetection": true,
    "contentSubstitution":true
}
Add second "with flash" image
    "otherDocList": [
        {
            "base64Image": "",
            "type": "with_flash"
        }
    ],

User will need add the chunk of code block above into the request parameter to submit second image to improve the passing rate of the Hologram Detection (requires light to increase the visibility)

Input Example Version 6

{
    "apiKey": "apiKey",
    "caseNo": "", 
    "idImageBase64Image": "",
    "livenessFaceBase64Image": "",
    "idNumber": "",
    "otherDocList": [
        {
            "base64Image": "",
            "type": "high_quality"
        },
        {
            "base64Image": "",
            "type": "without_flash"
        },
        {
            "base64Image": "",
            "type": "with_flash"
        }
    ],
    "photoSubstitutionCheck": true,
    "landmarkCheck": true,
    "screenDetection":true,
    "ghostPhotoColorDetection":true,
    "fontCheck": true,
    "colorMode": true,
    "hologram": true,
    "icTypeCheck": true,
    "microprintCheck": false,
    "faceBrightnessDetection": true,
    "idBlurDetection": true,
    "idBrightnessDetection": true
}

Input Example Version 5.1 (Deprecated)

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

Input Example Version 5 (Deprecated)

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
}

Input Example Version 3 (Deprecated)

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