For the complete documentation index, see llms.txt. This page is also available as Markdown.

Facephi Onboarding

The digital onboarding process enables new users to be registered remotely and securely, verifying their identity using official documents and facial biometrics.

What problem does this product solve?

It enables new users to register remotely, securely, and seamlessly. The process combines document capture, facial biometrics, and real-time validation.

SaaS Integration

Required SDKs

Required backend services (REST API)

  • Liveness check and facial comparison: POST /v2/identity

  • Document OCR extraction:

    • Mobile: POST /extractDocumentData

    • Web: POST /extractDocumentDataWeb

  • Document validation:

    • By morphology: POST /documentValidation/v2

    • Against civil registry: POST /civilValidation

Other services

  • Duplicate onboarding validation (optional): POST /blacklist

Suggested technical flow

1. SelphID component (document scan)

  • Capture the document using the SelphID Widget (Web or Mobile).

2. Selphi component (face capture)

  • Capture the face using the Selphi Widget (Web or Mobile).

  • Call the following endpoints in this order:

    • /documentValidation/v2 Send the complete image with context to validate the document's morphology.

    • /extractDocumentDataWeb or /extractDocumentData Retrieve the OCR data extracted from the document for processing.

    • /v2/identity

      Performs the liveness check and compares the selfie against the document image in a single call.

Requirements and licenses

Frontend

  • Web: URL / port

  • Mobile: package name or bundle ID

Backend

  • api-key for API access

Technical recommendations

Biometric Template persistence

The client is required to persist the Biometric Template (templateRaw) generated by the Selphi Widget during the onboarding or enrollment flow.

This template is essential because it will be used later in facial biometric authentication flows. Properly preserving it ensures the continuity and effectiveness of the identity verification process in future sessions.

We recommend storing this information securely and in encrypted form, in compliance with personal data protection regulations and the client's internal policies.

FAQs

  • What is the difference between morphological validation and Civil Registry validation?

Morphological validation is used in countries where government biometric and/or data databases are unavailable for identity verification. Its primary purpose is to determine the authenticity of submitted documents by analyzing their physical and visual characteristics. This type of validation is also used to check identity documents such as passports and driver's licenses.

  • Is it mandatory to use both document validations?

It is not mandatory to use both document validations. However, we recommend enabling at least one of them to ensure that the submitted document is genuine and authentic. However, business, regulatory, or risk requirements may necessitate using both validations together. For example, when on-screen presentations or digital copies of the document are not accepted, morphological validation is mandatory to ensure the authenticity of the physical document.


Glossary and key concepts

  • Passive liveness check: Facephi's liveness check is a biometric security mechanism that verifies that the person interacting with the system is a real human, is physically present, and is not an image, video, mask, or synthetic content.

    Its primary purpose is to prevent impersonation attacks, such as the use of printed photographs, prerecorded videos, or more sophisticated fraud attempts, including deepfakes, during biometric verification and authentication processes.

  • Facial Matching: In the Onboarding flow, facial Matching consists of comparing the selfie image captured in real time with the face image on the front of the Identity document submitted by the user, to verify that both images belong to the same person.

    This process confirms that the user completing Onboarding is the legitimate holder of the document, strengthening identity verification and reducing the risk of impersonation.

Last updated