Skip to main content

NFC eID Verification: Chip Security How-To (2026)

NFC eID verification reads the chip in an ePassport or national eID and checks the issuer's signature. It runs inside a Didit session on a phone with NFC and costs $0.15 per check on top of the $0.15 ID document check.

NFC eID Verification: Chip Security How-To (2026)

Contents

In this guide

Jump to the part you need.

NFC eID verification reads the cryptographic chip inside an ePassport or national eID and checks the issuing government's signature, so you know the document is genuine and unaltered. It fits teams that need the highest level of security available for ID Verification: banks, crypto exchanges, employers, age-restricted retail. NFC Reading is a $0.15 add-on to the $0.15 ID document check. The caveat: it runs only inside a Didit session on a phone with NFC, not in a desktop browser.

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

NFC eID verification at a glance
QuestionAnswer
What it checksChip data, the issuer's digital signature (Passive Authentication), the chip itself where the issuer supports Active Authentication, and whether the chip agrees with the printed MRZ
PriceNFC Reading $0.15 per check, added to ID Verification $0.15. A full KYC check (ID, passive liveness, face match, device and IP) is $0.33
How it is deliveredInside a Didit session only. There is no standalone NFC endpoint. The chip is read by the Didit native SDK or hosted mobile flow
StandardsICAO 9303 covers ePassports and eIDs: BAC, PACE, Passive Authentication, Active Authentication and EAC. Japan My Number Card uses JPKI instead, is native-SDK only and is not enabled in production yet
Document coverageDidit ID Verification supports 14,000+ document types across 220+ countries and territories. NFC support depends on the document having a supported contactless chip
When NFC cannot runThe session falls back to OCR and face match when NFC cannot run. The decision records a nfc_skip_reason
Where the result landsThe nfc_verifications[] array on GET /v3/session/{sessionId}/decision/ and on the session.status.updated webhook

Start free in the sandbox at business.didit.me, no sales call. Read the NFC Verification API documentation and the ID Verification product page before you build. Developers can connect Didit to an AI assistant through the MCP server, and all list prices are on the pricing page.

What the chip proves that a photograph cannot

A photo of a passport proves that someone has a passport-shaped object. A chip read proves several separate things, and each one has its own failure code in the Didit decision.

Everything in this section about BAC, PACE, Passive Authentication and Active Authentication applies to ICAO 9303 documents: ePassports and eIDs. Japan My Number Card is a separate path through JPKI, covered in the prerequisites and the FAQ.

BAC and PACE: who is allowed to read the chip

The chip does not broadcast its contents. Basic Access Control derives a session key from data printed on the document itself, the document number, date of birth and expiry date, read from the machine readable zone. Only a reader holding that MRZ can open an encrypted channel, which stops silent skimming from a distance. Password Authenticated Connection Establishment is the stronger successor: it establishes the channel with a password-authenticated key exchange, and it can take its shared secret from the MRZ, from a card access number, or from a pre-shared key. Modern eIDs and national ID cards lean on PACE.

In a Didit session the user photographs the document first, so the SDK can read the MRZ and derive the BAC or PACE key, and then taps the phone on the chip. If the MRZ could not be read, the session records MRZ_KEY_UNAVAILABLE and NFC does not run.

Passive Authentication: was the data altered after issue

The issuing country hashes the chip data and signs that hash with its private key. The reader pulls the issuing country's public key from a document signer certificate that must chain back to a CSCA certificate in the ICAO public key directory, recomputes the hash of what it just read, and compares. A valid signature plus a matching hash shows that the signed chip data matches the issuer's recorded data for the name, date of birth, document number and portrait. A signature that does not chain to a trusted CSCA is reported as NFC_PASSIVE_AUTHENTICATION_FAILED.

Active Authentication and the chip-to-OCR comparison

Where the issuer supports it, Active Authentication makes the chip prove it is the original chip and not a clone, through a challenge-response exchange. A failed challenge-response is reported as NFC_ACTIVE_AUTHENTICATION_FAILED. Separately, NFC_CHIP_CLONED flags cloning signals. Extended Access Control protects fingerprint and iris data that sits behind additional authorisation. The final check is the cheapest and the most useful in practice: the SDK compares the chip data with the printed MRZ and reports NFC_DATA_DOES_NOT_MATCH_OCR when a page has been swapped or reprinted.

The user photographs the document page before the NFC tap, so the SDK can read the MRZ.
The document photo comes first. The SDK reads the MRZ from it and derives the BAC or PACE key that opens the chip.

