---
title: "Evaluate routing rule"
method: POST
path: "/routing/evaluate"
tags: ["Routing Rules"]
---

# Evaluate routing rule

`POST /routing/evaluate`

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.

## Request body

- EvaluateRoutingRequest
  - `merchantId` string, required
  - `paymentInfo` PaymentInfo, required
    - `paymentId` string, required
    - `amount` number, float, required
    - `currency` string, required
    - `country` string
    - `customerId` string
    - `paymentType` 'ORDER_PAYMENT' | 'MANDATE_PAYMENT', required
    - `paymentMethodType` 'CARD' | 'UPI' | 'WALLET' | 'NETBANKING', required
    - `paymentMethod` 'CREDIT' | 'DEBIT', required
    - `authType` 'THREE_DS' | 'NO_THREE_DS'
    - `cardIsin` string

## Response `200`

Evaluation result with ordered gateway list

- object

## Changes

- **2026-04-10** `9618544de91a` — 2 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
  - the endpoint scheme security `BearerAuth` was removed from the API

[Change history](https://skmtc.dev/juspay/apis/decision-engine/changes/routing/evaluate/post.md)

---

[API](https://skmtc.dev/juspay/apis/decision-engine.md) · [All operations](https://skmtc.dev/juspay/apis/decision-engine/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/juspay/decision-engine/revisions/9618544de91a/schema)
