Run Payment API
由
scripts/generate-api-docs.ts自动生成 —— 请勿手改 共 3 个端点
GET /run-payment/orders
列出 Run 的支付订单(含已完成,供工作日志展示)
请求参数
| 参数名 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
runId | query | string | ✅ |
响应
| 状态码 | 说明 |
|---|---|
| 200 |
POST /run-payment/wechat
微信支付下单(JSAPI / Native)
请求体
json
{
"$ref": "#/components/schemas/RunWechatPaymentDto"
}响应
| 状态码 | 说明 |
|---|---|
| 201 |
POST /run-payment/wechat/notify
微信支付回调(验签/解密后 commit)
请求参数
| 参数名 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
type | query | string | ✅ |
请求体
json
{
"$ref": "#/components/schemas/RunWechatNotifyDto"
}响应
| 状态码 | 说明 |
|---|---|
| 201 |