Version 1

POST https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v1/doc-verify/ph-voter

Request Body

{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "51a6f1c2-b94a-453b-8a66-2e58f318c63b",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-ph-voter-republic-log",
                    "label": "Republic Logo",
                    "value": "0",
                    "imageUrl": "/public/image/v2/51a6f1c2-b94a-453b-8a66-2e58f318c63b?type=l-ph-voter-republic-log",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-voter-republic-header",
                    "label": "Republic Header",
                    "value": "0",
                    "imageUrl": "/public/image/v2/51a6f1c2-b94a-453b-8a66-2e58f318c63b?type=l-ph-voter-republic-header",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-voter-info1",
                    "label": "Personal Info 1",
                    "value": "18.75",
                    "imageUrl": "/public/image/v2/51a6f1c2-b94a-453b-8a66-2e58f318c63b?type=l-ph-voter-info1",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-voter-info2",
                    "label": "Personal Info 2",
                    "value": "0",
                    "imageUrl": "/public/image/v2/51a6f1c2-b94a-453b-8a66-2e58f318c63b?type=l-ph-voter-info2",
                    "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": "Fail",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorMode",
            "label": "Color Mode",
            "componentList": [
                {
                    "code": "colorMode",
                    "label": "Color Mode",
                    "value": "Fail",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "screen",
            "label": "Screen Detection",
            "componentList": [
                {
                    "code": "screen",
                    "label": "Screen Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/51a6f1c2-b94a-453b-8a66-2e58f318c63b?type=cropId"
        }
    ]
}

Input Example

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

Last updated