# Version 2

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

#### Request Body

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

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

```javascript
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "2a7a0f61-181b-4b2f-824d-41c3f4a5462c",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-ph-umid-republic-log",
                    "label": "Republic Logo",
                    "value": "83.52000000000001",
                    "imageUrl": "/public/image/v2/2a7a0f61-181b-4b2f-824d-41c3f4a5462c?type=l-ph-umid-republic-log",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-umid-republic-header",
                    "label": "Republic Header",
                    "value": "91.69",
                    "imageUrl": "/public/image/v2/2a7a0f61-181b-4b2f-824d-41c3f4a5462c?type=l-ph-umid-republic-header",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-umid-logo",
                    "label": "UMID Logo",
                    "value": "93.07",
                    "imageUrl": "/public/image/v2/2a7a0f61-181b-4b2f-824d-41c3f4a5462c?type=l-ph-umid-logo",
                    "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": "Pass",
                    "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/2a7a0f61-181b-4b2f-824d-41c3f4a5462c?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-M5tU5v8gHUTnz83Prs4%2F-M5tUzHbVlHAGibPJ8OQ%2FOkayDoc%20PH%20UMID%20v2.postman_collection.json?alt=media&token=2ad18ab0-3767-497f-8572-9cbbf12d4e47>" %}
OkayDoc PH UMID v2
{% endfile %}
