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
VERIFIED — sample 1
VERIFIED — sample 1
RequestResponse — HTTP
200VERIFIED — sample 2
VERIFIED — sample 2
RequestResponse — HTTP
200Rejected
A rejection is a completed verification, not an error:success is true and HTTP status is 200.
REJECTED — License number not verified
REJECTED — License number not verified
RequestResponse — HTTP
200REJECTED — Not verified, unmatched payload fallback
REJECTED — Not verified, unmatched payload fallback
RequestResponse — HTTP This license number matches no documented scenario, so it takes the no-match fallback — identical to the documented rejection above apart from
200trustValidationId 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 HTTP400, 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.
VALIDATION_FAILED — License number missing
VALIDATION_FAILED — License number missing
RequestResponse — HTTP
400VALIDATION_FAILED — License number invalid format
VALIDATION_FAILED — License number invalid format
RequestResponse — HTTP The same message is returned for any value that does not fit either format, even when it does start with a letter.
400VALIDATION_FAILED — Trust validation does not exist
VALIDATION_FAILED — Trust validation does not exist
RequestResponse — HTTP
404trustValidationId must belong to your company. Create a trust validation first, then use its ID.Source unavailable
Account-level responses
Two further responses are not specific to this endpoint. A missing or invalidAuthorization 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.
