Skip to main content

ePassport Verification: NFC Chip Reading, a Technical Deep Dive

ePassport verification reads the passport chip inside a Didit session, not a standalone call. It needs a workflow with NFC and a phone with NFC; the chip read costs $0.15 on top of the $0.15 ID check.

ePassport Verification: NFC Chip Reading, a Technical Deep Dive

Contents

In this guide

Jump to the part you need.

ePassport verification fits teams that need cryptographic document evidence: regulated finance, high-value accounts, marketplaces with payout risk. Didit reads and validates the passport chip inside a hosted session, at $0.15 per chip read on top of the $0.15 ID document check. The caveat matters: NFC runs only inside a session, there is no standalone /v3/nfc/ endpoint, and a desktop browser cannot read a chip.

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

NFC ePassport verification at a glance
ItemDetail
Delivery modeSession only. There is no standalone /v3/nfc/ endpoint
Reading devicePhone NFC through the iOS or Android SDK, or a hosted session opened on an NFC phone. Browsers cannot read the chip
Price$0.15 per NFC chip read, added to the $0.15 ID document check
Result locationnfc_verifications[] on the session decision payload
Status valuesNot Started, In Progress, Approved, In Review, Declined, Abandoned, Kyc Expired
When NFC is unavailableThe flow falls back to OCR plus face match and nfc_verifications[] comes back empty
Hard stopNFC_PASSIVE_AUTHENTICATION_FAILED: the chip certificate does not chain to a trusted CSCA

Start free in the sandbox at business.didit.me, no sales call. Developers can connect Didit to an AI assistant through the MCP server. The chip read lives inside NFC Verification, and every line price is on didit.me/pricing.

What the passport chip proves

An ePassport is a paper document plus a secure element. Under ICAO Doc 9303 the chip stores the biographical data, the portrait and, where the issuing country allows it, fingerprints or iris images. It is read over NFC and it carries cryptographic evidence that a flat scan cannot show.

Four mechanisms do the work:

  • Basic Access Control (BAC) and PACE. In the standard BAC and PACE process the reader derives keys from the Machine Readable Zone, typically document number, date of birth and expiry date, and opens an encrypted channel. Without the MRZ the chip does not answer, which limits silent skimming. That describes the ICAO access-control mechanism, not a Didit-specific promise for every document.
  • Passive Authentication. The chip data is signed by the issuing authority's Document Signer Certificate, itself signed by a Country Signing Certificate Authority. The reader walks that chain to a trusted CSCA. If a byte of the data changed, the signature fails.
  • Active Authentication. The reader sends a random challenge and the chip signs it with a private key that never leaves the chip. A copy of the chip file cannot answer.
  • SAC and EAC. Stronger access control, used where the chip carries fingerprints or iris data.

For a business, the point is narrow and useful: when NFC verification succeeds, the data you keep came from a government-issued chip and its signature checks passed, so it has not been altered since issue. Didit runs ID Verification across 14,000+ document types in 220+ countries; the NFC add-on turns a document check into a chip check for passports and eIDs that carry one.

Active Authentication: what the challenge proves

Active Authentication is the anti-cloning mechanism. The chip writes a key pair at personalisation and keeps the private half inside the secure element. The reader sends a random value, the chip signs it, and the reader verifies with the public key that Passive Authentication already protected. A fraudster who copies the readable chip files can replay the stored data but cannot sign a new challenge.

ICAO Doc 9303 lists Active Authentication as an optional mechanism, so treat a warning code as a signal about this document, not as automatic proof of fraud. In a Didit decision the outcome surfaces as a risk code: NFC_ACTIVE_AUTHENTICATION_FAILED when the challenge does not verify, and NFC_CHIP_CLONED when the read matches a cloning pattern. Both belong in your review queue, not in an auto-approve path. The full code list is in the NFC warnings catalogue.

Before you start: prerequisites

  • A Didit organization, an API key and enough credit. A call without balance returns HTTP 403 with the message that you do not have enough credits.
  • A workflow that contains the NFC feature. Build it in the Business Console or with POST /v3/workflows/. NFC normally sits next to ID Verification, because the SDK needs the MRZ from the document photo to derive the BAC or PACE keys.
  • A phone with NFC: iOS 13 or later, or Android with NFC enabled. For an app, mount the iOS SDK or the Android SDK.
  • The supported-documents check. Didit publishes supported NFC documents on its supported-documents page. Read that list before you promise a specific ePassport or eID in your flow.
  • A callback URL on one of your application's allowed domains if you have set them, otherwise session creation fails with HTTP 400 on callback.
  • The passport itself, closed and in hand. The user photographs the data page first, then holds the phone against the cover.

