> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.finrock.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Spending Rule Values

> Reference for the enum values used by the Spending Rules API: initiated_by, destination_id, rule_type, sr_action and status.

The [Spending Rules](https://apidocs.finrock.io/api-reference/spending-rules/list-spending-rules.md) endpoints use the values below. For `destination_type`, see [Transaction Types](https://apidocs.finrock.io/reference/transaction-types.md#destination_type).

## initiated\_by

Who the rule applies to.

| Value | Description |
| - | - |
| `API` | Transactions created by API users. |
| `Admin` | Transactions created by dashboard admins. |
| `Anyone` | Transactions created by anyone. |

## destination\_id

For `External` destinations, the kind of address the rule covers.

| Value | Description |
| - | - |
| `WhitelistedAddress` | A whitelisted address. |
| `AdhocAddress` | Any address provided at transaction time. See [Ad-Hoc Addresses](https://apidocs.finrock.io/guides/ad-hoc-addresses.md). |

## rule\_type

The period the rule's `amount` applies to.

| Value | Description |
| - | - |
| `PerTransaction` | The amount is the limit for each transaction. |
| `Hourly` | The amount is the limit over a window of `time_period_frequency` hours. |

## sr\_action

What happens to a transaction that matches the rule.

| Value | Description |
| - | - |
| `Allow` | The transaction goes ahead. |
| `NeedsApproval` | The transaction waits for `minimum_approvals` approvals. |

## status

The rule's status.

| Value | Description |
| - | - |
| `UnApproved` | New rule waiting for approval from the owner or at least 2 admins. |
| `Active` | The rule is in effect. |
| `Rejected` | The rule was rejected. |
| `AwaitingDeleteApproval` | Deletion is waiting for approval from the owner or at least 2 admins. |
| `Deleted` | The rule was deleted. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.