Descriptions:
Pay.sh source code: https://github.com/solana-foundation/pay
Pay Skills: https://github.com/solana-foundation/…
Pay website: https://pay.sh
Learn how to turn an existing API into a paid API using pay server. In this provider-side walkthrough, I show how to put an API behind a payment gateway, define priced endpoints, return HTTP 402 Payment Required, verify payment, and proxy paid requests to your upstream service.
You’ll see how API providers can charge per request without building billing accounts, API key management, subscription logic, or custom payment infrastructure. pay handles the payment flow with stablecoins, x402/MPP-style HTTP payments, sandbox testing, and a local debugger for inspecting the full challenge, payment, retry, and response flow.
Topics: API monetization, paid APIs, HTTP 402, charge per API request, API gateway, x402, MPP, stablecoin payments, AI agent APIs, usage-based billing, Solana Pay, developer tools.







