Skip to main content
Sandbox payloads for the PhilSys Check 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). philsysRPIdentifier is optional and does not affect sandbox matching. Values must match exactly. createdAt is generated per request, and trustFlowId, trustValidationId and metadata are echoed back from your request and trust validation. The same payloads work on PhilSys Check Tier 1 sandbox. Tier 1 returns less data. See Sandbox introduction for the shared sandbox rules. This endpoint is synchronous: the result is in the HTTP response and no webhook is sent.

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:. The 16-digit PCN it carries is returned with dashes in PCN.
Request
Response — HTTP 200
The Digital ID QR is a JSON string. Its id is returned as digitalId.
Request
Response — HTTP 200
This response carries the name and birth date twice: in the normal keys (firstName, middleName, lastName, birthDate) and in the PhilID card’s own keys (fName, mName, lName, DOB).
Request
Response — HTTP 200
A suffix of "N/A" is returned as null. Send "N/A" 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.reason explains the result. No identity fields are returned.
Request
Response — HTTP 200
Request
Response — HTTP 200
Any pcn that is not listed on this page returns this same response, so 1111-2222-3333-4444 is only an example. It differs from the sample above only in data.response, which has no code.

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
success is false and HTTP status is 500, but the response still carries verificationStatus 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 scan_qr plan returns HTTP 403 — both enforced in sandbox exactly as in live. See Sandbox introduction for their envelopes.