Prerequisites

  • A Didit organization and an API key. Sign up at business.didit.me, or register programmatically with the two calls in the quick start. The sandbox key is free and unlimited.
  • A workflow that contains an ID Verification step and an NFC step. Build it in the console with the workflow builder, or create it with POST /v3/workflows/.
  • A mobile device with NFC: iOS 13 or later, or an Android device with NFC enabled. Full chip access comes from the native SDKs, iOS and Android.
  • A document with a contactless chip. A passport or ID card without a chip cannot be read and is reported as DOCUMENT_WITHOUT_CHIP.
  • For a Japan My Number Card, native SDKs only, the person enters the card PIN, and the iOS host app adds D392F000260100000001 to com.apple.developer.nfc.readersession.iso7816.select-identifiers. JPKI is not enabled in production yet, so the step is skipped with JPKI_UNAVAILABLE.

Step by step: run an NFC eID verification

  1. Create the workflow. The NFC step normally sits next to ID Verification, because the document photo supplies the key. The response returns workflow.id.
    curl -X POST https://verification.didit.me/v3/workflows/ -H 'x-api-key: $DIDIT_API_KEY' -H 'Content-Type: application/json' -d '{"workflow_label": "Passport NFC onboarding", "workflow_type": "kyc", "features": [{"feature": "OCR"}, {"feature": "NFC"}, {"feature": "LIVENESS", "config": {"face_liveness_method": "PASSIVE"}}, {"feature": "FACE_MATCH"}]}'
  2. Create the session. Pass your own stable identifier in vendor_data so duplicate detection and later lookups have something to bind to.
    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"}'
  3. Open the session on the phone. Send the user to the returned session.url on a device with NFC, or mount the native SDK inside your app. The user photographs the document, then holds the phone against the chip when prompted.
  4. Read the decision. Fetch it after completion, or subscribe to session.status.updated. Always read the plural array nfc_verifications[], never a singular key.
    curl https://verification.didit.me/v3/session/<SESSION_ID>/decision/ -H 'x-api-key: <API_KEY>'
  5. Branch on the status and the warnings. Approve only when the NFC item status is Approved and the warning list carries nothing terminal. Route In Review to a human.
  6. Log the skip reason. When is_nfc_skipped is true, record skip_reason on your side so you can tell a user choice apart from a device limitation.

Expected output

The decision returns one entry per NFC read. The chip fields you rely on are status, chip_protocol, chip_data, authenticity, certificate_summary and warnings.

{"session_id": "8f14e45f-...", "session_kind": "user", "status": "Approved", "nfc_skip_reason": null, "nfc_verifications": [{"status": "Approved", "chip_protocol": "icao", "is_nfc_skipped": false, "skip_reason": null, "warnings": []}]}

The same entry also carries chip_data, authenticity and certificate_summary; their exact nested fields are in the data model. An empty nfc_verifications array or a null value is normal when the step did not run. Read the top-level nfc_skip_reason in that case, and check is_nfc_skipped inside any entry that does exist.

The ID document result and its extracted fields in the Didit Business Console session view.
The same session in the console: the document step that supplied the MRZ key, next to the fields the decision returns.

Inputs and outputs

What you send and what you read back
FieldDirectionWhat it does
workflow_idInputSelects the workflow, which must contain the NFC step
vendor_dataInputYour stable identifier for the person, echoed back in the decision
callbackInputWhere the hosted flow returns the user, with session id and status appended
languageInputISO 639-1 code for the verification UI
MRZ, read from the document photoDeviceSupplies the BAC or PACE key. Without it NFC is skipped
nfc_verifications[].statusOutputNot Started, In Progress, Approved, In Review, Declined, Abandoned, Kyc Expired
nfc_verifications[].chip_protocolOutputicao for ePassports and eIDs, jpki for a Japan My Number Card when JPKI is enabled
chip_dataOutputThe biographical fields and portrait read from the chip
authenticity and certificate_summaryOutputSignature validation result and the certificate chain the reader trusted
warnings[]OutputRisk codes such as NFC_NOT_READ, NFC_BAC_FAILED, NFC_CHIP_CLONED
is_nfc_skipped, skip_reasonOutputWhether the step was bypassed and why
nfc_skip_reason (top level)OutputWhy NFC did not run when the step was bypassed and the array stays null

Failure cases and recovery

Every NFC failure below appears either as a status or as a warning code in the decision. Handle them by code, not by free text.

A skipped NFC step is not a declined verification. Skipped means the chip was not read: the entry may be absent, nfc_verifications may be empty or null, or the entry has is_nfc_skipped true, and the reason is in skip_reason or top-level nfc_skip_reason. Declined means the chip was read and the result failed, with a status of Declined and a warning code. Treat them differently in policy and in review.

