Update budgets, subtree caps, thresholds, and categories

Partial update of the wallet spend policy. Only fields you send change. Amounts in dollars. Management-plane.

patch/wallets/policy

Request

  • Base URL: https://getsanction.com/api/v1
  • URL: https://getsanction.com/api/v1/wallets/policy
  • Auth: API key in header x-mgmt-key

Request body

wallet_idstring required
daily_token_budget_usdnumber
monthly_token_budget_usdnumber nullable
daily_spend_budget_usdnumber
monthly_spend_budget_usdnumber nullable

Optional monthly spend cap (dollars). Null disables the monthly limit.

subtree_daily_cap_usdnumber nullable
subtree_daily_token_cap_usdnumber nullable
per_transaction_max_usdnumber
auto_approve_under_usdnumber
escalate_over_usdnumber
allowed_categoriesstring[]
blocked_categoriesstring[]
escalation_timeout_minsinteger
escalation_timeout_action'deny' | 'approve'

Response

Updated policy

wallet_idstring

Changes

No recorded changes to this operation across all 1 revision of this API.