SpendGuard is a Soroban policy contract that sits between your agent and the x402 payment flow. Set daily caps, whitelist merchants, pause on demand — and every decision is enforced on-chain, not in a server you have to trust.
Vault Balance
$0.00USDC
Daily Cap
$0.00
Max / Tx
$0.00
Network
Stellar testnet
Contract
—
What it does
Daily spending caps, per-transaction limits, and merchant allow-lists enforced by a Soroban contract — not by a server that can be bypassed.
Agents pay the HTTP-native x402 price signaled by the merchant. Settlement lands on Stellar through the OpenZeppelin Relayer facilitator.
Pause the contract from the dashboard and revoke all new authorizations instantly. In-flight transactions on the ledger remain final.
Every settlement and every denial is derived directly from Horizon. No mutable backend store, no rewriteable history.
How a payment flows
Agent requests resource
HTTP GET with no payment
Merchant replies 402
Signals price + asset
SpendGuard pre-checks policy
Budget, cap, whitelist, pause
Soroban auth-entry signed
Facilitator broadcasts
Merchant returns resource
Settlement final on Horizon
Walk through a live end-to-end flow on Stellar testnet — no wallet required.