Step-by-step ePassport verification with Didit

  1. Create or edit a workflow that contains the NFC feature alongside ID_VERIFICATION. Save it and note the workflow UUID.
  2. Copy an API key from the console. It travels in the x-api-key header.
  3. Create the session with POST /v3/session/, sending workflow_id, vendor_data and callback.
  4. Open the returned session.url on a phone with NFC, or mount the native SDK in your own app. On a desktop browser the chip step is skipped and the user continues with document capture and selfie.
  5. Let the user photograph the passport data page. The SDK derives the BAC or PACE keys from the MRZ, then prompts for the chip tap and reads it with visual feedback.
  6. Fetch the decision with GET /v3/session/{sessionId}/decision/, or subscribe to session.status.updated.
  7. Read nfc_verifications[]. It is a plural array even when the workflow collected one chip, and it is the canonical shape. A singular nfc_verification key is not.

Create the session, then fetch the decision:

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_ID",
    "vendor_data": "user-123",
    "callback": "https://yourapp.com/post-kyc"
  }'

curl 'https://verification.didit.me/v3/session/SESSION_ID/decision/' \
  -H 'x-api-key: YOUR_API_KEY'
The document capture step where the user photographs the passport data page before the chip tap
The MRZ from this capture enables the chip read, so document capture comes first.

What the decision returns

The NFC result sits under nfc_verifications[], one entry per chip read in the workflow. Read the status first, then the warnings array on the same entry:

{
  "nfc_verifications": [
    {
      "status": "Approved",
      "warnings": []
    }
  ]
}

An Approved entry with an empty warnings array means no NFC risk code was raised on that entry and the documented checks ran without reporting a problem. Read the chip fields on the same record before you describe the outcome in your own copy, because the payload is the evidence you keep. A Declined entry may include risk codes in its warnings array. Inspect that array before deciding the next step. An In Review entry means the flow finished but the result is not yours to auto-approve.

A Didit Business Console session detail showing the ID document result for one verification session
The same result in the console: the document step and its warnings next to the session outcome.

Inputs and outputs

Inputs you send to create the session
InputWhereNotes
workflow_idSession bodyUUID of the workflow that includes NFC. Required
vendor_dataSession bodyYour stable user identifier. Binds the session to a user and drives duplicate detection
callbackSession bodyWhere the hosted flow redirects when finished. Must be on an allowed domain if your application sets them
x-api-keyRequest headerYour API key on every call
NFC-capable phoneNot an API fieldThe read happens on the device, inside the session
Outputs on the decision payload
OutputMeaning
nfc_verifications[].statusNot Started, In Progress, Approved, In Review, Declined, Abandoned, Kyc Expired
nfc_verifications[].warnings[]Risk codes such as NFC_NOT_READ, NFC_BAC_FAILED, NFC_DATA_DOES_NOT_MATCH_OCR, NFC_PASSIVE_AUTHENTICATION_FAILED, NFC_ACTIVE_AUTHENTICATION_FAILED, NFC_CHIP_CLONED, NFC_DOCUMENT_REVOKED
chip_protocoljpki on a Japanese My Number Card record. ICAO chip records use the ICAO fields instead
jpki.chain_valid, jpki.signature_valid, jpki.revocation_statusJPKI evidence: revocation status is good, revoked or unchecked, plus the attributes and whether they matched the OCR capture
chip_data, authenticity, certificate_summaryICAO chip fields. They are null on a JPKI record

Failure cases and recovery

Common NFC outcomes and what to do next
SymptomCauseRecovery
nfc_verifications[] is emptyNo NFC chip, NFC disabled, or a browser session where NFC is skippedContinue on the OCR plus face match result. Do not treat the missing array as a pass or a fail
Declined with NFC_NOT_READ or NFC_BAC_FAILEDThe user did not hold the chip long enough, or the MRZ keys did not open the channelOffer a retry with the passport closed and held against the phone.
Declined with NFC_DATA_DOES_NOT_MATCH_OCRThe chip and the printed data disagree, which points at a tampered documentDo not approve. Route to human review with both captures attached
Declined with NFC_PASSIVE_AUTHENTICATION_FAILEDThe chip certificate does not chain to a trusted CSCAStop the flow because Passive Authentication failed.
Declined with NFC_ACTIVE_AUTHENTICATION_FAILED or NFC_CHIP_CLONEDThe challenge-response failed or the read matches a cloning patternDo not auto-approve. Review manually and request a second document
Declined with NFC_DOCUMENT_REVOKED or NFC_DATA_INVALIDThe issuing authority revoked the document, or the chip data failed validationTreat as a decline per policy and keep the evidence for audit
NFC skipped with JPKI_UNAVAILABLEA My Number Card in a native SDK on an NFC phone while JPKI is not enabled in productionFall back to the standard flow. JPKI needs a native SDK and the card PIN
HTTP 403Insufficient credit balanceTop up and retry
A session overview in the Didit Business Console listing the warnings raised during one verification
Warnings raised during the session are listed on the overview, so a reviewer sees the chip outcome next to everything else.
What a chip-level KYC check bills
StepPrice
ID document verification$0.15
NFC chip reading$0.15
Passive liveness$0.10
Face match 1:1$0.05
Device and IP analysis$0.03

