# Versions

## Version 1

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

#### Request Body

| Name                                                 | Type   | Description                       |
| ---------------------------------------------------- | ------ | --------------------------------- |
| caseNo                                               | string | Reference code given by user      |
| apiKey<mark style="color:red;">\*</mark>             | string | To be assigned by Innov8tif       |
| idImageBase64Image<mark style="color:red;">\*</mark> | string | Front prc id card image in base64 |

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

```javascript
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "35a0fe54-75cb-4667-9f89-1364f937d182",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-ph-prc-back-header",
                    "label": "header",
                    "value": "0",
                    "imageUrl": null,
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-prc-back-logo-1",
                    "label": "logo-1",
                    "value": "0",
                    "imageUrl": null,
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-prc-back-logo-2",
                    "label": "logo-2",
                    "value": "0",
                    "imageUrl": null,
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-prc-back-logo-3",
                    "label": "logo-3",
                    "value": "0",
                    "imageUrl": null,
                    "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": "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": "Fail",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/35a0fe54-75cb-4667-9f89-1364f937d182?type=cropId"
        }
    ]
}

```

{% endtab %}

{% tab title="400: Bad Request " %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

#### Postman Collection

-NA&#x20;
