Skip to main content
After you determine your business’ requirements for evaluating and declining suspicious payout requests, you can use the Configuration API to create and manage transaction rules that automatically evaluate every external payout. This page explains how to:

Requirements

Create a transaction rule

When you have defined your business logic and requirements, turn your requirements into a transaction rule. You can do this by using your Customer Area or by making an API request. The following tabs explain both procedures.
To create a transaction rule in your Customer Area:
  1. Go to Financial products > Transaction rules.
  2. Select + Create new rule.
  3. Add the required rule details.
  4. Set the rule conditions.
  5. Review and test your rule.

Add details

Add the following rule details:
  • Entity type: The type of entity to which you want to apply the rule.
  • Entity key: The ID of the selected entity.
  • Aggregation level: The level at which the data is accumulated when selecting rule types that involve counting a number of transactions within a time interval.
  • Rule type: Specify when the outcome of the rule applies. In the Customer Area, you can use one of the following rule types:
    • Per transaction: The outcome applies to every transaction.
    • Fixed time interval: You specify a time interval. During the time interval, we aggregate any transaction data that you specify. The outcome applies when, cumulatively, all transactions that occur within the time interval surpass a specified limit. The aggregation is reset when a new interval begins.
      For example: you can specify that a cardholder cannot spend more than EUR 200 in a day, which starts daily at 9 AM.
    • Moving time interval: You specify the duration of a time interval. When a cardholder attempts a payment, we aggregate all transaction data before this payment attempt, for the duration that you specified. The outcome applies when, cumulatively, the transactions surpass a specified limit.
      For example: you can specify that a cardholder cannot spend more than EUR 200 in six hours. If the cardholder attempts a payment at 7 PM, we check that between 1 PM and 7 PM the cardholder hasn’t spent more than EUR 200.
    • Maximum usage: We aggregate transaction data during the entire lifetime of a card. After the amount of transactions surpass a specified limit, the card is deactivated.
  • Description: Describe what the rule does so you identify it later.
    For example: Allow only point-of-sale transactions.
  • Reference: An internal identifier that helps you track the rule later.
    For example: RULE_1234.

Set conditions

To set a condition, select:
  1. A parameter. For example: Total amount, Countries, Day of week.
  2. An operator. For example: equals, greater than, is in.
  3. A value. For example: 100, Netherlands, Monday.
You can have up to five conditions per rule. If any of the specified conditions is met, Adyen applies the rule outcome to the transaction.

Test rule

In the Review page, you can select Test rule. This enables you test the rule with previous transactions in your platform.