Skip to main content

Overview

Validating a PhilSys Card requires a 2-step process.
  1. Face liveness capturing (required by Philippine Statistics Authority (PSA))
    This is required before validation. To make implementation simple, include philsys-sdk.min.js to start and handle biometrics liveness capture.
  2. 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:
Start face liveness:
Your Client ID can be found under Profile > API Tokens in your account..

Liveness options

Step 2: Call PhilSys Check API

After the liveness flow is completed, pass the session_id from the Face Liveness Capturing SDK result as face_liveness_session_id in your PhilSys Check API request. You can validate using any of these accepted PhilSys input types:
  1. PCN
  2. Personal information
  3. PhilSys card QR value
Refer to the individual API pages for request and response details:

Expected Results from Face Liveness Capturing SDK

Completed liveness check
Input validation error
Invalid Trust Validation and Client ID combination
Capture session closed before completion
Unreachable government site