BitBooth Seller Routes
v1.1.1Create private x402 seller routes, set prices, and route payouts directly to your wallets.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_routes List my BitBooth routes
List every paid route registered under the authenticated tenant. Returns each route with its bound HTTP method, price, mode, configured payout wallets, stablecoin opt-ins, and upstream URL. This does not list public BitBooth catalog APIs.
create_route Create a new paid route
Register a new x402-paywalled endpoint. Returns the saved route. If a route already exists at this path it will be replaced — use update_route if you want explicit upsert semantics. Optional upstream credentials are write-only. Tenant routes remain unlisted; preview and share resource.url.
| Parameter | Type | Description |
|---|---|---|
path * | string | Seller route path, for example /api/premium-search. |
priceWei * | string | Strictly positive price in six-decimal USDC atomic units: 10000 means 0.01 USDC. |
asset | string | |
fraudRules | object | |
method | string | Only this HTTP method may issue or settle payment for the route. |
mode | string | test advertises Base Sepolia; live advertises eligible mainnet rails. |
tenantPayTo | object | Exact CAIP-2 network to seller payout address. Omitted networks are not advertised to buyers. |
tenantStablecoinRails | object | Explicit XRPL or Stellar USDC trustline confirmation. Issuers are pinned by BitBooth. |
upstreamAuth | Optional write-only credential. Requires upstreamUrl and is never returned. | |
upstreamUrl | string | Public HTTP(S) upstream URL. |
update_route Update (upsert) a paid route
Idempotent upsert keyed by path. Use this for both initial creation and subsequent edits. Omit upstreamUrl or upstreamAuth to preserve each saved value; send null to disconnect or clear it. Credential values are write-only.
| Parameter | Type | Description |
|---|---|---|
path * | string | Seller route path, for example /api/premium-search. |
priceWei * | string | Strictly positive price in six-decimal USDC atomic units: 10000 means 0.01 USDC. |
asset | string | |
fraudRules | object | |
method | string | Omit to preserve the saved route method. |
mode | string | Omit to preserve the saved route mode. |
tenantPayTo | object | Exact CAIP-2 network to seller payout address. Omitted networks are not advertised to buyers. |
tenantStablecoinRails | object | Explicit XRPL or Stellar USDC trustline confirmation. Issuers are pinned by BitBooth. |
upstreamAuth | Omit to preserve auth, provide a value to set or replace it, or send null to clear it. | |
upstreamUrl | Omit to preserve the saved upstream URL; send null to disconnect it. |
delete_route Delete a paid route
Permanently remove a route. Agents that try to call this path afterwards will get a 404.
| Parameter | Type | Description |
|---|---|---|
path * | string |
preview_route Preview the 402 challenge a route would emit
Returns the exact PaymentChallenge an agent would see when calling this saved route, without invoking the paywall. Useful for verifying chain advertisements, the exact x402 v2 resource.url, and accepts[].amount before sharing the unlisted route.
| Parameter | Type | Description |
|---|---|---|
path * | string |