---
title: "Get debit routing flag"
method: GET
path: "/merchant-account/{merchantId}/debit-routing"
tags: ["Merchant Account"]
---

# Get debit routing flag

`GET /merchant-account/{merchantId}/debit-routing`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/merchant-account/{merchantId}/debit-routing`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Return whether debit/network routing is enabled for a merchant. Missing flag configuration is treated as disabled.

## Path parameters

- `merchantId` string, required

## Response `200`

Debit routing flag

- DebitRoutingResponse
  - `merchant_id` string
  - `debit_routing_enabled` boolean

## Other responses

- `404`: Merchant not found

## Changes

- **2026-08-04** `36e7a0972ee6`: 1 warning, 2 info
  - removed the optional property `error` from the response with the `404` status
  - added the optional property `code` to the response with the `404` status
  - added the optional property `data` to the response with the `404` status
- **2026-04-25** `986e537b0455`: 1 info
  - endpoint added
- **2026-04-10** `9618544de91a`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/juspay/apis/decision-engine/changes/merchant-account/:merchantId/debit-routing/get.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.dev/juspay/apis/decision-engine/revisions/718ef5ac8634?raw)
