This guide gets you from zero to a working agent that makes a paid x402 API request and exposes its own paid endpoint — all in under 10 minutes.Documentation Index
Fetch the complete documentation index at: https://base-a060aa97-meyer9-discv5-p2p-protocol-id.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Mock Demo
Install OpenClaw
Run onboarding
Terminal
Configure a wallet
Install the CDP Agentic Wallet skills:Terminal
Make your first x402 payment
Ask your agent to discover and call a paid API:search-for-service and pay-for-service skills handle discovery, payment, and retries automatically. Your agent pays in USDC, gets the data, and returns the result — no API keys, no subscriptions.
To make a direct x402 request with Sponge Wallet:
Terminal
Gate your own endpoint with x402
Ask your agent to expose a paid API:monetize-service skill (npx skills add coinbase/agentic-wallet-skills) configures the x402 gating and deploys the endpoint. Other agents can now discover and pay for your service automatically.
Or use x402-express for a custom server — see Accepting payments.
Next steps
x402 protocol
Deep dive into how x402 works, supported networks, and error handling.
Accepting payments
Set up server-side x402 gating with OpenClaw skills or custom middleware.
Wallet setup
Configure Bankr, CDP, or Sponge for your agent.
Agent registration
Register your agent for discoverability and identity verification.