Skip to main content
Sandbox payloads for the PhilSys QR Verification endpoint.
When your account is in sandbox mode, these payloads return the outcomes shown below. No credit is reserved or charged. Only qr_value selects the scenario. Values must match exactly. createdAt is generated per request, and trustFlowId, trustValidationId and metadata are echoed back from your request and trust validation. See Sandbox introduction for the shared sandbox rules.

Verified

Request
Response — HTTP 200
Request
Response — HTTP 200

Rejected

A rejection is a completed verification, not an error: success is true and the HTTP status is 200. A rejected QR returns no qrValue.
Request
Response — HTTP 200
Request
Response — HTTP 200
Request
Response — HTTP 200
Any qr_value that is not listed on this page returns this same response, so PH1:SANDBOX-UNLISTED-0001 is only an example.

Source unavailable

These two values simulate the QR verification source being unavailable. They currently return the same REJECTED result as an invalid QR, with success set to true and HTTP status 200, not an error response.
Request
Response — HTTP 200
Request
Response — HTTP 200

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. qr_value 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 qr_verification plan returns HTTP 403 — both enforced in sandbox exactly as in live. See Sandbox introduction for their envelopes.