---
title: "Switch Tariff"
method: POST
path: "/cabinet/subscription/tariff/switch"
tags: ["Cabinet Subscription"]
---

# Switch Tariff

`POST /cabinet/subscription/tariff/switch`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/cabinet/subscription/tariff/switch/post.ts> (a function with typed inputs; its response is checked against the schema)

Switch to a different tariff without changing end date.

## Request body

- TariffPurchaseRequest: Request to purchase a tariff.
  - `tariff_id` integer, required: Tariff ID to purchase
  - `period_days` integer, required: Period in days
  - `traffic_gb` integer, nullable: Custom traffic in GB (for custom_traffic_enabled tariffs)

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-03** `2360876ff9c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/changes/cabinet/subscription/tariff/switch/post.md)

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
