Sandbox - PhilSys

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.
  • pcn or pcn_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

Scenariopcn or pcn_form_dataphilsys_session_idResult
VERIFIEDpcn = 1234123412341234
or pcn_form_data = John / Joseph / Doe / Jr / 01-01-2000
0e71f1ed-0000-4000-8000-000000000001200, verification_status: VERIFIED, response contains the full identity data
REJECTEDpcn = 4567456745674567
or pcn_form_data = Jonathan / Jovito / Deere / Jr / 10-10-2001
deac7ed0-0000-4000-8000-000000000002200, verification_status: REJECTED, no identity data returned
Session ID Not Foundany of the payloads above40440400-0000-4000-8000-000000000404400, philsys_session_id not valid
Liveness Errorpcn = 1234123412341234
or the VERIFIED pcn_form_data
f01ace00-0000-4000-8000-000000000004400, verification_status: REJECTED with the liveness error inside verification_result
API Errorpcn = 1234123412341234
or the VERIFIED pcn_form_data
500e7707-0000-4000-8000-000000000500500, 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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

16 digit numeric PhilSys Card Number (PCN). Send this or pcn_form_data, never both.

pcn_form_data
object

Identity data of the subject. Send this or pcn, never both.

string
required

PhilSys session id, required and must be a valid UUID. Determines the sandbox scenario, see the Scenario Description table in the endpoint description.

string

Use to indicate your company's transaction. When empty, a random UUID is generated.

Headers
string
required
string
required
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json