Create Checkout Session

创建 Creem Checkout Session,返回支付页面链接。

前端传入套餐数据库 ID(id),后端查表得到真实套餐信息后调用 Creem API, 返回 checkout_url 供前端跳转。支付成功后 Creem 回调 /webhook 完成积分充值。

post/api/creem/v1/create-checkout-session

Request

  • Base URL: https://api.landing-page.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.landing-page.io/api/creem/v1/create-checkout-session
  • Auth: HTTP bearer

Request body

idinteger required
success_urlstring uri required
app_idstring

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.