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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.