NFC warning codes and what to do
CodeWhat happenedRecovery
NFC_NOT_READThe chip was not read, usually because the phone moved or the hold was too shortOffer a retry with the same session link. Status is typically Declined
NFC_BAC_FAILEDThe access key derived from the MRZ did not open the chipRetry once. If it repeats, the MRZ and the chip may not belong together. Treat as a review case
NFC_DATA_INVALIDThe chip data failed validationDo not approve. Route to review
NFC_DATA_DOES_NOT_MATCH_OCRThe chip and the printed page disagree, which points to a tampered documentDo not approve. Keep the evidence and route to an investigator
NFC_PASSIVE_AUTHENTICATION_FAILEDThe signing certificate did not chain to a trusted CSCAStop the flow. This is not a retry case
NFC_ACTIVE_AUTHENTICATION_FAILEDThe chip failed the challenge-response proof, where the issuer supports itRoute to review. Do not approve on the document photo alone
NFC_CHIP_CLONEDThe chip shows signs of cloningDecline and review
NFC_DOCUMENT_REVOKEDThe issuer has revoked the documentDecline
USER_SKIPPED, DEVICE_WITHOUT_NFC, INTEGRATION_WITHOUT_NFC_ACCESS, DOCUMENT_WITHOUT_CHIP, CHIP_CERTIFICATE_UNAVAILABLE, MRZ_KEY_UNAVAILABLEThe step could not run. The session falls back to OCR and face match when NFC cannot runDecide on your policy: accept the lower assurance level, or ask the user to retry on a phone with NFC
JPKI_UNAVAILABLEA Japan My Number Card was presented but JPKI is not enabled in production yetFall back to the standard document plus face check
A session overview in the Didit Business Console showing the warning list for that session.
Warnings sit on the session overview, so a reviewer can see the NFC result next to every other check.

Browser delivery is the one limitation worth designing around. NFC is not available in web browsers: Chrome on Android ships an experimental Web NFC API that is unstable, Safari on iOS has no Web NFC API, and other browsers have none. For web integrations we skip the NFC step and the user continues with document OCR and face match. If a chip read is mandatory for your use case, ship the native SDK.

  • NFC Reading: $0.15 per check. It is an add-on, so a chip read on top of a document check bills $0.15 plus $0.15.
  • ID Verification: $0.15 per check. A standalone server-to-server call to the ID verification API is $0.20.
  • The rest of the KYC path: passive liveness $0.10, face match 1:1 $0.05, device and IP analysis $0.03. Together with the document check that is the $0.33 full ID check.
  • Billing model: per completed check from prepaid credit. The Free plan carries $10 of monthly credit for organizations that sign up with a work email, and sandbox testing is free and unlimited. Growth is $99 a month with $115 of credit and 4% off every Didit price, Scale is $299 a month with $350 of credit and 10% off.
  • Review boundary: an In Review status means a human must decide. The console assigns the session to a reviewer, and the decision exposes assignee, waiting_since and sla_due_at. Do not build logic that approves an NFC mismatch automatically.
How Didit billing works: credits, auto-recharge and volume discounts, explained on screen.
Credits, auto-recharge and plan discounts, which is where the per-check prices land on your invoice.

Worked cost example

Take 10,000 completed onboarding checks a month, where 6,000 people hold a chippable ePassport or eID and 4,000 do not.

  • ID Verification: 10,000 x $0.15 = $1,500.00
  • NFC Reading: 6,000 x $0.15 = $900.00
  • Passive Liveness: 10,000 x $0.10 = $1,000.00
  • Face Match 1:1: 10,000 x $0.05 = $500.00
  • Device and IP Analysis: 10,000 x $0.03 = $300.00
  • List price total: $1,500 + $900 + $1,000 + $500 + $300 = $4,200.00, or $0.42 per completed check

On Scale, the 10% discount applies to every Didit price: $4,200 x 0.10 = $420.00 off, so $3,780.00 for the checks, plus the $299 monthly plan fee, with $350 of that month's usage covered by plan credit. On Growth the discount is 4%: $4,200 x 0.04 = $168.00 off, so $4,032.00 plus the $99 monthly plan fee and $115 of monthly credit. The NFC line is the part that varies with chip coverage, which is why the chip coverage rate matters more than the per-check price.

NFC eID verification for age verification

Age checks are the clearest case where a chip read adds assurance over a document photo. The chip returns the date of birth the government signed, so the age decision rests on issuer data instead of a typed date or a visual check. In a Didit session, ID Verification accepts minimum_age and returns MIN_AGE_NOT_REACHED as a warning when the holder is below it, and the NFC result helps confirm the document carrying that date is genuine. If configured in the workflow, Age Estimation can provide an additional fallback at $0.10 per check for the 4,000 users in the example above without a chip, or anyone on a desktop.

