Skip to content

    Ruletype 2: Limits (velocity) risks

    Overview

    Limits (velocity) Rule defines a logical rule that allows or prohibits the transaction from being executed when the conditions are met.

    Be very careful with the rules you define as certain combinations may prohibit the execution of all transactions!

    Add new Velocity Rule

    • Click on „Plus“ icon on top right corner
    PE_MC_RulTyp_1
    • A modal window will open to add new velocity rule
    PE_MC_RulTyp_2

    Define Velocity Rule

    • Select "Count" option in "Count group" dropbox
    PE_MC_RulTyp_3

    When you see Modal window for add/edit Velocity risk rule, you can define new rule by choosing the required Time group, time count, attributes, operator, limit and result. The definition logic is as follows: For X parts ("Times" field) of Time ("Time Group") count of the transactions per "Attribute 2" and per "Attribute 3" (optional) must meet the limited("limit" field) condition selected in the "Operator", the "Result" will be executed.

    PE_MC_RulTyp_4

    "I want for 12 hours count of the transactions per Customer Id and per Billing Address Country cannot be more than 5."

    PE_MC_RulTyp_5
    • "transactions.count" option will be selected in "Attribute 1" dropbox
    PE_MC_RulTyp_6
    • Select "Hour" option in "Time group" dropbox
    PE_MC_RulTyp_7
    • Fill "12" in "Times" input field
    PE_MC_RulTyp_8
    • Select "customer.id" option in "Attribute 2" dropbox
    PE_MC_RulTyp_9

    After you select the option in "Attribute 2", this option will disappear from "Attribute 3" dropbox.

    • Select "billing.address.country" option in "Attribute 3" dropbox
    PE_MC_RulTyp_10
    • Select ">=" option in "Operator" dropbox
    PE_MC_RulTyp_11
    • Fill "5" in "Limit" input field
    PE_MC_RulTyp_12
    • Select "Red" option in "Result" dropbox
    PE_MC_RulTyp_13
    • Click on "Save" button on the bottom of the modal window
    PE_MC_RulTyp_15

    After you save the items in modal window, you must click the "Save" button at the bottom of the page. Otherwise, your changes will not be saved.

    PE_MC_RulTyp_14

    Edit Velocity Rule

    • Click on „Edit“ icon on the row with selected item
    PE_MC_RulTyp_16
    • A modal window will open to edit selected rule
    PE_MC_RulTyp_17
    • At this point "Rule type" dropbox can not be changed
    PE_MC_RulTyp_18
    • Change the options that you want
    PE_MC_RulTyp_19
    PE_MC_RulTyp_20
    • Save the risk rule
    PE_MC_RulTyp_21

    After you save the items in modal window, you must click the "Save" button at the bottom of the page. Otherwise, your changes will not be saved.

    PE_MC_RulTyp_22

    Delete Velocity Rule

    • Click on „Delete“ icon on the row with selected item
    PE_MC_RulTyp_23
    • Risk Rule will be deleted from the rules list
    PE_MC_RulTyp_24

    After you delete the items from list, you must click the "Save" button at the bottom of the page. Otherwise, your changes will not be saved.

    PE_MC_RulTyp_25

    Description of Options

    In the "Time group" option, select as follows:

    Time groupSelection
    14 days14 days
    HourHour
    WeekWeek
    DayDay
    • If the "14 days" option is selected, the "Times" field will will not be visible.

    • "Times" - positive number, used in combination with "Time group" Represents the count of the "Time group" option. In the above mentioned example, this means that the 12 hours before the request hit the rule engine and the rule check was initiated. Max allowed period is 14 days.

    PE_MC_RulTyp_26

    Period is 3 days: Option 1

    PE_MC_RulTyp_27

    Option 2:

    PE_MC_RulTyp_28
    OptionSelectionMeaning
    Count groupCountCount
    Attribute 1transactions.countCount of the transactions (DEBIT and CAPTURE transactions) in status SUCCESS.

    For " Attribute 2" and "Attribute 3", the following applies:

    SelectionMeaning
    billing.address.cityBilling Address City
    billing.address.countryBilling Address Country
    billing.address.firstNameBilling Address FirstName
    billing.address.houseNumberBilling Address HouseNumber
    billing.address.idBilling Address Id
    billing.address.lastNameBilling Address LastName
    billing.address.stateBilling Address State
    billing.address.streetBilling Address Street
    billing.address.zipBilling Address Zip Code

    Available operators and their meanings:

    OperatorMeaning
    >=Greater than or equal
    <=Less than or equal
    <Less than
    ==Equality
    !=Inequality
    >Greater than
    Limitpositive number represents limit of the transactions count

    Possible results and their meanings:

    ResultMeaning
    RedTransaction will be declined
    GreenTransaction will pass

    Was this helpful?

    What was your feeling about it?