POST/api/public/access-request/stripe/create-checkout

为所选访问套餐创建 Stripe 结账会话。

身份验证与安全

无需身份验证

幂等: 否

参数

package(body, string,必填)— 套餐代码

请求示例

{"package":"starter"}

响应示例

{"ok":false,"error":"STRIPE_NOT_READY","message":"Stripe-Zahlung ist momentan nicht verfügbar."}

错误代码

503 STRIPE_NOT_READY — Stripe 未配置/不可用。

实时测试证明

仅测试了缺少 Stripe 配置时的受控错误情况(503),与 PayPal 类似——未进行任何真实的 Stripe 调用,符合测试要求。

← 公共表单