CLICommands
x402
snug x402 <COMMAND>x402 agent payments (status, quotes, runtime pricing administration).
Subcommands
| Command | What it does |
|---|---|
status | Show deployment payment status (enabled, networks, settle mode) |
quote | Quote the effective price you would pay for one route |
catalog | Show the public discovery catalog of paid endpoints |
balance | Show your prepaid x402 balance |
session | Buy an anonymous wallet session (responds with the x402 challenge unless an x402 client pays it) |
topup | Request a balance top-up (responds with the x402 challenge unless an x402 client pays it) |
pricing | Manage the pricing hierarchy (admin) |
preflight | Run go-live preflight against the server's live configuration (admin) |
clear-cache | Clear pricing caches on the server instance (admin) |
Run snug x402 <command> --help for that command's own options.
The global options apply everywhere.
Examples
snug x402 status
snug x402 quote --method GET --path '/kv/{key}'
snug x402 catalog
snug x402 preflight
snug x402 balance
snug x402 session
snug x402 topup --amount 5.00
snug x402 pricing list --rule-type endpoint