Commands
The wallet is per-agent, so these commands need an active user
(
naive use <alice>). Unlike cards, there is no company-level fallback mount.Quote
free: true with the real HTTP status.
Pay
402, signs a USDC payment from the agent’s
wallet, retries the request once with the payment attached, and returns the
resource body plus a receipt.
Sensitive — this spends real USDC. There is deliberately no approval queue.
What bounds a payment:
- The wallet balance — an agent cannot spend what isn’t there.
perTxMax— enforced at runtime and as a static policy inside the custody plane at signing time. Set it withnaive wallet policy.dailyBudget(optional) — a rolling runtime counter.--max-amount— a ceiling on this one call. The effective cap ismin(--max-amount, perTxMax).
402, no payment is made — the
response comes back with paid: false and no receipt.
Receipts
Every settled x402 payment is recorded here, each linking the payment to its
onchain transaction (
txHash). Amounts on a receipt are decimal USDC
strings.