Two practical notes. A skipped NFC step is not a declined verification, so record which one happened before you act on it. And if your age gate must not fail open, set the workflow to decline when NFC is skipped, rather than accepting the lower assurance path.

Sources

The next step is a sandbox run: create a workflow with an NFC step, open a session on a phone with an ePassport, and read nfc_verifications[] back from the decision. Start at business.didit.me, no sales call needed.

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

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

Questions

Frequently asked questions

What is NFC eID verification?

NFC eID verification uses the near field communication radio in a phone to read the secure chip inside an electronic identity document, such as an ePassport or a national eID card. The reader opens an encrypted channel, pulls the biographical data and portrait from the chip, and validates the issuer's digital signature. The result is proof that the document is genuine and that its data has not been altered.

How does chip security work in an ePassport?

For ICAO 9303 documents, the chip protects itself in layers. BAC or PACE builds an encrypted channel so only a reader holding data from the printed MRZ can open it. Passive Authentication checks that the data is signed by the issuing country and that the signing certificate chains to a trusted CSCA. Active Authentication, where the issuer supports it, adds a challenge-response proof that the chip is the original hardware and not a copy.

Is NFC verification more secure than scanning a document?

It adds cryptographic and chip-to-OCR checks that a document scan alone does not perform. A scanned image can be edited or printed, while a chip read validates the issuer's signature and reports NFC_DATA_DOES_NOT_MATCH_OCR when the chip and the printed page disagree. The comparison is about the checks each method performs, not a blanket ranking of every document or issuer.

What standards govern NFC eID verification?

ICAO 9303 defines the specifications for machine readable travel documents and the chip protocols on top of them, including BAC, PACE, Passive Authentication, Active Authentication and Extended Access Control. Japan's My Number Card is the exception on Didit: it is read through JPKI rather than ICAO 9303, so its evidence sits under a separate jpki object. JPKI is native-SDK only and is not enabled in production yet.

Does NFC eID verification work in a web browser?

No. NFC is not available to web browsers. Chrome on Android has an experimental Web NFC API that is unstable, Safari on iOS has no Web NFC API, and other browsers have no support. We therefore run NFC only through our native SDKs and our hosted mobile flow, and skip the step on the web with a skip reason on the session.

How much does NFC eID verification cost on Didit?

NFC Reading is $0.15 per check and is billed as an add-on to the ID document check at $0.15. A complete KYC check with passive liveness, face match and device and IP analysis is $0.33. The Free plan includes $10 of monthly credit for organizations signing up with a work email, and sandbox testing is free.

What happens if the chip read fails?

The session returns a status plus a warning code. A short or missed hold gives NFC_NOT_READ and a retry is reasonable; a key mismatch gives NFC_BAC_FAILED; a signature that does not chain to a trusted CSCA gives NFC_PASSIVE_AUTHENTICATION_FAILED, which is a stop condition, not a retry. A mismatch between chip and print gives NFC_DATA_DOES_NOT_MATCH_OCR and should go to a human reviewer. A skipped step is different: the array may be empty or null, with a skip reason instead of a failure code.

Can I use NFC eID verification to prove age?

Yes. For ICAO documents, the chip carries the date of birth that the government signed, so an age gate can decide on issuer data rather than a typed date. We return MIN_AGE_NOT_REACHED when the holder is below the configured minimum_age. If configured in the workflow, Age Estimation can provide an additional fallback at $0.10 per check for users who have no chippable document.

What is the difference between BAC and PACE?

BAC derives its key from the printed MRZ and was designed for early ePassports. PACE replaces that with a password-authenticated key exchange that can take its secret from the MRZ, a card access number or a pre-shared key, and it protects against a wider set of attacks on the channel setup. Most modern national eIDs use PACE.

Does Didit support the Japan My Number Card over NFC?

The native SDK schema includes JPKI handling, but JPKI is not enabled in production yet and currently skips with JPKI_UNAVAILABLE. When enabled, the person enters the card PIN during the read, and the result sits under jpki with chain_valid, signature_valid, revocation_status and an attribute match against the OCR data. The path is native-SDK only and uses JPKI rather than ICAO 9303.

Do users without a chippable ID get blocked?

Not by default. The native SDK falls back to document capture plus face match when the device has no NFC or the document has no chip, and nfc_verifications stays empty with a skip_reason such as DEVICE_WITHOUT_NFC or DOCUMENT_WITHOUT_CHIP. Whether that reduced assurance level is acceptable is a policy decision you set in the workflow.

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.