Skip to main content

Didit national ID lookup fallbacks: no-match, partial, provider error

Point <code>id_lookup.on_no_match</code>, <code>id_lookup.on_partial_match</code> and <code>id_lookup.on_provider_error</code>, plus <code>wallet.on_failure</code>, at <code>fallback_to_document</code> or <code>decline</code>.

Didit national ID lookup fallbacks: no-match, partial, provider error

Contents

In this guide

Jump to the part you need.

Didit's national ID lookup has four fallback switches. The documented example sets all four to fallback_to_document, and retry is a wallet-only value. When a lookup returns no match, a partial match or a provider error, the user moves to document capture instead of being blocked, at $0.15 per completed document check. This page is for teams setting that per country in the console or the methods config. The caveat: the lookup itself is priced per country, so read its rate in the console.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

The four fallback switches in Didit ID Verification
SwitchWhen it firesValuesDocumented exampleWhat the user gets
id_lookup.on_partial_matchThe source answered, but the details the user typed only partly lined upfallback_to_document or declinefallback_to_documentDocument capture in the same session
id_lookup.on_no_matchThe source holds no record for the details typedfallback_to_document or declinefallback_to_documentDocument capture
id_lookup.on_provider_errorThe source could not be reached or returned an errorfallback_to_document or declinefallback_to_documentDocument capture
wallet.on_failureThe wallet sign-in was cancelled, timed out or failedfallback_to_document, decline or retryfallback_to_documentDocument capture, or with retry the user stays on the wallet step and sees Try {wallet} again

Start free in the sandbox at business.didit.me, no sales call. The Didit ID Verification product page covers the three methods, and per-country lookup rates and every other unit price sit on the Didit pricing page. The ID Verification method docs are at docs.didit.me. If you drive Didit from an AI assistant, connect it through the Didit MCP server and change the same workflow settings.

The outcome, and the method we recommend

A fallback changes nothing about what a lookup proves. It only decides where the user goes when the lookup does not land. A successful lookup carries the assurance tier data_match, which means the details the user gave matched a record held by the source queried for that country. A fallback document capture carries documentary, because a physical document was photographed, read and checked for authenticity. Both are honest labels, not a score.

Our recommendation in one line: leave id_lookup.on_no_match and id_lookup.on_provider_error at fallback_to_document, and treat id_lookup.on_partial_match as a policy decision per country. The switch values are documented. That recommendation is our policy guidance, not a platform rule. A provider error means the source could not be reached or returned an error, and blocking a real user for it costs more than a document check at $0.15. A no match means the source found no matching record for the submitted details, and the user can correct the identifier inside the attempts you allow through id_lookup.max_attempts. A partial match is the one worth a conversation, because the source answered and the details did not line up.

One constraint catches people out: the four switches are unavailable whenever the country has no document capture, because there is nowhere to fall back to. Turn Document capture on for that country first. A workflow that then leaves every method off is rejected on save with No method enabled: nobody can verify here.

Didit serves 4,000+ active companies. The lookup feature is one of three ID Verification methods, next to document capture and digital ID wallet sign-in, and the method a session actually used is recorded on the session payload.

Session detail in the Didit Business Console showing the ID document check and its recorded result
The session detail view: the document check that runs when a lookup falls back to document capture.

Prerequisites

  • A workflow in the Didit console with an ID Verification node and at least one country enabled.
  • Document capture enabled for the country where you want a fallback. Without it the four switches are not offered.
  • The country must be offered as a lookup source in your environment's capability catalog. Availability is server driven: a source or wallet marked Coming soon is listed so you can see the roadmap, but it cannot be switched on.
  • For the API route, an API key sent in the x-api-key header, and the workflow UUID from the workflows endpoint.
  • A sandbox application for testing. Sandbox testing is free and unlimited, and the Free plan adds $10.00 of monthly credit for organizations that sign up with a work email.
Session overview in the Didit Business Console showing the session status, the method used and any warnings
The session overview: the outcome sits beside the method that produced it, with warnings as separate objects.

