> 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-postal-id/version-1.md).

# Version 1

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

#### 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": "4535411b-f833-4d8d-872a-42b22890dc04",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-ph-postal-logo",
                    "label": "Logo",
                    "value": "0",
                    "imageUrl": "/public/image/v2/4535411b-f833-4d8d-872a-42b22890dc04?type=l-ph-postal-logo",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-postal-header",
                    "label": "Header",
                    "value": "0",
                    "imageUrl": "/public/image/v2/4535411b-f833-4d8d-872a-42b22890dc04?type=l-ph-postal-header",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-postal-philpost",
                    "label": "Philpost",
                    "value": "39.269999999999996",
                    "imageUrl": "/public/image/v2/4535411b-f833-4d8d-872a-42b22890dc04?type=l-ph-postal-philpost",
                    "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": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/4535411b-f833-4d8d-872a-42b22890dc04?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/-MLLDtwLsnhdOwFrtn\_N" %}
OkayDoc-PH-Postal ID v1
{% endfile %}
