---
title: "Alipay Credit Create"
method: POST
path: "/api/v1/payment/alipay/credit/create"
tags: ["payment"]
---

# Alipay Credit Create

`POST /api/v1/payment/alipay/credit/create`

## Request

- Base URL: `https://api.ticktest.cn` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ticktest.cn/api/v1/payment/alipay/credit/create`
- Auth: none declared

创建支付宝信用套餐支付订单（电脑网站支付）。

## Request body

- AlipayCreditCreateRequest: 支付宝信用套餐创建订单请求
  - `plan_id` string, required: 套餐ID: basic(29元) / pro(99元) / enterprise(299元)

## Response `200`

Successful Response

- AlipayCreditCreateResponse
  - `success` boolean, required
  - `out_trade_no` string, nullable
  - `amount` string, nullable
  - `plan_name` string, nullable
  - `credits` integer, nullable
  - `payment_form` string, nullable
  - `pay_url` string, nullable
  - `pay_method` string, nullable
  - `message` string, nullable

## Other responses

- `422`: Validation Error

---

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