x402 v2 Payment Flow

  1. Make a request → server responds 402 Payment Required and may include a PAYMENT-REQUIRED header describing accepted payment requirements

  2. Create the payment payload for USDC on Base (chain 8453), typically with @x402/core

  3. Retry with the X-Payment header → receive structured data; successful 2xx responses may include a PAYMENT-RESPONSE settlement receipt

Use the @x402/corearrow-up-right 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