Skip to main content

Spend Limit Policies

Spend limit policies control the maximum amount that can be spent per transaction, day, week, or month.

Configuration

Create a complete SPEND_LIMIT policy with its rules in one request:

Rule Types

How It Works

  1. Per-Transaction: Checked against the requested amount
  2. Daily/Weekly/Monthly: Checked against cumulative spend + requested amount
Conto uses fixed-precision monetary values for spend limits, balances, and transaction amounts to avoid floating-point rounding issues in financial calculations.

Example Evaluation

Wallet-Level Limits

In addition to policies, limits can be set on the agent-wallet link:
These are evaluated first, before policy rules.
Auto-creation defaults: When an external wallet is auto-created, the system applies these defaults: daily = 1,000,weekly=1,000, weekly = 5,000, monthly = $20,000, no per-transaction limit. You can override these when linking a wallet to an agent. Wallet-level limits treat null, omitted fields, and 0 as unlimited; use a deny policy or suspend the agent when you need to block spend.

Tracking Spend

The system tracks spending automatically:
  • spentToday - Resets at midnight UTC
  • spentThisWeek - Resets Monday midnight UTC
  • spentThisMonth - Resets 1st of month midnight UTC

Best Practices

Begin with a low per-transaction cap and increase based on operational needs:
Use multiple limit types for defense in depth:
  • Per-tx: Prevents single large payments
  • Daily: Limits daily exposure
  • Monthly: Controls overall budget
Create different policies for different agent risk levels:
  • Low-risk agents: Higher limits
  • New agents: Lower limits until proven
  • Critical agents: Strict limits + approval