---
title: "Cancel Subscription"
method: POST
path: "/payment/cancel-subscription"
---

# Cancel Subscription

`POST /payment/cancel-subscription`

## Request

- Base URL: `https://api.twtapi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.twtapi.com/payment/cancel-subscription`
- Auth: none declared

Cancel a Stripe subscription (at period end). Only for paid subscription orders of current user.

## Request body

- CancelSubscriptionRequest: 取消订阅。lang 用于把取消结果文案按用户语言返回。
  - `order_no` string, required
  - `lang` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/twtapi/apis/twtapi-backend.md) · [All operations](https://skmtc.dev/twtapi/apis/twtapi-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/twtapi/apis/twtapi-backend/revisions/5295976febaf?raw)
