> ## Documentation Index
> Fetch the complete documentation index at: https://docs.idmetagroup.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Indonesia Dukcapil Data Full sandbox

> Predetermined API payloads to retrieve every Indonesia Dukcapil Data Full status in sandbox mode.

Sandbox payloads for the [IDN Dukcapil Data Full](https://docs.idmetagroup.com/api-reference/government-data/indonesia/dukcapil-data-full.md) endpoint.

```http theme={null}
POST /api/v3/verifications/indonesia/dukcapil-full
```

When your account is in sandbox mode, these payloads return the outcomes shown below. No credit is reserved or charged.

Only `nik` selects the scenario. Every other field is still validated, so send all required fields, but their values do not change the outcome. `selfie_image` must be a valid image, but any image works. `createdAt` is generated per request, and `trustFlowId`, `trustValidationId` and `metadata` are echoed back from your request and trust validation.

See [Sandbox introduction](https://docs.idmetagroup.com/api-reference/sandbox.md) for the shared sandbox rules.

### Verified

`verificationStatus` is `VERIFIED` only when `selfieImagePercentage` is `70` or higher and none of `nik`, `name` and `dateOfBirth` is `false`.

`isValid` in `data` shows whether the Dukcapil call itself succeeded, not whether the person was verified, so it is `true` for rejected results too. Use `verificationStatus` to decide the outcome.

> [accordion] VERIFIED — Sample 1: All details match
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "nik": "3171010101900011",
>   "name": "BUDI SANTOSO",
>   "date_of_birth": "1990-01-01",
>   "gender": "Male",
>   "place_of_birth": "JAKARTA",
>   "marital_status": "BELUM KAWIN",
>   "job_type": "KARYAWAN SWASTA",
>   "address": "JL. SUDIRMAN NO. 1",
>   "province": "DKI JAKARTA",
>   "city": "JAKARTA PUSAT",
>   "district": "TANAH ABANG",
>   "subdistrict": "BENDUNGAN HILIR",
>   "rt": "001",
>   "rw": "002",
>   "selfie_image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Indonesia Dukcapil Full processed successfully",
>   "data": {
>     "isValid": true,
>     "success": true,
>     "message": "Berhasil",
>     "data": {
>       "nik": true,
>       "name": true,
>       "dateOfBirth": true,
>       "selfieImagePercentage": "95.40",
>       "livenessResult": null,
>       "livenessFailMessage": "",
>       "noKk": null,
>       "motherMaidenName": null,
>       "placeOfBirth": true,
>       "address": true,
>       "gender": true,
>       "maritalStatus": true,
>       "jobType": true,
>       "province": true,
>       "city": true,
>       "district": true,
>       "subdistrict": true,
>       "rt": true,
>       "rw": true,
>       "uuid": "b2e1d3f5-7c9a-4b2c-8d4e-3f6a8b0c2d11",
>       "url": "",
>       "reasonCode": "1",
>       "errorMessage": null
>     }
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "dukcapil_full",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] VERIFIED — Sample 2: Family card and mother's maiden name also match
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "nik": "3171010101900015",
>   "name": "BUDI SANTOSO",
>   "date_of_birth": "1990-01-01",
>   "gender": "Male",
>   "place_of_birth": "JAKARTA",
>   "marital_status": "BELUM KAWIN",
>   "job_type": "KARYAWAN SWASTA",
>   "address": "JL. SUDIRMAN NO. 1",
>   "province": "DKI JAKARTA",
>   "city": "JAKARTA PUSAT",
>   "district": "TANAH ABANG",
>   "subdistrict": "BENDUNGAN HILIR",
>   "rt": "001",
>   "rw": "002",
>   "selfie_image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Indonesia Dukcapil Full processed successfully",
>   "data": {
>     "isValid": true,
>     "success": true,
>     "message": "Berhasil",
>     "data": {
>       "nik": true,
>       "name": true,
>       "dateOfBirth": true,
>       "selfieImagePercentage": "97.10",
>       "livenessResult": null,
>       "livenessFailMessage": "",
>       "noKk": true,
>       "motherMaidenName": true,
>       "placeOfBirth": true,
>       "address": true,
>       "gender": true,
>       "maritalStatus": true,
>       "jobType": true,
>       "province": true,
>       "city": true,
>       "district": true,
>       "subdistrict": true,
>       "rt": true,
>       "rw": true,
>       "uuid": "b2e1d3f5-7c9a-4b2c-8d4e-3f6a8b0c2d15",
>       "url": "",
>       "reasonCode": "1",
>       "errorMessage": null
>     }
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "dukcapil_full",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

### Rejected

A rejection is a completed verification, not an error. It returns HTTP `200` with `verificationStatus` set to `REJECTED`.

> [accordion] REJECTED — Face does not match
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "nik": "3171010101900012",
>   "name": "BUDI SANTOSO",
>   "date_of_birth": "1990-01-01",
>   "gender": "Male",
>   "place_of_birth": "JAKARTA",
>   "marital_status": "BELUM KAWIN",
>   "job_type": "KARYAWAN SWASTA",
>   "address": "JL. SUDIRMAN NO. 1",
>   "province": "DKI JAKARTA",
>   "city": "JAKARTA PUSAT",
>   "district": "TANAH ABANG",
>   "subdistrict": "BENDUNGAN HILIR",
>   "rt": "001",
>   "rw": "002",
>   "selfie_image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Indonesia Dukcapil Full processed successfully",
>   "data": {
>     "isValid": true,
>     "success": true,
>     "message": "Berhasil",
>     "data": {
>       "nik": true,
>       "name": true,
>       "dateOfBirth": true,
>       "selfieImagePercentage": "11.22",
>       "livenessResult": null,
>       "livenessFailMessage": "",
>       "noKk": null,
>       "motherMaidenName": null,
>       "placeOfBirth": true,
>       "address": true,
>       "gender": true,
>       "maritalStatus": true,
>       "jobType": true,
>       "province": true,
>       "city": true,
>       "district": true,
>       "subdistrict": true,
>       "rt": true,
>       "rw": true,
>       "uuid": "b2e1d3f5-7c9a-4b2c-8d4e-3f6a8b0c2d12",
>       "url": "",
>       "reasonCode": "1",
>       "errorMessage": null
>     }
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "dukcapil_full",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> `selfieImagePercentage` is below `70`, so the result is `REJECTED` even though the identity details match.

> [accordion] REJECTED — Name does not match
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "nik": "3171010101900013",
>   "name": "BUDI SANTOSO",
>   "date_of_birth": "1990-01-01",
>   "gender": "Male",
>   "place_of_birth": "JAKARTA",
>   "marital_status": "BELUM KAWIN",
>   "job_type": "KARYAWAN SWASTA",
>   "address": "JL. SUDIRMAN NO. 1",
>   "province": "DKI JAKARTA",
>   "city": "JAKARTA PUSAT",
>   "district": "TANAH ABANG",
>   "subdistrict": "BENDUNGAN HILIR",
>   "rt": "001",
>   "rw": "002",
>   "selfie_image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Indonesia Dukcapil Full processed successfully",
>   "data": {
>     "isValid": true,
>     "success": true,
>     "message": "Berhasil",
>     "data": {
>       "nik": true,
>       "name": false,
>       "dateOfBirth": true,
>       "selfieImagePercentage": "91.00",
>       "livenessResult": null,
>       "livenessFailMessage": "",
>       "noKk": null,
>       "motherMaidenName": null,
>       "placeOfBirth": true,
>       "address": true,
>       "gender": true,
>       "maritalStatus": true,
>       "jobType": true,
>       "province": true,
>       "city": true,
>       "district": true,
>       "subdistrict": true,
>       "rt": true,
>       "rw": true,
>       "uuid": "b2e1d3f5-7c9a-4b2c-8d4e-3f6a8b0c2d13",
>       "url": "",
>       "reasonCode": "1",
>       "errorMessage": null
>     }
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "dukcapil_full",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> `name` is `false`. A mismatch in `nik`, `name` or `dateOfBirth` always gives `REJECTED`.

> [accordion] REJECTED — Date of birth does not match
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "nik": "3171010101900014",
>   "name": "BUDI SANTOSO",
>   "date_of_birth": "1990-01-01",
>   "gender": "Male",
>   "place_of_birth": "JAKARTA",
>   "marital_status": "BELUM KAWIN",
>   "job_type": "KARYAWAN SWASTA",
>   "address": "JL. SUDIRMAN NO. 1",
>   "province": "DKI JAKARTA",
>   "city": "JAKARTA PUSAT",
>   "district": "TANAH ABANG",
>   "subdistrict": "BENDUNGAN HILIR",
>   "rt": "001",
>   "rw": "002",
>   "selfie_image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Indonesia Dukcapil Full processed successfully",
>   "data": {
>     "isValid": true,
>     "success": true,
>     "message": "Berhasil",
>     "data": {
>       "nik": true,
>       "name": true,
>       "dateOfBirth": false,
>       "selfieImagePercentage": "93.70",
>       "livenessResult": null,
>       "livenessFailMessage": "",
>       "noKk": null,
>       "motherMaidenName": null,
>       "placeOfBirth": true,
>       "address": true,
>       "gender": true,
>       "maritalStatus": true,
>       "jobType": true,
>       "province": true,
>       "city": true,
>       "district": true,
>       "subdistrict": true,
>       "rt": true,
>       "rw": true,
>       "uuid": "b2e1d3f5-7c9a-4b2c-8d4e-3f6a8b0c2d14",
>       "url": "",
>       "reasonCode": "1",
>       "errorMessage": null
>     }
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "dukcapil_full",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> `dateOfBirth` is `false`. A mismatch in `nik`, `name` or `dateOfBirth` always gives `REJECTED`.

> [accordion] REJECTED — NIK not found
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "nik": "3171010101900010",
>   "name": "BUDI SANTOSO",
>   "date_of_birth": "1990-01-01",
>   "gender": "Male",
>   "place_of_birth": "JAKARTA",
>   "marital_status": "BELUM KAWIN",
>   "job_type": "KARYAWAN SWASTA",
>   "address": "JL. SUDIRMAN NO. 1",
>   "province": "DKI JAKARTA",
>   "city": "JAKARTA PUSAT",
>   "district": "TANAH ABANG",
>   "subdistrict": "BENDUNGAN HILIR",
>   "rt": "001",
>   "rw": "002",
>   "selfie_image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Indonesia Dukcapil Full processed successfully",
>   "data": {
>     "isValid": true,
>     "success": true,
>     "message": "Berhasil",
>     "data": {
>       "nik": false,
>       "name": null,
>       "dateOfBirth": null,
>       "selfieImagePercentage": null,
>       "livenessResult": null,
>       "livenessFailMessage": "",
>       "noKk": null,
>       "motherMaidenName": null,
>       "placeOfBirth": null,
>       "address": null,
>       "gender": null,
>       "maritalStatus": null,
>       "jobType": null,
>       "province": null,
>       "city": null,
>       "district": null,
>       "subdistrict": null,
>       "rt": null,
>       "rw": null,
>       "uuid": "b2e1d3f5-7c9a-4b2c-8d4e-3f6a8b0c2d10",
>       "url": "",
>       "reasonCode": "1",
>       "errorMessage": "Data Tidak Ditemukan, NIK tidak terdapat di database Kependudukan"
>     }
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "dukcapil_full",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> The NIK is not in the Dukcapil population database. `errorMessage` is Dukcapil's own text, in Indonesian, and every field except `nik` is `null`.

> [accordion] REJECTED — NIK not on this page
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "nik": "3171010101999999",
>   "name": "BUDI SANTOSO",
>   "date_of_birth": "1990-01-01",
>   "gender": "Male",
>   "place_of_birth": "JAKARTA",
>   "marital_status": "BELUM KAWIN",
>   "job_type": "KARYAWAN SWASTA",
>   "address": "JL. SUDIRMAN NO. 1",
>   "province": "DKI JAKARTA",
>   "city": "JAKARTA PUSAT",
>   "district": "TANAH ABANG",
>   "subdistrict": "BENDUNGAN HILIR",
>   "rt": "001",
>   "rw": "002",
>   "selfie_image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Indonesia Dukcapil Full processed successfully",
>   "data": {
>     "isValid": true,
>     "success": true,
>     "message": "Berhasil",
>     "data": {
>       "nik": false,
>       "name": null,
>       "dateOfBirth": null,
>       "selfieImagePercentage": null,
>       "livenessResult": null,
>       "livenessFailMessage": "",
>       "noKk": null,
>       "motherMaidenName": null,
>       "placeOfBirth": null,
>       "address": null,
>       "gender": null,
>       "maritalStatus": null,
>       "jobType": null,
>       "province": null,
>       "city": null,
>       "district": null,
>       "subdistrict": null,
>       "rt": null,
>       "rw": null,
>       "uuid": null,
>       "url": "",
>       "reasonCode": "1",
>       "errorMessage": "Data Tidak Ditemukan, NIK tidak terdapat di database Kependudukan"
>     }
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "dukcapil_full",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> Any `nik` that is not listed on this page returns this same response, so `3171010101999999` is only an example. It matches what live returns for a NIK that Dukcapil has no record of.

### Validation failures

Validation runs before any fixture matching, so these behave identically in sandbox and live. They return HTTP `400`, and `message` is the first validation error.

> [accordion] Validation failed — Required fields missing
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>"
> }
> ```
>
> **Response** — HTTP `400`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "The nik field is required.",
>   "errors": {
>     "nik": ["The nik field is required."],
>     "name": ["The name field is required."],
>     "date_of_birth": ["The date of birth field is required."],
>     "gender": ["The gender field is required."],
>     "place_of_birth": ["The place of birth field is required."],
>     "marital_status": ["The marital status field is required."],
>     "job_type": ["The job type field is required."],
>     "address": ["The address field is required."],
>     "province": ["The province field is required."],
>     "city": ["The city field is required."],
>     "district": ["The district field is required."],
>     "subdistrict": ["The subdistrict field is required."],
>     "rt": ["The rt field is required."],
>     "rw": ["The rw field is required."],
>     "selfie_image": ["The selfie image field is required."]
>   },
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] Not found — Trust validation does not exist
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "does-not-exist",
>   "nik": "3171010101900011",
>   "name": "BUDI SANTOSO",
>   "date_of_birth": "1990-01-01",
>   "gender": "Male",
>   "place_of_birth": "JAKARTA",
>   "marital_status": "BELUM KAWIN",
>   "job_type": "KARYAWAN SWASTA",
>   "address": "JL. SUDIRMAN NO. 1",
>   "province": "DKI JAKARTA",
>   "city": "JAKARTA PUSAT",
>   "district": "TANAH ABANG",
>   "subdistrict": "BENDUNGAN HILIR",
>   "rt": "001",
>   "rw": "002",
>   "selfie_image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
> }
> ```
>
> **Response** — HTTP `404`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "Trust Validation Not Found",
>   "errors": {
>     "trustValidation": "Trust Validation Not Found"
>   },
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> `trustValidationId` must belong to your company. Create a trust validation first, then use its ID.

### Source unavailable

> [accordion] Error — Data Source Unavailable
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "nik": "3171010101900019",
>   "name": "BUDI SANTOSO",
>   "date_of_birth": "1990-01-01",
>   "gender": "Male",
>   "place_of_birth": "JAKARTA",
>   "marital_status": "BELUM KAWIN",
>   "job_type": "KARYAWAN SWASTA",
>   "address": "JL. SUDIRMAN NO. 1",
>   "province": "DKI JAKARTA",
>   "city": "JAKARTA PUSAT",
>   "district": "TANAH ABANG",
>   "subdistrict": "BENDUNGAN HILIR",
>   "rt": "001",
>   "rw": "002",
>   "selfie_image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
> }
> ```
>
> **Response** — HTTP `503`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "Dukcapil API call failed",
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> There is no `data`, `verificationStatus` or `trustValidationId` in this response. In live, the HTTP status is the one Dukcapil returned. Treat it as a temporary failure and retry later. No credit is charged in live mode.

### Account-level responses

Two further responses are not specific to this endpoint. A missing or invalid `Authorization` header returns HTTP `401`, and an account without the `dukcapil_full` plan returns HTTP `403` — both enforced in sandbox exactly as in live. See [Sandbox introduction](https://docs.idmetagroup.com/api-reference/sandbox.md#non-verification-responses) for their envelopes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.