| Setting | Meaning |
|---|---|
priority | 1 is attempted first; on a retryable failure the engine moves to the next enabled priority |
failoverTriggers.hardDeclines | Fail over on retryable card declines (do_not_honor, insufficient_funds, …) |
failoverTriggers.timeouts | Fail over when the gateway exceeds the per-attempt timeout |
failoverTriggers.gatewayErrors | Fail over on gateway 5xx / infrastructure errors |
timeoutMs | Per-attempt timeout for this gateway |
enabled | Toggle a rule without recreating the set |
Fraud-class declines (stolen/lost card, fraud suspected, invalid card) are
never failed over, regardless of your trigger settings. Re-presenting a
card the issuer flagged as fraudulent damages your standing with issuers —
SwitchFlow excludes these by construction. See
Failover behavior.
Versioning
Saving rules always creates a new version and activates it atomically — in-flight payments finish on the version they started with. Previous versions are kept for audit and are visible in the dashboard. Toggling a single rule’senabled flag is the one quick action that does not create a new version.
Recommendations
- Keep at least two verified gateways in every rule set — with one gateway there is nothing to fail over to.
- Use your historically better-performing gateway (see Analytics → auth rate by gateway) as priority 1, and revisit the order monthly.
- Leave all three failover triggers on unless you have a specific reason not to; the fraud-class exclusion already protects you from harmful retries.