Version 2

Added blurriness detection, brightness detection, color detection, hologram detection, screen detection

POST https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v2/doc-verify/ph-license

Request Body

NameTypeDescription

caseNo

string

Reference code given by user

apiKey

string

To be assigned by Innov8tif

idImageBase64Image

string

Front driving license image in base64

{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "6b667a88-29c8-468e-a4b9-5e9fee87e4cd",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-ph-dl-flag",
                    "label": "Philippines Flag",
                    "value": "98.04",
                    "imageUrl": "/public/image/v2/6b667a88-29c8-468e-a4b9-5e9fee87e4cd?type=l-ph-dl-flag",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-dl-header",
                    "label": "Header",
                    "value": "66.32000000000001",
                    "imageUrl": "/public/image/v2/6b667a88-29c8-468e-a4b9-5e9fee87e4cd?type=l-ph-dl-header",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-dl-logo",
                    "label": "Logo",
                    "value": "85.34",
                    "imageUrl": "/public/image/v2/6b667a88-29c8-468e-a4b9-5e9fee87e4cd?type=l-ph-dl-logo",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-dl-bglogo",
                    "label": "Background Logo",
                    "value": "0",
                    "imageUrl": "/public/image/v2/6b667a88-29c8-468e-a4b9-5e9fee87e4cd?type=l-ph-dl-bglogo",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "hologram",
            "label": "Hologram",
            "componentList": [
                {
                    "code": "hologram",
                    "label": "Hologram",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBlurDetection",
            "label": "ID Blur Detection",
            "componentList": [
                {
                    "code": "idBlurDetection",
                    "label": "ID Blur Detection",
                    "value": "Cautious",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBrightnessDetc",
            "label": "ID Brightness Detection",
            "componentList": [
                {
                    "code": "idBrightnessDetc",
                    "label": "ID Brightness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorMode",
            "label": "Color Mode",
            "componentList": [
                {
                    "code": "colorMode",
                    "label": "Color Mode",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "screen",
            "label": "Screen Detection",
            "componentList": [
                {
                    "code": "screen",
                    "label": "Screen Detection",
                    "value": "Cautious",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/6b667a88-29c8-468e-a4b9-5e9fee87e4cd?type=cropId"
        }
    ]
}

Input Example

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

Last updated