Skip to main content
Sandbox payloads for the Philippines Driving License endpoint.
When your account is in sandbox mode, these payloads return the outcomes shown below. No credit is reserved or charged. Only licenseNumber selects the scenario. trustFlowId and trustValidationId are still validated, but do not change which scenario is returned. 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 HTTP status is 200.
Request
Response — HTTP 200
Request
Response — HTTP 200
This license number matches no documented scenario, so it takes the no-match fallback — identical to the documented rejection above apart from trustValidationId and createdAt. Fire it once to confirm that an unknown license never reaches the live LTO source.

Validation failures

Validation runs before any scenario matching, so these behave identically in sandbox and live. They return HTTP 400, and message is the first validation error. licenseNumber is required and must be a letter followed by 10 digits (A0000000000) or the A00-00-000000 format.
Request
Response — HTTP 400
Request
Response — HTTP 400
The same message is returned for any value that does not fit either format, even when it does start with a letter.
Request
Response — HTTP 404
trustValidationId must belong to your company. Create a trust validation first, then use its ID.

Source unavailable

Request
Response — HTTP 200
success is false, verificationStatus is FAILED and data is null: the LTO source could not be reached, so the verification could not be completed. It is still returned with HTTP 200. Treat it as a temporary failure and retry later.

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