Sample Input

Input Example Version 2

{
    "apiKey": "apiKey",
    "caseNo": "CASE 123",
    "idImageBase64Image": "/9j/4AAQSkZJ...fYs1wRtQHt//Z\r\n",
    "landmarkCheck": true,
    "idBlurDetection":true,
    "idBrightnessDetection": true,
    "colorMode":true,
    "screenDetection":true,
    "hologram":true,
    "photoSubstitutionCheck":true,
    "fontCheck":true,
    "idTamper":true
}

This is the default input example that OkayDoc will get for KhIDFront

Additional Parameters

Example of Add second "with flash" image
{
    "apiKey": "apiKey",
    ...
    "fontCheck": true,
    "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 1

{
    "apiKey": "apiKey",
    "caseNo": "CASE 123",
    "idImageBase64Image": "/9j/4AAQSkZJ...fYs1wRtQHt//Z\r\n" 
}

Last updated