# Version 3

<mark style="color:green;">`POST`</mark> `https://okaydocdemo.innov8tif.com/ekyc/api/passport/v3/verify`

#### Request Body

| Name          | Type   | Description                                                                                                                                                                      |
| ------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| caseNo        | string | Reference code given by user                                                                                                                                                     |
| apiKey        | string | To be assigned by Innov8tif                                                                                                                                                      |
| country       | string | <p>IND - India; <br>SGP - Singapore; <br>IDN - Indonesia; <br>BGD - Bangladesh; <br>MMR - Myanmar<br>NPL - Nepal;<br>PAK - Pakistan;<br>PHL - Philippines;<br>VNM - Vietnam </p> |
| halfSizeImage | string | Half-sized passport image in base64                                                                                                                                              |
| fullSizeImage | string | Full-sized passport image in base64                                                                                                                                              |

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

```
{
    "status": "success",
    "messageCode": "api.success",
    "message": null,
    "id": "2b76eea1-b236-4024-aeb0-90bc49a7e3b3",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "header",
                    "label": "Vietnamese Header Landmark",
                    "value": "60.82008481025696",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=header",
                    "refImageUrl": null
                },
                {
                    "code": "passport",
                    "label": "Passport Landmark",
                    "value": "81.83062076568604",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=passport",
                    "refImageUrl": null
                },
                {
                    "code": "type",
                    "label": "Passport Type Landmark",
                    "value": "83.63566994667053",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=type",
                    "refImageUrl": null
                },
                {
                    "code": "code",
                    "label": "Passport Code Landmark",
                    "value": "82.72126913070679",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=code",
                    "refImageUrl": null
                },
                {
                    "code": "passportNo",
                    "label": "Passport Number Landmark",
                    "value": "82.41838216781616",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=passportNo",
                    "refImageUrl": null
                },
                {
                    "code": "fullName",
                    "label": "Full Name Landmark",
                    "value": "76.07124447822571",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=fullName",
                    "refImageUrl": null
                },
                {
                    "code": "nationality",
                    "label": "Nationality Landmark",
                    "value": "66.12950563430786",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=nationality",
                    "refImageUrl": null
                },
                {
                    "code": "vietnamese",
                    "label": "Vietnamese Landmark",
                    "value": "77.0861268043518",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=vietnamese",
                    "refImageUrl": null
                },
                {
                    "code": "dob",
                    "label": "Date Of Birth Landmark",
                    "value": "77.08222270011902",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=dob",
                    "refImageUrl": null
                },
                {
                    "code": "placeOfBirth",
                    "label": "Place Of Birth Landmark",
                    "value": "73.21337461471558",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=placeOfBirth",
                    "refImageUrl": null
                },
                {
                    "code": "sex",
                    "label": "Sex Landmark",
                    "value": "80.52845597267151",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=sex",
                    "refImageUrl": null
                },
                {
                    "code": "idCardNo",
                    "label": "ID Card Number Landmark",
                    "value": "68.65991950035095",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=idCardNo",
                    "refImageUrl": null
                },
                {
                    "code": "issueDate",
                    "label": "Date Of Issue Landmark",
                    "value": "73.93900752067566",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=issueDate",
                    "refImageUrl": null
                },
                {
                    "code": "expiryDate",
                    "label": "Date Of Expiry Landmark",
                    "value": "78.18787097930908",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=expiryDate",
                    "refImageUrl": null
                },
                {
                    "code": "issuePlace",
                    "label": "Place Of Issue Landmark",
                    "value": "74.9876081943512",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=issuePlace",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "ocr",
            "label": "Ocr Analysis Result",
            "componentList": [
                {
                    "code": "roi-passportName",
                    "label": "Name",
                    "value": "NA",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=roi-passportName",
                    "refImageUrl": null
                },
                {
                    "code": "roi-passportDob",
                    "label": "DOB",
                    "value": "NA",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=roi-passportDob",
                    "refImageUrl": null
                },
                {
                    "code": "roi-expiryDate",
                    "label": "Expiry Date",
                    "value": "NA",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=roi-expiryDate",
                    "refImageUrl": null
                },
                {
                    "code": "roi-passportNoHalf",
                    "label": "Passport No (Half)",
                    "value": "NA",
                    "imageUrl": "/public/passport/image/2b76eea1-b236-4024-aeb0-90bc49a7e3b3?type=roi-passportNoHalf",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBlurDetection",
            "label": "Blurriness Detection",
            "componentList": [
                {
                    "code": "idBlurDetection",
                    "label": "Blurriness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBrightnessDetc",
            "label": "Brightness Detection",
            "componentList": [
                {
                    "code": "idBrightnessDetc",
                    "label": "Brightness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorMode",
            "label": "Color Detection",
            "componentList": [
                {
                    "code": "colorMode",
                    "label": "Color Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "screen",
            "label": "Screen Detection",
            "componentList": [
                {
                    "code": "screen",
                    "label": "Screen Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": null
}
```

{% endtab %}
{% endtabs %}

### Input Example

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

```
{
    "apiKey": "apikey",
    "caseNo": "CASE 1",
    "country": "",
    "halfSizeImage": "",    
    "fullSizeImage": ""
}
```

{% endtab %}
{% endtabs %}

{% file src="/files/-MJjNCQ-26cID6aGHMhv" %}
OkayDoc Passport v3
{% endfile %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-old.innov8tif.com/okaydoc/passport/version-3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
