Skip to content

Routing

Customers choose a payment method; RelyPay chooses the provider that takes the money, resolved fresh per transaction. Configure it under Addons → RelyPay → Routing.

The RelyPay routing rules screenAddons → RelyPay → Routing

Routing vs Allocations

Routing = which provider takes a payment. Allocations = which checkout options a customer sees. Separate tabs.

The four layers

Rules are evaluated in a deterministic order where the first layer matching an active, fully-configured provider executes:

  • First-match evaluation: Subsequent layers are skipped once a valid match resolves.
  • Graceful degradation: Rules pointing to unconfigured or disabled providers are bypassed automatically to prevent checkout disruptions.
#LayerScopeHow it decides
1Currency routingnon-INROne or more providers per currency (USD, EUR, GBP…). Several providers on one currency rotate randomly by weight (higher = larger share).
2Amount routingINRAmount slabs (From ₹ / To ₹) → provider, each with a priority (1–5). Send small tickets to a cheaper provider, larger ones elsewhere.
3Volume routingINRPercentage split across providers (1–100%), e.g. 70% Razorpay / 30% Cashfree. Balance load or phase in a provider.
4FallbackINR and non-INR (separate)Default when nothing above matches — a priority chain (1–5); RelyPay uses the first enabled, configured provider.

Resolution order — non-INR: currency → fallback. INR: amount → volume → fallback.

Worked examples

PaymentResult
₹499 UPI, slab ₹0–₹1000 → CashfreeAmount slab matches → Cashfree. Volume/fallback never reached.
₹5,000 card, no matching slab, 70/30 splitDrops to volume routing → ~70% Razorpay, ~30% Cashfree.
$120 card, rule USD → PayGlocalCurrency routing matches → PayGlocal.
SGD with no ruleCurrency/amount/volume all miss → non-INR fallback chain.

Fallback: INR vs non-INR

Set separately, because the right providers differ:

  • INR fallback — domestic safety net (UPI, Cards, Net Banking…). Order your best domestic providers 1–5.
  • Non-INR fallback — international safety net (international cards, PayPal). PayGlocal usually belongs high here.

Always keep a fallback ready

Put at least one enabled, fully-configured provider at the top of each chain so customers can always pay.

Activation seeds default routing with PayGlocal as the default recurring provider. Review and adjust under Addons → RelyPay → Routing.

Documentation for the Relyweb app catalogue.