Steps: send a failed lookup to document capture

  1. Open the country editor. In the console go to Workflows, select the workflow, select the ID Verification node, then open Countries and pick the country. Each row shows the methods that country accepts, and the list shows Wallet, then document under any country using that order.
  2. Turn on Document capture for that country. This is the destination of the fallback. Set the document types, subtypes and capture rules you accept while you are here.
  3. Turn on Non-doc lookup and set id_lookup.max_attempts to the number of answered attempts the user gets. The published example uses 2.
  4. Set the three lookup switches under Fall back to document capture when. Leave id_lookup.on_no_match and id_lookup.on_provider_error at fallback_to_document, and decide id_lookup.on_partial_match.
  5. Decide whether a portrait-backed match skips the rest of the workflow. id_lookup.skip_liveness_and_face_match is on by default. It only applies where the source returns the holder's photograph and the lookup already ran passive liveness and a face match to that portrait inside the lookup price. It is normalised off on save where the source checks the selfie itself and returns a verdict, and off where the source returns data only.
  6. Set the wallet switch if you accept wallets. Keep wallet.on_failure at fallback_to_document when document capture is allowed in that country. Use retry only through the Wallet only, no document option, which turns document capture off for that country. The two do not combine: retry exists because there is nowhere to fall back to, so it cannot sit beside document.fallback_only, which exists because there is a fallback destination.
  7. Save and publish. Enabling a wallet marked Coming soon rejects the whole save, including the other configuration in it, so check the catalog before you send a config.
  8. Start a session and read what happened. Run one session against the workflow, finish it as a user would, then open the session's decision payload.

The console writes the same object you can send through the Management API. The methods key on the ID Verification feature config is authoritative, keyed by ISO 3166-1 alpha-3 country code. Omit the key, omit a country, or omit a method inside a country, and that country stays on document capture only. This is the published example:

{
  "feature": "OCR",
  "config": {
    "methods": {
      "ZAF": {
        "document": { "enabled": true },
        "id_lookup": {
          "enabled": true,
          "max_attempts": 2,
          "skip_liveness_and_face_match": true,
          "on_partial_match": "fallback_to_document",
          "on_no_match": "fallback_to_document",
          "on_provider_error": "fallback_to_document"
        },
        "wallet": { "enabled": false, "providers": [], "on_failure": "fallback_to_document" }
      },
      "DNK": {
        "document": { "enabled": true },
        "id_lookup": { "enabled": true, "on_no_match": "decline" }
      }
    }
  }
}

The DNK block shows the other value: a no match there ends the session with a decline instead of offering document capture. Both countries above are available for lookup in the published catalog, and the ZAF block leaves wallets disabled so it does not depend on a wallet being live in your environment. Where a wallet is live, its country block is a provider list plus the same failure switch, for example {"wallet": { "enabled": true, "providers": ["mitid"], "on_failure": "fallback_to_document" }}.

Then start a session against that workflow:

curl -X POST https://verification.didit.me/v3/session/ -H 'x-api-key: YOUR_API_KEY' -H 'Content-Type: application/json' -d '{"workflow_id": "YOUR_WORKFLOW_UUID", "vendor_data": "user_1234"}'

workflow_id is the stable workflow UUID, and vendor_data is your own identifier for the person, which also binds the session to that entity for duplicate detection. Add callback if you want the hosted flow to redirect back to you; Didit appends the session id and status to it.

Expected output: what the payload shows you

  • The ID Verification step records the method that actually produced the result. A completed lookup carries data_match, a completed document capture carries documentary, a wallet sign-in carries cryptographic. The end user never sees the tier, the source name or the price.
  • The exact source queried is on the session payload as id_lookup.source, and in the console and in exports, for you and your auditors. It matters more than it sounds: in Canada, France, Indonesia, the Netherlands, Norway, Singapore, the United Kingdom and the United States the record is a credit-bureau, financial-services, utility or residential-records file rather than a state register.
  • A fallback is an outcome, not a warning. Warnings are separate objects with feature, risk, log_type, short_description, long_description and the node_id of the step that raised them.
  • GET /v3/session/{sessionId}/decision/ returns each feature as an array: id_verifications[], liveness_checks[], face_matches[] and the rest. Every object carries node_id, so a workflow with two ID Verification nodes reports which node produced which report.

Failure cases and recovery

Common fallback failures and what to change
What you seeWhyRecovery
The user lands on document captureExpected: the switch firedNothing. The session continues and the document check is billed on completion
The session ends declined after a no matchid_lookup.on_no_match is set to declineSet it back to fallback_to_document if you want the user to continue
The session ends declined during a source outageid_lookup.on_provider_error is set to declineSet it to fallback_to_document, unless your policy forbids document capture for that country
The fallback switches cannot be usedThe country has no document captureTurn Document capture on for that country, then set the switches
Save rejected, no method enabledEvery method is off for that countryEnable at least one method
Save rejected on a walletThe wallet is marked Coming soon in your environmentUse a wallet that is available, or leave wallets off for that country
Face Match cannot computeFACE_MATCH_NOT_COMPUTED with a null scoreSee the section below; it is a workflow design signal, not a fraud signal
Workflow will not publish over Face MatchPublish-time validation found no source of a reference faceAllow document capture, pick a source that returns a photograph or checks the selfie, or remove the Face Match step

