# Version 1

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

#### Request Body

| Name               | Type    | Description                                                                        |
| ------------------ | ------- | ---------------------------------------------------------------------------------- |
| caseNo             | string  | Reference code given by user                                                       |
| docType            | string  | Document type, please refer to **Document Table**                                  |
| version            | integer | <p>Document's API version, please refer to <strong>Document Table</strong><br></p> |
| idImageBase64Image | string  | ID card image in base64                                                            |
| apiKey             | string  | To be assigned by Innov8tif                                                        |

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

```
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "f8d9ca4a-a353-4bd3-9685-5fc4a957255f",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-tentera-header",
                    "label": "Header",
                    "value": "99.10188317298889",
                    "imageUrl": "/public/image/v2/f8d9ca4a-a353-4bd3-9685-5fc4a957255f?type=l-tentera-header",
                    "refImageUrl": null
                },
                {
                    "code": "l-tentera-mytentera",
                    "label": "My Tentera",
                    "value": "99.26015138626099",
                    "imageUrl": "/public/image/v2/f8d9ca4a-a353-4bd3-9685-5fc4a957255f?type=l-tentera-mytentera",
                    "refImageUrl": null
                },
                {
                    "code": "l-tentera-flag",
                    "label": "Flag",
                    "value": "99.5832085609436",
                    "imageUrl": "/public/image/v2/f8d9ca4a-a353-4bd3-9685-5fc4a957255f?type=l-tentera-flag",
                    "refImageUrl": null
                },
                {
                    "code": "l-tentera-chip",
                    "label": "Chip",
                    "value": "97.54920601844788",
                    "imageUrl": "/public/image/v2/f8d9ca4a-a353-4bd3-9685-5fc4a957255f?type=l-tentera-chip",
                    "refImageUrl": null
                },
                {
                    "code": "l-tentera-msc",
                    "label": "MSC",
                    "value": "99.53526258468628",
                    "imageUrl": "/public/image/v2/f8d9ca4a-a353-4bd3-9685-5fc4a957255f?type=l-tentera-msc",
                    "refImageUrl": null
                },
                {
                    "code": "l-tentera-hibiscus",
                    "label": "Hibiscus",
                    "value": "72.78923988342285",
                    "imageUrl": "/public/image/v2/f8d9ca4a-a353-4bd3-9685-5fc4a957255f?type=l-tentera-hibiscus",
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/f8d9ca4a-a353-4bd3-9685-5fc4a957255f?type=cropId" 
        }
    ]
}
```

{% endtab %}
{% endtabs %}

### Input Example

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

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

{% endtab %}
{% endtabs %}

### Document Table

| Country              | Document          | Document Type   | Endpoint Version(can be found in respective link)                                                                               |
| -------------------- | ----------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Brunei               | Domestic ID Card  | *bnDid*         | <https://api.innov8tif.com/okaydoc/brunei/bn-domestic-id-card>                                                                  |
| Brunei               | Permanent ID Card | *bnPid*         | <https://api.innov8tif.com/okaydoc/brunei/bn-permanent-id-card>                                                                 |
| Cambodia             | ID Card (Front)   | *khIdFront*     | <https://api.innov8tif.com/okaydoc/cambodia/kh-id-card-front>                                                                   |
| Cambodia             | ID Card(Back)     | *khIdBack*      | <https://api.innov8tif.com/okaydoc/cambodia/kh-id-card-back>                                                                    |
| Indonesia            | e-KTP(Front)      | *ektp\_front*   | <https://api.innov8tif.com/okaydoc/indonesia/idn-e-ktp-front>                                                                   |
| Indonesia            | e-KTP(Back)       | *ektp\_back*    | <https://api.innov8tif.com/okaydoc/indonesia/idn-e-ktp-back>                                                                    |
| Malaysia             | myKad(Front)      | mykad           | <https://api.innov8tif.com/okaydoc/malaysia/my-id-card-front>                                                                   |
| Malaysia             | myKad(Back)       | mykad\_back     | <https://api.innov8tif.com/okaydoc/malaysia/my-id-card-back>                                                                    |
| Malaysia             | myKas             | *mykas*         | <https://api.innov8tif.com/okaydoc/malaysia/my-mykas>                                                                           |
| Malaysia             | myPR              | *mypr*          | <https://api.innov8tif.com/okaydoc/malaysia/my-mypr>                                                                            |
| Malaysia             | myTentera         | *mytentera*     | <https://api.innov8tif.com/okaydoc/malaysia/my-mytentera>                                                                       |
| Malaysia             | Driving License   | myLicense       | [https://api.innov8tif.com/okaydoc/malaysia/my-driving-license](https://api.innov8tif.com/okaydoc/malaysia/mys-driving-license) |
| Malaysia             | myOKU             | myOku           | <https://api.innov8tif.com/okaydoc/malaysia/my-myoku>                                                                           |
| Myanmar              | Driving License   | *mmDl*          | <https://api.innov8tif.com/okaydoc/myanmar/mm-driving-license>                                                                  |
| Philippines          | Driving License   | *phLicense*     | <https://api.innov8tif.com/okaydoc/philippines/ph-driving-license>                                                              |
| Philippines          | SSS               | *phSss*         | <https://api.innov8tif.com/okaydoc/philippines/ph-sss>                                                                          |
| Philippines          | PRC               | *phB1*          | <https://api.innov8tif.com/okaydoc/philippines/ph-prc-professional-id-card>                                                     |
| Philippines          | UMID              | *phUmid*        | <https://api.innov8tif.com/okaydoc/philippines/ph-umid>                                                                         |
| Philippines          | Voter ID          | phVoter         | <https://api.innov8tif.com/okaydoc/philippines/ph-voter-id>                                                                     |
| Philippines          | Postal ID         | phPostal        | <https://api.innov8tif.com/okaydoc/philippines/ph-postal-id>                                                                    |
| Singapore            | NRIC(Front)       | *sgIdCardFront* | <https://api.innov8tif.com/okaydoc/singapore/sg-id-card-front>                                                                  |
| Singapore            | NRIC(Back)        | *sgIdCardBack*  | <https://api.innov8tif.com/okaydoc/singapore/sg-id-card-back>                                                                   |
| Thailand             | ID Card           | *thId*          | <https://api.innov8tif.com/okaydoc/thailand/th-id-card>                                                                         |
| United Arab Emirates | ID Card           | *uae*           | <https://api.innov8tif.com/okaydoc/united-arab-emirates/uae-id-card>                                                            |
| Vietnam              | Old ID Card       | *vnOldIdFront*  | <https://api.innov8tif.com/okaydoc/vietnam/vn-old-ic-card>                                                                      |
| Vietnam              | New ID Card       | *vnNewIdFront*  | <https://api.innov8tif.com/okaydoc/vietnam/vn-id-card>                                                                          |

{% file src="<https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-M0G8VjTr89_3txHn1QH%2F-M0GDb4hAyCdDylyyr1H%2FOkayDoc%20-%20NonPassport.postman_collection.json?alt=media&token=60219d3a-1163-4c2a-913f-4f6e80b012f7>" %}
OkayDoc - NonPassport
{% endfile %}
