x402 v2 Payment Flow
Last updated
Make a request → server responds 402 Payment Required and may include a PAYMENT-REQUIRED header describing accepted payment requirements
Create the payment payload for USDC on Base (chain 8453), typically with @x402/core
Retry with the X-Payment header → receive structured data; successful 2xx responses may include a PAYMENT-RESPONSE settlement receipt
Use the @x402/core SDK — it handles payment flow automatically.
Payment: USDC on Base (eip155:8453) — CDP facilitator at api.cdp.coinbase.com
Integration guide & agent-to-agent architecture: https://github.com/RigoBlock/agentic-operator/blob/main/AGENTS.md
Supported chains: Ethereum (1), Base (8453), Arbitrum (42161), Optimism (10), Polygon (137), BNB (56), Unichain (130)
Last updated