---
title: "Get Subscription Renewal Options Endpoint"
method: POST
path: "/miniapp/subscription/renewal/options"
tags: ["miniapp"]
---

# Get Subscription Renewal Options Endpoint

`POST /miniapp/subscription/renewal/options`

## Request

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

Получение доступных вариантов продления подписки.

## Request body

- MiniAppSubscriptionRenewalOptionsRequest
  - `initData` string, required
  - `subscriptionId` integer, nullable

## Response `200`

Successful Response

- MiniAppSubscriptionRenewalOptionsResponse
  - `success` boolean
  - `subscriptionId` integer, nullable
  - `currency` string, required
  - `balanceKopeks` integer, nullable
  - `balanceLabel` string, nullable
  - `promoGroup` MiniAppPromoGroup
    - `id` integer, required
    - `name` string, required
    - `server_discount_percent` integer
    - `traffic_discount_percent` integer
    - `device_discount_percent` integer
    - `period_discounts` object
    - `apply_discounts_to_addons` boolean
  - `promoOffer` object, nullable
  - `periods` MiniAppSubscriptionRenewalPeriod[]
    - `id` string, required
    - `days` integer, nullable
    - `months` integer, nullable
    - `priceKopeks` integer, nullable
    - `priceLabel` string, nullable
    - `originalPriceKopeks` integer, nullable
    - `originalPriceLabel` string, nullable
    - `discountPercent` integer
    - `pricePerMonthKopeks` integer, nullable
    - `pricePerMonthLabel` string, nullable
    - `isRecommended` boolean
    - `description` string, nullable
    - `badge` string, nullable
    - `title` string, nullable
  - `defaultPeriodId` string, nullable
  - `missingAmountKopeks` integer, nullable
  - `statusMessage` string, nullable
  - `autopay_enabled` boolean
  - `autopay_days_before` integer, nullable
  - `autopay_days_options` integer[]
  - `autopay` MiniAppSubscriptionAutopay
    - `enabled` boolean
    - `autopay_enabled` boolean, nullable
    - `autopay_enabled_at` string, date-time, nullable
    - `days_before` integer, nullable
    - `autopay_days_before` integer, nullable
    - `default_days_before` integer, nullable
    - `autopay_days_options` integer[]
    - `days_options` integer[]
    - `options` integer[]
  - `autopay_settings` MiniAppSubscriptionAutopay
    - `enabled` boolean
    - `autopay_enabled` boolean, nullable
    - `autopay_enabled_at` string, date-time, nullable
    - `days_before` integer, nullable
    - `autopay_days_before` integer, nullable
    - `default_days_before` integer, nullable
    - `autopay_days_options` integer[]
    - `days_options` integer[]
    - `options` integer[]
  - `isTrial` boolean
  - `salesMode` string

## 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/miniapp/subscription/renewal/options/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)
