Buy: x402 Quickstart Kit — 2026-08-23 edition ($7.00)

A dependency-minimal reference implementation of the x402 HTTP micropayment protocol ("exact" scheme, EIP-3009, EVM/USDC): seller-side payment middleware for Cloudflare Workers/Hono and plain Node/Express, generalized from a live production x402 seller, plus buyer-side client code in TypeScript (viem) and Python (eth_account/web3.py) that signs a real EIP-3009 payment authorization and retries a 402 automatically. Includes a practical guide covering facilitator selection, common integration pitfalls, and a go-live checklist. Unpaid GET returns a 402 x402 challenge; a paid GET returns a signed, time-limited download URL.

get/v1/buy/x402-quickstart-2026-08-23

Request

  • Base URL: https://fetchgate.dev
  • URL: https://fetchgate.dev/v1/buy/x402-quickstart-2026-08-23
  • Auth: none declared

Response

Payment accepted; a signed, time-limited download URL.

productIdstring required
downloadUrlstring uri required
expiresInSecondsinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.