Rules
Configure pre- and post-authorization rules to block, cancel, flag, or authenticate charges based on conditions you define.
Pay.com's rules engine evaluates each payment against conditions you define and applies a configured action automatically. Payment rules run before authorization. Cancel rules and review rules run after it. Cancel rules void the authorization, and review rules only flag it. Action rules run once the payment has its final result and add its values to your lists. You configure and manage all rules in the Pay.com dashboard, under Rules.
The same rule builder also creates Routing, Configuration, and Configuration Overrides rules, which decide where and how Pay.com processes a payment. See Routing.
Review rules that flag transactions create risk review objects you resolve with the Risk reviews API.
Payment rules
Block charges or enforce 3D Secure before a transaction reaches the card network.
Review rules
Flag transactions or customers for manual review after authorization without blocking the payment.
Cancel rules
Void authorized holds, direct charges (where the acquirer supports it), and 3DS charges at confirmation when conditions you define are met.
Action rules
Add a payment's card, customer, or other values to your risk lists once it has its final result.
Risk lists
Create named collections of values to reference across multiple rules.
Rule conditions and operators
Every field rules can evaluate, by rule type, and how each operator compares values.
Aggregations
Count, sum, and list past payments that share a card, customer, email, IP address, or other value.
Calculated fields
Divide, multiply, and add number fields and saved aggregations in a condition.
Rule inputs
Turn metadata into typed merchant context fields, and save aggregations to reuse.
Blocked payments
Read the decline code of a blocked payment, and unblock customers or block cards.
Test your rules
Verify that payment, cancel, and review rules fire correctly using test charges.