> For the complete documentation index, see [llms.txt](https://api-old.innov8tif.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-old.innov8tif.com/okaydoc/philippines/ph-prc-professional-id-card/version-2.md).

# Version 2

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

#### 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": "1a0d9227-2c68-40c4-8a22-2d9a19300a9e",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-ph-b1-logo",
                    "label": "Logo",
                    "value": "95.65",
                    "imageUrl": "/public/image/v2/1a0d9227-2c68-40c4-8a22-2d9a19300a9e?type=l-ph-b1-logo",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-b1-republic-header",
                    "label": "Republic Header",
                    "value": "68.08",
                    "imageUrl": "/public/image/v2/1a0d9227-2c68-40c4-8a22-2d9a19300a9e?type=l-ph-b1-republic-header",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-b1-republic-log",
                    "label": "Republic Logo",
                    "value": "92.46",
                    "imageUrl": "/public/image/v2/1a0d9227-2c68-40c4-8a22-2d9a19300a9e?type=l-ph-b1-republic-log",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-b1-barcode",
                    "label": "Barcode",
                    "value": "55.92",
                    "imageUrl": "/public/image/v2/1a0d9227-2c68-40c4-8a22-2d9a19300a9e?type=l-ph-b1-barcode",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBlurDetection",
            "label": "ID Blur Detection",
            "componentList": [
                {
                    "code": "idBlurDetection",
                    "label": "ID Blur Detection",
                    "value": "Fail",
                    "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": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/1a0d9227-2c68-40c4-8a22-2d9a19300a9e?type=cropId"
        }
    ]
}
```

{% endtab %}
{% endtabs %}

### Input Example

{% code title="JSON" %}

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

{% endcode %}

{% file src="/files/-M5tTd5B6WB5ZWVCyH52" %}
OkayDoc PH PRC v2
{% endfile %}
