Review rules
Flag transactions or customers for manual review after authorization without blocking the payment.
Review rules let you automatically flag transactions or customers for manual
review after a payment is authorized. When a charge matches a review rule's
conditions, Pay.com applies the flag without blocking the payment. The
charge returns status: "succeeded" as usual.
When to use review rules
Some data is only available after the card network responds to the authorization request. Payment rules run before authorization, so they can't evaluate this post-authorization data. Review rules run after authorization and can use these fields as conditions, letting you flag suspicious transactions without refusing them at checkout.
This is useful when you want to act on signals such as address verification results, name verification outcomes, or 3D Secure authentication results, without risking the refusal of legitimate payments.
Conditions
Review rules can evaluate the fields available after authorization, including the Address Verification Service (AVS) and CVV results, the Account Name Inquiry (ANI) result, the 3D Secure result, and Matched payment rule, the payment rules that matched the payment. For the complete list of available fields and operators, see Rule conditions and operators.
Actions
Each review rule applies one of two actions when its conditions are met:
| Action | What happens |
|---|---|
| Create a review for Transaction | The charge is added to the Transactions queue in Risk Reviews. |
| Create a review for Customer | The customer associated with the charge is added to the Customers queue in Risk Reviews. |
Flagged items appear in Risk Reviews in the Pay.com dashboard. From there, you can inspect each flagged transaction or customer and decide whether to take further action, such as issuing a refund.
Review results are asynchronous
Review rule evaluation happens after authorization completes, so the
immediate charge response doesn't show it. When a rule flags a transaction or
customer, Pay.com creates a risk review
and sends a review.transaction.created or review.customer.created webhook
event. Subscribe to these events to be notified without polling, or look up
reviews for the charge a few seconds later:
GET /v1/risk/review/reference/chrg_697560887862495232The response is a list ("resource": "reviews"). An empty data array means
no review was created.
Account Name Inquiry (ANI)
Account Name Inquiry asks the card's issuer whether the name you send matches the name on the card account, before authorization. A review rule can read the result in Name verification - Status and Name verification - Result (Full name), and flag the transaction or the customer after the payment succeeds, without declining it.
To keep payments with weak name results and review them, accept those results
in name_verification.accepted_results and add a review rule on them. To
decline a mismatch instead, leave the result out of accepted_results. Pay.com
then declines the payment with decline_code: name_mismatch. See
Account Name Inquiry for the options, the
results, and the networks ANI supports.
The review rules page
Go to Rules → Review in the Pay.com dashboard to access review rules. The page has three tabs:
- Rules: lists all your review rules. Each rule shows its current state (Enabled or Disabled). From here you can toggle a rule on or off, open it, or edit, duplicate, or delete it.
- Logs: shows the transactions your review rules evaluated, and whether each rule matched.
- Audit Log: shows who created, changed, or deleted each rule.
Create a review rule
Create the rule in the Pay.com dashboard's rule builder. It's enabled as soon as you save it.
- 1
Open the rule builder
In Rules → Review, click Create new rule.
Give the rule a descriptive name so you can identify it later.
- 2
Configure the logic
Define the conditions the rule evaluates after each successful authorization. For each condition, choose a Field, an Operator, and a Value.
You can combine multiple conditions using AND (all conditions must be true) or OR (any condition must be true).
To match against a set of values, choose the is in list operator and select a risk list you've already created.
- 3
Choose an action
Select whether to flag the transaction or the customer for review:
- Create a review for Transaction adds this specific charge to the Transactions queue in Risk Reviews.
- Create a review for Customer adds the customer to the Customers queue. All charges from that customer are then visible for review.
- 4
Save the rule
Click Confirm & Save Rule. The rule is enabled immediately.
Next steps
- Risk reviews: Approve or decline transactions flagged by this rule using the API.
- Payment rules: Block charges or enforce 3DS before they reach the card network.
- Risk lists: Create named collections of values to use in rule conditions.
- Test your rules: Verify that review rules fire correctly by creating test charges and retrieving the result.