> ## 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 SSS sandbox

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

Sandbox payloads for the [Philippines SSS](https://docs.idmetagroup.com/api-reference/government-data/philippines/ph-sss/ph-sss.md) endpoint.

```http theme={null}
POST /api/v3/verifications/philippines/social-security
```

When your account is in sandbox mode, these payloads return the outcomes shown below. No credit is reserved or charged.

Only `crnSsNumber` 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](https://docs.idmetagroup.com/api-reference/sandbox.md) for the shared sandbox rules.

This endpoint is synchronous, in sandbox as in live. The result is returned in the HTTP response and no webhook is sent.

### Verified

> [accordion] VERIFIED — Sample 1: SSS number verified
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "crnSsNumber": "0111111111"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines SSS processed successfully",
>   "data": {
>     "isValid": true
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_social_security",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] VERIFIED — Sample 2: SSS number verified
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "crnSsNumber": "0222222222"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines SSS processed successfully",
>   "data": {
>     "isValid": true
>   },
>   "verificationStatus": "VERIFIED",
>   "verificationStatusCode": 3,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_social_security",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

### Rejected

> [accordion] REJECTED — Sample 1: SSS number not verified
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "crnSsNumber": "0999999999"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines SSS processed successfully",
>   "data": {
>     "isValid": false
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_social_security",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] REJECTED — Sample 2: SSS number not verified
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "crnSsNumber": "0888888888"
> }
> ```
>
> **Response** — HTTP `200`
>
> ```json theme={null}
> {
>   "success": true,
>   "message": "Philippines SSS processed successfully",
>   "data": {
>     "isValid": false
>   },
>   "verificationStatus": "REJECTED",
>   "verificationStatusCode": 1,
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "verificationType": "philippines_social_security",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> Any `crnSsNumber` that is not listed on this page returns this same response. A rejection is a completed verification, not an error: `success` is `true` and the HTTP status is `200`.

### Source unavailable

| Sample | `crnSsNumber` | Scenario | `verificationStatus` |
| - | - | - | - |
| 1 | `0000000000` | Data source unavailable | `FAILED` |
| 2 | `0000000001` | Data source unavailable | `FAILED` |

> [accordion] FAILED — Sample 1: Data source unavailable
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "crnSsNumber": "0000000000"
> }
> ```
>
> **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_social_security",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] FAILED — Sample 2: Data source unavailable
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>",
>   "crnSsNumber": "0000000001"
> }
> ```
>
> **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_social_security",
>   "metadata": null,
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```
>
> `success` is `false`, `verificationStatus` is `FAILED` and `data` is `null`: the government 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.

### 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. `crnSsNumber` is required.

> [accordion] Validation failed — CRN / SS number missing
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "<your trust validation id>"
> }
> ```
>
> **Response** — HTTP `400`
>
> ```json theme={null}
> {
>   "success": false,
>   "message": "The crn ss number field is required.",
>   "errors": {
>     "crnSsNumber": [
>       "The crn ss number field is required."
>     ]
>   },
>   "createdAt": "<UTC timestamp of the request>"
> }
> ```

> [accordion] Not found — Trust validation does not exist
>
> **Request**
>
> ```json theme={null}
> {
>   "trustFlowId": "<your trust flow id>",
>   "trustValidationId": "does-not-exist",
>   "crnSsNumber": "0111111111"
> }
> ```
>
> **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_social_security` 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.