# Version 1

<mark style="color:green;">`POST`</mark> `https://okaydbdemo.innov8tif.com/ekyc/okaydb/api/idn/v1`

#### Request Body

| Name          | Type   | Description                                                           |
| ------------- | ------ | --------------------------------------------------------------------- |
| selfie\_photo | string | Selfie photo in base64 string                                         |
| birthplace    | string | Birthplace as shown on ID card. Used for birthplace matching          |
| birthdate     | string | <p>Birthdate as shown on ID card.<br>Used for birthdate matching.</p> |
| name          | string | Name as shown on ID card. Used for name matching.                     |
| nik           | string | NIK number                                                            |
| apiKey        | string | To be assigned by Innov8tif                                           |

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

```
{
    "status": "success",
    "nameMatch": true,
    "birthdateMatch": true,
    "birthplaceMatch": true,
    "address": "JL.S*K*L*H D*T* *** / 25",
    "faceDetected": 0.0
}
```

{% endtab %}
{% endtabs %}

### Input Example

```
{
    "apiKey":"apikey",
    "nik":"317405112312443",
    "name":"JAMES",
    "birthdate":"16-10-1989",
    "birthplace":"JAKARTA",
    "selfie_photo":"/9j/4AAQSkZJRgABAQEBLAEsAAD/" 
}

```

{% file src="<https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-MIs16yNGrupplnIBUdC%2F-MIs1r_u5vHk17u3Y6fM%2FOkayDB%20-%20eKTP%20check.postman_collection.json?alt=media&token=7aaf24b8-7981-4dd7-8a14-16b6385d31af>" %}
