Skip to main content

ePassport Verification: NFC Chip, PACE and Active Authentication

Didit reads the ePassport chip inside an iOS or Android session for $0.15 on top of the $0.15 document check, checks passive authentication and, where supported by the document, active authentication, and reports each result in.

ePassport Verification: NFC Chip, PACE and Active Authentication

Contents

In this guide

Jump to the part you need.

ePassport verification reads the chip inside a biometric passport instead of trusting the printed page. It suits banks, iGaming operators, marketplaces, crypto exchanges and public-sector teams that need a passport a photocopy cannot pass. On Didit the chip read is a $0.15 add-on to the $0.15 document check. The main caveat: chips are read from a native iOS or Android SDK, or a session opened on an NFC phone, never from a desktop browser.

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

ePassport verification on Didit at a glance
ItemDetail
What it verifiesThe chip signature chain to the issuing authority, the chip challenge-response where the passport supports it, and the chip data against the printed MRZ
PriceNFC Reading $0.15 per check, added to ID Verification at $0.15
Full check with NFC$0.48 = the $0.33 KYC bundle plus $0.15 for the chip. The published full KYC bundle without NFC stays at $0.33
Where it runsInside a Didit session on iOS 13 or later, or on an Android device with NFC enabled, through a native SDK or the session URL
Not supportedWeb browsers. There is no stable Web NFC API, so the step is skipped and the session continues with document capture plus selfie
Decision fieldnfc_verifications[] with status and risk codes in warnings[]
No-NFC fallbackThe array comes back empty and OCR plus face match decide
JapanMy Number Card reads through JPKI on native SDKs only, and JPKI is not enabled in production yet
Free tier$10 of credit each month on the Free plan for organizations that sign up with a work email, sandbox free on every plan

Start free in the sandbox at https://business.didit.me/ with no sales call, and add credit only when you move to production. Developers who want to drive sessions from an AI assistant can connect Didit through https://didit.me/developers/mcp/. Every list price is on didit.me/pricing.

What an ePassport verification proves

An ePassport carries a contactless chip beside the printed data page. The chip holds the same facts as the page, plus a portrait, signed by the country that issued the passport. Reading it answers a question no photo of the page can answer: is this a genuine article from a recognised issuer, and does the chip inside this cover belong to the page in front of me?

Three results come out of a chip read, documented on the Didit NFC Verification page:

  • Whether the chip signature chains back to a trusted issuing authority, which is passive authentication.
  • Whether the chip can sign a challenge that only the genuine document should be able to sign, which is active authentication.
  • Whether the chip data and the printed data agree. Treat the mismatch as a likely tampered document and do not approve.

Passive authentication, active authentication and PACE

These three terms get mixed up, including in the earlier version of this post, which called PACE a passive signature check. Here is what each one actually does inside a Didit session.

Passive authentication

The reader hashes the data groups on the chip and checks the document signer certificate against the issuing country's CSCA infrastructure. It needs no cooperation from the chip beyond reading. Our docs are explicit about the failure: if the signing certificate did not chain back to a trusted CSCA, the flow stops and Didit reports NFC_PASSIVE_AUTHENTICATION_FAILED.

Active authentication

Active authentication is a challenge-response exchange defined in ICAO Doc 9303. The reader sends a random value and the chip signs it with a private key that should exist only inside the genuine document. A cloned chip carrying copied data cannot produce that signature, so this check catches the cloning that a signature check alone would miss. Whether a given passport chip implements it is a property of the document, not a Didit setting; Didit surfaces a failed exchange as NFC_ACTIVE_AUTHENTICATION_FAILED.

PACE and BAC

PACE stands for Password Authenticated Connection Establishment. BAC and PACE are distinct secure-channel protocols. Didit derives the applicable keys from the MRZ. That is why the integration notes say the SDK derives the BAC or PACE keys from the MRZ, and why the flow photographs the data page before the tap. Without a readable MRZ the reader cannot derive those keys and the chip never opens, which shows up as NFC_BAC_FAILED.

Chip data against the printed page

The last check compares the data inside the chip with what OCR read from the page. When the chip and the printed data disagree the session gets NFC_DATA_DOES_NOT_MATCH_OCR, and the documented handling is to stop and not approve.

