← docsView as MarkdownOpen in Claude

Provider guide

An agent cannot ask you a question. What it sees is your 402, your error body, and whether you answered GET.

Rule 1 — the 402 names a working example

Every 402 carries extensions.bazaar.info.input. Agents copy it verbatim. If the example is invalid, has a placeholder, or cannot be expressed as a query string, every caller that follows your own documentation fails.

Measured on this platform: array/object examples advertised as raw JSON produced 400s for a week, because a query string cannot carry a container. Advertise the string form, and make sure the handler parses it.

Rule 2 — answer GET as well as POST

Some clients cannot send a body. If an endpoint only reads the POST body, half the ecosystem cannot call it even once.

Rule 3 — fail loudly

Rule 4 — say what you mean in the description

The description travels into the payment payload. Too long and the settlement is rejected, silently, with an error that never mentions length. Keep it under 480 characters on a first-party listing.

Per-category notes