Prerequisites
- An existing HTTP server (Express, FastAPI, Next.js, Hono, or similar)
- A Stellar account address to receive payments (
payTo) - Testnet USDC is not required. You receive payments, you do not send them
1. Install the middleware
2. Price a route
describe block is what the Bazaar catalogs. Skip it and your endpoint still gets paid, but nobody will find it.
3. Confirm the listing
402 it serves. See Verifying Your Listing for what to check if it does not.
4. Watch it get paid
Point a buyer at your URL, or run the buyer quickstart against it. On a successful request you will see the payment tx hash in theX-Payment-Response header, and settlement lands in your Stellar account in around 5 seconds.
Where to go next
Declaring Discovery Metadata
What to put in
describe so agents can actually find your endpoint.Choosing a Pricing Scheme
When to use
exact versus upto for metered workloads.Verifying Your Listing
Debug why an endpoint is missing from search, or ranked lower than expected.
Going to Mainnet
Everything to check before flipping the network flag.