Overview
Validating a PhilSys Card requires a 2-step process.- Face liveness capturing (required by Philippine Statistics Authority (PSA))
This is required before validation. To make implementation simple, includephilsys-sdk.min.jsto start and handle biometrics liveness capture. - Call IDmeta PhilSys Check API using the liveness result
Use the returned liveness data to call the API and get the validation result for the entered Philsys Information.
Step 1: Philsys Face Liveness Capture
Add this script to your website:Liveness options
| Option | Description |
|---|---|
verificationId | IDmeta verification currently running for this session |
companyUuid | Your client/company UUID from your admin profile |
version | Integer value. Allowed values: 1 or 2. Please confirm with your account manager on the value you should use |
Expected Results from Face Liveness Capturing SDK
Step 2: Call PhilSys Check API
After the liveness flow is completed, use the liveness session result in your next API call. You can validate using any of these accepted PhilSys input types:- PCN
- Personal information
- PhilSys card QR value
/api/v1/verification/philippines/philsys
This endpoint validates the entered PhilSys card details together with the captured face liveness to verify authenticity of the document. For request and response details, see the Postman API documentation.
Expected API responses
PhilSys check is successful
Face liveness ID does not match PCN/QR/form info, or input is invalid
Face liveness ID has expired
Errors and Issues from eVerify (PSA)
The
result field is returned as a stringified JSON value. Parse it first before reading nested fields.
