Skip to main content

Route level blocking

Once the route has been selected a set of route level blocking rules and overrides are run against the payment.

Blocks​

These blocking rules serve various purposes such as meeting compliance requirements, deterring fraud, and preventing specific transactions. These rules can be effectively tailored to your unique needs. For example, these blocking rules could be used to control maximum transaction values or define velocity limits for a channel.

Payments that are declined due to a route level risk blocking rule will use the decline:

  • 0121 - Route level block

Overrides​

Route level rules that are triggered are able to be overridden using the Override rules functionality. When an override is applied it will be shown alongside the block rule that was overridden. For example, an override could be used to allow high value payers to bypass certain restrictions.

In the instance where a payment successfully reaches authorization after a block rule was overriden you will both the block rule and the override in the risk_rules object.


Examples:​

Below are a selection of example risk_rules objects you may find as part of your full API response from the Gateway API for your payments when they are declined due to matching one of the route level blocking rules.

For more details on properties, operators and values please see our Open API specification.

This example shows a route level blocking rule with two conditions, one velocity rule restricting the value of transactions over a rolling 24hr by customer id. Alongside this the second condition means this rule applies only to payments using the card method type.

"risk_rules": [
{
"id": "rul_123",
"conditions": [
{
"property": "Value of transactions over 1 day (rolling 24 hours) per Customer ID",
"operator": "greater_than",
"values": [
"500000"
]
},
{
"property": "method.type",
"operator": "equals",
"values": [
"card"
]
}
],
"type": "block"
}
],