Skip to main content
Sandbox payloads for the PhilSys Check Tier 1 endpoint, for all three input modes: PCN, personal information and QR scan.
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. Tier 1 returns less: isValid plus full_name on a match, or isValid plus reason on a rejection. See Sandbox introduction for the shared sandbox rules.

Face liveness session

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 response when sent with PCN 3721-0948-5163-2807.

Verified

Request
Response — HTTP 200
Request
Response — HTTP 200
The ePhilID QR is a colon-delimited string beginning with PH1:.
Request
Response — HTTP 200
The Digital ID QR is a JSON string.
Request
Response — HTTP 200
The PhilID QR is a JSON string that carries the PCN.
Request
Response — HTTP 200
Send "N/A" as suffix when the person has no suffix.
Request
Response — HTTP 200
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.
Request
Response — HTTP 200
Request
Response — HTTP 200
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

Request
Response — HTTP 400
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

Request
Response — HTTP 500
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.
Request
Response — HTTP 400
Request
Response — HTTP 404
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 for their envelopes.