# Version 1

<mark style="color:green;">`POST`</mark> `https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v1/doc-verify/ph-voter`

#### Request Body

| Name               | Type   | Description                       |
| ------------------ | ------ | --------------------------------- |
| caseNo             | string | Reference code given by user      |
| apiKey             | string | To be assigned by Innov8tif       |
| idImageBase64Image | string | Front prc id card image in base64 |

{% tabs %}
{% tab title="200 " %}

```javascript
{
    "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"
        }
    ]
}
```

{% endtab %}
{% endtabs %}

### Input Example

{% code title="JSON" %}

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

{% endcode %}

{% file src="<https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-MCds1bNC-Ra6C1tTtlf%2F-MCdsNhAiktRgvXVahWx%2FOkayDoc-PH-Voter%20ID.postman_collection.json?alt=media&token=01b48026-bd3f-417b-8d98-99a305a64d4b>" %}
