Checks a workflow can include
Face scan
The user takes a selfie with liveness detection. When the workflow also has a document scan, the face is compared with the photo on the document.Document scan
The user scans an identity document: a passport, national ID, driver license, voter card, refugee card or residence permit. Which ones depends on the country (see Supported countries). Once the verification is approved, the data read from the document is inidentityDocument.
Registry lookup
Available in Kenya and Nigeria only, and only together with a face scan. Instead of scanning a document, the user enters an ID number. pawaPass finds the record in the national registry and compares the registry photo with the user’s face.- If the face does not match the registry photo, the verification is declined as
FACE_MISMATCH. - If the lookup cannot be completed, the user scans a document instead.
- In any other country, the registry lookup is replaced by a document scan.
requirementsreports a registry lookup asDOCUMENT_SCAN.
Selecting a workflow
By country (most integrations). Leave outworkflowId, or send null. pawaPass runs the workflow set as the default for the verification’s country. You set the default per country in the Backoffice under Settings > Verification markets.
workflowId shown in the Backoffice to run a specific workflow, for example one with a face scan only.
These checks run only when a new verification is created. If the
externalId already has an active verification, the API returns it with 200 OK without checking the workflow.
When the workflow is set
The workflow is chosen when you create the verification, andworkflowId is on the create response and on every webhook. Changing a country’s default in the Backoffice affects only verifications created afterwards.
If someone edits the workflow before the user starts, the user gets the version in force when they start. requirements then reflects that version, from the STARTED webhook onward.
workflowId is null and requirements is the only record of the checks.
Older integrations sent a
requirements array on create to choose the checks. It is still accepted, but the workflow decides the checks. See Verification requirements.