SpendGuard ships with four policy templates designed for common AI agent use cases. Each template is a complete, validDocumentation Index
Fetch the complete documentation index at: https://spendguard.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
POST /v1/policies request body — copy it, customize the parameters, and you’re live.
Template 1: AI Support Refund Policy
Best for: AI customer support agents handling refund requests. What it does:- Blocks refunds over $500
- Escalates refunds over $200 for human review
- Blocks refunds on orders older than 30 days
- Blocks wire, crypto, check, and cash refund methods
- Blocks duplicate submissions within 10 minutes
- Blocks refunds outside business hours (Mon-Fri, 8am-8pm UTC)
Full policy JSON — click to expand
Full policy JSON — click to expand
- Change
max_amount.limitto match your refund cap (e.g., $1,000 for enterprise) - Change
refund_age_limit.max_days(e.g., 60 days for subscriptions) - Remove
time_restrictionif your support operates 24/7 - Adjust
escalate_if.amount_aboveto your approval threshold
Template 2: SaaS Discount Policy
Best for: AI pricing agents or sales agents applying discounts. What it does:- Blocks discounts over 20%
- Escalates discounts on deals above $10,000 ACV
- Blocks automated discounts on enterprise or government contracts
- Blocks discount values over $5,000
- Blocks duplicate submissions within 30 minutes
Full policy JSON — click to expand
Full policy JSON — click to expand
- Change
discount_cap.max_percent(e.g., 15% for stricter, 30% for flexible) - Change
escalate_if.amount_aboveto your deal approval threshold - Add customer segments to
blocked_categories
Template 3: Vendor Spend Policy
Best for: AI procurement agents making vendor payments. What it does:- Blocks payments over $10,000
- Escalates payments over $2,500 for finance approval
- Escalates spend over $5,000 for CFO approval
- Blocks wire and crypto payments
- Blocks payments to sanctioned countries (RU, KP, IR, BY, CU, SY)
- Blocks duplicate submissions within 60 minutes
- Blocks payments outside business hours (Mon-Fri, 9am-5pm UTC)
Full policy JSON — click to expand
Full policy JSON — click to expand
- Add a
vendor_allowlistrule to restrict to pre-approved vendors - Adjust
max_amount.limitbased on your procurement policy - Update
geography_block.blocked_countriesfor your compliance requirements
Template 4: Expense Reimbursement Policy
Best for: AI finance agents processing employee expense claims. What it does:- Blocks individual claims over $500
- Escalates claims over $250 for manager approval
- Blocks personal expenses, gambling, and luxury categories
- Allows only ACH and corporate card reimbursements
- Blocks duplicate submissions within 24 hours
- Blocks claims for expenses over 60 days old
Full policy JSON — click to expand
Full policy JSON — click to expand
- Change
max_amount.limitto your per-transaction policy - Change
escalate_if.amount_aboveto your manager approval threshold - Add or remove categories from
blocked_categories - Change
refund_age_limit.max_daysto your submission deadline
How to Load a Template
Copy the JSON and POST it to the policies endpoint:policy_id, adjust the rule parameters, and POST it as a new policy.