HandlersSubscriptionStatusResponse
HandlersSubscriptionStatusResponse =
object
Defined in: src/client/types.gen.ts:1248
Properties
cancel_at_period_end
cancel_at_period_end:
boolean
Defined in: src/client/types.gen.ts:1252
true if scheduled to cancel
current_period_end?
optionalcurrent_period_end:number
Defined in: src/client/types.gen.ts:1256
Unix timestamp, only present if subscribed
interval?
optionalinterval:string
Defined in: src/client/types.gen.ts:1260
“month” | “year”, only present if subscribed
payment_provider?
optionalpayment_provider:string
Defined in: src/client/types.gen.ts:1264
“stripe” | “revenuecat” | “staking” — tells the client how to manage subscription (no portal for “staking”; manage on-chain)
plan
plan:
string
Defined in: src/client/types.gen.ts:1268
“free” | “starter” | “pro”
scheduled_interval?
optionalscheduled_interval:string
Defined in: src/client/types.gen.ts:1272
billing interval of the scheduled plan
scheduled_plan?
optionalscheduled_plan:string
Defined in: src/client/types.gen.ts:1276
tier user will switch to at period end
status
status:
string
Defined in: src/client/types.gen.ts:1280
“none” | “active” | “canceling” | “past_due” | “canceled”