ArmorPay Policy Studio

Customize financial compliance policies with the 9-section editor - member roles, tool config, amount thresholds, velocity limits, and more.

Overview

The ArmorPay Policy Studio at /dashboard/armorpay/studio provides a specialized editor for financial compliance policies. It extends the standard Policy Studio with financial-specific sections.

ArmorPay Policy Studio

Editor Sections

The left panel lists 9 sections. Click any to switch:

1. Metadata

FieldDescription
Policy NameName for this financial policy
DescriptionWhat this policy controls
Target AgentThe financial agent this policy applies to

2. Member Roles

Member roles with role presets

Assign members to pre-defined financial roles:

RoleDescription
FinanceGeneral finance team access
APAccounts payable operations
PayrollPayroll and HR operations
AccountantAccounting and reporting
Finance ManagerManagement-level financial oversight
CFOExecutive financial access

3. Tool Configuration

Mark tools with financial metadata:

SettingDescription
Financial FlagWhether this tool handles financial transactions
Amount FieldsWhich parameters represent monetary amounts
CurrencyDefault currency for amount fields

4. Amount Threshold

Amount threshold configuration

Set per-transaction limits:

SettingDescription
Per-Transaction LimitMaximum amount for a single transaction
Hold ThresholdAmount above which transactions are held for review
Block ThresholdAmount above which transactions are blocked
Approval WorkflowWho must approve transactions above the hold threshold

5. Velocity Limit

Rate-based controls:

SettingDescription
Frequency CapMaximum number of transactions per time window
Cumulative CapMaximum total amount per time window
Time WindowThe period for counting (e.g., per hour, per day)

6. Recipient Validation

SettingDescription
Vendor ApprovalWhether recipients must be pre-approved vendors
Blocked RecipientsList of blocked recipient patterns

7. Transaction Types

SettingDescription
Allowed TypesTransaction types the agent can execute (e.g., payment, invoice, refund)
Blocked TypesTransaction types that are always blocked
Read-Only TypesTransaction types the agent can view but not create

8. Enforcement

SettingDescription
Default ActionWhat happens when no specific rule matches: block, hold, allow_log, alert, quarantine
Rate LimitGlobal requests-per-hour limit

9. YAML Editor

The right panel shows a live YAML preview of the compiled FinancialPolicy document. Changes in the form sections update the YAML in real time, and vice versa.

  • Copy - Copy YAML to clipboard
  • Download - Download as .yaml file

Draft Persistence

Your work is auto-saved to browser localStorage. Come back later to continue editing. Use Clear Draft to start fresh.

Saving

Click Deploy Policy to save and activate the financial policy.

On this page