What is the Policy Engine?
The Policy Engine is an on-chain rule system that governs how funds can move from a Money Account. It enables automated controls without sacrificing security.Policy Types
| Policy | Description |
|---|---|
| Spend Limits | Maximum per-transaction or daily limits |
| Token Whitelist | Only approved tokens can be spent |
| Recipient Whitelist | Only approved addresses can receive |
| Time Windows | Restrict transactions to business hours |
| Approval Thresholds | Multi-sig for large amounts |
| Automation Rules | Pre-approved recurring payments |
How Policies Work
Example Policies
Spend Limit
Recipient Whitelist
Time Window
Recurring Payment
Enterprise Use Cases
Treasury Controls
Limit daily outflows, require multi-sig for large transfers
Payroll Automation
Pre-approve monthly salary disbursements
Vendor Payments
Whitelist approved suppliers, set payment limits
Compliance
Enforce transaction limits for AML compliance
Agentic Payments (x402+)
The Policy Engine enables AI agent payments with controlled autonomy:| Scenario | Policy |
|---|---|
| API usage billing | Per-request limit: $0.10 |
| SaaS subscription | Monthly cap: $500 |
| Data purchase | Daily limit: $100 |
| Tool access | Per-session: $5 |
Agent Flow
Policy Hierarchy
Policies can be layered:| Level | Scope | Example |
|---|---|---|
| Account | All transactions | Daily limit $10,000 |
| Token | Specific asset | USDC only to whitelisted |
| Recipient | Specific address | Unlimited to payroll vault |
| Session | Temporary | Agent session cap $50 |
Gasless Execution
Policies enable gasless transactions:- User pre-approves a policy
- Stableyard relayer executes transactions
- Gas paid from user’s USDC balance
- No native token required
Next: Learn about Merchant Layer — QR payments, links, and checkout.