---
title: "Change Plan"
method: PUT
path: "/api/v1/billing/subscription/plan"
tags: ["billing"]
---

# Change Plan

`PUT /api/v1/billing/subscription/plan`

## Request

- Base URL: `https://api.gnosari.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gnosari.com/api/v1/billing/subscription/plan`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-AUTH-TOKEN`

Upgrade or downgrade subscription plan.

## Request body

- ChangePlanRequest: Request schema for changing subscription plan.
  - `new_plan_identifier` string, required: New plan identifier
  - `proration_behavior` string: Proration behavior (always_invoice, create_prorations, none)

## Response `200`

Successful Response

- ChangePlanResponse: Response schema for plan change.
  - `subscription` object, required
  - `proration_amount` integer, nullable: Proration amount in cents

## Other responses

- `422`: Validation Error

---

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