> ## 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.

# Philippines NDRP sandbox

> Predetermined API payloads to retrieve every Philippines NDRP status in sandbox mode.

Sandbox payloads for the [Philippines NDRP](https://docs.idmetagroup.com/api-reference/government-data/philippines/ph-ndrp/philippines-ndrp-check.md) endpoint.

```http theme={null}
POST /api/v3/verifications/philippines/ndrp
```

When your account is in sandbox mode, these payloads return the outcomes shown below. No credit is reserved or charged. Any other valid payload is answered as NDRP finding no records — HTTP `200` with `verificationStatus` set to `VERIFIED`.

Only `fullName` selects which records come back. `dateOfBirth` does not change the records, but it is compared with their birth dates to decide the status, exactly as in live. Values are case-sensitive. `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

NDRP returned no records for the name.

> [accordion] VERIFIED — sample 1
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": "Juan Dela Cruz"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines NDRP check processed successfully",
>   "data": {
>     "isRestricted": false,
>     "totalNumberOfRecords": 0,
>     "numberOfGelRecords": 0,
>     "numberOfGuestRecords": 0,
>     "numberOfGovtRecords": 0,
>     "records": []
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_ndrp",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] VERIFIED — sample 2, with birth date
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": "Maria Lopez Reyes",
>   "dateOfBirth": "1985-07-22"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines NDRP check processed successfully",
>   "data": {
>     "isRestricted": false,
>     "totalNumberOfRecords": 0,
>     "numberOfGelRecords": 0,
>     "numberOfGuestRecords": 0,
>     "numberOfGovtRecords": 0,
>     "records": []
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_ndrp",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> With no records returned, `dateOfBirth` has nothing to compare against and does not change the outcome.

> [accordion] VERIFIED — Unmatched payload fallback
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": "Carlos Bautista"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines NDRP check processed successfully",
>   "data": {
>     "isRestricted": false,
>     "totalNumberOfRecords": 0,
>     "numberOfGelRecords": 0,
>     "numberOfGuestRecords": 0,
>     "numberOfGovtRecords": 0,
>     "records": []
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_ndrp",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> This name matches no documented scenario, so it is answered as NDRP finding no records. Fire it once to confirm that an unknown name never reaches the live NDRP source.

### Review needed

NDRP returned at least one record for the name, but no record's birth date matches `dateOfBirth`. A person with the same name may not be the same person, so the result is sent for manual review. This is the default when the trust flow's NDRP **Restricted match action** setting is **Manual**.

> [accordion] REVIEW\_NEEDED — Name match, no birth date sent
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": "Pedro Santos Garcia"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines NDRP check processed successfully",
>   "data": {
>     "isRestricted": true,
>     "totalNumberOfRecords": 1,
>     "numberOfGelRecords": 1,
>     "numberOfGuestRecords": 0,
>     "numberOfGovtRecords": 0,
>     "records": [
>       {
>         "firstName": "PEDRO",
>         "middleName": "SANTOS",
>         "lastName": "GARCIA",
>         "birthdate": "1980-03-10",
>         "source": "GEL",
>         "photoPath": null
>       }
>     ]
>   },
>   "verificationStatus": "REVIEW_NEEDED",
>   "verificationStatusCode": 2,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_ndrp",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> NDRP returns `Unavailable` when it has no photo or birth date. The response shows these as `null`.

> [accordion] REVIEW\_NEEDED — Name match, birth date differs
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": "Ana Cruz Mendoza",
>   "dateOfBirth": "1990-01-01"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines NDRP check processed successfully",
>   "data": {
>     "isRestricted": true,
>     "totalNumberOfRecords": 2,
>     "numberOfGelRecords": 1,
>     "numberOfGuestRecords": 0,
>     "numberOfGovtRecords": 1,
>     "records": [
>       {
>         "firstName": "ANA",
>         "middleName": "CRUZ",
>         "lastName": "MENDOZA",
>         "birthdate": "1975-11-02",
>         "source": "GEL",
>         "photoPath": null
>       },
>       {
>         "firstName": "ANA",
>         "middleName": "CRUZ",
>         "lastName": "MENDOZA",
>         "birthdate": null,
>         "source": "GOVT",
>         "photoPath": null
>       }
>     ]
>   },
>   "verificationStatus": "REVIEW_NEEDED",
>   "verificationStatusCode": 2,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_ndrp",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

### Rejected

A rejection is a completed verification, not an error: `success` is `true` and HTTP status is `200`.

> [accordion] REJECTED — Name and birth date match
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": "Pedro Santos Garcia",
>   "dateOfBirth": "1980-03-10"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines NDRP check processed successfully",
>   "data": {
>     "isRestricted": true,
>     "totalNumberOfRecords": 1,
>     "numberOfGelRecords": 1,
>     "numberOfGuestRecords": 0,
>     "numberOfGovtRecords": 0,
>     "records": [
>       {
>         "firstName": "PEDRO",
>         "middleName": "SANTOS",
>         "lastName": "GARCIA",
>         "birthdate": "1980-03-10",
>         "source": "GEL",
>         "photoPath": null
>       }
>     ]
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_ndrp",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> `dateOfBirth` exactly matches the returned record's birth date, so the record is taken to be this person.

> [accordion] REJECTED — Birth date matches one of several records
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": "Ana Cruz Mendoza",
>   "dateOfBirth": "1975-11-02"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines NDRP check processed successfully",
>   "data": {
>     "isRestricted": true,
>     "totalNumberOfRecords": 2,
>     "numberOfGelRecords": 1,
>     "numberOfGuestRecords": 0,
>     "numberOfGovtRecords": 1,
>     "records": [
>       {
>         "firstName": "ANA",
>         "middleName": "CRUZ",
>         "lastName": "MENDOZA",
>         "birthdate": "1975-11-02",
>         "source": "GEL",
>         "photoPath": null
>       },
>       {
>         "firstName": "ANA",
>         "middleName": "CRUZ",
>         "lastName": "MENDOZA",
>         "birthdate": null,
>         "source": "GOVT",
>         "photoPath": null
>       }
>     ]
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_ndrp",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> One matching record is enough to reject.

> [accordion] REJECTED — Name match with Restricted match action set to Rejected
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": "Pedro Santos Garcia",
>   "dateOfBirth": "1990-01-01"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines NDRP check processed successfully",
>   "data": {
>     "isRestricted": true,
>     "totalNumberOfRecords": 1,
>     "numberOfGelRecords": 1,
>     "numberOfGuestRecords": 0,
>     "numberOfGovtRecords": 0,
>     "records": [
>       {
>         "firstName": "PEDRO",
>         "middleName": "SANTOS",
>         "lastName": "GARCIA",
>         "birthdate": "1980-03-10",
>         "source": "GEL",
>         "photoPath": null
>       }
>     ]
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_ndrp",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> The birth date does not match, which would normally return `REVIEW_NEEDED`. When the trust flow's NDRP **Restricted match action** setting is **Rejected**, any name match is rejected instead. This is a trust flow setting, not a request field.

### Validation failures

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

> [accordion] VALIDATION\_FAILED — Full name missing
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": ""
> }
> ```
>
> **Response** — HTTP `400`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "The full name field is required.",
>   "errors": {
>     "fullName": ["The full name field is required."]
>   },
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> `fullName` must be between 2 and 255 characters.

> [accordion] VALIDATION\_FAILED — Full name too short
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": "J"
> }
> ```
>
> **Response** — HTTP `400`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "The full name must be at least 2 characters.",
>   "errors": {
>     "fullName": ["The full name must be at least 2 characters."]
>   },
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] VALIDATION\_FAILED — Birth date in the wrong format
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": "Pedro Santos Garcia",
>   "dateOfBirth": "10/03/1980"
> }
> ```
>
> **Response** — HTTP `400`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "The date of birth does not match the format Y-m-d.",
>   "errors": {
>     "dateOfBirth": ["The date of birth does not match the format Y-m-d."]
>   },
>   "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",
>   "fullName": "Juan Dela Cruz"
> }
> ```
>
> **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] FAILED — NDRP source unavailable, sample 1
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": "Sandbox Unavailable"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "Government site down",
>   "data": null,
>   "verificationStatus": "FAILED",
>   "verificationStatusCode": 6,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_ndrp",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> `success` is `false`, `verificationStatus` is `FAILED` and `data` is `null`: NDRP could not be reached, so the verification could not be completed. It is still returned with HTTP `200`. Treat it as a temporary failure and retry later.

> [accordion] FAILED — NDRP source unavailable, sample 2
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "fullName": "Sandbox Unavailable Two",
>   "dateOfBirth": "1980-03-10"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "Government site down",
>   "data": null,
>   "verificationStatus": "FAILED",
>   "verificationStatusCode": 6,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_ndrp",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

### 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 `philippines_ndrp` 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.