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

# Submit Subscription Renewal Endpoint

`POST /miniapp/subscription/renewal`

## Request

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

Оформление продления подписки.

## Request body

- MiniAppSubscriptionRenewalRequest
  - `initData` string, required
  - `subscriptionId` integer, nullable
  - `periodId` string, nullable
  - `periodDays` integer, nullable
  - `method` string, nullable

## Response `200`

Successful Response

- MiniAppSubscriptionRenewalResponse
  - `success` boolean
  - `message` string, nullable
  - `balanceKopeks` integer, nullable
  - `balanceLabel` string, nullable
  - `subscriptionId` integer, nullable
  - `renewedUntil` string, date-time, nullable
  - `requiresPayment` boolean
  - `paymentMethod` string, nullable
  - `paymentUrl` string, nullable
  - `paymentAmountKopeks` integer, nullable
  - `paymentId` integer, nullable
  - `invoiceId` string, nullable
  - `paymentPayload` string, nullable
  - `paymentExtra` object, nullable

## 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/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)
