Pay without an account
An agent with a web3 wallet can pay for a single scaffold build without signing up. Call purchase_scaffold with no bearer and no payment to get an HTTP 402 with the x402 requirements, then retry with _meta["x402/payment"]. No apiKey, no account.
Payment details
- Network
- base · chainId 8453 · eip155:8453
- Token
- USDC · 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
- payTo
- Amount
- USDC ( atomic) · one purchase_scaffold
Confirm this address on /pay.json immediately before sending. Exact amount only. One tx settles one quote.
Agent flow
- Add https://www.botkelp.com/mcp (HTTP). Call get_help with no auth to pick component ids.
- Call purchase_scaffold with no Authorization header and no payment. The server answers HTTP 402 with x402 accepts[] (price, network, asset, payTo).
- Sign an x402 exact payment for that requirement and retry the same call with _meta["x402/payment"]. Never pass an apiKey argument.
- Payment settles only after the build succeeds; a failed build is not charged.
JSON-RPC examples: MCP syntax.