What you need before you start

  • A Didit account and an API key. Create both in the Business Console at business.didit.me.
  • A workflow that includes the NFC feature. The step is documented on the Didit NFC Verification page, and NFC normally runs alongside ID_VERIFICATION. Most teams add LIVENESS and FACE_MATCH so one session answers both questions: is the document real, and is the holder the person on it.
  • A mobile device with NFC. iOS 13 or later, or an Android phone with NFC switched on.
  • A delivery route. Mount the native SDK, or open the session URL on the phone. The native SDKs handle the ISO7816 select identifiers and entitlements for you.
  • A written policy for the no-NFC case, and a manual review queue for codes that should never auto-approve.
  • If you capture faces for people in Illinois, Texas or Colorado, turn on the biometric consent step before the first face capture. It needs native SDK 4.10.0 or later, or the hosted web flow. See the biometric consent docs.

How to run an ePassport verification with Didit, step by step

  1. Create a workflow in the Business Console, or with POST /v3/workflows/, and add the NFC feature together with ID_VERIFICATION. Note the workflow ID.
  2. Create a session with POST /v3/session/. Send the workflow ID, your own user reference and a callback URL.
    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 returned session.url on a phone with NFC, or mount the native SDK in your app. NFC is session-only: there is no standalone NFC endpoint, because the SDK has to drive the device radio.
  4. The person photographs the passport data page. The SDK reads the MRZ and derives the BAC or PACE keys from it.
  5. The person holds the phone against the passport until the chip read completes. The iOS SDK documentation describes real-time chip reading with visual feedback for this step.
  6. Fetch the decision with GET /v3/session/{sessionId}/decision/, or subscribe to session.status.updated.
    curl -X GET 'https://verification.didit.me/v3/session/SESSION_ID/decision/' \
    -H 'x-api-key: YOUR_API_KEY'
  7. Read nfc_verifications[] on the decision. Always read the plural array, even when the session produced a single chip read.
The passport data page being analysed after capture
Step 4 on the phone: the data page is captured and read first, because the MRZ supplies the keys that open the chip.

Expected output

A completed chip read appears on the decision payload like this. The status values are the documented enum; each item also carries the chip data, an authenticity result and a certificate summary, listed in the table below.

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

The per-item status is one of Not Started, In Progress, Approved, In Review, Declined, Abandoned or Kyc Expired. Treat In Review as a stop for automatic approval and route the session to a person.

Inputs and outputs

What you send in a session and what the NFC result gives back
DirectionFieldNotes
Inputworkflow_idThe workflow must include the NFC feature, usually beside ID_VERIFICATION.
Inputvendor_dataYour own identifier for the person.
InputcallbackApplication endpoint that receives the completion callback.
Inputuser_stateOptional ISO 3166-2 code, used to decide whether a biometric consent step is required.
Outputnfc_verifications[]One entry per chip read in the session.
Outputnfc_verifications[].statusThe session status enum above.
Outputnfc_verifications[].warnings[]The NFC risk codes in the next table.
Outputchip_data, authenticity, certificate_summaryThe ICAO 9303 evidence. Null on a JPKI read.
Outputchip_protocoljpki for a Japanese My Number Card.
Outputjpkichain_valid, signature_valid, revocation_status, attributes, attributes_match_ocr.

Failure cases and how to recover

Didit NFC risk codes and the recovery each one calls for
Risk codeWhat it meansWhat to do
NFC_NOT_READThe chip was not read before the step ended.Allow a retry. Most cases are the phone drifting off the passport.
NFC_BAC_FAILEDThe BAC or PACE keys from the MRZ did not open the chip.Allow a retry, then route unresolved cases to review.
NFC_DATA_INVALIDThe data read from the chip failed validation.Do not approve. Review the images with the chip report.
NFC_DATA_DOES_NOT_MATCH_OCRThe chip and the printed page disagree.Do not approve. Treat it as a tampered document and review.
NFC_PASSIVE_AUTHENTICATION_FAILEDThe signing certificate did not chain to a trusted CSCA.Stop the flow and review.
NFC_ACTIVE_AUTHENTICATION_FAILEDThe chip did not answer the challenge-response correctly.Do not approve. Review for a cloned chip.
NFC_CHIP_CLONEDThe chip shows cloning signals.Decline and review.
NFC_DOCUMENT_REVOKEDThe document is reported revoked.Do not approve. Follow your reporting policy.

