# Didit

```json
{
  "name": "Didit",
  "slug": "didit",
  "url": "https://composio.dev/toolkits/didit",
  "markdown_url": "https://composio.dev/toolkits/didit.md",
  "logo_url": "https://logos.composio.dev/api/didit",
  "categories": [
    "finance & accounting"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-08-15T17:55:55.679Z"
}
```

![Didit logo](https://logos.composio.dev/api/didit)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Didit MCP or direct API to verify identities, review KYC sessions, check AML risk, and monitor fraud signals through natural language.

## Summary

Didit is an identity verification and compliance API platform for KYC, KYB, AML, and fraud prevention.
It helps teams onboard users faster while reducing risk and meeting compliance needs.

## Categories

- finance & accounting

## Toolkit Details

- Tools: 10

## Images

- Logo: https://logos.composio.dev/api/didit

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for Didit.
  - Setup:
    - Configure Api Key credentials for Didit.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Review pending Didit KYC verification sessions
- Check AML risk flags for users
- Create identity verification for new customer

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `DIDIT_CREATE_VERIFICATION_SESSION` | Create Verification Session | Create a hosted KYC or KYB verification session from a published workflow and return the URL to give the end user. This may consume Didit credits and sends an invitation email only when explicitly requested. |
| `DIDIT_GET_BILLING_BALANCE` | Get Billing Balance | Read the organization's prepaid Didit credit balance and auto-refill settings before starting billable verification work. |
| `DIDIT_GET_BUSINESS` | Get Business | Fetch one aggregated KYB business profile by its exact vendor_data identifier. |
| `DIDIT_GET_USER` | Get User | Fetch one aggregated KYC user profile by its exact vendor_data identifier. Returns the complete provider record, including identity summary, session aggregation, metadata, tags, and comments or activity. |
| `DIDIT_GET_VERIFICATION_DECISION` | Get Verification Decision | Retrieve the complete current KYC or KYB decision and all feature reports for one verification session. Feature report arrays and unknown provider fields are preserved; media URLs in the result are short-lived. |
| `DIDIT_GET_WORKFLOW` | Get Workflow | Fetch the full configuration and pricing of one workflow version. |
| `DIDIT_LIST_BUSINESSES` | List Businesses | List business profiles aggregated from KYB sessions, including status, session counts, registry identifiers, and verification summaries. Didit does not support filters or search on this endpoint. |
| `DIDIT_LIST_USERS` | List Users | List user profiles aggregated from KYC sessions, including status, session counts, and feature summaries. Didit does not support filters on this endpoint. |
| `DIDIT_LIST_VERIFICATION_SESSIONS` | List Verification Sessions | List and filter KYC, KYB, or standalone verification sessions. Returns one bounded page and a continuation cursor. |
| `DIDIT_LIST_WORKFLOWS` | List Workflows | List configured verification workflow versions, their publication status, feature summary, and expected per-run pricing. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK
```python
pip install composio_openai
```

```typescript
npm install @composio/openai
```

#### Path 1, Step 2: Initialize Composio and Create Tool Router Session

Import and initialize Composio client, then create a Tool Router session
```python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
```

```typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
```

#### Path 1, Step 3: Execute Didit Tools via Tool Router with Your Agent

Get tools from Tool Router session and execute Didit actions with your Agent
```python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'Get the verification status for Didit session session_123 and summarize any AML risk flags'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
```

```typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Get the verification status for Didit session session_123 and summarize any AML risk flags'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK for Python or TypeScript
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
```

#### Path 2, Step 2: Initialize Client and Create Tool Router Session

Import and initialize the Composio client, then create a Tool Router session for Didit
```python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
```

```typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
```

#### Path 2, Step 3: Connect to AI Agent

Use the MCP server with your AI agent (Anthropic Claude or Mastra)
```python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Didit tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Review pending Didit KYC verification sessions and summarize risk flags')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'Review pending Didit KYC verification sessions and summarize risk flags'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
```

## Why Use Composio?

### 1. AI Native Didit Integration

- Supports both Didit MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable KYC, KYB, AML, and fraud checks
- Rich coverage for reading, writing, and querying your Didit verification and compliance data

### 2. Managed Auth

- Secure API key handling for Didit without hard-coding secrets in agent code
- Central place to manage, scope, and revoke Didit access
- Use auth_configs.create() and connected_accounts.link() to connect per user and per environment credentials cleanly

### 3. Agent Optimized Design

- Tools are tuned for language models, so agents can understand Didit verification workflows more reliably
- Comprehensive execution logs so you always know which KYC or AML action ran, when, and on whose behalf
- Use mcp.create() when you want a dedicated MCP setup for agent clients that speak MCP

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Didit
- Scoped, least privilege access to identity verification, AML, KYB, and fraud prevention resources
- Full audit trail of agent actions to support compliance review and risk operations

## Use Didit with any AI Agent Framework

Choose a framework you want to connect Didit with:

- [ChatGPT Work](https://composio.dev/toolkits/didit/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/didit/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/didit/framework/hermes-agent)

## Related Toolkits

- [Stripe](https://composio.dev/toolkits/stripe) - Stripe is a global online payments platform offering APIs for managing payments, customers, and subscriptions. Trusted by businesses for secure, efficient, and scalable payment processing worldwide.
- [Aiwyn Tax MCP](https://composio.dev/toolkits/aiwyn_tax_mcp) - Aiwyn Tax MCP is a tax estimation service powered by Aiwyn's federal and state tax engine. It helps teams estimate tax outcomes without building tax calculation logic from scratch.
- [Alpaca](https://composio.dev/toolkits/alpaca) - Alpaca is a stock and crypto trading platform for commission-free trading, real-time market data, and algorithmic strategies. Use it to build brokerage apps, trading bots, and portfolio workflows with market connectivity.
- [Alpha vantage](https://composio.dev/toolkits/alpha_vantage) - Alpha Vantage is a financial data platform offering real-time and historical stock market APIs. Get instant, reliable access to equities, forex, and technical analysis data for smarter trading decisions.
- [Altoviz](https://composio.dev/toolkits/altoviz) - Altoviz is a cloud-based billing and invoicing platform for businesses. It streamlines online payments, expense tracking, and customizable invoice management.
- [Benzinga](https://composio.dev/toolkits/benzinga) - Benzinga provides real-time financial news and data APIs for market coverage. It helps you track breaking news and actionable market insights instantly.
- [Brex](https://composio.dev/toolkits/brex) - Brex provides corporate credit cards and spend management tailored for startups and tech businesses. It helps optimize company cash flow, streamline accounting, and accelerate business growth.
- [Chaser](https://composio.dev/toolkits/chaser) - Chaser is accounts receivable automation software that sends invoice reminders and helps businesses get paid faster. It streamlines the collections process to save time and improve cash flow.
- [Clarity AI MCP](https://composio.dev/toolkits/clarity_ai_mcp) - Clarity AI MCP is an MCP toolkit for simulating SFDR 2.0 fund classifications from a fund name, ISIN, or CUSIP. Use it to tap Clarity AI disclosure data and modeling without building custom sustainability-data workflows.
- [Clientary](https://composio.dev/toolkits/clientary) - Clientary is a platform for managing clients, invoices, projects, proposals, and more. It streamlines client work and saves you serious admin time.
- [Coinbase](https://composio.dev/toolkits/coinbase) - Coinbase is a platform for buying, selling, and storing cryptocurrency. It makes exchanging and managing crypto simple and secure for everyone.
- [Coinranking](https://composio.dev/toolkits/coinranking) - Coinranking is a comprehensive cryptocurrency market data platform offering access to real-time coin prices, market caps, and historical data. Get accurate, up-to-date stats for thousands of digital assets in one place.
- [Coupa](https://composio.dev/toolkits/coupa) - Coupa is a business spend management platform for procurement, invoicing, and expenses. It helps organizations streamline purchasing, control costs, and gain complete visibility over financial operations.
- [CurrencyScoop](https://composio.dev/toolkits/currencyscoop) - CurrencyScoop is a developer-friendly API for real-time and historical currency exchange rates. Easily access fiat and crypto data for smart, up-to-date financial applications.
- [Daffy](https://composio.dev/toolkits/daffy) - Daffy is a modern charitable giving platform with a donor-advised fund. Easily set aside funds, grow them tax-free, and donate to over 1.7 million U.S. charities.
- [Eagle doc](https://composio.dev/toolkits/eagle_doc) - Eagle doc is an AI-powered OCR API for invoices and receipts. It delivers fast, reliable, and accurate document data extraction for seamless automation.
- [Elorus](https://composio.dev/toolkits/elorus) - Elorus is an online invoicing and time-tracking software for freelancers and small businesses. Easily manage finances, bill clients, and track work in one place.
- [Eodhd apis](https://composio.dev/toolkits/eodhd_apis) - Eodhd apis delivers comprehensive financial data, including live and historical stock prices, via robust APIs. Easily access reliable, up-to-date market insights to power your apps, dashboards, and analytics.
- [Fidel api](https://composio.dev/toolkits/fidel_api) - Fidel api is a secure platform for linking payment cards to web and mobile apps. It enables real-time card transaction monitoring and event-based automation for businesses.
- [Finage](https://composio.dev/toolkits/finage) - Finage is a secure API platform delivering real-time and historical financial data for stocks, forex, crypto, indices, and commodities. It empowers developers and businesses to access, analyze, and act on market data instantly.

## Frequently Asked Questions

### Do I need my own developer credentials to use Didit with Composio?

Yes, Didit requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
