---
title: "Legacy decision gateway"
method: POST
path: "/decision_gateway"
tags: ["Compatibility"]
---

# Legacy decision gateway

`POST /decision_gateway`

Legacy compatibility route. New integrations should use /decide-gateway.

## Request body

- DecideGatewayRequest
  - `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
  - `eligibleGatewayList` string[], required
  - `rankingAlgorithm` 'SR_BASED_ROUTING' | 'PL_BASED_ROUTING' | 'NTW_BASED_ROUTING' | 'NTW_SR_HYBRID_ROUTING', required
  - `eliminationEnabled` boolean

## Response `200`

Gateway decision result

- DecidedGateway
  - `decided_gateway` string
  - `routing_approach` string
  - `gateway_priority_map` object
  - `routing_dimension` string
  - `routing_dimension_level` string
  - `reset_approach` string
  - `is_scheduled_outage` boolean
  - `is_rust_based_decider` boolean
  - `debit_routing_output` DebitRoutingOutput
    - `co_badged_card_networks_info` object[]
      - `network` string
      - `saving_percentage` number
    - `issuer_country` string
    - `is_regulated` boolean
    - `regulated_name` string, nullable
    - `card_type` string
  - `latency` number

## Changes

- **2026-04-25** `986e537b0455` — 1 info
  - endpoint added
- **2026-04-10** `9618544de91a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/juspay/apis/decision-engine/changes/decision_gateway/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/986e537b0455/schema)
