Spending Mandates
Programmatic rules that define the spending boundaries for your agents.
What is a Mandate?
A mandate is a policy object that specifies limits, merchant restrictions, and expiration dates. SpendGuard's Risk Engine enforces these mandates in real-time before any funds are moved.
Velocity Limits
Daily or monthly caps on spend.
Vendor Allowlist
Restrict agents to specific merchants.
Defining a Mandate
const mandate = await client.mandates.create({)
daily_limit: 100.00,
allowed_merchants: ["AWS", "OpenAI"],
expires_at: "2026-12-31"
});
daily_limit: 100.00,
allowed_merchants: ["AWS", "OpenAI"],
expires_at: "2026-12-31"
});