Magidoc

StripeSubscription
Object

An Organization's billing subscription backed by Stripe. status holds internal scheduling states before the Stripe subscription exists ("start_tomorrow", "start_after_verification") and otherwise mirrors Stripe's status (e.g. "cancel_at_period_end", "canceled"). isManualPayment marks invoiced subscriptions and flatFeeAmount their flat fee; cancelAt is a scheduled cancellation time and lastSuccessfulPaymentAt the most recent successful charge. Links to its billingContact and stripeCustomer. Created via createStripeSubscription (which returns the Organization) and read by organization admins through OrganizationWithSubscription.stripeSubscription.

Fields

#

billingContact

Non-null

billingContactId

Non-null

cancelAt

flatFeeAmount

id

Non-null

insertedAt

Non-null

isManualPayment

Non-null

lastSuccessfulPaymentAt

organizationId

Non-null

status

Non-null

stripeCustomer

Non-null

stripeCustomerId

Non-null

updatedAt

Non-null

userId

Usages

#

References

#