Skip to main content
POST
課金プランをキャンセル

承認

Authorization
string
header
必須

Public API bearer credential sent as Authorization: Bearer <token>. Use either an OAuth access token or a Hybridbox Service account token.

パスパラメータ

account_id
string<uuid>
必須

ボディ

application/json

アカウントのサブスクリプションプランをキャンセルする顧客要求スキーマ。

cancel_at_period_end
boolean
デフォルト:true

請求期間の終了時にプランをキャンセルする

cancel_immediately
boolean
デフォルト:false

すぐにプランをキャンセルしてください

レスポンス

status
string
必須

課金動作状況

account_status
string | null

操作後のアカウントのステータス

effective_at
string<date-time> | null

請求変更が有効になった時期

eligible
boolean | null

アカウントが操作の対象となったかどうか

previous_plan_id
string | null

以前の料金プラン ID

target_plan_id
string | null

対象の料金プランID