---
title: "Upgrade Price"
method: GET
path: "/api/v1/plans/upgrade-price"
tags: ["plans"]
---

# Upgrade Price

`GET /api/v1/plans/upgrade-price`

## Request

- Base URL: `https://duebuddy.work` (the document declares no server; this is the origin it was published from)
- URL: `https://duebuddy.work/api/v1/plans/upgrade-price`
- Auth: none declared

## Query parameters

- `to` string, required
- `period` 'm' | 'y', nullable

## Response `200`

Successful Response

- UpgradeOut
  - `from_plan` string, nullable
  - `to_plan` string, required
  - `upgrade` boolean, required
  - `amount_rub` integer, required
  - `full_price_rub` integer, required
  - `reason` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/duebuddy/apis/duebuddy-api.md) · [All operations](https://skmtc.dev/duebuddy/apis/duebuddy-api/llms.txt) · [OpenAPI document](https://skmtc.dev/duebuddy/apis/duebuddy-api/revisions/c5428d5afda8?raw)
