Listed from the MCP registry; nobody on Odel publishes it.

Is this yours? Claim it
MCP server: One MCP server.

Didit MCP Server

@diditRun by its publisher: served from their own domain, namespace checked by the registry.MCP server · External

KYC, KYB, AML, wallet screening, transaction monitoring, and fraud workflows for AI agents.

Identity verificationv5.1.86MITJavaScript
Freeno charge per call

One address for any MCP client. You sign in at business.didit.me once, after adding it.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: only reads or looks up information.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

What it asks for at sign-in

Access toReadChange
DiditNot stated: didit:management, didit:verification, didit:staff

From the sign-in at business.didit.me, as the endpoint publishes it. You approve it there.

Tools

None listed · checked 19 Nov 2026

Odel could not list its tools without signing in.

Try it in the Inspector
README37 min read

Add to Kiro

Privacy policy · Didit support

The official Model Context Protocol server for Didit — bring KYC, KYB, AML screening, transaction monitoring, biometrics, and full workspace operations to Claude, Cursor, VS Code, Windsurf, Zed, and any MCP client.

  • 160+ tools across sessions, workflows, vendor users/businesses, transactions, the standalone verification APIs, lists, cases, reports, webhooks, and billing.
  • Load only what you need. Add ?toolsets=core for a short catalog of about 30 tools, about a tenth of the tokens the full list costs; the rest stays one step away through didit_tool_search. See Toolsets.
  • Read-only mode for connections that must never change anything: add ?read_only=true.
  • Two ways to connect. "Log in with Didit" (OAuth 2.1 + PKCE): the MCP acts as the signed-in user with their role's permissions. Or an application API key, for agents that run with no person present (CI, scheduled jobs, backend agents): the connection is that one application. See Authentication.
  • Tools call Didit REST endpoints. Session PDF generation returns a temporary download URL for the original PDF.

Full documentation: https://docs.didit.me/integration/mcp/overview

Session PDF downloads

didit_session_generate_pdf returns download_url, expires_at (UTC), and expires_in (300 seconds). Fetch the URL without an Authorization header to save the original Didit PDF. The server checks PDF access before issuing the link and fetches the original report again at download time using the same user and organization. It does not reconstruct the report from session data. If the session changes between issuance and download, the download reflects the current report. Revoked or expired user access can invalidate a link before its five-minute expiry.

Deployments must set MCP_PDF_DOWNLOAD_KEY to 32 cryptographically random bytes encoded as 64 hexadecimal characters, shared across all replicas, and set MCP_RESOURCE_URI to the public HTTPS MCP endpoint. Route /downloads/session-report.pdf to this HTTP server. The authenticated-encryption key protects the credentials embedded in the session-scoped link; rotating it invalidates outstanding links. Treat links as secrets and redact the token query parameter in proxy/access logs. Responses use Cache-Control: no-store.

E-signature files

didit_session_get_signature_evidence, didit_session_get_signed_document and didit_session_get_signature_field_image return the same kind of link (plus content_type) for a signer's evidence PDF, the signed PDF of one document and the PNG of a signature field. They use the same MCP_PDF_DOWNLOAD_KEY and MCP_RESOURCE_URI; route /downloads/session-signature to this HTTP server as well. The file is checked against its recorded SHA-256 at issuance and again at download. didit_session_validate_signatures re-validates the signed documents and returns the result as JSON.

Stdio deployments need a reachable HTTP deployment with the same key, API base URL, and MCP_RESOURCE_URI; stdio alone cannot serve download links. Missing key configuration produces an actionable tool error instead of inline PDF data.

Quick start

No install: point your client at the hosted URL and sign in via the browser. An agent with no person present can connect with an API key instead.

https://mcp.didit.me/mcp

Opening mcp.didit.me in a browser shows the same links as one-step buttons for each client. A client that was given the address without the path, https://mcp.didit.me, reaches the same server: the bare address answers MCP requests exactly as /mcp does.

ClientInstall
Claude (web, Desktop)Add Didit to Claude
Claude Codeclaude mcp add --transport http didit https://mcp.didit.me/mcp
CursorAdd Didit to Cursor
VS Code (GitHub Copilot)Add Didit to VS Code
OpenAI Codexcodex mcp add didit --url https://mcp.didit.me/mcp

Claude plugin: /plugin install didit --marketplace didit-protocol/skills installs the Didit plugin (this server + 8 skills). Source: https://github.com/didit-protocol/skills/tree/main/plugins/didit

Cursor (~/.cursor/mcp.json), by hand

json
{ "mcpServers": { "didit": { "url": "https://mcp.didit.me/mcp" } } }

Windsurf / Zed (via the mcp-remote bridge)

json
{ "mcpServers": { "didit": { "command": "npx", "args": ["-y", "mcp-remote@latest", "https://mcp.didit.me/mcp"] } } }

See per-client setup for every client, with screenshots and troubleshooting.

Once connected, ask for "my Didit context" (the model calls didit_context_get), or start from one of the server's prompts: integrate_didit, review_queue, explain_session, build_workflow, verification_report.

Sign in without a browser (device code)

For the local (stdio) server on a remote machine, in a container or in CI, where no browser can open, sign in with an OAuth device code. It also works for accounts that use a passkey or SSO and have no password.

bash
npx -y @didit-protocol/mcp-server login

The terminal prints a short code and a link:

To connect this machine to your Didit account, open https://business.didit.me/device and enter the code WDJB-MJHT
Or open: https://business.didit.me/device?user_code=WDJB-MJHT
Approve only if the code on the page matches this one.

