---
title: "Create Subscription Payment"
method: POST
path: "/payments/subscription/create"
tags: ["Payments"]
---

# Create Subscription Payment

`POST /payments/subscription/create`

创建订阅支付订单（允许 API KEY 过期后续费）

## Request body

- CreateSubscriptionPaymentRequest
  - `plan_code` string, required — 订阅计划代码 (standard_monthly, pro_monthly, pro_yearly, ultra_yearly)
  - `payment_method` 'alipay' | 'wxpay' — 支付方式 (alipay 或 wxpay)
  - `method` 'api' | 'web', nullable — 支付接口类型 (api 或 web)
  - `return_url` string, nullable — 支付后的自定义返回URL

## Response `200`

Successful Response

- SubscriptionPaymentResponse
  - `order_no` string, required
  - `payment_url` string, nullable
  - `qr_code` string, nullable
  - `qr_img` string, nullable
  - `status` string, required
  - `plan_code` string, required
  - `plan_name` string, required
  - `message` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/deepshare/apis/markdown-to-docx-converter.md) · [All operations](https://skmtc.dev/deepshare/apis/markdown-to-docx-converter/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/deepshare/markdown-to-docx-converter/revisions/3c4ed7b0427a/schema)
