# Version 2

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

#### Request Body

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

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

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

{% endtab %}
{% endtabs %}

### Input Example

{% code title="JSON" %}

```
{
    "apiKey": "API_KEY",
    "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-M5tRVZ5G07g8c5MNxyh%2F-M5tRdMWy2h0swgmK8Xs%2FOkayDoc%20PH%20Driving%20License%20v2.postman_collection.json?alt=media&token=48e65402-f648-4cde-95c9-6dd9ea5ff414>" %}
OkayDoc PH Driving License v2
{% endfile %}
