Skip to main content
GET
MCP scope: dac.read Spending rules decide which outgoing transactions are allowed, which need approval, and how much can be sent. Use this endpoint to list the rules in your sub-account and see each one’s status.

Response

A successful request returns HTTP 200 with an array of spending rules.
string
Unique ID of the rule. Use it with Delete Spending Rule.
string
The rule’s name.
string
Who the rule applies to. See initiated_by values.
string
Where funds are going. See destination_type values.
string
For External destinations, the kind of address. See destination_id values.
string | null
For WhitelistedAddress rules, the name of the whitelist. null for ad-hoc addresses.
string
For WhitelistedAddress rules, the ID of the whitelist. For AdhocAddress rules, the specific address outside Finrock that the rule applies to, or Any if it covers every address. For SubAccount destinations, the ID of the sub-account.
number
The maximum amount the rule allows in the time period.
string
The period the amount applies to. See rule_type values.
integer
The length of the period, in units of rule_type. For example, Hourly with 24 means any 24-hour window. 0 for PerTransaction.
string
What happens to a matching transaction. See sr_action values.
integer
How many approvals a matching transaction needs when sr_action is NeedsApproval.
string
When the rule was created, as an ISO 8601 timestamp in UTC.
string
The rule’s status. See status values.