v11

latestOpenAPI 3.1.0AGPL-3.0raw.githubusercontent.com2026-08-014635124.5 KB
Routing Rules

Evaluate routing rule

Evaluate the active routing rule for a merchant against a payment context. Returns the ordered list of gateways selected by the rule without consuming SR data.

post/routing/evaluate

Request body

merchantIdstring required

Example request

{
  "merchantId": "test_merchant",
  "paymentInfo": {
    "paymentId": "pay_001",
    "amount": 1000,
    "currency": "USD",
    "country": "US",
    "customerId": "cust_123",
    "paymentType": "ORDER_PAYMENT",
    "paymentMethodType": "CARD",
    "paymentMethod": "CREDIT",
    "authType": "THREE_DS",
    "cardIsin": "411111"
  }
}

Response

Evaluation result with ordered gateway list

object required