Apropa un passaport electrònic o DNI electrònic al telèfon. Llegeix el xip, valida la signatura governamental, detecta falsificacions que les comprovacions fotogràfiques simples no veuen. 0,15 $ per lectura, 500 gratuïtes/mes.
Apropa el passaport. El xip retorna les mateixes dades que la foto, però aquesta
vegada estan signades pel país emissor. 0,15 $, en menys de 2 segons.
Com funciona
Des del registre fins a l'usuari verificat en quatre passos.
Pas 01
Crea el flux de treball
Tria les comprovacions que vulguis, identificació, liveness, reconeixement facial, sancions, adreça, edat, telèfon, correu electrònic, preguntes personalitzades. Arrossega-les a un flux al panell de control, o publica el mateix flux a la nostra API. Crea ramificacions segons condicions, fes proves A/B, sense necessitat de codi.
Pas 02
Integra
Integra de forma nativa amb els nostres SDKs per a Web, iOS, Android, React Native o Flutter. Redirigeix a una pàgina allotjada. O simplement envia un enllaç al teu usuari, per correu electrònic, SMS, WhatsApp, on vulguis. Tria el que millor s'adapti al teu stack.
Pas 03
L'usuari segueix el flux
Didit allotja la càmera, les indicacions d'il·luminació, el traspàs mòbil i l'accessibilitat. Mentre l'usuari està en el flux, puntuam més de 200 senyals de frau en temps real i verifiquem cada camp amb fonts de dades autoritzades. Resultat en menys de dos segons.
Pas 04
Rep els resultats
Els webhooks signats en temps real mantenen la teva base de dades sincronitzada en el moment en què un usuari és aprovat, rebutjat o enviat a revisió. Consulta l'API sota demanda. O obre la consola per inspeccionar cada sessió, cada senyal i gestionar els casos a la teva manera.
Creat per a desenvolupadors · Creat contra el frau · Disseny obert
Sis funcionalitats. Una feature flag. NFC.
Totes les funcionalitats que veus a continuació són un interruptor dins del mateix mòdul. Sense nivells de preus addicionals, sense SKUs separats, sense trucades per afegir extres. Activa-les per flux de treball, o inclou el mòdul NFC quan creïs un flux de treball a través de l'API.
Verifica la signatura de cada xip, no la impressió de la pàgina.
Cada passaport electrònic i DNI electrònic modern porta un xip sense contacte signat pel govern emissor. El llegim mitjançant NFC (comunicació de camp proper), validem la signatura digital i retornem un veredicte a prova de manipulacions. Detecta atacs de morfisme, substitucions de fotos i falsificacions que superen la inspecció visual.
Cryptographic read
NFC · ICAO 9303
Authentic
Hold to chip
Passive AuthenticationSOD signature valid
Active AuthenticationChip challenge OK
Chip AuthenticationSession key derived
Issuer signatureSigned · government
02 · Grups de dades ICAO 9303
Contingut complet del xip extret, estructurat i signat.
Es llegeix cada grup de dades ICAO 9303 del xip: objecte de seguretat signat, dades personals, MRZ (zona de lectura mecànica), imatge facial d'alta resolució, imatge de signatura, a més de qualsevol biometria addicional que emmagatzemi el país emissor. Obtens un JSON `chip_data` net i URLs signades per al retrat i la signatura.
Chip data groups
SOD · DG1 · DG2 · DG7 · DG11–14
First nameDG1
Olivia
From chip · DG1 signed by SOD
Last nameDG1
Roy
Date of birthDG1
28/06/1971
Document typeDG1
e-Passport
Facial imageDG2
High-res portrait.jp2
Document numberDG1
3EB8726CC6E0F979
03 · Confiança ICAO PKD
Confiança ancorada al Directori de Clau Pública de l'ICAO.
Cada lectura de xip rastreja la cadena completa de certificats, signant del document → autoritat de signatura del país → arrel del Directori de Clau Pública ICAO, i comprova la llista de revocació del país en temps real. Els certificats revocats i caducats apareixen com a advertències configurables; la resta passa com a booleans d'autenticitat a l'informe.
Trust chain
DSC → CSCA → ICAO PKD
PKD root
Document Signer
DSC · n-eID SPAIN 2
Country Signing CA
CSCA · Spain · CRL OK
ICAO PKD root
Public Key Directory
sod_integrity
dg_integrity
DSC not revoked
DSC not expired
04 · Foto vs. xip
Comprova cada camp. Rebuig automàtic en cas de no coincidència.
Les dades de la foto han de coincidir amb les dades del xip. Quan divergeixen, la sessió es rebutja automàticament; aquest disparador no es pot desactivar. És el senyal més clar d'una zona de foto manipulada, un xip intercanviat o un document fals amb una impressió d'aspecte real.
On OCR vs chip mismatch · NFC_AND_OCR_DATA_NOT_SAME · auto-decline
05 · Mobile SDK primer
iOS, Android, React Native, Flutter: lectura de xips integrada.
Els SDKs natius configuren el lector NFC del dispositiu, els permisos i la interfície d'usuari de lectura de xips per a tu. iOS utilitza Core NFC; Android utilitza IsoDep a NfcAdapter; React Native i Flutter embolcallen tots dos. Els navegadors sense NFC tornen automàticament a la identificació estàndard + selfie; s'activa una advertència de salt i la sessió continua.
Device support
Native SDKs · auto-fallback
Live
4
Native SDKs
2
Bridges
1
Web fallback
No NFC · SKIPPED_NFC_VALIDATION · ID + selfie continues
iiOS SDKCore NFC · entitlementsNative
AAndroid SDKIsoDep · NfcAdapterNative
RReact Native · FlutterNative bridgeBridge
WWeb browserNo NFC · auto-fallbackFallback
06 · Cobertura mundial
Tots els països emissors ICAO, creixent cada trimestre.
La majoria de passaports emesos després del 2006 inclouen un xip, a més d'una llista creixent de DNI electrònics nacionals: DNIe espanyol, Personalausweis alemany, CIE italià, targeta d'identificació estoniana, Cartão de Cidadão portuguès, eID belga, eID holandès. Els certificats de país s'actualitzen automàticament; els nous països es poden llegir el dia que els incorporem.
NFC coverage
Refreshed automatically
Live
2006+
Passports since
30+
National e-IDs
ICAO
9303 standard
CSCA
Auto-refreshed
e-PassportDNIePersonalausweisCarta CIEEstonian IDCartão de Cidadão
🇪🇸ES
🇩🇪DE
🇮🇹IT
🇪🇪EE
🇵🇹PT
🇧🇪BE
🇳🇱NL
🇫🇷FR
🇬🇧GB
🇺🇸US
🇯🇵JP
🇦🇪AE
Integra
Un flux de treball. Dues maneres d'iniciar la lectura del xip.
L'NFC no té un endpoint autònom de servidor a servidor; el xip necessita un dispositiu amb maquinari NFC. Els dos camins següents comparteixen la mateixa crida de creació de sessió; només es diferencien en si l'usuari llegeix el xip a la nostra interfície d'usuari allotjada o dins de la teva pròpia aplicació mitjançant l'SDK natiu.
// iOS · Swift
import DiditSdk
let result = prova await DiditSdk.shared.startVerification(
amb: sessionId,
configuració: config)
donein-app{ "status": "Approved" }
Integració preparada per a agents
Desplega la verificació NFC amb una sola indicació.
Enganxa el bloc següent a Claude Code, Cursor, Codex, Devin, Aider o Replit Agent. Omple el marcador de posició `my_stack` amb el teu framework, llenguatge i cas d'ús. L'agent provisionarà Didit, construirà el flux de treball amb NFC activat, connectarà el webhook i ho desplegarà.
didit-integration-prompt.md
# Didit NFC Verification — integrate in 5 minutes
You are integrating Didit's NFC Verification (cryptographic e-passport
and e-ID chip reading) module into <my_stack>. Follow these steps exactly.
Every URL, header, and enum value below is canonical — do not paraphrase
or "improve" them.
## 1. Provision an account
- Sign up: https://business.didit.me (no credit card required).
- Or provision programmatically: POST https://apx.didit.me/auth/v2/programmatic/register/
(returns an API key bound to the workspace + application).
## 2. What NFC Verification actually does
NFC Verification reads the secure contact-less chip embedded in modern
e-passports and e-IDs (the small chip-and-antenna sticker symbol on the
cover) and runs four cryptographic checks against the data it extracts:
1. Passive Authentication — every Data Group (DG1 personal data, DG2
facial image, etc.) is hashed and compared against the signed hash
stored in the Document Security Object (SOD). Catches any single-bit
tampering of the chip contents.
2. Certificate chain validation — Document Signer Certificate (DSC) →
Country Signing Certificate Authority (CSCA) → ICAO Public Key
Directory (PKD) root. Proves the chip was signed by the issuing
government, not a clone.
3. Certificate Revocation List (CRL) check — DSCs revoked by the issuing
country are caught and flagged.
4. Chip Authentication — where the document supports it, prevents chip
cloning by challenging the chip with a key-pair handshake.
PACE (Password Authenticated Connection Establishment) or BAC (Basic
Access Control) is used to derive the session key from the Machine-Readable Zone (MRZ); Didit
handles that automatically. All of this is ICAO 9303 standard.
## 3. Two integration paths — pick one
### Path A — Workflow Builder (hosted UI, REQUIRED for NFC)
NFC Verification has no server-to-server standalone endpoint. The chip
has to be read by a device with NFC hardware, so you always integrate
through the Workflow + native SDK (or hosted mobile web that falls back).
1. Create a workflow that contains the NFC feature:
POST https://verification.didit.me/v3/workflows/
Authorization header: x-api-key: <your-api-key>
Body: workflow_label, features array with the entries
{ feature: "ID_VERIFICATION" }
{ feature: "NFC" }
(UPPERCASE — strict enum)
You should always pair NFC with ID_VERIFICATION so the MRZ is captured
for the chip handshake AND so an OCR cross-validation is available.
2. Create a verification session for an end user:
POST https://verification.didit.me/v3/session/
Body: workflow_id (from step 1), vendor_data (your own user id).
Response: session_url — redirect the user to it (or open it in the
native SDK with shared.startVerification(with: sessionId)).
3. Listen for webhook callbacks (see "Webhooks" below).
### Path B — Native SDKs (drop-in, recommended for mobile apps)
Same workflow + session above, but launch the verification flow in your
own iOS or Android app via the Didit SDK. The SDK wires the NFC reader,
the entitlements, and the chip-reading UI for you.
- iOS: DiditSdk.shared.startVerification(with: sessionId, configuration:)
Required entitlements (handled by the SDK):
- com.apple.developer.nfc.readersession.formats = ["TAG"]
- ISO7816 application identifiers for ePassports
- Android: DiditSdk.startVerification(sessionId, config) — uses
IsoDep (android.nfc.tech.IsoDep) under the hood.
- React Native / Flutter: the same SDK, exposed through the cross-
platform module — see docs.didit.me/integration/native-sdks/.
### Web browsers — NFC is unavailable
Web NFC API is not generally available. Chrome on Android has an
experimental Web NFC that is unstable and requires explicit permissions;
Safari on iOS has no support. For web integrations, NFC is automatically
skipped and the user proceeds with standard ID + selfie. If you require
NFC, deep-link the user into the Didit App or your own native app.
## 4. Webhooks
- Register a webhook destination once via
POST https://verification.didit.me/v3/webhook/destinations/
Body: url, subscribed_events: ["session.verified", "session.review_started",
"session.declined"]
- Response includes secret_shared_key — store it.
- Every webhook delivery carries an X-Signature-V2 header you MUST verify
before trusting the payload. HMAC-SHA256 verification MUST run against the raw body bytes (the raw payload as Didit sent it) BEFORE any JSON parsing — re-serialising the parsed body changes whitespace and key order, which invalidates the signature.Algorithm:
1. sortKeys(payload) recursively
2. shortenFloats (truncate trailing zeros after the decimal point)
3. JSON.stringify the result
4. HMAC-SHA256 with the secret_shared_key
5. Hex-encode, compare to the X-Signature-V2 header.
## 5. Reading the report
The session report includes an nfc object alongside the id_verification
object. Top-level fields on nfc:
- status: "Approved" | "Declined" | "In Review" | "Not Finished"
- portrait_image: signed URL to the chip-extracted DG2 facial image
- signature_image: signed URL to the chip-extracted DG7 signature
- chip_data:
document_type, issuing_country (ISO 3166-1 alpha-3),
document_number, expiration_date (YYYY-MM-DD),
first_name, last_name, birth_date, gender ("M" | "F" | "U"),
nationality (ISO 3166-1 alpha-3), address, place_of_birth.
- authenticity:
sod_integrity (boolean — every Data Group hash matched the SOD)
dg_integrity (boolean — Data Group binary integrity check passed)
- certificate_summary:
issuer (CSCA Common Name + serial + organization + country)
subject (DSC Common Name)
serial_number
not_valid_after (YYYY-MM-DD HH:MM:SS)
not_valid_before (YYYY-MM-DD HH:MM:SS)
- warnings: Array of { risk, additional_data, log_type,
short_description, long_description }
### Auto-decline (always enforced, never configurable)
- NFC_AND_OCR_DATA_NOT_SAME — Optical Character Recognition (OCR) data
and chip data differ. Indicates document tampering or fake chip.
### Configurable warnings (per-workflow action: Decline / Review / Approve)
- SKIPPED_NFC_VALIDATION — chip not read (no NFC hardware, no
permissions, document has no chip)
- NFC_CHIP_NOT_VERIFIED — chip read but signature could not be
verified (missing CSCA, older document)
- DSC_CERTIFICATE_REVOKED — Document Signer Certificate listed on
the issuing country's CRL
- DSC_CERTIFICATE_EXPIRED — Document Signer Certificate past its
validity period
## 6. Hard rules — do not change
- Base URL for /v3/* endpoints is verification.didit.me (NOT apx.didit.me).
- Feature enum is UPPERCASE: NFC, ID_VERIFICATION, LIVENESS, FACE_MATCH.
- Auth header is x-api-key (lowercase, hyphenated).
- Webhook signature header is X-Signature-V2 (NOT X-Signature).
- Always verify webhook signatures before trusting payload data.
- Always pair NFC with ID_VERIFICATION in the workflow — NFC alone
cannot derive the chip key without the MRZ from the document photo.
- Status casing matches exactly: "Approved", "Declined", "In Review",
"Not Finished" (title-cased, space-separated).
- Treat NFC as an additive confidence boost, not a hard gate, unless
your risk policy explicitly requires it (regulated remote
onboarding under PSD3, AMLD6 high-risk customer flows, etc.).
## 7. Pricing reference (public)
- NFC Verification: $0.15 per chip read (standalone module).
- Bundled inside a full Know Your Customer (KYC) workflow (ID + Liveness + Face Match + NFC):
priced as the underlying KYC bundle ($0.33) + $0.15 NFC if enabled.
- 500 free checks every month, forever, on every account.
## 8. Verify your integration
- Sandbox starts on signup at https://business.didit.me — no separate flag.
- Test documents: use the Didit App on a real iOS or Android device with
any ICAO 9303 e-passport issued after 2006 (most modern passports).
- Sandbox webhook events fire the same shape as production; verify the
X-Signature-V2 header in dev too.
- Switch to live: flip the application's environment toggle in console.
When in doubt: https://docs.didit.me/core-technology/nfc-verification/overview
Compliment per disseny
Obre un nou país amb un clic. Nosaltres fem la feina difícil.
Obrim les filials locals, assegurem les llicències, realitzem les proves de penetració, obtenim les certificacions i ens alineem amb cada nova regulació. Per desplegar verificacions en un nou país, només has d'activar un interruptor. Més de 220 països en funcionament, auditats i provats trimestralment, l'únic proveïdor d'identitat que un govern d'un estat membre de la UE ha qualificat formalment com més segur que la verificació presencial.
Cada xip llegit segons l'estàndard canònic de passaport electrònic.
PKD
Confiança ancorada a l'arrel del Directori de Clau Pública de l'ICAO.
<0s
Lectura de xip d'extrem a extrem en un smartphone modern.
$0.00
Per lectura de xip NFC. 500 gratuïtes cada mes.
Tres nivells, una llista de preus
Comença gratis. Paga per ús. Escala a Enterprise.
500 verificacions gratuïtes cada mes, per sempre. Pagament per ús per a producció. Contractes personalitzats, residència de dades i SLA (Acords de Nivell de Servei) a Enterprise.
Gratuït
Gratuït
0 $ / mes. No es requereix targeta de crèdit.
Paquet KYC gratuït (Verificació d'identitat + Prova de vida passiva + Coincidència facial + Anàlisi de dispositius i IP), 500 / mes, cada mes