Skip to main content

Decide Gateway: SR Based Routing

SR_BASED_ROUTING uses auth-rate history, downtime state, and eligible gateway filters to choose a connector.

Request

Response

Routing Approach Values

  • SR_SELECTION_V3_ROUTING: best eligible gateway from SR score at the active routing dimension.
  • SR_V3_DOWNTIME_ROUTING: some eligible gateways were deprioritized due to downtime.
  • SR_V3_ALL_DOWNTIME_ROUTING: all eligible gateways are in downtime and the best degraded option is selected.
  • SR_V3_HEDGING: exploration mode across eligible gateways.
  • SR_V3_DOWNTIME_HEDGING: hedging with partial downtime.
  • SR_V3_ALL_DOWNTIME_HEDGING: hedging while all eligible gateways are down.
  • SR_SELECTION_MULTI_OBJECTIVE: the multi-objective post-step promoted a cheaper gateway over the SR head on expected value — see Multi-objective routing.

Multi-Objective Option

When multi-objective routing is enabled (request field enableMultiObjective, or the multi_objective_routing_enabled merchant feature flag), a cost-aware post-step may re-rank the SR result and the response gains a multi_objective_info block. Details and examples: Multi-objective routing.