Dodo Payments × Solana x402 × AI Agents

The production billing layer AI agents
were built for

Sell metered API access to autonomous agents using Dodo-grade billing, native entitlements, and Solana USDC micropayments. No accounts, no invoices — just HTTP 402.

Open DashboardWatch demo

AI Agent

autonomous client

→HTTP GET

AgentMeter

x402 gateway

→USDC / License Key

Your API

protected endpoint

HTTP 402

standard payment protocol

Dodo usage event

enriched with Solana tx

Credit ledger

updated & auditable

$0.001

Min per-call price

400ms

Solana finality

HTTP 402

Standard protocol

∞

API endpoints

How it works

Four steps to agent-native billing

01

Merchant creates endpoint

Set a per-request price ($0.001–$10). AgentMeter wraps it with HTTP 402 protection and provisions a Dodo usage meter with enriched telemetry.

02

Agent hits the gateway

The AI agent sends a standard HTTP request. The gateway returns 402 with an x402 payment requirement — USDC on Solana Devnet.

03

Solana payment verified

The agent submits a signed PAYMENT-SIGNATURE header. The gateway verifies the Solana tx on-chain via @solana/web3.js and routes to the upstream API.

04

Dodo bills & auto-provisions

Every fulfilled call emits a Dodo usage event with Solana tx metadata. Dodo's Native Entitlements Engine auto-issues License Keys for subscribers.

Features

Enterprise billing. Agent speed.

Production-grade Dodo billing

Checkout sessions with Idempotency Keys, stablecoin payments, usage events with enriched metadata, and Standard Webhooks — all wired in.

x402 native payments

HTTP 402 protocol for autonomous agents. No API keys, no OAuth, no invoices. Just pay-per-call at machine speed via Solana USDC.

Solana USDC micropayments

$0.001 calls are viable. 400ms finality, sub-cent fees. Solana is the only chain that makes high-frequency agent commerce real.

Native Entitlements Engine

Dodo auto-issues License Keys for subscribers. Agents pass X-License-Key to bypass Solana 402 and get SaaS-speed gateway access.

Automated Refund Safeguards

If an upstream API fails after a Solana payment, the gateway calls client.refunds.create() automatically — zero friction, full trust.

Real-time unified dashboard

Live Dodo revenue, Solana signatures, gateway logs, and credit balances — cross-referenced and unified in a single audit trail.

Ready to monetize your API for agents?

Launch the demo — watch the full x402 payment flow, Dodo native entitlements, enriched usage events, and credit ledger update in real time.