Two more situations are not risk codes. If the device has no NFC chip, or NFC is switched off, the documented fallback is that the SDK continues with OCR plus face match and nfc_verifications[] comes back empty. If a person leaves the flow before the chip is read, the item can end as Abandoned.

The ID document result for one session in the Didit Business Console
The console keeps the document read and its warnings in one place, so a reviewer sees what the chip and the page each returned before anyone approves.

Billing is per completed check from prepaid credit. A chip read is its own line at $0.15, and it does not replace the document check that feeds it the MRZ. The document check stays at $0.15, passive liveness is $0.10, face match 1:1 is $0.05, active liveness is $0.15 and device plus IP analysis is $0.03. Whether a retry is billable depends on the step, and the pricing docs list the exceptions. Every line above is also published on didit.me/pricing. A KYC check without a chip read is the published $0.33 bundle.

Review boundaries are simple to state and worth writing down. Passive authentication failure, active authentication failure, chip and page mismatch, cloned chip and revoked document never auto-approve. They stop automatic approval and require a person to review the evidence, and the risk code travels with the session so the reviewer knows what to look at. A chip that could not be read at all is a retry, not a fraud finding, so give the person at least one more attempt before you escalate. Any session that reaches In Review leaves the automated path entirely: a person makes the call.

The selfie scan step running beside the chip read in a Didit session
The face step that runs beside the chip read: the chip proves the document, the face proves the holder.

Worked cost example

One full check that reads the passport chip, confirms liveness, matches the face and analyses the device and IP, at list price. This is the $0.33 KYC bundle with a $0.15 NFC Reading added on top:

  • ID document verification $0.15
  • NFC Reading $0.15
  • Passive liveness $0.10
  • Face match 1:1 $0.05
  • Device and IP analysis $0.03

0.15 + 0.15 + 0.10 + 0.05 + 0.03 = $0.48 per completed check. At 1,000 checks a month that is $480.00. On Growth, with 4% off every Didit price, the same check is 0.144 + 0.144 + 0.096 + 0.048 + 0.0288 = $0.4608, or $460.80 per 1,000. On Scale, at 10%, it is 0.135 + 0.135 + 0.09 + 0.045 + 0.027 = $0.432, or $432.00 per 1,000. Drop the chip read and keep the rest and you are on the published $0.33 KYC bundle: 0.15 + 0.10 + 0.05 + 0.03 = $0.33, so the chip adds $0.15 to a check, not a new bundle.

Japan: My Number Card through JPKI

The Japanese My Number Card is read through JPKI, not ICAO 9303. Two consequences follow. It works only in the native iOS and Android SDKs, and the person enters the card PIN. The iOS host app must add D392F000260100000001 to com.apple.developer.nfc.readersession.iso7816.select-identifiers.

The result arrives on the same array with a different shape. The item has chip_protocol set to jpki, the evidence under a jpki object, and null ICAO fields:

{
  "nfc_verifications": [
    {
      "chip_protocol": "jpki",
      "jpki": {
        "chain_valid": true,
        "signature_valid": true,
        "revocation_status": "good",
        "attributes_match_ocr": true
      },
      "chip_data": null,
      "authenticity": null,
      "certificate_summary": null
    }
  ]
}

JPKI is not enabled in production yet. Until it is, a My Number Card presented in a native SDK on an NFC phone skips the chip step and the session records nfc_skip_reason as JPKI_UNAVAILABLE. Plan for that: either accept the document check and face match, or add a fallback question for the person.

Why chip reading beats a photo of a passport

A photograph of a data page shows you ink. A chip read shows you a signature from the issuing state, which is why we treat it as the strongest document evidence in a session. After a year of testing by Spanish financial regulators, including the Spanish Treasury, Banco de España, SEPBLAC and CNMV, Didit was recognised as the only provider whose NFC plus active liveness flow meets or exceeds the security level of in-person verification.

