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

# PhilSys Check Tier 1 sandbox

> Predetermined API payloads to retrieve every PhilSys Check Tier 1 status in sandbox mode.

Sandbox payloads for the PhilSys Check Tier 1 endpoint, for all three input modes: [PCN](https://docs.idmetagroup.com/api-reference/government-data/philippines/ph-philsys-check-tier-1/ph-philsys-pcn.md), [personal information](https://docs.idmetagroup.com/api-reference/government-data/philippines/ph-philsys-check-tier-1/ph-philsys-personal-information.md) and [QR scan](https://docs.idmetagroup.com/api-reference/government-data/philippines/ph-philsys-check-tier-1/ph-philsys-qr-scan.md).

```http theme={null}
POST /api/v3/verifications/philippines/philsys-check-tier-1
```

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

The identity is selected by one of `pcn`, `qr_data`, or `pcnFormData` (`first_name`, `middle_name`, `last_name`, `suffix`, `birth_date`). `face_liveness_session_id` is still required, but it does not select the identity (see below). Values must match exactly. `createdAt` is generated per request, and `trustFlowId`, `trustValidationId` and `metadata` are echoed back from your request and trust validation.

These are the same payloads as [PhilSys Check sandbox](https://docs.idmetagroup.com/api-reference/sandbox/philippines-philsys-check-tier-2.md). Tier 1 returns less: `isValid` plus `full_name` on a match, or `isValid` plus `reason` on a rejection.

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

### Face liveness session

> [!NOTE]
>
> `face_liveness_session_id` must be a valid UUID, but any UUID works with every identity on this page. That includes a real liveness session ID from the SDK or web flow, so you can pair a real face scan with any sandbox identity. The one exception is `00000000-0000-4000-8000-000000000000`, which returns the [face liveness failed](#face-liveness-failed) response when sent with PCN `3721-0948-5163-2807`.

### Verified

> [accordion] VERIFIED — Sample 1: PCN
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "face_liveness_session_id": "0f8a7c31-5d64-4e2b-9a17-3c6b8e2d4f10",
>   "pcn": "3721-0948-5163-2807"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "PhilSys Check Tier 1 processed successfully",
>   "data": {
>     "isValid": true,
>     "full_name": "JUAN CARLOS DELA CRUZ"
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philsys_check_tier_1",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] VERIFIED — Sample 2: ePhilID QR code
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "face_liveness_session_id": "1b93d5e7-2a48-4c91-8f06-7d2e5a9c3b84",
>   "qr_data": "PH1:4085273619042758:MARIA ISABEL:SANTOS REYES:1992-07-22:F"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "PhilSys Check Tier 1 processed successfully",
>   "data": {
>     "isValid": true,
>     "full_name": "MARIA ISABEL SANTOS REYES"
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philsys_check_tier_1",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> The ePhilID QR is a colon-delimited string beginning with `PH1:`.

> [accordion] VERIFIED — Sample 3: Digital ID QR code
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "face_liveness_session_id": "2c47f8a0-6b13-4d85-a29e-5f1c7b3d9e62",
>   "qr_data": "{\"iss\":\"PSA\",\"v\":\"1.0\",\"id\":\"K7M2Q9X\",\"z\":\"tHq4Zr8XmPcL2vKdN6sYwA9bE3fJgU5oR1nT7iBxCyDzSaFhVeMjQkWlOpIuGt\",\"type\":\"DigitalID\"}"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "PhilSys Check Tier 1 processed successfully",
>   "data": {
>     "isValid": true,
>     "full_name": "PEDRO ANTONIO RAMOS"
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philsys_check_tier_1",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> The Digital ID QR is a JSON string.

> [accordion] VERIFIED — Sample 4: PhilID QR code
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "face_liveness_session_id": "3d56a9b2-7c84-4f31-b60d-8e2a4c7f1953",
>   "qr_data": "{\"alg\":\"EDDSA\",\"signature\":\"mQ8xTvKr3ZpLc7NwYd2SbG5jHf9AeUoRi4tXnB6CyDzVaMhQkWlOpIuGtEsFrJ\",\"pcn\":\"5290-6174-8352-0916\"}"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "PhilSys Check Tier 1 processed successfully",
>   "data": {
>     "isValid": true,
>     "full_name": "ANA LUCIA BAUTISTA"
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philsys_check_tier_1",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> The PhilID QR is a JSON string that carries the PCN.

> [accordion] VERIFIED — Sample 5: Personal information
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "face_liveness_session_id": "4e67b0c3-8d95-4a72-c51e-9f3b5d8a2064",
>   "pcnFormData": {
>     "first_name": "ROSA",
>     "middle_name": "AQUINO",
>     "last_name": "VILLANUEVA",
>     "suffix": "N/A",
>     "birth_date": "1985-12-05"
>   }
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "PhilSys Check Tier 1 processed successfully",
>   "data": {
>     "isValid": true,
>     "full_name": "ROSA AQUINO VILLANUEVA"
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philsys_check_tier_1",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> Send `"N/A"` as `suffix` when the person has no suffix.

> [accordion] VERIFIED — Sample 6: Extra PCN identity
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "face_liveness_session_id": "00000000-0000-4000-8000-000000000001",
>   "pcn": "9999-0000-9999-0000"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "PhilSys Check Tier 1 processed successfully",
>   "data": {
>     "isValid": true,
>     "full_name": "JOSE MIGUEL TORRES"
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philsys_check_tier_1",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> A second PCN identity. Like every identity on this page, it accepts any valid UUID as `face_liveness_session_id`, so you can use it to test the full capture-then-verify flow with a real liveness session.

### Rejected

A rejection is a completed verification, not an error: `success` is `true`, the HTTP status is `200`, and `data` carries a `reason` instead of `full_name`.

> [accordion] REJECTED — Not found in PhilSys
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "face_liveness_session_id": "5f78c1d4-9e06-4b83-d62f-0a4c6e9b3175",
>   "pcn": "6403-8291-5740-1638"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "PhilSys Check Tier 1 processed successfully",
>   "data": {
>     "isValid": false,
>     "reason": "Invalid PhilSys ID Information"
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philsys_check_tier_1",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] REJECTED — Unlisted PCN
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "face_liveness_session_id": "8b2f6c1e-3a47-4d9b-a5e2-7c1d9f4b6a30",
>   "pcn": "1111-2222-3333-4444"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "PhilSys Check Tier 1 processed successfully",
>   "data": {
>     "isValid": false,
>     "reason": "Invalid PhilSys ID Information"
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philsys_check_tier_1",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> Any `pcn` that is not listed on this page returns the same response as the not-found sample above, so `1111-2222-3333-4444` is only an example.

### Face liveness failed

> [accordion] Error — Face liveness session expired
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "face_liveness_session_id": "00000000-0000-4000-8000-000000000000",
>   "pcn": "3721-0948-5163-2807"
> }
> ```
>
> **Response** — HTTP `400`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "The Liveness Sessions has Expired. Please perform liveness capturing again",
>   "errors": {
>     "face_liveness_session_id": ["The Liveness Sessions has Expired. Please perform liveness capturing again"]
>   },
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> This is what you get when the liveness session has expired or failed. There is no `data`, `verificationStatus` or `trustValidationId` in this response. Run a new liveness capture and send its session ID.

### Source unavailable

> [accordion] Error — PhilSys unavailable
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "face_liveness_session_id": "6a89d2e5-0f17-4c94-e73a-1b5d7f0c4286",
>   "pcn": "7516-3820-9471-5029"
> }
> ```
>
> **Response** — HTTP `500`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "PhilSys Check Tier 1 processed successfully",
>   "data": {
>     "isValid": false,
>     "reason": "Unable to Validation Philsys"
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philsys_check_tier_1",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> Despite the `message`, `success` is `false` and HTTP status is `500`, and `verificationStatus` is `REJECTED`. Treat it as a temporary failure and retry later.

### 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. `face_liveness_session_id` is required.

> [accordion] Validation failed — Face liveness session ID missing
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "pcn": "3721-0948-5163-2807"
> }
> ```
>
> **Response** — HTTP `400`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "The face liveness session id field is required.",
>   "errors": {
>     "face_liveness_session_id": ["The face liveness session id 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",
>   "face_liveness_session_id": "0f8a7c31-5d64-4e2b-9a17-3c6b8e2d4f10",
>   "pcn": "3721-0948-5163-2807"
> }
> ```
>
> **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.

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