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 或你在用的任意编程智能体里。