---
title: "Select Plan"
method: POST
path: "/api/v1/plans/select"
tags: ["plans"]
---

# Select Plan

`POST /api/v1/plans/select`

## 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/select`
- Auth: none declared

## Request body

- SelectIn
  - `plan_code` string, required
  - `period` 'm' | 'y'

## Response `200`

Successful Response

- SelectOut
  - `ok` boolean
  - `plan_code` string, required
  - `period` string, required
  - `amount_rub` integer, required
  - `payment_required` boolean

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