Billing is per completed check from prepaid credit, so a session that never produces a result is not billed. The NFC chip read is listed at $0.15 per check. Confirm billing for fallback cases, where the chip read does not run, against the current pricing terms.

Three outcomes are review boundaries, not automation points. An In Review status on either id_verifications[] or nfc_verifications[] means a person decides. A chip that fails Passive Authentication stops the flow, and a chip that does not match the printed document goes to a human with both captures. Didit gives you the codes, the console session and an audit trail; it does not silently overrule a failed signature.

Worked cost example

One full KYC check with the chip read, at list price:

  • ID document $0.15 + NFC $0.15 + passive liveness $0.10 + face match $0.05 + device and IP $0.03 = $0.48 per check.
  • 1,000 checks: 1,000 x $0.48 = $480.00.
  • Same volume on Growth, 4% off every price: $0.48 x 0.96 = $0.4608, so 1,000 x $0.4608 = $460.80.
  • Same volume on Scale, 10% off every price: $0.48 x 0.90 = $0.432, so 1,000 x $0.432 = $432.00.
  • Free plan credit of $10.00 a month buys $10.00 / $0.48 = about 20 of these checks before top-ups.

If a session falls back to document plus selfie because the phone has no NFC, you pay the $0.33 KYC price for the checks that completed. Check how fallback sessions are billed against the current pricing terms.

Sources

Next step: create a free sandbox application at business.didit.me, add the NFC feature to a workflow, and read a real passport on an NFC phone. 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

What is ePassport verification and how does it work?

ePassport verification reads the NFC chip inside a biometric passport and validates the cryptographic signatures on the data it holds. The reader first derives access keys from the Machine Readable Zone, then runs Passive Authentication against the issuing country's certificate chain and, where supported, an Active Authentication challenge. The result is proof that the data came from the issuing authority and has not been altered, not just a photograph of a document.

What is Active Authentication in a passport?

Active Authentication is a chip-level challenge-response defined in ICAO Doc 9303. The reader sends a random value, the chip signs it with a private key held inside the secure element, and the reader verifies the signature. A cloned copy of the chip data can replay stored files but cannot sign a fresh challenge, which is why the mechanism targets cloning rather than data tampering.

Does Didit check Active Authentication on an ePassport chip?

Didit reads the chip and reports Active Authentication outcomes as risk codes on nfc_verifications[].warnings[], including NFC_ACTIVE_AUTHENTICATION_FAILED and NFC_CHIP_CLONED. It also reports NFC_PASSIVE_AUTHENTICATION_FAILED when the certificate chain does not reach a trusted CSCA. Any of those codes belongs in human review rather than an auto-approve path.

Can I read an ePassport chip in a web browser?

No. Safari on iOS has no Web NFC API and other browsers do not support it, so Didit serves NFC only through its native iOS and Android SDKs or a hosted session opened on an NFC phone. In a browser session the chip step is skipped and the user completes document capture plus selfie instead. Your decision payload will then carry an empty nfc_verifications[] array.

How much does NFC ePassport verification cost with Didit?

The NFC chip read is $0.15 per check, added to the $0.15 ID document check. A full KYC check with the chip read, passive liveness, face match and device analysis comes to $0.48 at list price. Growth takes 4% off every price and Scale takes 10%, so the same check is $0.4608 on Growth and $0.432 on Scale.

What happens if the user's phone has no NFC?

The SDK falls back to OCR plus face match, and nfc_verifications[] comes back empty. Treat that as a downgrade to documentary assurance rather than a failed verification, and confirm how the fallback session is billed against the current pricing terms. If your policy needs chip assurance, send those users to a device with NFC or an app that mounts the native SDK.

Why did NFC verification come back Declined with NFC_DATA_DOES_NOT_MATCH_OCR?

The chip data and the printed document data disagree. That usually means the document was altered or the chip belongs to a different booklet. Do not approve the session; route it to review with both the document images and the chip record attached.

Which ePassports and eIDs does Didit support over NFC?

Didit publishes supported NFC documents on its supported-documents page. Check that list before accepting a specific ePassport or eID. The page is updated there rather than in marketing copy, so it stays the reference you test against.

Do I still need a selfie and face match when I read the chip?

Yes, for most policies. The chip proves the document is genuine and unaltered; it does not prove the person holding it is the passport holder. Pair the chip read with passive liveness and a 1:1 face match against the chip portrait, which is what the $0.48 combination above does.

Can Didit read a Japanese My Number Card?

The My Number Card is read through JPKI, not ICAO 9303, so it needs a native SDK and the person's card PIN. Its record carries chip_protocol set to jpki with evidence under jpki, and null ICAO fields. JPKI is not enabled in production yet, so a My Number Card on an NFC phone currently skips NFC with JPKI_UNAVAILABLE.

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.