---
title: "Set Plan"
method: POST
path: "/platform/account/plan"
tags: ["platform"]
---

# Set Plan

`POST /platform/account/plan`

## Request

- Base URL: `https://api.infersports.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infersports.dev/platform/account/plan`
- Auth: none declared

Change the account's plan.

DEV STUB: while ``platform_dev_mode`` is on this sets the plan with NO payment, so the
upgrade-then-mint-a-higher-tier-key flow is testable end to end. In production this endpoint
is disabled — it will be replaced by a real billing flow (Stripe checkout + webhook), per
docs/db-selection.md / the Phase 3 roadmap.

## Request body

- SetPlanRequest
  - `plan` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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