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.

How it works

How it works

How it works

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

Start building now

Start building now

Start building now

Questions, answered.

Questions, answered.

What is d402?

d402 is a decentralized 402 payment layer that lets chains and protocols add metered paywalls to APIs, MCP servers, and agent requests.

Who is this for?

How does it work?

What makes d402 different?

What can I accept as payment?

Do I need to change my existing code?

What is d402?

d402 is a decentralized 402 payment layer that lets chains and protocols add metered paywalls to APIs, MCP servers, and agent requests.

Who is this for?

How does it work?

What makes d402 different?

What can I accept as payment?

Do I need to change my existing code?

What is d402?

d402 is a decentralized 402 payment layer that lets chains and protocols add metered paywalls to APIs, MCP servers, and agent requests.

Who is this for?

How does it work?

What makes d402 different?

What can I accept as payment?

Do I need to change my existing code?