The lookup matched but Face Match reports FACE_MATCH_NOT_COMPUTED

A data-only lookup leaves a later Face Match step nothing to compare. The live capture is fine, the lookup is fine, and the comparison simply cannot be computed. Didit reports FACE_MATCH_NOT_COMPUTED with a null score instead of declining the session automatically. Read that as a workflow design signal.

The same happens after a digital ID wallet sign-in: even where a wallet shares a portrait, it is not used as the Face Match reference. A Face Match step reached that way cannot pass anyone automatically, so every user it sees goes to review or is declined, depending on how the step is set.

The workflow editor and the graph validation every client uses warn you before you publish:

  • The workflow cannot be published when, for a country, every path into the Face Match step verifies users only with methods that leave no photo and every route out of that ID Verification step leads to Face Match. A branch whose outcomes all lead back to Face Match does not change that.
  • A warning when the outcome depends on the user: document capture or a photo-leaving source is offered as well, or a branch after ID Verification can send those users to an outcome without Face Match. Users who finish with the data-only method still reach Face Match with nothing to compare.

To clear either, do one of three things: allow document capture for that country, which also gives the fallback switches somewhere to go; pick a source that returns a photograph or checks the selfie itself, as South Africa, Nigeria, Argentina and Panama do today; or remove the Face Match step. A workflow that collects a reference face when the session is created, through portrait_image on a Biometric Authentication workflow or a Face Match step that can run before any ID Verification step, always has something to compare and is never flagged. Where the source does return a portrait and the lookup already ran passive liveness and a face match inside its own price, skip_liveness_and_face_match is what stops the workflow repeating that work.

Inputs and outputs

Config keys, values and what the user sees
KeyValuesNotesEffect on the user
id_lookup.enabledtrue or falseOff unless a method is enabled for the countryOffers the non-document lookup in that country
id_lookup.max_attemptsInteger2 in the published exampleHow many answered attempts the user gets before the fallback fires
id_lookup.skip_liveness_and_face_matchtrue or falseOn by defaultSkips the workflow's own Liveness and Face Match after a portrait-backed match; normalised off for data-only and selfie-checking sources
id_lookup.on_partial_matchfallback_to_document or declineDocumented example sets fallback_to_documentDocument capture, or the session ends declined
id_lookup.on_no_matchfallback_to_document or declineDocumented example sets fallback_to_documentDocument capture, or the session ends declined
id_lookup.on_provider_errorfallback_to_document or declineDocumented example sets fallback_to_documentDocument capture, or the session ends declined
wallet.on_failurefallback_to_document, decline or retryDocumented example sets fallback_to_documentDocument capture, a decline, or retry: the user stays on the wallet step with Try {wallet} again and the session stays open until they finish or it expires
document.enabledtrue or falseSet by your document configurationIf off, the four fallback switches are unavailable because there is nowhere to fall back to
document.fallback_onlytrue or falseWritten by Wallet first, document if it failsDocument capture offered only when the wallet or lookup fails
wallet.providersAccept-list of wallet codesSet by the wallets you tickWhich wallets the country offers. The end user picks from what you tick

A fallback is not free, and it should not be. A document capture that runs after a failed lookup is a separate completed check at $0.15. A decline runs nothing after it, so you do not pay for a document step you never took.

  • ID document verification: $0.15 per check. This is the fallback step itself.
  • Passive liveness $0.10, face match 1:1 $0.05, device and IP analysis $0.03. With the document check that is the $0.33 full ID check.
  • Active liveness, where you use it instead of passive: $0.15.
  • The lookup itself is priced per country and carried on the price list as variable, so read the rate for that country before you enable it. Some no-match lookups and retries are billable, as the pricing docs state.
  • Wallet checks are priced per completed verification, for example MitID personal at $0.25 and BankID Sweden at $0.20. A successful sandbox test does not enable a wallet in production.

A fallback is an outcome. If you choose decline, the session ends declined and no further step runs. To see what happened, read the session decision payload at GET /v3/session/{sessionId}/decision/. Each feature comes back as an array, and warnings are separate objects with feature, risk, log_type, short_description, long_description and node_id.

