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:
| List | Stores | Effect |
|---|---|---|
| Card blacklist | The payment's card | Pay.com blocks later payments with the card. |
| Blocked customers | The customer's customer_reference_id | Payment rules that check the list block the customer's later payments. |
| Excluded from block rules | The customer's customer_reference_id | The 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
Open the rule builder
Go to Rules → Action and click Create new rule. Give the rule a name.
- 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
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
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:
| Goal | Conditions | Then add to lists |
|---|---|---|
| Permanently block a card once a rule blocks it | Matched payment rule is in your card-testing rule | Card blacklist |
| Remember the emails behind blocked payments | Matched payment rule is in your Block rules | Your Emails list, with the customer's email |
| Track customers who used many cards | A custom aggregation of unique cards per customer is greater than 3 | Your Customer reference IDs list |
Next steps
- Risk lists: Create lists and manage their values.
- Blocked payments: What happens to payments from blocked cards and customers.
- Payment rules: Block payments that match a list.