post
https://api.verihubs.com/v1/philippines/philsys/sandbox
The sandbox for PhilSys Service that enables you to check the response of PhilSys verification without using real data. All validations applied in Live mode are also applied here.
Required inputs
philsys_session_id— required, a valid UUID. Determines which scenario the transaction returns.pcnorpcn_form_data— required. You must send exactly one of the two: sending both, or neither, returns a validation error (only one of pcn or pcn_form_data must be provided/pcn or pcn_form_data is required).reference_id— optional. When it is empty, a random UUID is generated and returned in the response.
Scenario Description
| Scenario | pcn or pcn_form_data | philsys_session_id | Result |
|---|---|---|---|
| VERIFIED | pcn = 1234123412341234 or pcn_form_data = John / Joseph / Doe / Jr / 01-01-2000 | 0e71f1ed-0000-4000-8000-000000000001 | 200, verification_status: VERIFIED, response contains the full identity data |
| REJECTED | pcn = 4567456745674567 or pcn_form_data = Jonathan / Jovito / Deere / Jr / 10-10-2001 | deac7ed0-0000-4000-8000-000000000002 | 200, verification_status: REJECTED, no identity data returned |
| Session ID Not Found | any of the payloads above | 40440400-0000-4000-8000-000000000404 | 400, philsys_session_id not valid |
| Liveness Error | pcn = 1234123412341234 or the VERIFIED pcn_form_data | f01ace00-0000-4000-8000-000000000004 | 400, verification_status: REJECTED with the liveness error inside verification_result |
| API Error | pcn = 1234123412341234 or the VERIFIED pcn_form_data | 500e7707-0000-4000-8000-000000000500 | 500, Internal server error from datasource |
| Validation Error | {invalid payload, e.g. 15-digit pcn or birth_date in YYYY-MM-DD} | {any valid UUID} | 400, error message per validated field |
Use the payload values above so your request matches the documented scenario. pcn and pcn_form_data are never sent together.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
