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

# Spend Control API

# Rules

Rules define specific conditions that control how spending should be managed. These conditions can be based on various factors such as merchant category, transaction amount, merchant location, etc. The rules are applied to transactions to determine whether they should be approved or declined.

# Filters and Filter Operator Types

Filters define specific criteria that must be met for a rule to be applied. They help refine the conditions under which a rule operates. Filter operator types define how multiple filters within a rule should be evaluated.

# Example Usage

A rule might be configured to decline transactions if the MCC is in a specified list of blocked codes and the transaction amount exceeds a certain limit. Filters can be applied to ensure that the rule only evaluates transactions that meet specific criteria, such as transactions from a certain country or transactions above a certain amount.

### Disclaimer

This feature is sold separately. Please contact our sales department for more information.

<CardGroup cols={2}>
  <Card title="Download OpenAPI specification" href="https://enfuce-public-resources.s3.eu-central-1.amazonaws.com/public/api/cia/external/spend-control/spend-control.json" />
</CardGroup>

For any questions, contact us:

* [Enfuce Support Portal](https://enfuce.atlassian.net/servicedesk/customer/portal/6)
* [Enfuce website](https://enfuce.com)

<CardGroup cols={2}>
  <Card title="Rule Sets Endpoints" icon="arrow-right" href="/payment/api/rule-sets-endpoints" horizontal />

  <Card title="Rules Endpoints" icon="arrow-right" href="/payment/api/rules-endpoints" horizontal />

  <Card title="Spend Control Test Endpoint" icon="arrow-right" href="/payment/api/spend-control-test-endpoint" horizontal />

  <Card title="STIP Spend Control Test Endpoint" icon="arrow-right" href="/payment/api/spend-control-test-stip-endpoint" horizontal />

  <Card title="STIP External Account Balance Endpoints" icon="arrow-right" href="/payment/api/spend-control-stip-external-account-balance-endpoints" horizontal />
</CardGroup>