Worked cost example

Ten thousand sessions in a country where the lookup is enabled and document capture is the fallback. Assume 8,500 lookups land and 1,500 do not: 900 no match, 450 partial match and 150 provider error. All 1,500 fall back. This example assumes the fallback workflow also runs passive liveness, face match and device analysis after document capture. If it runs document capture only, the fallback path costs $225.00.

  • Document fallback: 1,500 x $0.15 = $225.00
  • Passive liveness: 1,500 x $0.10 = $150.00
  • Face match 1:1: 1,500 x $0.05 = $75.00
  • Device and IP analysis: 1,500 x $0.03 = $45.00
  • Fallback path total: $225.00 + $150.00 + $75.00 + $45.00 = $495.00, which is 1,500 x $0.33, the published full ID check
  • Spread over all 10,000 sessions: $495.00 / 10,000 = $0.0495 per session

On Growth the same 1,500 checks cost 1,500 x $0.3168 = $475.20. On Scale, 1,500 x $0.2970 = $445.50. Add the lookup line from the console rate for that country, which this page cannot quote because it is not a single published number. The $10.00 monthly credit on the Free plan covers 30 of these full $0.33 fallback paths at list price, since $10.00 / $0.33 = 30.3, while document capture alone costs $0.15.

Sources

No third-party vendor pages were used for this page.

Next step: create a sandbox application at business.didit.me, open a workflow, and set the four switches on the Countries tab of the ID Verification node. Sandbox testing is free and unlimited, and there is no sales call.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

How do I make the user fall back to document capture when the national ID lookup returns no match in Didit?

Set id_lookup.on_no_match to fallback_to_document for that country. Make sure Document capture is enabled for the same country first, otherwise the switch is unavailable because there is nowhere to fall back to. The user then continues in the same session and photographs a document.

What values do the Didit lookup fallback switches take?

The three lookup switches take fallback_to_document or decline, and wallet.on_failure also takes retry. The documented example sets id_lookup.on_partial_match, id_lookup.on_no_match, id_lookup.on_provider_error and wallet.on_failure to fallback_to_document.

Can I decline the user instead of offering document capture?

Yes. Set the relevant switch to decline and the session ends declined, with no document step and no document charge. A common pattern is to keep document fallback for no match and provider error, and reserve decline for partial matches where a mismatch is a policy matter.

Why are the fallback switches unavailable in the console?

Because that country has no document capture enabled, and the switches would have no destination. Turn on Document capture for the country, then set the switches. A country where you then turn every method off is rejected on save with No method enabled: nobody can verify here.

What does wallet.on_failure set to retry do?

With retry, a wallet sign-in that does not finish can be tried again: the user sees Try {wallet} again and stays on the wallet step, and the session stays open until they finish or it expires. It is only available through the Wallet only, no document option, which turns document capture off for that country.

Why can I not use retry and document.fallback_only together?

Because they describe opposite countries. retry exists when document capture is switched off and there is nothing to fall back to, while document.fallback_only means document capture is offered only if the wallet fails. Pick one per country: Wallet first, document if it fails, or Wallet only, no document.

What does FACE_MATCH_NOT_COMPUTED with a null score mean after a lookup?

The lookup verified the person from a record that returned data only, so a later Face Match step has no reference portrait to compare the live capture against. Didit reports FACE_MATCH_NOT_COMPUTED with a null score because the comparison could not be computed.

How do I fix a Face Match step that cannot compute after a data-only lookup?

Do one of three things: allow document capture for that country so users have another route, pick a source that returns a photograph or checks the selfie itself, or remove the Face Match step. If every path into Face Match leaves no photo and every route out of ID Verification leads there, the workflow cannot be published at all.

Does a fallback document check cost extra?

Yes. The fallback document check is $0.15, and any passive liveness $0.10, face match $0.05 and device analysis $0.03 steps that follow add up to the $0.33 full ID check. The failed lookup itself is priced per country, and some no-match lookups and retries are billable.

How do I see which method a session actually used?

Read the session payload. The ID Verification result carries the assurance tier, which is data_match for a completed lookup, documentary for a document capture and cryptographic for a wallet sign-in, and the source queried is on id_lookup.source. The console session view and exports show the same, and the end user never sees it.

Is any of this about crypto wallet screening?

No. This page is about digital ID wallets such as MitID, BankID and Smart-ID, which are one of the three ID Verification methods. Wallet screening for blockchain addresses is a separate product inside Transaction Monitoring.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.