Didit's NFC + active liveness verification offers security equivalent to or greater than in-person verification. Official report, Spanish Treasury.

That matters for regulated onboarding, where the question is not only who the person is but whether your process matches the assurance of a counter visit. Didit runs on 220+ countries and territories with 14,000+ document types, is SOC 2 Type 2 and ISO/IEC 27001:2022 certified, and is used by 4,000+ companies.

Sources

Open the sandbox at https://business.didit.me/, create a workflow with NFC and ID verification, and read a chip from your own passport before you decide anything. No sales call is needed to start.

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?

ePassport verification reads the contactless chip inside a biometric passport and checks it cryptographically. It confirms that the chip was signed by a trusted issuing authority, that the chip data matches the printed data page, and, where the passport supports it, that the chip can answer a challenge only a genuine chip could answer. Didit runs it as an add-on step inside a verification session and reports the result in nfc_verifications[].

What is active authentication in a passport?

Active authentication is a challenge-response check between the reader and the passport chip, defined in ICAO Doc 9303. The reader sends a random value, and the chip signs it with a private key that should exist only in the genuine document, so a cloned chip carrying copied data cannot answer. Whether a passport chip implements it depends on the document, and Didit reports a failed exchange as NFC_ACTIVE_AUTHENTICATION_FAILED.

What is the difference between passive authentication and PACE?

Passive authentication verifies the chip signature chain back to a trusted country signing certificate, so it judges whether the document is genuine. PACE, Password Authenticated Connection Establishment, sets up an encrypted channel between reader and chip using a key derived from the MRZ, so the conversation cannot be eavesdropped. PACE protects the read; passive authentication judges what was read.

Does Didit read passport chips in a web browser?

No. Browsers do not expose a stable NFC API, so NFC verification is unavailable on the web and the step is skipped there. A desktop session continues with document capture, liveness and face match. To read a chip, open the session on iOS 13 or later, on an Android device with NFC enabled, or mount the Didit native SDK in your app.

How much does an ePassport chip read cost on Didit?

NFC Reading is $0.15 per check and it is an add-on to the $0.15 ID Verification check. A full check that also runs passive liveness at $0.10, face match at $0.05 and device plus IP analysis at $0.03 costs $0.48 at list price, which is the $0.33 KYC bundle plus $0.15 for the chip; without the chip the same check is $0.33. Plan discounts apply to every line, the Free plan includes $10 of credit each month for organizations that sign up with a work email, and the sandbox is free.

What happens when the chip data does not match the printed passport page?

The session gets the risk code NFC_DATA_DOES_NOT_MATCH_OCR and the NFC result should not be approved. Treat that mismatch as a likely tampered document. Send the case to manual review with the document images and the chip report attached.

Can Didit verify a Japanese My Number Card?

Yes, through JPKI rather than ICAO 9303. The card is read only in the native iOS or Android SDK, the person enters the card PIN, and the evidence arrives under a jpki object with chain, signature, revocation and attribute match fields. JPKI is not enabled in production yet, so a My Number Card on an NFC phone currently skips the chip step and records nfc_skip_reason as JPKI_UNAVAILABLE.

Which NFC risk codes should stop an approval automatically?

Stop on NFC_PASSIVE_AUTHENTICATION_FAILED and on NFC_DATA_DOES_NOT_MATCH_OCR, and treat NFC_CHIP_CLONED and NFC_DOCUMENT_REVOKED the same way. Retry when the code is NFC_NOT_READ or NFC_BAC_FAILED, because those usually mean the phone lost contact with the chip rather than that the passport is false.

Is a chip read enough on its own to approve someone?

No. A genuine chip says the passport is real, not that the person holding it is the owner. Didit pairs the chip read with passive liveness and a 1:1 face match against the portrait from the document, and the session decision covers all of them. That combination is what the Spanish Treasury test assessed.

What if the user's phone has no NFC?

The documented behaviour is that the SDK falls back to document capture plus face match and nfc_verifications[] comes back empty. Decide in advance whether an empty array is acceptable for the risk you are taking, or require an NFC-capable device for high-value flows such as account recovery or large transfers.

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.