402 Payment Required and a price; the caller signs a one-time authorization to pay exactly that amount in a stablecoin such as USDC; the server verifies and delivers. It is built for machine-to-machine and agent-to-service commerce: API monetization, pay-per-call data, agentic checkout, and content metering. This page orients you and points you to the right starting path. For the protocol mechanics and the terms used throughout these docs, see x402 Concepts and Glossary.
Fireblocks gives you both halves of an x402 deployment, with private keys held in Fireblocks rather than in your application:
- A facilitator that verifies signatures and settles payments on-chain.
- An agent that pays for x402-protected resources from a Fireblocks vault.
Are you selling, buying, or both?
Your first decision is which side of an x402 payment you are on. Most teams start with one and add the other later.Selling: run a facilitator
The facilitator is the service your merchant server calls to verify a payment signature and settle the transfer on-chain through your Fireblocks vault. Your server keeps serving its own traffic and returns the402 itself; customer traffic never passes through the facilitator. Once you are running, you declare the things you sell as products and, optionally, publish them so agents can discover them.
- Facilitator Overview — what the facilitator does and a clone-to-running quick start.
- Integration — wire the facilitator into your merchant server.
- Build an Agentic Product Catalog — declare, price, and publish what you sell.
- Operating and Production — config, auth, the management API, and production deployment.
Buying: run an agent
The x402 Agent gives any autonomous agent the ability to pay for402-protected resources using a Fireblocks vault. It detects the 402, signs the payment authorization through Fireblocks, and retries the request. It ships as an MCP server (for Claude Desktop, Cursor, and other MCP clients) and a CLI.
- x402 Agent — the agent library, its MCP server and CLI, and secure deployment.
- Fund and Control Agent Spending — fund agents and bound what they spend at company scale.
Hosted or open-source facilitator?
If you are selling, you choose how the facilitator runs:
These docs describe the open-source facilitator you run yourself. The hosted facilitator exposes the same payment model.
Your path to a first payment
If you are evaluating x402 hands-on, this is the fastest route from nothing to a settled payment on a testnet:- Learn the vocabulary. Skim x402 Concepts and Glossary so the rest of the docs read clearly.
- Set up prerequisites. Create a Fireblocks workspace, an API user, and a vault, and get testnet USDC and gas. See Prerequisites and Testnet Funds.
- Run the quickstart. Wire the example merchant, facilitator, and test client into one settled payment. See x402 Quickstart.
- Go deeper on the side you care about: Integration for selling, or Fund and Control Agent Spending for buying.
What to read next
- x402 Concepts and Glossary — every term used across these docs.
- Prerequisites and Testnet Funds — what you need before you start, and how to get testnet money.
- x402 Quickstart — your first settled payment, end to end.
- Supported Networks and Assets — which chains and tokens work, and on which networks.