Create Checkout
为已存在的 pending 订单创建渠道收银台会话,返回 checkout_url。
校验顺序:订单存在 → 属于当前用户 → 未过期 → 仍为 pending → 免费 API 单拦截 → 订阅单只允许刷卡 → 支付方式可用。 任何一步不过都直接返回业务错误码,不会改动订单。
渠道下单失败时会把订单置为 cancelled 并打上失败原因标记, 避免订单一直悬在 pending 占位;成功后只写回 provider_session_id。
post/payment/create-checkout
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/create-checkout
- Auth: none declared
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 2 revisions of this API.