Fes un únic KYC de $0.33. L'usuari verificat comparteix aquesta verificació de Didit amb qualsevol altra app que utilitzi Didit, amb divulgació selectiva i gratis a cada reutilització. Cinc eID nacionals ja són actives i l'acceptació de la cartera EUDI arribarà properament.
Confiat per més de 3.000 organitzacions a tot el món.
Presentació de walletPOST /v3/session/
Wallet de l'usuariemesa 12 març
Neobancobertura de compteAcceptat$0.00
M. Lópezreusable_id
1verificació pagada
13presentacions · totes gratis
Verificador demana
token de compartició signat · aplicacions Diditpresentació · gratis, per sempre
Què desbloqueja la identitat reutilitzable
Identitat a la butxaca de l'usuari. Gratuït per a tothom que l'accepti.
Qualsevol KYC de Didit es pot compartir com una verificació KYC reutilitzable signada amb altres aplicacions que utilitzen Didit. Qualsevol plataforma receptora la llegeix de franc. Una verificació, per a qualsevol negoci que accepti Didit. Comença gratis.
Com funciona
Des del registre fins a l'usuari verificat en quatre passos.
Pas 01 / 04
01
Crea el flux de treball
Tria les comprovacions que vulguis, DNI, prova de vida, coincidència facial, sancions, adreça, edat, telèfon, correu electrònic, preguntes personalitzades. Arrossega-les a un flux al tauler de control, o publica el mateix flux a la nostra API. Crea ramificacions segons condicions, executa proves A/B, sense necessitat de codi.
Integra
Integra de forma nativa amb els nostres SDK 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, a qualsevol lloc. Tria el que s'adapti al teu stack.
L'usuari passa pel 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.
Rebràs 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.
Dissenyat per a la identitat reutilitzable · Preu d'infraestructura
Un KYC. Cada plataforma després, gratuït.
La identitat reutilitzable real no és una característica, és un sistema. Emissió, retenció, presentació, divulgació selectiva, actualització, revocació. Tot sota una sessió /v3/.
La primera vegada, l'usuari completa el paquet estàndard de $0.33: document d'identitat, liveness passiu, face match i anàlisi de dispositiu i IP. En acabar, Didit signa la verificació perquè l'usuari la pugui compartir amb altres apps que utilitzen Didit.
Demostra que ets major de 18 anys sense revelar la data de naixement. Demostra el país sense revelar l'adreça. L'aplicació receptora només llegeix els camps que sol·licita, signats per Didit.
MitID, BankID Suècia, Finnish Trust Network, Smart-ID i Mobile-ID ja funcionen en el mateix flux. Qui no té eID segueix la ruta del document amb lectura del xip NFC, prova de vida i comparació facial. L'acceptació de la cartera EUDI arribarà properament.
App de wallet · iOSApp Storemateixa credencial, sense nou KYC
App de wallet · AndroidGoogle Playmateixa credencial, sense nou KYC
MitIDDK · eID nacionalactiva avui
BankIDSE · eID nacionalactiva avui
Smart-IDEE · LV · LT · BEactiva avui
Cartera EUDIEU · properamentmateix flux
openid4vp · sd-jwt vc6/6
04 · Emissor · Titular · Verificador
Tres rols. Una credencial.
L'emissor signa la credencial després del KYC. L'usuari la guarda a la seva cartera. El verificador valida la signatura de l'emissor només en els camps divulgats. El triangle de confiança estàndard de les credencials verificables.
signatura de l'emissor · Diditverificada sobre els camps revelats
05 · Vigència de la credencial
Vigència de la credencial, automàtica.
L'AML continu re-examina l'usuari diàriament. Caducitat de documents, canvi de nom, sancions, tot apareix automàticament a la credencial. Les credencials caducades es rebutgen en el moment de la presentació.
L'emissió està inclosa amb cada KYC. L'emmagatzematge a la cartera és al dispositiu de l'usuari. La presentació, la divulgació selectiva i la validació de la signatura són gratuïtes, per sempre. Actualització contínua d'AML a $0.07 per usuari a l'any en comptes de gran volum.
Comparteix una sessió finalitzada des d'una aplicació de Didit i importa-la en una altra. La part receptora llegeix la decisió completa sense demanar a la persona que es torni a verificar.
Implementa un flux d'identitat reutilitzable amb una sola indicació.
Enganxa-ho a Claude Code, Cursor, Codex, Devin, Aider o Replit Agent. Omple el teu stack. L'agent crea el flux de treball, la sessió, les crides per compartir i importar i el webhook signat.
didit-integration-prompt.md
# Didit Reusable KYC: verify a person once, share the finished session with another application
You are adding Reusable KYC to my_stack. A person completes one identity
verification; the finished session is then shared with a second Didit
application, which imports the full decision without running the checks
again. Every URL, header and enum value below is canonical. Do not paraphrase
or "improve" them.
## 0. What exists, and what does not
- Reuse is server to server, between two Didit applications: the source
application mints a share token for a finished session, the receiving
application redeems it. Both sides use their own x-api-key.
- There is NO reusable_identity object on the webhook or the decision, NO
metadata.request_fields or other selective-disclosure parameter, NO
workflow setting that "accepts" a credential, and NO revocation event. Do
not invent them. metadata on a session is free-form JSON that Didit echoes
back, nothing more. The receiving application gets the whole decision.
- This is not an EU Digital Identity (EUDI) Wallet integration. Didit does
not issue or accept EUDI Wallet credentials through these calls.
## 1. Provision
- Sign up: https://business.didit.me
- Source application: its API key. Receiving application: its API key and its
application id (a UUID: shown in the console, and sent as application_id
on every webhook that application receives). They are different
applications; sharing a session with the application that owns it is
refused.
## 2. Create the workflow for the first verification
POST https://verification.didit.me/v3/workflows/
-H "x-api-key: <source-api-key>"
-H "Content-Type: application/json"
{
"workflow_label": "KYC onboarding",
"features": [
{ "feature": "OCR" },
{ "feature": "LIVENESS" },
{ "feature": "FACE_MATCH" },
{ "feature": "IP_ANALYSIS" }
]
}
OCR is the ID Verification feature (uppercase, strict: ID_VERIFICATION is
rejected). Add { "feature": "AML" } for sanctions and PEP screening; it is
priced separately. Response: 201. The workflow id is uuid (workflow_id carries
the same value) and features comes back as one string, "OCR + LIVENESS + ...".
Create the workflow once and keep the id: every call makes a new one.
Prices: https://didit.me/pricing
## 3. Create a session
POST https://verification.didit.me/v3/session/
-H "x-api-key: <source-api-key>"
-H "Content-Type: application/json"
-d '{ "workflow_id": "<uuid from step 2>", "vendor_data": "<your user id>" }'
Response: 201 with session_id, session_token, url and status "Not Started".
Redirect the user to url (hosted flow) or open it in the Web, iOS, Android,
React Native or Flutter SDK. The field is named url on this response.
One unfinished session exists per workflow_id and vendor_data pair: calling
create again with the same pair answers 201 again with that same session.
Optional: callback, a URL the user's browser is sent back to when the flow
ends. It is a browser redirect, not a webhook: never trust its query string.
## 4. Webhook
Register a destination in the console (API & Webhooks), or over the API:
POST https://verification.didit.me/v3/webhook/destinations/
-H "x-api-key: <your-api-key>"
-H "Content-Type: application/json"
-d '{
"label": "Verification webhooks",
"url": "https://<your-public-host>/webhooks/didit",
"webhook_version": "v3",
"subscribed_events": ["status.updated", "data.updated"]
}'
label, url and subscribed_events are required. url must be a public HTTPS
address: Didit does not deliver to localhost or private addresses. Response:
201 with uuid and secret_shared_key. Store secret_shared_key as the webhook
secret (DIDIT_WEBHOOK_SECRET); it is unique to this destination. Remove a
destination with DELETE /v3/webhook/destinations/{uuid}/ (204).
What arrives:
- webhook_type is "status.updated" (the session changed status) or
"data.updated" (verification data was corrected after the fact)
- a destination receives the events of every session of the application,
so filter on workflow_id or vendor_data when several flows share it
- creating a session already sends status.updated with status
"Not Started". The decision key is present only when status is Approved,
Declined, In Review or Abandoned.
Verify every delivery:
Header: X-Signature-V2 (not X-Signature, not X-Signature-Simple)
Algorithm: HMAC-SHA256, hex digest, over the canonical JSON of the payload
(Python json.dumps(sort_keys=True, separators=(",", ":"),
ensure_ascii=False) after whole-valued floats become ints).
Never hash the raw request bytes under this header: that is
the older X-Signature.
Freshness: the signed body field timestamp is the dispatch time (Unix
seconds). Reject when abs(now - timestamp) > 300 seconds, and
reject when the X-Timestamp header does not equal it.
Idempotency: event_id is the same on every retry of one event, so store it
and skip a delivery you already processed. One session can
still send the same status under two event ids, and the
console's Try Webhook test deliveries carry no event_id, so
also make the handler safe to run twice for one
(session_id, status, webhook_type).
Compare: constant-time (crypto.timingSafeEqual)
Reference handler (Express). Keep the verification lines as written.
The handler is a fragment. Put this above it and app.listen(process.env.PORT)
below it. It needs Express and Node 21 or newer (an older Node rejects
every delivery). It expects a JSON body: answer 400 yourself if you accept
anything else on this route, and refuse to start without the secret.
const express = require("express");
const app = express();
const SECRET = process.env.DIDIT_WEBHOOK_SECRET; // secret_shared_key of the destination
// Your endpoint receives a signed payload
const crypto = require("node:crypto"); // ESM: import crypto from "node:crypto"
// X-Signature-V2 = HMAC over the canonical JSON, never the raw bytes. Match the sender byte for
// byte: keys sorted by code point, integers digit for digit, floats in Python's repr.
class Num { constructor(src) { this.src = src; } } // a number as written on the wire, not a double
const num = (s) => { if (/^-?\d+$/.test(s)) return BigInt(s).toString(); const n = +s; // ints stay exact
if (Number.isInteger(n)) return BigInt(n).toString(); const [m, e] = n.toExponential().split("e"); // 27.0 -> 27
return +e >= -4 ? String(n) : `${m}e-${String(-e).padStart(2, "0")}`; }; // 1e-05, not 0.00001
const byCodePoint = (a, b) => Buffer.compare(Buffer.from(a), Buffer.from(b)); // UTF-8 order = Python's
const canon = (v) => Array.isArray(v) ? `[${v.map(canon)}]` : v instanceof Num ? num(v.src)
: v && typeof v === "object" ? `{${Object.keys(v).sort(byCodePoint).map((k) => `${JSON.stringify(k)}:${canon(v[k])}`)}}`
: JSON.stringify(v);
// Read the body as text: express.json() would round 1000000000000000129 to a double first.
// Register this route ABOVE any global app.use(express.json()): the first parser to run
// consumes the stream, and a body it already parsed has lost the digits the signature covers.
app.post("/webhooks/didit", express.text({ type: "application/json" }), (req, res) => {
const exact = JSON.parse(req.body, (k, v, c) => typeof v === "number" ? new Num(c.source) : v); // Node 21+
const body = JSON.parse(req.body);
const mac = crypto.createHmac("sha256", SECRET).update(canon(exact), "utf8").digest("hex");
const sig = Buffer.from(String(req.headers["x-signature-v2"] ?? ""));
// Freshness comes from the signed body timestamp; the header alone is unsigned and replayable.
const ts = body.timestamp, fresh = String(ts) === req.headers["x-timestamp"]
&& Math.abs(Date.now() / 1000 - ts) <= 300;
if (!fresh || sig.length !== mac.length
|| !crypto.timingSafeEqual(sig, Buffer.from(mac))) return res.sendStatus(401);
const { session_id, status, webhook_type, vendor_data, decision } = body;
// decision is present on Approved, Declined, In Review and Abandoned.
res.sendStatus(200);
});
Status values (exact strings): Not Started, In Progress, Approved, Declined,
In Review, Resubmitted, Expired, Abandoned, Kyc Expired. Awaiting User only
appears on business verification sessions.
## 5. Read the decision
The same V3 decision reaches you two ways:
- webhook body: body.decision.id_verifications[]
- GET https://verification.didit.me/v3/session/{session_id}/decision/
-H "x-api-key: <your-api-key>"
This response IS the decision object. Read id_verifications at the top
level: there is no decision wrapper here.
Until the user finishes the ID step, status is "Not Started" or "In Progress"
and id_verifications is null, not an empty array. Guard for it.
The other feature results sit next to it as plural arrays: liveness_checks[],
face_matches[], ip_analyses[], aml_screenings[]. shared_from_session is null
on a session the person completed here.
## 6. Share the finished session (source application)
Only a session whose status is Approved, Declined or In Review can be shared.
POST https://verification.didit.me/v3/session/{session_id}/share/
-H "x-api-key: <source-api-key>"
-H "Content-Type: application/json"
-d '{ "for_application_id": "<receiving application id>", "ttl_in_seconds": 3600 }'
Response: 200 with share_token, for_application_id and session_kind ("user").
ttl_in_seconds: 60 to 86400, default 3600. Each call mints a new token; a
token cannot be revoked, it only expires. Send it to the receiving
application's backend, never to a browser.
## 7. Import it (receiving application)
POST https://verification.didit.me/v3/session/import-shared/
-H "x-api-key: <receiving-api-key>"
-H "Content-Type: application/json"
-d '{
"share_token": "<share_token from step 6>",
"trust_review": false,
"workflow_id": "<a workflow id of the receiving application>",
"vendor_data": "<user id on the receiving side>"
}'
share_token, trust_review and workflow_id are required. trust_review true
keeps the source status (Approved stays Approved); false puts the imported
session In Review so the receiving team decides. Response: 201 with the same
decision shape as step 5, a new session_id, and shared_from_session pointing
at the source session.
## 8. Errors to handle
The message is under detail for some errors and under the field name
(for_application_id, share_token) for others: read both.
- share, 400: "Cannot share a session with the same application."
- share, 400: "Target application does not exist."
- share, 400: "Only finished sessions ("Approved", "Declined", "In Review")
can be shared."
- import, 400 on share_token: "Invalid share token.", "Share token has
expired.", "This token is not valid for this application."
- import, 400: share_token, trust_review or workflow_id missing
- import, 403: "This session has already been shared with your
application." Mint a new token.
- import, 404: "Workflow does not exist for this application."
## 9. Hard rules
- base URL for v3 endpoints: verification.didit.me
- auth header: x-api-key, one key per application
- feature enum: OCR, LIVENESS, FACE_MATCH, IP_ANALYSIS, AML (uppercase)
- result path: decision.id_verifications[] in the webhook body and
id_verifications[] on the GET decision response
- webhook: X-Signature-V2 plus X-Timestamp, canonical JSON, freshness from
the signed body timestamp
## 10. Verify your integration
Sandbox (an application in sandbox mode: nothing is billed).
https://docs.didit.me/integration/sandbox-testing
- create the workflow, create a session, and read its decision: expect 201,
201 with url, and 200 with status "Not Started"
- to get a finished session without a person, call
POST https://verification.didit.me/v3/session/{session_id}/simulate/ with
your x-api-key and { "new_status": "Approved" }. It sets the status and
sends the webhook; the feature arrays stay null.
- share that session. With no second application yet, send a random UUID
as for_application_id and expect the 400 "Target application does not
exist.": that proves the call is wired. A full share and import needs
the second application's id and API key; do not fake that step.
- assert the webhook accepts a correctly signed payload and rejects a wrong
X-Signature-V2, a changed body, and a payload whose signed timestamp is
older than 300 seconds, even when X-Timestamp is refreshed
Docs:
- https://docs.didit.me/core-technology/reusable-kyc/overview
- https://docs.didit.me/sessions-api/create-session
- https://docs.didit.me/sessions-api/retrieve-session
- https://docs.didit.me/integration/webhooks
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.
Per cada primera verificació, l'única vegada que un usuari paga pel paquet KYC de Didit.
Free
A cada plataforma receptora. Cada reutilització, cada presentació, cada revelació selectiva.
27
Estats membres de la UE. Cadascun ha d'oferir una cartera EUDI abans del 24 de desembre de 2026, i l'acceptació de la cartera EUDI a Didit arribarà properament.
500 verificacions gratuïtes cada mes, per sempre. Després, paga només quan s'executa un mòdul. Contractes personalitzats, residència de dades i acords de nivell de servei (SLA) a Enterprise.
Gratuït
$0/ mes · sense targeta
Per construir, provar i per als teus primers usuaris.
Tot el que necessites per començar:
500 verificacions KYC completes cada mes
Identificació, prova de vida, coincidència facial, dispositiu i IP
Més de 200 senyals de frau, llista de bloqueig, duplicats
KYC reutilitzable a tota la xarxa Didit
Constructor de fluxos de treball, gestió de casos, SDKs
Suport amb IAAgent d'IA a la consola, documentació i comunitat.