DevelopersHomeAPI referenceGuidesChangelogMarketplacePartnersCommunityStatus

Routing

Rules, simulation, and what each gateway did.

Rules run top to bottom and the first that matches decides. A strategy is priority, split, cost, success_rate or ab; a rule's conditions are method, network, BIN, issuer, card type, amount, channel and time.

  1. Try a candidate: POST /v1/routing/rules/simulate replays it over your recent decisions.
  2. Save it: POST /v1/routing/rules. A draft routes nothing.
  3. Activate it: POST /v1/routing/rules/{id}/activate, now or at a time.
  4. Undo it: POST /v1/routing/rules/rollback with the version.

GET /v1/routing/analytics gives success, cost and time to outcome by gateway, method, issuer and hour. The time runs from opening an attempt to its last status, so it includes the customer on the page. The dashboard's Routing page shows the same, with a form for the rules.

A simulation is an estimate from each gateway's own record in the window, not a promise.