Skip to main content
Sandbox payloads for the Philippines PRC endpoint, which supports two lookups: PRC by license and PRC by name.
When your account is in sandbox mode, these payloads return the outcomes shown below. No credit is reserved or charged. Every selecting field must match. Values must match exactly, including case. Send dateOfBirth as YYYY-MM-DD, exactly as shown: sandbox compares the value as sent, so 02/01/1990 does not match 1990-02-01. 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. This endpoint is synchronous: the result is in the HTTP response, and no webhook is sent. Each sample below shows the request and the response.

Verified

Request
Response — HTTP 200
birthdate is returned as MM/DD/YYYY, the format the PRC source uses, regardless of the YYYY-MM-DD you send.
Request
Response — HTTP 200
Request
Response — HTTP 200
This by-name result returns only the matched name, with no license number, birthdate or picture. The returned firstName is Jordan, while the request sends Jordon.
Request
Response — HTTP 200
This by-name result returns the full license record. Send multi-word surnames with their spaces, exactly as registered.

Rejected

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

Source unavailable

Each lookup has its own scenario. Both return the same response.
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.
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. When licenseNo is sent, profession, dateOfBirth and licenseNo are required; otherwise profession, firstName and lastName are required.
Request
Response — HTTP 400
licenseNo must be 6 or 7 digits.
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_prc plan returns HTTP 403 — both enforced in sandbox exactly as in live. See Sandbox introduction for their envelopes.