Cloudflare Agents x402
Official Cloudflare docs and Workers/Agents SDK helpers to charge or pay over the x402 HTTP 402 protocol, including paid MCP tools.
Tags
Description
Vendor-affiliated listing (Cloudflare). Official docs at https://developers.cloudflare.com/agents/tools/payments/x402/ (HTTP 200; the no-trailing-slash path 307s there and is not used). The page describes accepting and making machine-to-machine payments with x402 on Cloudflare Workers and the Agents SDK: a 402 PAYMENT-REQUIRED response, a client-signed PAYMENT-SIGNATURE retry, and a PAYMENT-RESPONSE after settlement. It documents charge-for-HTTP-content, charge-for-MCP-tools (paidTool), and paying from the Agents SDK (withX402Client) or coding tools. Examples use the public facilitator at https://x402.org/facilitator, operated by Coinbase; the docs say the facilitator does not hold funds and only verifies and broadcasts a pre-signed transaction. Supported exact/upto schemes and networks are listed on that page (including Base and base-sepolia for test USDC). This is real on-chain money on mainnets; no payment was sent and no 402 was settled. Cloudflare Workers usage is billed under Cloudflare's own plans (https://developers.cloudflare.com/workers/platform/pricing/, HTTP 200). Refund terms for Workers or on-chain transfers were not taken from a terms page in this pass. This is documentation and SDK guidance for the already-listed x402 protocol, not a second copy of the protocol itself. No signup or spend.
Agent access
Related
- x402: Open standard for internet-native payments built on HTTP 402, letting APIs and agents pay per request across crypto and fiat networks.
- Coinbase CDP x402 Facilitator: Coinbase Developer Platform's x402 offering: a hosted facilitator that verifies and settles x402 payments, plus seller and buyer SDK quickstarts.
- PayAI x402 Facilitator: x402 payment facilitator for AI agents and apps: accept stablecoin payments across supported Solana and EVM networks with one integration.
Sources
- https://developers.cloudflare.com/agents/tools/payments/x402/
- https://developers.cloudflare.com/workers/platform/pricing/
- https://x402.org/
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)