Skip to Content
Docs

Action rules

Add a payment's card, customer, or other values to your risk lists automatically, once the payment has its final result.

Action rules add values from a payment, such as its card or the customer's email, to your risk lists once the payment has its final result. Pair them with payment rules that read those lists, for example to block a card after a fraud pattern, or to stop blocking a customer you trust.

How action rules run

Action rules run after the payment completes, together with review rules. They never change the payment itself, only the lists, so their effect starts with the next payment.

  • They can read every rule condition field, plus Matched payment rule, the payment rules that matched this payment.
  • They apply to all your settlement accounts.
  • A rule in Simulation Mode adds nothing.
  • A value that's already in the list isn't added again.
  • Each list shows the rule that added a value in its Added by column.

Lists you can add to

Three lists are predefined, and each stores one kind of value:

ListStoresEffect
Card blacklistThe payment's cardPay.com blocks later payments with the card.
Blocked customersThe customer's customer_reference_idPayment rules that check the list block the customer's later payments.
Excluded from block rulesThe customer's customer_reference_idThe customer's payments skip your Block payment rules.

You can also add to your own lists. In What to add, pick the value to take from the payment. Only values that match the list's type are shown, and a Custom list accepts any text value.

Create an action rule

Create the rule in the Pay.com dashboard. It's enabled as soon as you save it.

  1. 1

    Open the rule builder

    Go to Rules → Action and click Create new rule. Give the rule a name.

  2. 2

    Set the conditions

    In Logic, add the conditions a payment must match. For example, to react to a payment rule, use Matched payment rule is in and choose the rule.

  3. 3

    Choose the lists

    In Then add to lists, pick a List and, for your own lists, What to add. Click Add list to add the value to more than one list.

  4. 4

    Save the rule

    To try the rule without changing any list, check Simulation Mode. Click Confirm & Save Rule.

Examples

These rules keep your lists up to date without manual work:

GoalConditionsThen add to lists
Permanently block a card once a rule blocks itMatched payment rule is in your card-testing ruleCard blacklist
Remember the emails behind blocked paymentsMatched payment rule is in your Block rulesYour Emails list, with the customer's email
Track customers who used many cardsA custom aggregation of unique cards per customer is greater than 3Your Customer reference IDs list

Next steps

Was this page helpful?