payments

Create Oen Checkout

建立 Oen checkout session,回傳結帳頁 URL 給前端重導。

post/api/v1/payments/oen-checkout

Request

  • Base URL: https://api.slidemaster.tw (the document declares no server; this is the origin it was published from)
  • URL: https://api.slidemaster.tw/api/v1/payments/oen-checkout
  • Auth: none declared

Headers

Authorizationstring nullable

Request body

plan_typestring required

lite_monthly/lite_yearly/basic_monthly/basic_yearly/pro_monthly/pro_yearly

is_subscriptionboolean

定期定額 or 一次性

referral_codestring nullable

可選:已驗證的推薦碼;後端重新驗證,不接受前端傳 referrer UID

Response

Successful Response

unknown required

Changes

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