Evaluate Routing Algorithm
/routing/evaluate evaluates the active routing algorithm for a payment context. It does not update SR scores.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Curl example for /routing/evaluate.
/routing/evaluate evaluates the active routing algorithm for a payment context. It does not update SR scores.
curl --location "$BASE_URL/routing/evaluate" \
--header "$AUTH_HEADER" \
--header "Content-Type: application/json" \
--data '{
"merchantId": "merchant_demo",
"paymentInfo": {
"paymentId": "eval_001",
"amount": 1000,
"currency": "USD",
"paymentType": "ORDER_PAYMENT",
"paymentMethodType": "CARD",
"paymentMethod": "CREDIT",
"authType": "THREE_DS"
}
}'
{
"priority": [
{ "gateway_name": "stripe", "gateway_id": "mca_111" },
{ "gateway_name": "adyen", "gateway_id": "mca_112" }
]
}
Was this page helpful?