Routing Rules
Define how payments are routed to providers based on conditions
Active Rules
Rules are evaluated in priority order (lower number = higher priority)
| Priority | Name | Condition | Provider | Actions |
|---|---|---|---|---|
| 1 | USD Default | currency == "USD" | Stripe | |
| 2 | TRY Fallback | currency == "TRY" | iyzico | |
| 1 | EUR Default | currency == "EUR" | Adyen | |
| 99 | Global Fallback | true | Stripe |
Condition Variables
currency– Payment currency (USD, EUR, TRY, ...)country– Customer country code (US, TR, DE, ...)amount– Payment amount in smallest currency unitprovider_available– Boolean indicating provider health
Smart Routing
Enable smart routing to automatically select the provider with lowest cost or highest success rate.