Custom Watchlist Module

📘

This guide is specific to Web SDK 2.0. If you are still using 1.x, you can find documentation here. Contact your Incode Representative for upgrade information and check if you are a candidate for this upgrade.

Full rollout to all clients still TBD.


The Custom Watchlist module screens the user's face against a customer-provided blocklist. Fire-and-forget — runs server-side using images already in the session.

Follows the backend-process pattern. See the patterns page for the shared lifecycle.

Availability

This module is headless-only — there is no public <incode-custom-watchlist> web component. Drive it with createCustomWatchlistManager from @incodetech/core/custom-watchlist. Typically invoked from an orchestrated flow.

Configuration

type CustomWatchlistConfig = {
  failIfFaceOnBlocklist: boolean;
  addSuspectedFraudAutomatically: boolean;
  autoExecution: boolean;
};
OptionTypeRequiredDescription
failIfFaceOnBlocklistbooleanServer-side behavior: mark the verification as failed if the face matches a blocklist entry.
addSuspectedFraudAutomaticallybooleanAdd the user to a suspected-fraud list automatically on a match.
autoExecutionbooleanAuto-execute the check (vs. requiring an explicit trigger).

These fields are supplied by the backend flow configuration and shape backend behavior. The module itself is fire-and-forget from the client's perspective — the client doesn't need to read these values to drive its own UI.

State machine

CustomWatchlistState is a discriminated union over status:

StatusDescription
idleInitial state.
processingBackend screening in progress.
successScreening completed.
finishedTerminal.

See also