Build X402 Server

Write code that charges for an HTTP route with the x402 protocol and receives USDC in a CDP-managed wallet. Covers TypeScript (Express, Hono, Next.js) and Python (FastAPI, Flask). Use when the user wants to monetize an API, price a route per request, put a paywall in front of an endpoint, accept payments from agents, or add x402 to a server they already run.

coinbase 96c65a3 14.2 KB Updated

File contents

coinbase/cdp-sdk/tree/main/skills/build-x402-server commit 96c65a34bf

Frequently asked questions

npx skillmds@latest add coinbase/build-x402-server