Open the link on any device with a browser, sign in to Didit, check that the code matches and approve. The command then saves your credentials and prints the scopes that were granted (never the token). Approve only a code you started yourself.

  • Credentials live in ~/.config/didit/mcp-credentials.json (override with DIDIT_MCP_CREDENTIALS_FILE), readable by you only, one entry per Didit environment.
  • The local server uses them automatically when DIDIT_ACCESS_TOKEN is not set, and refreshes them before they expire.
  • npx -y @didit-protocol/mcp-server logout revokes the grant and deletes the stored credentials.
  • Set DIDIT_DEVICE_NAME to change the name shown on the approval page (default: the machine's hostname).
  • In CI, run login once on a trusted machine and mount the credentials file as a secret, or set DIDIT_ACCESS_TOKEN as before. Do not share one credentials file between jobs that run at the same time, because refresh tokens rotate.
  • No shell? Ask the agent to call didit_account_device_login_start, show you the link and code, then didit_account_device_login_poll once you approve. Both tools exist only on the local server.

Sign in with the account tools

On the local server an agent can also sign in by itself, with an email address and a password: didit_account_login for an existing account (then didit_account_verify_2fa when the account has an authenticator app), or didit_account_register and didit_account_verify_email for a new one. The local server keeps that sign-in, so the tools that follow are authenticated with nothing passed between them.

  • It is kept in the same credentials file as a device-code sign-in (~/.config/didit/mcp-credentials.json, readable by you only) and refreshed before it expires. A server started later picks it up.
  • The answer of these tools carries no refresh token: the server holds it, because a refresh token works once.
  • When the file cannot be written (a read-only home directory in a container), the sign-in is kept in memory until the server stops.
  • If you signed in both ways, the server uses the more recent sign-in. DIDIT_ACCESS_TOKEN, when set, still takes precedence over both.
  • npx -y @didit-protocol/mcp-server logout removes it from the machine.
  • An account that signs in with a passkey or SSO has no password: use the device code above.

These tools exist only on the local server. The hosted server never takes a password.

Connect with an API key (headless agents and CI)

An agent that runs with no person present has no browser to sign in with. It connects to the hosted server with the application API key it already sends to the Didit API, in the x-api-key header:

Claude Code

bash
claude mcp add --transport http didit https://mcp.didit.me/mcp --header "x-api-key: $DIDIT_API_KEY"

Cursor (~/.cursor/mcp.json)

json
{ "mcpServers": { "didit": { "url": "https://mcp.didit.me/mcp", "headers": { "x-api-key": "${env:DIDIT_API_KEY}" } } } }

Any other client or your own agent: send x-api-key: <key> on every request to https://mcp.didit.me/mcp. Authorization: Bearer <key> works too, for clients that only let you set a bearer token.

What an API key connection is:

  • One application. The connection acts on the application the key belongs to, so there are no ids to pass. didit_context_get names it, says whether it is live or sandbox, and reports connection.type: "api_key". A call that names another organization or application is refused.
  • The key's own access. The key is forwarded to the Didit API exactly as on a direct API call, and the API decides what it may do. A full-access key reaches everything of its application; a restricted key only the resources it was given. Give an agent a restricted key with an expiry, created in the Didit console under the application's API keys.
  • Sandbox first. Connect with the sandbox application's key to build and test: every check is simulated and nothing is billed.
  • Combines with toolsets and read-only: https://mcp.didit.me/mcp?toolsets=core&read_only=true (see Toolsets).
  • Revoked like any key. Revoke or rotate the key in the console and the connection stops within a minute. Every tool call is logged with the key's id, never the key.

What needs a person, and is therefore neither listed nor run on an API key connection:

  • members, roles and API key management;
  • the organization's plan, cards, receipts and billing details;
  • the audit log, and didit_workflow_build_graph (use didit_workflow_create, or the graph tools didit_workflow_create_draft, didit_workflow_validate_graph and didit_workflow_set_graph);
  • download links for session PDFs and e-signature files (request the file from the Didit API with the same key).

A person does those in the Didit console, or through a connection that signs in with OAuth.

Two limits to know:

  • A key limited to specific IP addresses is refused, because the Didit API would see this server's address and not yours.
  • /mcp and /mcp/payments take a key. From nothing to a first verification, with no browser. The account tools of the local server create the account: didit_account_register, then didit_account_verify_email with the code sent to the email address. The answer carries the new organization with its live and its sandbox application, each with its API key. The local server is signed in from that moment (see Sign in with the account tools), so the same conversation goes on to create a workflow (didit_workflow_create) and a session (didit_session_create) in the sandbox application. For an agent that runs elsewhere, store the keys in your secret store and connect it to the hosted server with the sandbox key; switch to the live key to go live. didit_org_get_balance reads the credit balance; when credit is needed, see Agent payments.

GET /healthz lists api_key under features on a server that accepts keys.

Authentication

The MCP is an OAuth 2.1 resource server; the Didit console (business.didit.me) is the authorization server. On first connect your client opens a browser, you Log in with Didit and approve the scopes, and the MCP then acts as you — across every organization you belong to, with your role's permissions. Tokens are short-lived and refreshed automatically.

Scopes: didit:management (workspace operations), didit:verification (running checks) and didit:staff (Didit staff accounts only; the authorization server never issues it to anyone else). Your console role is enforced server-side on every call.

A role change, an application-access change or a membership change applies on the next call, on a connection that is already open. The server asks Didit for your current role, permissions and applications on every call and refuses before sending anything, and a call that names no organization or application checks every one it would read before reading it. No reconnect is needed. didit_context_get is the one exception: it lists the organizations and applications you have from a copy that can be up to a minute old.

A removal and an application-access change apply at once. A demotion applies at once to the calls the server judges itself, which is nearly all of them. Three things can still take up to ten minutes (600 seconds), because the verification service keeps its own copy of your role:

  • a permission your role has just gained may be refused until that copy expires, and the refusal says so;
  • a demotion may not be seen on the few calls the server cannot judge on its own — reports and their exports, the Investigator reads and decisions, importing a shared session — so the old role can still be accepted there until that copy expires;
  • didit_session_get_decision, didit_session_update_status and didit_session_delete take only a session id and name no organization, so when no single organization resolves for you (you belong to several, or several applications) the server cannot tell which membership the session belongs to: the verification service alone decides those three calls, and a demotion can be accepted there until its copy expires.

If Didit's sign-in service cannot be reached, the call is refused rather than sent — after two attempts of eight seconds each, and reads included — because nothing has confirmed what you may do. Retrying in a moment is the fix.

A server that verifies tokens locally instead of asking Didit for your role on every call (the jwks mode) has no live check to make: there a role change reaches a connection when its token is refreshed, and the verification service's own 600-second copy still applies to the calls it decides.

The hosted server also takes an application API key in place of a sign-in, for agents that run with no person present. Such a connection is one application with the key's own access, not a user with a role: see Connect with an API key.

The phone code pair, didit_verify_phone_send and didit_verify_phone_check, always calls the public phone API with the application's API key, because the console has no route for them. On a sign-in the MCP reads that key with your sign-in (a role with create:sessions and the didit:management scope, or an organization owner or admin for a local didit_account_login token); on an API key connection it uses the connection's own key. The key is never returned, stored or logged.

Those are the only two credentials the hosted server accepts. A token minted for an application rather than for a connection — the one POST /auth/v2/programmatic/login returns, for example — is refused at the first request, tool list included, with an error that names both ways in and links the same page, so an accepted-but-useless credential never looks like an empty account.

See Authentication.

Toolsets

By default a connection lists every tool your role may use, as it always has. Tool definitions are sent to the model with every request, so the whole catalog costs tens of thousands of tokens each time: roughly 50,000 to 115,000, depending on the model's tokenizer. Some clients also cap how many tools they accept. The short catalog trades that cost for one more step, a search for the tool: measured on a set of everyday requests, the strongest models reached the right tool a little more often with the full list, at about ten times the tokens. When the cost matters (a coding agent with a context budget, a client that caps the number of tools), name the toolsets you want on the server URL:

https://mcp.didit.me/mcp?toolsets=core
https://mcp.didit.me/mcp?toolsets=core,workflows
https://mcp.didit.me/mcp?toolsets=core,transactions,cases&read_only=true

core is the short catalog: about 30 tools and about a tenth of the tokens. It covers your organizations and applications, sessions (create, find, decide, explain, simulate in the sandbox, webhook deliveries), finding workflows, analytics and balance, the application's API key and webhooks, finding cases, users, businesses and transactions, and the documentation search.

ToolsetWhat it holds
coreThe short list above.
accountOrganizations, applications, API keys, members and roles.
billingPlan, credit balance, payment methods, receipts and billing details.
sessionsVerification sessions: create, find, decide, review, share, import, PDFs and webhook deliveries.
workflowsVerification workflows and questionnaires: build, edit, validate and publish.
listsCustom lists, the blocklist and the allowlist.
vendorsThe people and companies you verify: vendor users and vendor businesses, and their AML ongoing monitoring.
transactionsTransaction monitoring: transactions, wallet screening, rules with backtesting and monitoring events.
casesCase management: create, assign, escalate and resolve cases, and draft regulatory reports.
investigatorThe Investigator agent: its review queue, reports and follow-ups, decisions, policy questions and performance.
webhooksWebhook destinations and alerts.
reportsAnalytics, exports and the audit log.
brandingWhite-label branding of the verification flow.
authenticationDidit Authentication setup: the configuration and sign-in methods, product settings and onboarding.
bankBank data and Bank Link: links, connections, accounts, balances, transactions, the change feed, institutions and coverage.
verificationStandalone verification APIs: ID document, face, AML, proof of address, phone, email, database and business checks.
messagesMessages with the people being verified: conversations, threads, templates and channels.
docsSearch the Didit documentation.
allEvery tool your role may use. The default.

How it behaves:

  • Toolsets are opt-in. A URL with no toolsets lists everything, so an existing connection sees no difference.
  • Naming toolsets lists exactly those. ?toolsets=cases lists the case tools (and didit_context_get); add core to get the short list too.
  • A toolset decides what is listed, not what you may run. A tool outside the selection still runs when called by name, with the same permission checks as always. Nothing is lost by loading less.
  • The rest stays one step away. When a connection lists only part of the catalog it also gets four discovery tools: didit_tool_search (find a tool by what you want to do, or list a toolset), didit_tool_describe (its full schema), didit_tool_call_read and didit_tool_call_write (run it). A call through them is checked exactly like a direct call.
  • read_only=true is a safety boundary. Only tools that read are listed or discoverable, and every call that would change data is refused, whatever the client lists or remembers. It works with or without toolsets.
  • An unknown toolset is ignored, never an error, and the server's instructions name it back with the valid ids.
  • Clients that cannot edit the URL send the X-MCP-Toolsets and X-MCP-Readonly headers instead.
  • The local (stdio) server takes --toolsets=core,workflows and --read-only, or the DIDIT_TOOLSETS and DIDIT_READ_ONLY environment variables.
  • A self-hosted server can change what a connection gets when it names nothing with MCP_DEFAULT_TOOLSETS (for example core).
  • GET /healthz lists what the server supports ("features": ["toolsets", "read_only", ...]), for a client that wants to check before it relies on one.

The server also sends instructions on connect (where to start, how organization and application ids resolve, what this connection loaded) and offers prompts (integrate_didit, review_queue, explain_session, build_workflow, verification_report). didit_docs_search searches the live documentation at docs.didit.me, so questions about how Didit works are answered from the current pages; set DIDIT_DOCS_MCP_URL to an empty string to switch it off.

Tools

160+ tools, grouped by toolset. The full catalogue with read/write/destructive markers is in docs/TOOLS.md and at docs.didit.me. Highlights:

  • Discovery & cross-app: didit_context_get, didit_session_search, didit_transaction_search, didit_vendor_user_search, didit_analytics — aggregate across every org/app in one call. A role that may not list the organization's applications (Reader, Developer, Compliance Officer) gets the applications on their own membership row, marked applications_source: "membership" with mode not known; when even that cannot be read the organization reports applications_unknown: true instead of claiming it has none.
  • Sessions: create, list, get decision, update status, reviews, bulk import, webhook delivery log + resend (didit_session_webhooks waits for a sandbox session's webhook so an integration can be verified end to end), Precise Location evidence (didit_session_get_location_evidence: every attempt and the same person's earlier checks behind a Location verdict).
  • Verification APIs: didit_verify_id, didit_verify_aml, didit_verify_face_match, didit_verify_kyb_search, …
  • Workflows (incl. branching graphs): didit_workflow_search, didit_workflow_get_graph, didit_workflow_edit_graph — build conditional/branching workflows (fuzzy-match conditions, Document-AI steps) by sending small ops; large feature configs are kept server-side, never resent. didit_workflow_get_id_verification_methods_catalog and didit_workflow_get_kyb_registry_catalog answer the server-driven questions a config write depends on (which countries offer non-doc lookup / wallets, which KYB data tiers and monitoring a country's registries sell).
  • Investigator (AI case reviewer): didit_investigator_queue_list, didit_investigator_report_get (recommendation, basis, evidence, precedents), didit_investigator_record_get (the review of one verification or transaction, open or decided), didit_investigator_add_note (a fact the user adds, as a team note the next review reads), questions, the free backtest (didit_investigator_backtest_start), performance, dashboard and Activity. Its decisions (didit_investigator_accept, _override, _batch_accept), policy answers (_question_answer, _question_dismiss) and the re-review that replaces the open report (_rereview, optionally with a note) are annotated destructive and refused without confirm: true, which a client sends only after the user approves that exact action. Every Investigator call sends X-Didit-Actor-Via: mcp (or copilot when the console assistant marks its request so), so the Investigator Activity shows where the user acted from.
  • Compliance: transaction monitoring, custom and preset rule management with backtesting, lists/blocklist/allowlist, cases, reports, audit logs, alerts.
  • Workspace: questionnaires, webhooks, members, billing, branding.
  • API key for your integration: didit_org_create_api_key creates ONE key per connected app and application, scoped to what the signed-in person can do (never more than they can do), rate-limited and audit-logged. Without scopes the key gets everything the person can do within the app's consent, Bank data and Authentication included; a key is never more than that person can do, and no API key can manage API keys (that needs a signed-in person). The secret is returned once; the person sees the key with the connected app in the console and can revoke it there.
  • Bank data and Bank Link: didit_bank_link_create sets up a link a person completes at their bank (didit_bank_link_get reads it, didit_bank_link_cancellation_create cancels it), then didit_bank_connection_list and didit_bank_connection_get, the data (didit_bank_account_list, didit_bank_balance_list, didit_bank_transaction_list, didit_bank_transaction_feed_list), syncs (didit_bank_sync_create, didit_bank_sync_list, didit_bank_sync_get), renewal and ending (didit_bank_renewal_create, didit_bank_revocation_create, didit_bank_connection_delete), didit_bank_institution_list, didit_bank_institution_get and didit_bank_coverage_get; sandbox applications also have didit_bank_link_simulation_create and didit_bank_connection_simulation_create. They call the public Bank data API with the application's key. Bank data is available for sandbox applications; a live application answers 404 until live access is announced. Deleting a connection deletes its data.
  • Billing: didit_org_get_balance, didit_billing_get_plan, didit_billing_quote_plan, didit_billing_list_payment_methods, didit_billing_list_receipts, didit_billing_get_details and didit_billing_update_details. No tool charges a card: when credit or a plan change is needed, the tools return console links (next_steps.top_up_url opens the top-up dialog with the amount filled in) and the person pays there. The local stdio server and the unlisted /mcp/payments endpoint (below) also offer didit_org_top_up.

Agent payments (/mcp/payments, stdio)

The directory-listed connectors (/mcp and /mcp/chatgpt) never move money: didit_org_top_up is not in their catalog and a call to it is refused with the console link. https://mcp.didit.me/mcp/payments is a separate, unlisted endpoint for coding agents that may top up the organization's saved card once a person turned that on. It uses the same OAuth sign-in and tokens as /mcp (its own protected-resource metadata is at /.well-known/oauth-protected-resource/mcp/payments), serves the full catalog plus didit_org_top_up, and is never submitted to a directory. An API key connection gets the same tool there, under the same switch. The local stdio server offers the same tool.

didit_org_top_up parameters:

ParameterDescription
amount_in_dollarsUSD, $50 to $20,000 per top-up.
confirmRequired, true, only after the person approved this exact action.
payment_methodcheckout (default) creates a Stripe Checkout page for the person to pay. saved_card charges the organization's saved primary card off-session, now.
idempotency_keyRequired for saved_card (1 to 255 characters). Choose one unique key per intended top-up and reuse it on any retry of that same top-up: the same key and amount returns the same top-up and never charges twice, another amount is idempotency_key_conflict. The server never retries a charge by itself.

saved_card works only when a person turned on "Connected AI agents can top up with your saved card" in the Didit console (Billing > Payment methods; off by default). While it is on, the saved primary card is charged off session at the normal self-serve amounts ($50 to $20,000). didit_org_get_balance shows the switch as agent_top_up: {enabled} on /mcp/payments and stdio (and nowhere else). A successful call returns the backend body (outcome, top_up). A refusal comes back as Error [<code>]: <detail> followed by Next step: {"action", "url", "description"}, unchanged from the backend, so the agent can hand the person next_step.url: a Top up dialog link that says which agent asked and has the amount filled in.

CodeMeaningThe person
agent_top_up_not_enabledThe switch is off (the default).Tops up in the console, or turns the switch on.
authentication_requiredThe card's bank asks the cardholder to approve; nothing was charged.Approves it in the console.
payment_method_requiredNo saved card.Adds a card.
card_declinedThe card was declined.Tops up in the console.
billing_address_required, top_up_in_progress, payment_provider_errorSee detail.Follows next_step (retry with the same key where it says so).

On the directory-listed endpoints a refused didit_org_top_up call includes a signed request link for the requested amount when one can be made (POST /organization/{org}/billing/top-up-requests/; it charges nothing). didit_org_top_up with checkout returns the same signed link as next_steps.console_top_up_url.

Every request the MCP server sends to the Didit API carries X-Didit-Agent: mcp; the backend refuses settings changes (including the agent top-up switch) that carry it, so an agent can never turn it on itself.

File inputs

Tools that consume files (face upload, ID/PoA/liveness/face/age verification, branding) accept the file in one of two forms:

  • *_path — an absolute path on the machine running the MCP server. Only works for local/stdio runs (e.g. Claude Code with a local server), where your files and the server share a filesystem.
  • *_base64 — the file content inline, as raw base64 or a data: URL. Use this against the hosted endpoint; it is how the Didit Console Copilot passes chat attachments (its agent resolves attachment references like att_1 into base64 before the call reaches the MCP).

Both forms enforce the same 15MB cap and magic-bytes allow-list (png/jpg/jpeg/webp/gif/bmp/ico/pdf). The hosted transport's JSON body limit is 25MB (MCP_JSON_BODY_LIMIT).

Run it yourself

The hosted server above is the easy path - no install. To self-host, clone this repo and run it with Docker or Node. It authenticates the same way: OAuth or an application API key on the hosted endpoint, or a user Bearer token (DIDIT_ACCESS_TOKEN) for a local headless run. API keys need the default token verification mode (MCP_TOKEN_VERIFY_MODE=introspection).

bash
git clone https://github.com/didit-protocol/mcp.git && cd mcp

# Docker (recommended) — serves /mcp and /healthz on port 3000
docker build -t didit-mcp . && docker run -p 3000:3000 --env-file .env didit-mcp

# …or with Node
npm install && npm run build
node dist/http.js                                          # hosted HTTP/OAuth
DIDIT_ACCESS_TOKEN=<user-access-token> node dist/index.js  # stdio (headless)

Behind a load balancer, the server has to keep an idle connection open for longer than the balancer does, or the balancer answers 502 for requests it sent down a connection the server was closing. The server keeps one for 65 seconds, which fits a balancer that closes idle connections after 60; set MCP_KEEP_ALIVE_TIMEOUT_MS above your balancer's idle timeout when that one is longer.

All Didit base URLs and OAuth endpoints are environment variables with public defaults (verification.didit.me, apx.didit.me, business.didit.me) — override them for a private deployment. See ARCHITECTURE.md and .env.example for the full reference.

Waking agents instead of polling (optional)

With Wakeshift, an agent that creates a session, an import or a transaction is woken in the same conversation when it changes, instead of polling didit_session_get_decision, didit_session_get_import or didit_session_webhooks. The Didit backend reports each change to the server with a signed request; see docs/backend-events.md.

VariableDescription
WAKESHIFT_KEYOptional, HTTP only, with DIDIT_EVENTS_SECRET. The Wakeshift app key. Turns on wakes: didit_session_create, didit_session_webhooks, didit_session_create_import, didit_session_manage_import and didit_transaction_create watch what they start, and /mcp adds didit_session_watch and didit_session_watch_reviews (toolset sessions) and didit_transaction_watch_reviews (toolset transactions), all three read-only. Without both variables, the server runs exactly as before
DIDIT_EVENTS_SECRETOptional, HTTP only, with WAKESHIFT_KEY. A Standard Webhooks secret (whsec_…) shared with the Didit backend: turns on POST /internal/events/*, which the backend calls for each change. A malformed secret stops the server at startup
WAKESHIFT_ORGANIZATIONSOptional, with the two above. The organizations wakes are on for: a comma-separated list of organization IDs. Unset, or a list that names *: every organization. Set and empty: none. For any other organization the server behaves as with Wakeshift off, and a change the backend reports about it is never sent to Wakeshift. A signed-in person is offered wakes when they belong to a listed organization, and a watch is made only for a call that acts in one (docs/backend-events.md, "Configuring the MCP server")

It works with every toolsets selection (on core, the watch tools are one didit_tool_search away), with read_only=true, and with API key connections. The ChatGPT catalog (/mcp/chatgpt) and the stdio server never offer it. It needs Node 22.12 or later.

It also needs @wakeshift/sdk installed next to the server. It is a development dependency of this repository, so a source checkout has it after npm ci. The published package and any install made without development dependencies do not: add the version package.json names with npm install @wakeshift/sdk@<that version> before setting the two variables, or the server stops at startup and says so.

What turning it on shares, and what it changes for agents. Read from @wakeshift/sdk 0.11.1, the exact version this repository pins:

  • Each watch sends Wakeshift the event and the ID it watches (a session, import, transaction or application ID), the tool's name, an opaque hash that stands for the caller, the client's name and User-Agent, and the request's _meta as the client sent it.
  • Each change the backend reports is sent to Wakeshift whether or not a conversation watches it (with WAKESHIFT_ORGANIZATIONS set, only the changes of the organizations it lists; the organization's ID itself is never sent): a session's ID, application ID and final status, a webhook delivery's session ID, type, destination host and response status, an import's status and counts, and a transaction's IDs and status.
  • No Didit credential, no tool result and no other tool argument is sent.
  • Tools that subscribe gain a sentence in their description and three optional arguments (session_key, harness, conversation_id), and three tools are added to the catalog: subscribe_events, unsubscribe_events and list_subscriptions.
  • After a call that subscribes, text written by the Wakeshift service is appended to the tool's result. It can ask the agent to start a background listener and to offer the person a one-time install, and the added description tells the agent to follow it, so whoever sets WAKESHIFT_KEY is trusting that service with what agents are told.

Workflow feature configuration

Every workflow feature node takes a config object. The tables below are the complete contract - what didit_workflow_create, didit_workflow_update, didit_workflow_validate_graph, didit_workflow_set_graph and didit_workflow_edit_graph accept, and what the API stores. A key that is not listed here is not part of the contract and is dropped silently on save.

didit_workflow_get_feature_config_schema returns the same data as JSON at runtime.

Generated from schema/feature-config-schema.json (contract sha256:f4679a656783580780911fe3212b9a45f34cabc14a3d3bb9413f07f9737fb652, schema version 1), which is a copy of the artifact service-didit-verification generates from its feature-config serializers. Do not edit by hand — run npm run schema:readme.

AGE_ESTIMATION

Configuration for Age Estimation feature.

KeyTypeAcceptsMeaning
borderline_maximum_age_thresholdinteger | nullinteger >=1 <=100
borderline_minimum_age_thresholdinteger | nullinteger >=1 <=100
enable_id_verification_fallbackboolean | nullboolean
external_capture_device_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when an external capture device is detected.
face_audio_recording_enabledboolean | nullbooleanRecord the microphone during the selfie capture, so a reviewer can hear the session. Off by default.
face_liveness_attack_face_match_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the liveness face matches (above the duplicate-face similarity bar) a face from an earlier session of this application whose own capture the liveness engine judged an attack (risk FACE_MATCHES_LIVENESS_ATTACK), another user's session only and only a confident attack verdict. Review or no action only - a decline set here is downgraded to review, because a genuine user can be rejected once by mistake and then pass. Defaults to NO_ACTION (evidence is recorded, the verdict is unchanged).
face_liveness_duplicated_face_document_mismatch_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when a duplicate face is found on a user verified with a different date of birth. Another document of the same person (a passport after an identity card, a renewal, a document of a second country) is not flagged.
face_liveness_duplicated_face_name_mismatch_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when a duplicate face is found under a different name.
face_liveness_flash_modestring | nullstring
face_liveness_max_attemptsinteger | nullinteger >=1 <=3
face_liveness_methodstring | null'ACTIVE_3D'|'FLASHING'|'PASSIVE'
face_liveness_multiple_faces_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when more than one face is present in the capture.
face_liveness_possible_duplicated_face_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when this face matches a previously seen user.
face_liveness_score_decline_thresholdnumber | nullnumber
face_liveness_score_review_thresholdnumber | nullnumber
face_liveness_uncertain_retry_enabledboolean | nullbooleanNative SDK active liveness only. On, a capture whose liveness score falls strictly between face_liveness_score_decline_threshold and face_liveness_score_review_threshold is never decided, whichever verdict the engine attached to it: the person is told the result was unclear and asked to capture again, every time, outside the face_liveness_max_attempts budget (which still applies to captures the engine could not score). Off by default; the web flow ignores it.
face_liveness_video_anomaly_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the stored liveness recording contains a repeated moving sequence consistent with a looped video feed, measured server-side from the video itself, independently of the liveness score. It deliberately does NOT flag a frozen or near-motionless capture: frame statistics cannot separate an injected still from a genuine one (a subject holding still, or a flash that clips the exposure), so acting on that would decline real users. A frozen or pre-recorded injected feed is instead defeated by strict flash liveness (set face_liveness_flash_mode to "1" for strict), which binds the capture to a per-session colour-sequence challenge a recording cannot reproduce. Defaults to NO_ACTION (evidence is recorded, the verdict is unchanged).
face_luminance_max_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the selfie is brighter than face_luminance_max_threshold.
face_luminance_max_thresholdinteger | nullinteger >=0 <=100
face_luminance_min_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the selfie is darker than face_luminance_min_threshold.
face_luminance_min_thresholdinteger | nullinteger >=0 <=100
face_privacy_mode_enabledboolean | nullboolean
face_quality_decline_thresholdinteger | nullinteger >=0 <=100
face_quality_review_thresholdinteger | nullinteger >=0 <=100
face_search_enabledboolean | nullbooleanRun the 1:N Face Search on the selfie: match it against previously verified users, the face blocklist and allowlist, and store its biometric template for later matching. On by default. Off skips the search, keeps no face template, and leaves the duplicate-face actions with nothing to act on.
frame_injection_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the camera that captured the selfie shows signs of injected frames (FRAME_INJECTION_SUSPECTED, and INJECTION_ATTACK_DETECTED when the injection is proven). Defaults to NO_ACTION.
minimum_age_thresholdinteger | nullinteger >=1 <=100
screen_capture_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the selfie is a photo of a screen.
status_rulesarrayarray
virtual_camera_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when a virtual camera feed is detected.

AML

Configuration for AML feature (used for both KYC AML and KYB Company AML).

KeyTypeAcceptsMeaning
aml_country_weightinteger | nullinteger >=0 <=100
aml_dob_weightinteger | nullinteger >=0 <=100
aml_entity_typestring | null'company'|'person'Whether this node screens a person or a company. Defaults to person on a person (KYC) workflow and to company on a business (KYB) workflow. Set it to company to screen the business named in an uploaded document (via aml_field_sources) without a KYB Registry step - the provider searches company records instead of people, and the match score is scored as a company.
aml_field_sourcesjson | null{"full_name"|"date_of_birth"|"nationality"|"document_number": {"source": "document_ai"|"questionnaire"|"expected_data", "key": "||expected_details.<expected_details field>|metadata."}}Where this node reads the entity it screens, when the workflow has no ID Verification or KYB Registry step to supply it - a Document AI workflow over non-standardised documents (a tax certificate, an acta constitutiva). Same contract as database_validation_field_sources: source names the producer and key names the value inside it - a Document AI field key for document_ai, a questionnaire node id for questionnaire, and expected_details.<field> or metadata.<key> for expected_data. The map's KEY is one of the four AML screening inputs: full_name, date_of_birth, nationality, document_number - read for a company as legal name, incorporation date, country and registration number. A Document AI field already keyed as one of those four maps automatically and is deliberately not persisted, so renaming it never freezes a stale mapping. An explicit mapping wins over both the auto-map and the ID document, and a mapping that resolves to nothing at runtime leaves that input empty rather than falling back. The screened name is the exception on a person node: when the ID Verification step already named the person, that name stands in rather than leaving the node with no search to run. With no ID Verification and no KYB Registry upstream, full_name must be fillable or the graph is rejected on save: there is no search without a name.
aml_incomplete_data_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the screening ran on less than a full identity (name, date of birth and country). REVIEW is the default and the historical behaviour; NO_ACTION proceeds on reduced data for a workflow that knowingly holds only a name. The screening still runs either way, and the partial-data log is still recorded - this only decides what it does to the status.
aml_match_score_thresholdinteger | nullinteger >=0 <=100
aml_name_weightinteger | nullinteger >=0 <=100
aml_score_approve_thresholdinteger | nullinteger >=0 <=100
aml_score_review_thresholdinteger | nullinteger >=0 <=100
case_blueprintuuid | nulluuidWhich case blueprint the automatically-created case is built from. Only meaningful with create_cases_on_hit; the account default is used when unset.
create_cases_on_hitboolean | nullbooleanOpen a case automatically when the screening returns a hit, instead of leaving the hit to be triaged from the session. Off by default.
fallback_to_nativeboolean | nullboolean
is_aml_ongoing_monitoring_enabledboolean | nullbooleanKeep screening the PERSON after the session is approved, raising a new hit when they later appear on a watchlist. Off by default.
kyb_company_aml_country_weightinteger | nullinteger >=0 <=100
kyb_company_aml_dob_weightinteger | nullinteger >=0 <=100
kyb_company_aml_match_score_thresholdinteger | nullinteger >=0 <=100
kyb_company_aml_name_weightinteger | nullinteger >=0 <=100
kyb_enable_ongoing_monitoringboolean | nullbooleanThe same, for the COMPANY on a KYB workflow. The two switches are independent.
kyb_score_approve_thresholdinteger | nullinteger >=0 <=100
kyb_score_review_thresholdinteger | nullinteger >=0 <=100
provider_keystring | nullstring
status_rulesarrayarray

BANK_VERIFICATION

Configuration for Bank Verification feature.

Bank Verification confirms who owns a bank account against an identity ANOTHER step established - it is not identity proof on its own. Put ID Verification, Database Validation or a questionnaire before it; first in a graph it has nothing to compare against and can only return unknown. The node is opt-in and runs nothing while bank_countries is empty.

KeyTypeAcceptsMeaning
bank_abandoned_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the step ends without a match after the person left at their bank and never came back (an attempt timed out).
bank_account_age_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the account is newer than bank_account_age_days, a common mule pattern.
bank_account_age_daysinteger | nullinteger >=1 <=365An account whose history starts later than this many days ago counts as new, 1 to 365, defaulting to 30. Read from the transaction history, so only with the transactions scope.
bank_account_check_accept_close_matchboolean | nullbooleanAccount check only. On (the default), a name the bank scores between bank_partial_match_floor and bank_name_match_threshold is a close match: the person confirms the name the bank holds when bank_suggest_holder_name is on, and bank_partial_match_action decides. Off, that close match is a no match (OWNER_NAME_MISMATCH, decided by bank_no_match_action) and spends the attempt. Bank sign-in keeps its close matches either way.
bank_account_check_max_attemptsinteger | nullinteger >=1 <=5How many account checks the user gets, 1 to 5 (3 when unset): how many times the person can type the account details for a check the bank answers. A separate count from bank_max_attempts. A check refused as typed (an invalid IBAN) or one the provider could not answer spends none.
bank_account_lookup_enabledboolean | nullbooleanRetired: use bank_method_order and bank_countries.<ISO3>.methods. Read for one release from a save that sends no bank_method_order (with bank_open_banking_enabled, it sets the order: the account check after bank sign-in when on; off when unset), and written back on every save as whether any country offers the account check.
bank_account_selectionstring | null'auto'|'user'Whether the user picks which of the connected accounts is verified (user) or the first eligible one is taken (auto).
bank_account_type_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the verified account is a savings account.
bank_address_match_thresholdinteger | nullinteger >=50 <=100At or above this score the holder's address matches, 50 to 100, defaulting to 70. Only read with bank_require_address_match.
bank_address_mismatch_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the holder's address differs, which turns a match into a close match. Only with bank_require_address_match.
bank_allow_skipboolean | nullbooleanRetired by bank_continue_without_bank: still accepted, and written back from it on every save. A save that sends only this key gets from_start for true and when_needed otherwise. The person can always continue without a bank now.
bank_attempts_exhausted_actionstring | null'REVIEW'|'DECLINE'Verdict when the user spent the attempts of every method the country offers (bank_max_attempts, and bank_account_check_max_attempts where it offers the account check) without a successful connection, also when they then continue without a bank.
bank_auto_add_countriesboolean | nullbooleanOffer every country a route of this node can serve, also the ones added after the node was saved, apart from countries bank_countries turns off. Off when the key is absent, so an existing node never widens on its own.
bank_business_account_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the institution types the holder as a business rather than a person.
bank_cash_flow_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when money comes in and straight back out, or many small transfers come in (pass-through cash flow). Needs the transactions scope.
bank_connection_timeout_minutesinteger | nullinteger >=5 <=60How long a started connection stays open before the attempt is abandoned, 5 to 60 minutes.
bank_continue_without_bankstring | null'from_start'|'when_needed'When the bank step shows "Continue without your bank". when_needed (the default) shows it once no method works for the person's country or bank (also when their bank cannot be reached and no other bank sign-in or account check could verify them), or when they say they have no online banking. from_start also shows it on the first screen. It cannot be turned off: the person can always continue, and the session then follows bank_unsupported_action when nothing could verify their country or bank, bank_attempts_exhausted_action when every attempt is spent, and bank_skipped_action otherwise. A failed attempt that spends the last one does not wait for the person: the step ends on its own with bank_attempts_exhausted_action. Every save writes it.
bank_countriesjson | null{"": {"enabled": true|false, "institutions": ["<institution_id>", ...] | "all", "popular_institutions"?: ["<institution_id>", ...], "hidden_institutions"?: ["<institution_id>", ...], "methods"?: ["open_banking"|"account_lookup", ...]}}Which countries a user may connect a bank in - a WHITELIST, so an empty map means the node offers nothing and runs nothing (unless bank_auto_add_countries is on), and a map whose countries are all off is refused. institutions narrows the picker to specific provider institution ids; "all" offers every identity-capable bank in the country. hidden_institutions leaves banks out of the suggestions and the search; with bank_popular_mode: manual, popular_institutions are the banks shown as popular, in order. A bank is never both hidden and popular. Coverage belongs to the route the node selected in provider_key: the native route (a registered native route with an approved price) or the connected marketplace provider. A country no route of the node can establish account ownership in is KEPT on save, because the step is never a dead end: it offers no bank sign-in or account check there, only its fallbacks (a statement upload where the node offers one, micro-deposits where a route sends them) and Continue without a bank (bank_continue_without_bank). A code that names no country Didit verifies is refused on save. A statement-only country is refused when the organization's contract does not price the statement upload. methods sets which of bank sign-in (open_banking) and the account check (account_lookup) the country offers and in what order, over the step's bank_method_order: the person starts on the first one and is offered the second as its backup. A country a route serves whose methods leave it nothing, and any country whose methods name a method no route of the node serves there, are refused on save.
bank_country_mismatch_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the institution's country differs from the expected/document country.
bank_currency_mismatch_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the account currency is not in bank_expected_currencies.
bank_dob_match_enabledboolean | nullbooleanCompare the holder's date of birth, where the bank shares one, with the verified one. A mismatch never changes the ownership result: it fires bank_dob_mismatch_action. On by default.
bank_dob_match_thresholdinteger | nullinteger >=50 <=100At or above this score the date of birth matches, 50 to 100, defaulting to 70. A date is the same day or not, so it scores 100 or 0.
bank_dob_mismatch_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the holder's date of birth differs. Only with bank_dob_match_enabled.
bank_eligible_account_typesarray | nullarrayWhich account types the user may pick. Credit cards, loans and investment accounts are never eligible - they do not establish ownership of a payment account. Defaults to current/checking.
bank_email_match_enabledboolean | nullbooleanCompare the email on file at the bank with the session's verified email. A mismatch fires bank_email_mismatch_action. Off by default.
bank_email_match_thresholdinteger | nullinteger >=50 <=100At or above this score the email matches, 50 to 100, defaulting to 70.
bank_email_mismatch_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the holder's email differs. Only with bank_email_match_enabled.
bank_evidence_retention_daysinteger | nullinteger >=30 <=1825Delete the bank evidence this many days after the verdict: 30, 90, 365 or 1825. Null keeps it with the session. Deleted: the holder details, the identity they were compared against, the account identifiers, the financial data and an uploaded statement; a connection still live is revoked. The verdict, scores and reason codes stay. Deleting the session deletes everything, whichever comes first.
bank_expected_currenciesarray | nullarrayISO 4217 currencies the account is expected to be in. Empty means any; a mismatch is reported through bank_currency_mismatch_action.
bank_fallback_used_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the account was verified with micro-deposits or a statement upload.
bank_field_sourcesjson | null{"full_name"|"first_name"|"last_name"|"address"|"date_of_birth"|"phone"|"email": {"source": "document_ai"|"questionnaire"|"expected_data", "key": "||expected_details.<expected_details field>|metadata."}}Where to read a reference-identity field when no earlier step in the graph can fill it. The map's KEY is one of full_name, first_name, last_name, address, date_of_birth, phone, email; source names the producer and key names the value inside it - a Document AI field key for document_ai, a questionnaire node id for questionnaire, and expected_details.<field> or metadata.<key> for expected_data. An expected_details.<field> VALUE may only name a field the session-create payload actually carries - address, country, date_of_birth, first_name, gender, id_country, identification_number, ip_address, last_name, nationality or poa_country. A malformed entry is refused on save, not dropped.
bank_joint_account_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the account has more than one holder.
bank_low_balance_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the available balance is below bank_min_balance. Needs the balances scope.
bank_match_any_holderboolean | nullbooleanA joint or co-owned account matches when ANY listed holder matches the person. Off: only the first holder the bank lists can. On by default.
bank_max_attemptsinteger | nullinteger >=1 <=5How many bank sign-in attempts the user gets, 1 to 5; a micro-deposit or statement fallback spends one too. The account check has its own bank_account_check_max_attempts. The step ends once every method the country offers has spent its attempts, which without a successful connection is bank_attempts_exhausted_action.
bank_method_orderarray | null["open_banking"|"account_lookup", ...]Which of the two methods the step offers and in what order, for every country that sets no methods of its own in bank_countries: open_banking is bank sign-in (the person signs in at their bank and shares the account holder, plus balances, transactions and income when the step asks for them), account_lookup is the account check (no sign-in: the person types the account details, an IBAN, a sort code and account number, a CLABE..., and the bank confirms the name on it; ownership only). In each country the person starts on the first method a route serves there, and is offered the other one as its backup under "Other ways to verify"; where a country offers both, the account check also stands in for a bank whose sign-in is degraded or down. A method no route serves in a country is left out there. At least one method; a save that names none gets ["open_banking", "account_lookup"], unless it sends bank_open_banking_enabled or bank_account_lookup_enabled, which then set it. The account check is billed once per check the provider answers (a match, a close match, a no match, an account it could not verify or did not find); an account refused before the check bills nothing.
bank_microdeposits_enabledboolean | nullbooleanOffer micro-deposits as a fallback: two small deposits reach the account and the person enters the amounts. Offered only in a country whose route can send them, after a charged bank verification attempt in the same session. Included at no extra charge; the customer pays the route price once. Sandbox sessions can test it without billing. The holder is the name the session verified, which the person declares the account is under, so a verified account records a holder_declared warning. On by default.
bank_min_balancenumber | nullnumber >=0Minimum available balance, in the account's own currency. Below it bank_low_balance_action fires. Needs the balances scope and the save is refused without it. 0 is a real cutoff - it triggers the action for an overdrawn account - but the action defaults to NO_ACTION, so the verdict is unchanged unless another action is configured. This is not the same as leaving the key out.
bank_mule_score_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the mule score is at or above bank_mule_score_threshold.
bank_mule_score_thresholdinteger | nullinteger >=0 <=100At or above this mule score, 0 to 100, bank_mule_score_action fires; defaults to 70. The score combines a new account, pass-through cash flow, a drained balance and many small transfers in, read from the transaction history (the transactions scope).
bank_name_match_thresholdinteger | nullinteger >=50 <=100At or above this score the holder name is a match. 50 to 100, defaults to 85.
bank_no_match_actionstring | null'REVIEW'|'DECLINE'Verdict when the account holder is demonstrably not the verified person (best name score below bank_partial_match_floor).
bank_not_verifiable_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the institution connected but returned no holder identity to compare.
bank_open_banking_enabledboolean | nullbooleanRetired: use bank_method_order and bank_countries.<ISO3>.methods. Read for one release from a save that sends no bank_method_order (with bank_account_lookup_enabled, it sets the order: bank sign-in when on, which is the default), and written back on every save as whether any country offers bank sign-in.
bank_partial_match_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the holder name lands between bank_partial_match_floor and bank_name_match_threshold. Never approves by default.
bank_partial_match_floorinteger | nullinteger >=0 <=99The close-match value: below this score the holder name is a no-match. 0 to 99, defaults to 70. The band between the floor and the threshold is the partial match, so the floor must be strictly below bank_name_match_threshold or the save is refused. An explicit null means "use the default" here too, which is why a threshold of 50 with no floor is refused: it is checked against the default floor of 70.
bank_phone_match_enabledboolean | nullbooleanCompare the phone on file at the bank with the session's verified phone. A mismatch fires bank_phone_mismatch_action. Off by default.
bank_phone_match_thresholdinteger | nullinteger >=50 <=100At or above this score the phone matches, 50 to 100, defaulting to 70.
bank_phone_mismatch_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when the holder's phone differs. Only with bank_phone_match_enabled.
bank_popular_modestring | null'auto'|'manual'auto (the default) orders the popular banks by what people in the country connect most; manual shows each country's popular_institutions from bank_countries instead, in their order.
bank_reference_identitystring | null'auto'|'database_validation'|'expected_details'|'kyc'|'questionnaire'Which earlier step supplies the identity the account holder is compared against: kyc (ID Verification), database_validation, expected_details (the session-create payload), questionnaire, or auto to use whichever one the workflow produced. The step that actually supplied the compared name is recorded on the result as reference_identity_source: a name mapped in bank_field_sources records where it was mapped from (document_ai among them), and a business session records kyb.
bank_reference_identity_missing_actionstring | null'NO_ACTION'|'REVIEW'|'DECLINE'Verdict when no earlier step produced an identity to compare the holder against, so ownership can only be unknown.
bank_require_address_matchboolean | nullbooleanAlso require the holder's address to match. A name that reached the threshold but whose address scores below bank_address_match_threshold drops to a close match decided by bank_address_mismatch_action. An institution that returns no address waives the requirement; a session with no address of its own to compare against does not, and lands on a close match decided by bank_partial_match_action. Off by default.
bank_require_oauth_onlyboolean | nullbooleanOffer only institutions reachable over OAuth / app-to-app, never a provider's legacy credentia

Similar modules

Browse Identity verification