Create a Rule

🚧

Beta testing phase

This is not the final version of the product, and is still subject to change.

If you are interested in early access to this feature, please contact [email protected]!

The Create New Rule page in PayMongo Protect allows you to configure custom fraud detection rules tailored to your business needs. This powerful interface lets you define the logic, conditions, and actions that will automatically flag, block, or allow transactions based on real-time risk signals and transaction attributes.

Create a rule

Create a rule


How to Create a New Rule

  1. Navigate to the Rules Section

    • In the Merchant Dashboard, go to Fraud Management > Rules.
    • Click the Create Rule button.
  2. Fill in Rule Details

    • Rule Name
      Provide a descriptive name for your rule (e.g., "Review if payment amount >= 75K").
    • Logical Operator
      Choose how multiple conditions should be combined:
      • AND: All conditions must be met
      • OR: At least one condition must be met
    • Action
      Select what happens if the rule matches a transaction:
      • Allow: Let the transaction proceed immediately
      • Block: Automatically decline the transaction
      • Review: Flag the transaction for manual investigation
    • Rule Order
      Set the priority of this rule. Rules are evaluated in ascending order (lowest number first). The first matching rule determines the action for the transaction.
    • Rule Enabled
      Toggle whether the rule is active. Disabled rules are not evaluated.
  3. Define Rule Conditions

    • Use the Add Condition button to specify one or more transaction attributes and their required values (e.g., "Payment Amount ≥ 75000").
    • You can add multiple conditions to create more targeted rules.
  4. Save the Rule

    • Once all details and conditions are set, save the rule to activate it for future transactions.

Example: Review Large Transactions

The example in the screenshot shows a rule that flags for manual review any transaction with a payment amount greater than or equal to 75,000 (currency units):

  • Rule Name: Review if payment amount >= 75K
  • Logical Operator: AND (only one condition in this example)
  • Action: Review
  • Rule Order: 1
  • Enabled: Yes
  • Condition: Payment Amount ≥ 75000

Tip: Combine multiple attributes (like risk score, country, amount, or email) using AND/OR to target specific fraud patterns or business policies. Regularly review and adjust your rules as fraud trends and business needs evolve.