Time Window Policies
Time window policies restrict when transactions can occur based on hours and days.Configuration (API)
Create rules via the Policy Rules API:Rule Types
TIME_WINDOW (Hours)
Restrict transactions to specific hours of the day:| Property | Description |
|---|---|
ruleType | TIME_WINDOW |
operator | BETWEEN (allow within window) or NOT_BETWEEN (block within window) |
value | JSON: {"start": "HH:MM", "end": "HH:MM"} |
action | ALLOW or DENY |
DAY_OF_WEEK (Days)
Restrict transactions to specific days of the week:| Property | Description |
|---|---|
ruleType | DAY_OF_WEEK |
operator | IN_LIST (allow these days) or NOT_IN_LIST (block these days) |
value | JSON array: ["Mon", "Tue", "Wed", "Thu", "Fri"] |
action | ALLOW or DENY |
Mon, Tue, Wed, Thu, Fri, Sat, Sun
BLACKOUT_PERIOD
Block transactions during maintenance windows or holidays:Wallet-Level Time Windows
Time windows can also be set on the agent-wallet link. These include atimezone field that controls how hours and days are evaluated:
All wallet-level time checks are evaluated in the wallet’s configured timezone (defaults to
UTC). This means a “9-17” window with timezone: "America/New_York" will correctly evaluate against Eastern Time, regardless of where the server is deployed. Uses IANA timezone names (e.g., America/Los_Angeles, Europe/London, Asia/Tokyo).Use Cases
Business Hours
Only allow transactions during working hours
Extended Hours
Allow transactions in extended support hours
Weekends Only
For agents that operate on weekends
24/7
No time restrictions (allow always)
Error Response
When a transaction is blocked by time window:Best Practices
Set Timezone on Wallets
Set Timezone on Wallets
Set the If unset, defaults to
timezone field on the agent-wallet link to match the organization’s operating timezone. Time window violations will include the timezone in the error message for clarity.UTC. All IANA timezone names are supported.Match Business Operations
Match Business Operations
Align time windows with when humans are available to monitor:
- During work hours: Standard limits
- After hours: Stricter limits or blocked
Combine with Approval Thresholds
Combine with Approval Thresholds
Allow small transactions 24/7, but require approval after hours: