> ## Documentation Index
> Fetch the complete documentation index at: https://docs.idmetagroup.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Philippines PRC sandbox

> Predetermined API payloads to retrieve every Philippines PRC status in sandbox mode.

Sandbox payloads for the Philippines PRC endpoint, which supports two lookups: [PRC by license](https://docs.idmetagroup.com/api-reference/government-data/philippines/ph-prc/prc-by-license.md) and [PRC by name](https://docs.idmetagroup.com/api-reference/government-data/philippines/ph-prc/prc-by-name.md).

```http theme={null}
POST /api/v3/verifications/philippines/prc
```

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](https://docs.idmetagroup.com/api-reference/sandbox.md) 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

> [accordion] VERIFIED — Sample 1: By license
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "profession": "Mechanical Engineer",
>   "dateOfBirth": "1990-02-01",
>   "licenseNo": "1234567"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines PRC processed successfully",
>   "data": {
>     "profession": "Mechanical Engineer",
>     "birthdate": "02/01/1990",
>     "fullName": "SANTOS, Jordon",
>     "registrationDate": "June 01, 2022",
>     "picture": "Qk06AAAAAAAAADYAAAAoAAAAAQAAAAEAAAABABgAAAAAAAQAAAATCwAAEwsAAAAAAAAAAAAA////AA==",
>     "isValid": true,
>     "licenseNumber": "1234567",
>     "pictureValidity": "December 20, 2028"
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_prc",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> `birthdate` is returned as `MM/DD/YYYY`, the format the PRC source uses, regardless of the `YYYY-MM-DD` you send.

> [accordion] VERIFIED — Sample 2: By license, second profession
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "profession": "Registered Nurse",
>   "dateOfBirth": "1992-08-15",
>   "licenseNo": "0765432"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines PRC processed successfully",
>   "data": {
>     "profession": "Registered Nurse",
>     "birthdate": "08/15/1992",
>     "fullName": "DELA CRUZ, Maria Reyes",
>     "registrationDate": "November 28, 2015",
>     "picture": "Qk06AAAAAAAAADYAAAAoAAAAAQAAAAEAAAABABgAAAAAAAQAAAATCwAAEwsAAAAAAAAAAAAA////AA==",
>     "isValid": true,
>     "licenseNumber": "0765432",
>     "pictureValidity": "August 15, 2027"
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_prc",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] VERIFIED — Sample 3: By name
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "profession": "Mechanical Engineer",
>   "firstName": "Jordon",
>   "lastName": "Santos"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines PRC processed successfully",
>   "data": {
>     "profession": "Mechanical Engineer",
>     "firstName": "Jordan",
>     "lastName": "Santos",
>     "isValid": true
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_prc",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> 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`.

> [accordion] VERIFIED — Sample 4: By name, compound surname
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "profession": "Registered Nurse",
>   "firstName": "Maria",
>   "lastName": "Dela Cruz"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines PRC processed successfully",
>   "data": {
>     "profession": "Registered Nurse",
>     "birthdate": "08/15/1992",
>     "fullName": "DELA CRUZ, Maria Reyes",
>     "registrationDate": "November 28, 2015",
>     "picture": "Qk06AAAAAAAAADYAAAAoAAAAAQAAAAEAAAABABgAAAAAAAQAAAATCwAAEwsAAAAAAAAAAAAA////AA==",
>     "isValid": true,
>     "licenseNumber": "0765432",
>     "pictureValidity": "August 15, 2027"
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_prc",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> 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.

> [accordion] REJECTED — Sample 1: Date of birth mismatch
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "profession": "Mechanical Engineer",
>   "dateOfBirth": "1991-02-01",
>   "licenseNo": "1234567"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines PRC processed successfully",
>   "data": {
>     "isValid": false
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_prc",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> 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.

> [accordion] REJECTED — Sample 2: License not found
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "profession": "Civil Engineer",
>   "dateOfBirth": "1988-05-20",
>   "licenseNo": "0000005"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines PRC processed successfully",
>   "data": {
>     "isValid": false
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_prc",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] REJECTED — Sample 3: Name not found
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "profession": "Civil Engineer",
>   "firstName": "Paolo",
>   "lastName": "Garcia"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines PRC processed successfully",
>   "data": {
>     "isValid": false
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_prc",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] REJECTED — Sample 4: Unlisted license
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "profession": "Civil Engineer",
>   "dateOfBirth": "1990-01-01",
>   "licenseNo": "7654321"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines PRC processed successfully",
>   "data": {
>     "isValid": false
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_prc",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> 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.

> [accordion] FAILED — Sample 1: Source unavailable, by license
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "profession": "Mechanical Engineer",
>   "dateOfBirth": "1990-02-01",
>   "licenseNo": "0000009"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "Government site down",
>   "data": null,
>   "verificationStatus": "FAILED",
>   "verificationStatusCode": 6,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_prc",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> 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.

> [accordion] FAILED — Sample 2: Source unavailable, by name
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "profession": "Mechanical Engineer",
>   "firstName": "Unavailable",
>   "lastName": "Source"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "Government site down",
>   "data": null,
>   "verificationStatus": "FAILED",
>   "verificationStatusCode": 6,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_prc",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

### 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.

> [accordion] Validation failed — License number format
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "profession": "Mechanical Engineer",
>   "dateOfBirth": "1990-02-01",
>   "licenseNo": "12-3456"
> }
> ```
>
> **Response** — HTTP `400`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "licenseNo must be 6 or 7 digits with no letters or dashes.",
>   "errors": {
>     "licenseNo": ["licenseNo must be 6 or 7 digits with no letters or dashes."]
>   },
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> `licenseNo` must be 6 or 7 digits.

> [accordion] Not found — Trust validation does not exist
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "does-not-exist",
>   "profession": "Mechanical Engineer",
>   "dateOfBirth": "1990-02-01",
>   "licenseNo": "1234567"
> }
> ```
>
> **Response** — HTTP `404`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "Trust Validation Not Found",
>   "errors": {
>     "trustValidation": "Trust Validation Not Found"
>   },
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> `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](https://docs.idmetagroup.com/api-reference/sandbox.md#non-verification-responses) for their envelopes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.