Decision editor
The decision editor is where you add branching logic to a checkpoint – routing a transaction down different paths based on conditions you define, without touching code.
When to use it
- Route by currency or region to different gateway credentials
- Branch on order amount (e.g. only run a fraud check above a threshold)
- Route based on a fraud provider's decision (allow, deny, or step up to 3DS)
- Scope a rule to one market only (e.g. a routing test limited to one country)
- Route a range of card BINs to a specific gateway (for example, a co-branded card program)
- Branch on a numeric range, such as an order amount between two values
Adding a path
Open a Decision step on the canvas, then Add Path. Give the path a name that describes what it's for (e.g. USD, HighRisk). Set its condition using the field search, an operator, and a value – for example, transaction.currency is one of USD. Any transaction that doesn't match an explicit path falls through to Default.
Data available to condition on comes from your Trigger's Expected Data – transaction and customer fields, and any outputs from a fraud or identity step earlier in the flow.
Paths are evaluated in order, top to bottom, and the first one that passes wins – the transaction takes that path and stops evaluating the rest. Path order matters; put more specific conditions above Default and above broader catch-alls.
Range conditions
Decision conditions can match a range of values as well as exact values.
- Card BIN ranges: match a card's BIN against one or more ranges. Get Payment Method Info must run before the Decision step so the BIN is on the canvas.
- Numeric ranges: match any numeric field, such as
transaction.amount, between a lower and upper bound.
Routing each path
Drop the steps for that path underneath it – for example, a Purchase step pointed at a different Gateway Token per branch. Save, then Publish; the canvas updates to show each branch immediately, no redeploy.
Examples
Multi-gateway credential mapping
A common pattern: one path per currency or region, each pointed at its own gateway connection.
- Open the Decision step after your payment-method step.
- Add Path, name it, and set the condition (e.g. transaction.currency is one of USD).
- Drop a Purchase step into the new path and set its Gateway Token to the credential for that region.
- Leave the Default path on your original gateway.
Everything that doesn't match an explicit path keeps using Default, so this is safe to add incrementally.
Routing a BIN range to a dedicated gateway
- Add Get Payment Method Info before your Decision step.
- Add Path, name it, and set the condition to the card BIN in your range.
- Drop a Purchase step into the path and set its Gateway Token to the dedicated gateway.
- Leave Default on your primary gateway.
Fraud check before 3DS
Another common pattern: score the transaction first, and only add friction where it's warranted.
- Add a Decision step after your fraud-provider step (e.g. Forter, Sift).
- One path for "fraud detected" → Deny.
- One path for "3DS recommended" → a Perform 3DS Authentication step → then Purchase.
- Default path (clean) → straight to Purchase.
Remember: paths reaching the end without an explicit Deny are allowed by default, so you only need to place Deny where you want to block.
A/B testing a rule
If you want to compare two gateways head-to-head rather than route deterministically, an A/B Test step splits traffic by percentage instead of a condition (e.g. 80/20 across two Purchase steps), and you can still scope it with a condition (like a specific country). That's a separate step type from Decision, but it sits in the same part of the canvas.
Updated 21 days ago

