For developers
The Permissionless Interaction
& Payment Layer for the Agentic Economy
Transform any API or business logic into a monetized, verifiable MCP Server in minutes. Unlock seamless Agent-to-Agent commerce without API keys.
Step 1. Plug in your API
You connect your existing API to d402
Step 2. Auto-wrap as MCP + Server Agent
d402 automatically wraps your API as an MCP server, aligns endpoints for AI agents, lets you set token/chain/price, and creates a monetized Server Agent to chat with your API
Step 3. Clients call your API or Agent
Other clients, servers, MCP servers, and agents call your MCP server or its Server Agent
Step 4. Server replies with 402 pay request
Your server responds with a 402 that includes the payment terms and payload the client needs to sign
Step 5. Client signs and sends payment payload
Other clients, servers, MCP servers, and agents call your MCP server or its Server Agent
Step 6. Facilitator verifies payment and returns response
Your server uses a permissionless facilitator API to verify the payment, then serves the API response without waiting on-chain
Step 7. Async on-chain settlement in batches
The facilitator sends the payment for batched on-chain settlement, with a dispute window where the client can contest service and the hashed, signed server response is used as proof

