---
title: "Downgrade Subscription"
method: POST
path: "/payment/downgrade"
tags: ["PAYMENT"]
---

# Downgrade Subscription

`POST /payment/downgrade`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/payment/downgrade`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Downgrades the user subscription
:param db: The database session for accessing the database.
:param tenant: The current tenant
:param auth: The authorization token for the request.
:return: StandardResponse.

## Headers

- `x-tenant` string

## Request body

- PaymentCheckoutRequest
  - `plan_type` string, required
  - `tenure` string
  - `discount` integer

## Response `200`

Successful Response

- StandardResponse
  - `ok` boolean, required

## Other responses

- `400`: Not supported for public user
- `403`: Not supported for public user
- `422`: Validation Error

---

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