Skip to main content
Sandbox payloads for the Philippines National Police endpoint.
When your account is in sandbox mode, these payloads return the outcomes shown below. No credit is reserved or charged. clearanceNo and surname together select the scenario, and both must match. Values must match exactly, including case: Santos matches the first verified scenario, SANTOS does not. 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
Send multi-word surnames with their spaces, exactly as printed on the clearance.

Rejected

A rejection is a completed verification, not an error: success is true and the HTTP status is 200. All three return the same response, so your integration cannot tell a surname mismatch from a missing clearance.
Request
Response — HTTP 200
The clearance number is the same one used in the first verified scenario. A different surname rejects the clearance and returns none of the holder’s details.
Request
Response — HTTP 200
Request
Response — HTTP 200
Any clearanceNo and surname combination that is not listed on this page returns this same response, so this payload is only an example.

Source unavailable

Request
Response — HTTP 200
The government source could not be reached, so success is false, data is null and verificationStatus is FAILED, but the HTTP status is still 200. 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. clearanceNo and surname are both 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 philippines_national_police plan returns HTTP 403 — both enforced in sandbox exactly as in live. See Sandbox introduction for their envelopes.