x402 v2 Payment Flow
Make a request → server responds
402 Payment Requiredand may include aPAYMENT-REQUIREDheader describing accepted payment requirementsCreate the payment payload for USDC on Base (chain 8453), typically with
@x402/coreRetry with the
X-Paymentheader → receive structured data; successful 2xx responses may include aPAYMENT-RESPONSEsettlement 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