Dual-vendor architecture with PowerCred as primary eKYC provider. Phased integration plan for software architects.
/id/analyze/quality to validate before submitting./id/analyze response. User reviews and submits. Edits trigger PUT /id/update. No document processing on desktop.https://mock.powercred.io/kychttps://dev.powercred.io/kyc?apikey=YOUR_API_KEY on every request| Method | Endpoint | Phase | Description |
|---|---|---|---|
| SDK | LivenessSDK.init() | Ph 2 | Active Liveness (SDK only). Mobile Web SDK. Renders the liveness challenge in-browser on mobile. On completion, emits a signed liveness token. All other pipeline steps are REST API calls. |
| POST | /id/analyze | Ph 2 | OCR + Session creation. The primary pipeline entry point and first API call. Submits ID card images with user_id and document_type. Runs OCR immediately and returns structured fields plus a session_id. UB applies internal rules to determine which subsequent checks to trigger. Supports all 7 PH ID types: DL, Passport, PhilSys, UMID, SSS, PRC, TIN. |
| POST | /id/analyze/quality | Ph 2 | Image quality gate. Assesses brightness, blur, DPI, taken-from-screen, and bright-spot text on the captured ID image. Used as a pre-submission gate on the mobile capture step. Run before invoking /id/analyze. |
| POST | /id/fraud-detection | Ph 2 | ID fraud indicators. Template invalidity, font inconsistency, photo substitution, photocopy, taken-from-screen, AI-generated ID, security feature compromise. Returns per-check boolean flags, confidence scores, aggregate fraud_detected boolean, and risk_level: low / medium / high / critical. Called per UB’s internal rules. |
| POST | /id/selfie | Ph 2 | Face match + deepfake + deduplication. Submit the applicant’s selfie. Returns: matched (boolean), score (0–100 similarity %), deepfake (boolean), live (liveness signal), and exists (boolean: duplicate applicant flag). Default face match threshold: 55%, configurable per account. Called per UB’s internal rules. |
| GET | /id/session/{id} | Ph 2 | Full session retrieval. Returns the complete session document: OCR fields, image quality results, fraud detection results, selfie match score, deepfake result, dedup result, and government verification status. Used by the desktop to poll for mobile completion and to render the application review screen. completion_status flags indicate which pipeline steps have finished. |
| PUT | /id/update | Ph 2 | OCR field correction. Allows the applicant to correct OCR-misread fields on the desktop application review screen. Deep-merges the corrected fields into the session. Every correction creates an immutable revision history entry with edited_by and a description. |
| PUT | /id/sessions/{id}/rerun-verification | Ph 2 | Re-run government verification. Re-triggers PH government database check using the session’s current (corrected) OCR data. Also used as the backend retrigger mechanism for govt API downtime. Subject to Legal/NPC/BSP clearance. Returns updated is_verified and failure_reason. |
| POST | /id/session/{id}/callback | Ph 1 | Journey callback (webhook). Register a webhook URL on a session. PowerCred fires a POST to UB’s callback endpoint when all triggered pipeline steps are complete. Retries up to 3× with exponential backoff on non-2xx responses. |
| PUT | /id/session/{id}/fraud-status | Ph 3 | Analyst fraud decision. Sets the manual review outcome: Verified, Fraud, or In Review. Used by UB’s fraud ops team. Each status change creates a revision history entry. |
| GET | /id/sessions | Ph 3 | Session list. Filterable by from_date, to_date, and user_id. Returns session summaries with fraud status, completion flags, and timestamps. Used by UB’s operations and fraud review dashboard. |
PowerCred is ready to begin Phase 1 immediately upon commercial sign-off. Our solutions engineering team is standing by.