didit-sessions
от rosasalberto
Web & Frontend DevelopmentКратко
Integrate Didit Session & Workflow APIs — the central hub for managing verification sessions.
Описание
Что делает этот навык
Manages Didit identity verification sessions end-to-end, from creation through decision retrieval. Covers 11 API endpoints including KYC workflows, blocklist management, B2B session sharing, and PDF report generation. Sessions link to configurable workflows that define what checks run, such as ID verification, liveness, AML screening, and face matching.
Covers the entire verification lifecycle in one API surface, including multi-step workflows, manual review overrides, B2B session reuse, and granular blocklisting across face, document, phone, and email.
Когда его использовать
- Onboarding new users with KYC identity verification
- Polling or receiving webhook decisions after a session completes
- Blocklisting fraudulent identities to auto-decline future sessions
- Sharing a verified session with a partner service via share token
- Generating PDF compliance reports from completed verification sessions
Пример сценария
User asks: Create a KYC verification session for a new user signup
- 1
POST /v3/session/ with the KYC workflow_id and vendor_data identifying the user
- 2
Return the session URL to redirect the user to complete verification
- 3
Poll GET /v3/session/{id}/decision/ or wait for the webhook callback
- 4
Check the status field: Approved means verified, Declined means failed
- 5
If Declined, optionally PATCH update-status to Resubmitted or add the user to the blocklist
Session created with a verification URL; decision returned with status and detailed feature results including ID, liveness, and AML checks
Требования
- DIDIT_API_KEY environment variable (from Didit Business Console → API & Webhooks)
- DIDIT_WORKFLOW_ID environment variable (from Didit Business Console → Workflows)
- Didit Business Console account at business.didit.me
Установка
clawhub install rosasalberto/didit-sessionsВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.