> ## Documentation Index
> Fetch the complete documentation index at: https://docs.didit.me/llms.txt
> Use this file to discover all available pages before exploring further.

# KYC reutilitzable: verifica una vegada i comparteix-la

> Verifica la identitat un cop i reutilitza-la entre apps amb Didit. Elimina KYC repetits i redueix la fricció en l'alta d'usuaris. De franc.

El KYC reutilitzable permet als usuaris verificar la seva identitat un sol cop i compartir aquesta verificació de manera segura entre múltiples aplicacions integrades amb Didit. Això redueix la fricció durant l'alta alhora que manté la seguretat i el compliment normatiu.

Prompt d'integració de KYC reutilitzable
        Copia el prompt al porta-retalls



      
      

\<pre>

\````# Goal
Integrate Didit Reusable KYC — hand off a finished verification session from one Didit application to another without re-running the verification. Two endpoints: **share** on the source application, **import-shared** on the receiving application.

\# Delivery mode
Cross-application share flow. Both calls authenticate with each side's own application API key (`x-api-key`). Source session must already be in a finished status (Approved / Declined / In Review).

\# Step 1 — Mint a share token (source application)
POST https://verification.didit.me/v3/session/{sessionId}/share/
x-api-key: YOUR_API_KEY
Content-Type: application/json

\```bash
curl -X POST 'https://verification.didit.me/v3/session/11111111-2222-3333-4444-555555555555/share/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"for_application_id": "a5f3bca2-46e2-411e-90ef-a580900a57ee",
"ttl_in_seconds": 7200
}'
\```
Response: { share_token, for_application_id, session_kind: "user" | "business" }.

\`ttl_in_seconds` — min 60, max 86400 (24h), default 3600 (1h).

\# JWT payload (token contents)
The HS256-signed JWT carries:
\- `session_id` — UUID of the source session being shared.
\- `session_kind` — "user" (KYC) or "business" (KYB) — drives which related rows are cloned.
\- `from_application_id` — calling application UUID.
\- `for_application_id` — receiving application UUID — only this app can redeem.
\- `iat` / `exp` — issued-at and expiry epoch seconds.

The token is not idempotent (each call mints a fresh JWT) and cannot be revoked — it simply expires.

\# Step 2 — Redeem the token (receiving application)
POST https://verification.didit.me/v3/session/import-shared/

\```bash
curl -X POST 'https://verification.didit.me/v3/session/import-shared/' \
-H 'x-api-key: RECEIVING_APP_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"share_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"trust_review": false,
"workflow_id": "9f9b1234-aaaa-bbbb-cccc-1234567890ab",
"vendor_data": "user-1"
}'
\```
Required: share_token, trust_review, workflow_id (must exist on the receiving app). Optional: vendor_data (defaults to source).

\`trust_review`:
\- `true` — cloned session keeps the source status (Approved stays Approved).
\- `false` — cloned session is forced to "In Review" so your reviewers re-decide.

Response (201): the V3 decision payload for both kinds — KYC for user sessions, KYB for business sessions — the same shape as GET /v3/session/{sessionId}/decision/, discriminated by `session_kind`. The cloned session has a fresh session_id and `shared_from_session` pointing at the source for audit.

\# Failure modes to handle
\- 400 "Invalid share token." — malformed JWT / wrong signature.
\- 400 "Share token has expired." — past exp.
\- 400 "This token is not valid for this application." — JWT `for_application_id` doesn't match the receiving app.
\- 400 "Original session does not exist." — source session deleted between mint and redeem.
\- 403 "This session has already been shared with your application." — same token can only be redeemed once per receiving app. Mint a new token.
\- 404 "Workflow does not exist for this application." — `workflow_id` is from a different application.
\- Source status not finished — 400 "Only finished sessions (Approved, Declined, In Review) can be shared."

\# What gets cloned
\- session_kind="user": KYC, Face, Liveness, FaceMatch, AML, POA, Phone, Location, DatabaseValidation rows + activity log.
\- session_kind="business": KYBCompany, KYBKeyPeopleCheck, KYBDocument + shared feature rows (AML, Phone, Email, Location, QuestionnaireResponse) + activity log.

\# See also
\- Mint share token: /sessions-api/share-session
\- Redeem share token: /sessions-api/import-shared-session
\- Canonical decision schema: /reference/data-models#overview
\- Full integration playbook: /integration/integration-prompt````

\</pre>



      
      

Enganxa a

Aquest capítol de la lliçó de KYB de Didit Academy continua amb la verificació de parts i la reutilització de sessions de KYC.A la lliçó de KYB de Didit Academy, el capítol del minut 7:04 mostra la verificació de parts reutilitzant una sessió de KYC existent en lloc de fer que un UBO es verifiqui dues vegades.[Party verification and reusing KYC sessions — Didit Academy](https://www.youtube.com/embed/JEnW_sEe35Y?start=424\&rel=0\&playsinline=1)## Com funciona**1. Verificació inicial**L'usuari completa un procés estàndard de KYC (Verificació d'identitat + reconeixement facial). Les dades de verificació es xifren i s'emmagatzemen al Didit ID de l'usuari, de conformitat amb eIDAS2.**2. Reutilització en una nova aplicació**Quan l'usuari troba una altra aplicació integrada amb Didit, selecciona l'opció de reutilitzar el seu KYC existent. Una comprovació ràpida de reconeixement facial confirma la seva identitat, i dona el consentiment per compartir dades específiques.**3. Alta instantània**La nova aplicació rep la informació de KYC verificada a l'instant: sense tornar a pujar documents i sense esperes.## Avantatges clau| Per a usuaris | Per a empreses | Per al compliment normatiu |
| - | - | - |
| Verifica't un cop, utilitza-ho a qualsevol lloc | Alta d'usuaris més ràpida | Manté els estàndards normatius |
| Control sobre com es comparteixen les dades | Taxes d'abandonament reduïdes | Registre d'auditoria complet |
| Segons en lloc de minuts | Taxes de conversió més altes | Compatibilitat entre jurisdiccions |## Seguretat i compliment| Àrea | Detalls |
| - | - |
| **Xifratge** | Xifratge d'extrem a extrem per a totes les dades emmagatzemades i transferides |
| **Reautenticació biomètrica** | Es requereix reconeixement facial per a cada reutilització |
| **Normativa** | Conforme amb eIDAS2, admet els requisits d'AML/KYC |
| **Transfronterer** | Funciona entre diferents jurisdiccions |![Flux de KYC reutilitzable de Didit que permet als usuaris verificats portar la identitat entre serveis](https://mintcdn.com/didit-0f962782/z6T2GHM4Zh-iSj-K/images/reusable-kyc.png?fit=max\&auto=format\&n=z6T2GHM4Zh-iSj-K\&q=85\&s=12c89122aad772b3683a629343b6dabc)El KYC reutilitzable està disponible automàticament per als usuaris que han completat una verificació inicial. Els usuaris poden triar reutilitzar el seu KYC o fer una nova comprovació en qualsevol moment.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.