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
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