Overview#
Onchain OS Payment enables any Buyer and Seller to initiate and receive on-chain payments. The Seller declares a charge requirement, the Buyer completes the payment, and the Seller returns the resource immediately after verification — the entire process is completed within a single HTTP request.
This quick start guide uses a single payment as an example to help you complete your first on-chain payment in 5 minutes.
Choose your starting point:
I'm a Seller
Add per-call payment to your API endpoints — data is only returned after the user pays
I'm a Buyer
Enable your AI Agent to automatically complete on-chain payment and retry when it receives a 402 response