How PayDirect Works

Instant crypto settlement for the agent economy — powered by Coinbase's x402 open payment protocol.

Instant Settlement
Payments settle on-chain in seconds, not days. No intermediaries, no batch processing.
Cryptographic Security
Every transaction is signed, verified on-chain, and confirmed with 6+ block confirmations.
Multi-Chain Support
Accept payments in ETH, USDC, and DAI across Ethereum, Base, and BSC networks.
Agent-Native
Built for AI agents to autonomously create, negotiate, and settle payments via API.
Open Standards
Built on x402 by Coinbase — HTTP-native payments for agents and APIs. Open source and extensible.
Simple API
One REST endpoint to create payments. SDK handles auth, retries, and webhook verification.

The x402 Protocol

x402 extends HTTP with native payment semantics. When an API requires payment, it responds with HTTP 402 and the payment conditions. The paying agent or client fulfills the payment, then retries the original request with proof of payment.

1
Request
Client calls an API endpoint. The server checks if payment is required.
GET /api/premium-data
→ 402 Payment Required
2
Pay
Client reads the payment conditions from the 402 response and settles on-chain.
client.payments.create({
amount: "10.00",
currency: "USDC"
})
3
Access
Client retries the request with proof of payment. Server verifies and grants access.
GET /api/premium-data
X-Payment-Proof: tx_hash
→ 200 OK ✓

x402 Protocol by Coinbase

x402 enables HTTP-native payments. Wrap your API routes with payment requirements and agents pay automatically — no checkout flow needed.

// app/api/premium-data/route.ts import { withX402 } from "x402-next" const handler = async (req) => { return NextResponse.json({ data: "premium content" }) } export const GET = withX402(handler, "0xYourWallet", { price: "$0.01", network: "base-sepolia", config: { description: "Premium data access" }, })

Payment Types

Immediate
Instant transfer with real-time settlement
  • Settles in seconds
  • Ideal for API access fees
  • Automatic confirmation
Escrow
Funds held until conditions are met
  • Conditional release
  • Task completion verification
  • Dispute resolution support
Time-Locked
Scheduled payments with automatic execution
  • Future-dated execution
  • Recurring payment support
  • Cancellable before release

Ready to Get Started?

Integrate PayDirect in minutes with our SDK and developer guides.