Cancels a specific subscription. If a restore_at value is provided, the subscription will be effectively “paused” until that date when it will automatically renew.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The strategy to use when canceling this subscription – one of immediate or pending. If no value is provided, the subscription protocol cancel_behavior will be be used.
The cancellation reason that should be set on the cancellation act when the subscription is canceled or preserved.
The comment that should be set on the cancellation act when the subscription is canceled or preserved.
Success
The UUID of the specific object.
A string describing the object type returned.
The amount to use for this subscription when the associated price is ad_hoc=true.
Time at which the affiliation will expire.
If the subscription is set to cancel at the end of the current period. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period.
Set to true if this subscription is in live mode, and set to false if it is in test mode.
Whether or not this subscription should finalize checkouts during renewal with the manual_payment=true option.
The quantity of products being purchased.
The time at which this subscription will automatically be restored. This can only be set if the subscription is canceled or set to cancel at period end.
Whether installment subscriptions should be automatically restarted when they reach the completed state. When the subscription is created, this value will be inherited from the price restart_subscription_on_completed value.
Whether or not tax is enabled for this subscription. This will default to the account's tax_protocol.tax_enabled value when the subscription is created.
If the subscription has a trial, the end of that trial.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
End of the current period that the subscription is in. At the end of this period, a new period will be created. This will be null when the subscription has a one-time price.
Start of the current period that the subscription is in.
If the subscription has ended, the date the subscription ended.
Whether or not this subscription belongs to a price with a set recurring_period_count, meaning it has a defined end.
Time at which the last renewal reminder notification sent. Measured in seconds since the Unix epoch.
A URL that will redirect to this subscription's correct portal page (hosted or external).
Whether or not the price of this subscription can be modified. If true, the price is locked and cannot be changed
The number of periods remaining before this subscription ends. This count is reduced when a period is paid.
Total of the subscription before discounts or taxes are applied.
The current status of this subscription, which can be one of incomplete, trialing, active, past_due, canceled, or completed.
The affiliation associated with this subscription.
Expandable – The associated cancellation act ID.
Expandable – The associated period ID.
Expandable – The associated customer ID.
Expandable – The associated discount ID.
Expandable – The associated manual payment method ID.
Expandable – The associated payment method ID.
Expandable – Property not returned unless expanded.
Expandable – The associated price ID.
Expandable – The associated purchase ID.
Expandable – The associated shipping method ID.
Expandable – The associated variant ID.
An array of the associated variant's options.
Time at which the object was created. Measured in seconds since the Unix epoch.
Time at which the object was last updated. Measured in seconds since the Unix epoch.