---
title: "Toggle a merchant feature flag"
method: POST
path: "/merchant-account/{merchantId}/features/{feature}"
tags: ["Merchant Account"]
---

# Toggle a merchant feature flag

`POST /merchant-account/{merchantId}/features/{feature}`

Enable or disable one feature flag. Returns the merchant's full flag set.

## Path parameters

- `merchantId` string, required
- `feature` string, required

## Request body

- UpdateFeatureRequest
  - `enabled` boolean, required

## Response `200`

Updated feature flags

- MerchantFeaturesResponse
  - `merchant_id` string
  - `features` MerchantFeatureEntry[]
    - `feature` 'gsm-scoring-filter' | 'explore-exploit-srv3' | 'ab-test-real-payments' | 'multi-objective-routing' | 'elimination' | 'auto-calibration' | 'autopilot'
    - `enabled` boolean

---

[API](https://skmtc.net/juspay/apis/decision-engine.md) · [All operations](https://skmtc.net/juspay/apis/decision-engine/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/juspay/decision-engine/versions/36e7a0972ee6/schema)
