Attributes
- idstring
Unique identifier for the object.
- current_
phasenullable object Object representing the start and end dates for the current phase of the subscription schedule, if it is
active
.- current_phase.
end_ datetimestamp The end of this phase of the subscription schedule.
- current_phase.
start_ datetimestamp The start of this phase of the subscription schedule.
- customerstringExpandable
ID of the customer who owns the subscription schedule.
- metadatanullable object
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.
- phasesarray of objects
Configuration for the subscription schedule’s phases.
- phases.
add_ invoice_ itemsarray of objects A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.
- phases.
add_invoice_items. discountsarray of objects The stackable discounts that will be applied to the item.
- phases.
add_invoice_items. discounts. couponnullable stringExpandable ID of the coupon to create a new discount for.
- phases.
add_invoice_items. discounts. discountnullable stringExpandable ID of an existing discount on the object (or one of its ancestors) to reuse.
- phases.
add_invoice_items. discounts. promotion_ codenullable stringExpandable ID of the promotion code to create a new discount for.
- phases.
add_invoice_items. metadatanullable object 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.
- phases.
add_invoice_items. periodobject The period associated with this invoice item.
- phases.
add_invoice_items. period. endobject End of the invoice item period.
- phases.
add_invoice_items. period. end. timestampnullable timestamp A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to
period.
.start - phases.
add_invoice_items. period. end. typeenum Select how to calculate the end of the invoice item period.
Possible enum valuesmin_
item_ period_ end The minimum
current_
of all underlying subscription items whose periods overlap this phaseperiod_ end phase_
end End of the phase
timestamp
Custom timestamp to use for the end of the invoice item period
- phases.
add_invoice_items. period. startobject Start of the invoice item period.
- phases.
add_invoice_items. period. start. timestampnullable timestamp A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to
period.
.end - phases.
add_invoice_items. period. start. typeenum Select how to calculate the start of the invoice item period.
Possible enum valuesmax_
item_ period_ start The maximum
current_
of all underlying subscription items whose periods overlap this phaseperiod_ start phase_
start Start of the phase
timestamp
Custom timestamp to use for the start of the invoice item period
- phases.
add_invoice_items. pricestringExpandable ID of the price used to generate the invoice item.
- phases.
add_invoice_items. quantitynullable integer The quantity of the invoice item.
- phases.
add_invoice_items. tax_ ratesnullable array of objects The tax rates which apply to the item. When set, the
default_
do not apply to this item.tax_ rates - phases.
add_invoice_items. tax_rates. idstring Unique identifier for the object.
- phases.
add_invoice_items. tax_rates. objectstring String representing the object’s type. Objects of the same type share the same value.
- phases.
add_invoice_items. tax_rates. activeboolean Defaults to
true
. When set tofalse
, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set. - phases.
add_invoice_items. tax_rates. countrynullable string Two-letter country code (ISO 3166-1 alpha-2).
- phases.
add_invoice_items. tax_rates. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- phases.
add_invoice_items. tax_rates. descriptionnullable string An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.
- phases.
add_invoice_items. tax_rates. display_ namestring The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page.
- phases.
add_invoice_items. tax_rates. effective_ percentagenullable float Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage reflects the rate actually used to calculate tax based on the product’s taxability and whether the user is registered to collect taxes in the corresponding jurisdiction.
- phases.
add_invoice_items. tax_rates. flat_ amountnullable object The amount of the tax rate when the
rate_
istype flat_
. Tax rates withamount rate_
type percentage
can vary based on the transaction, resulting in this field beingnull
. This field exposes the amount and currency of the flat tax rate.- phases.
add_invoice_items. tax_rates. flat_amount. amountinteger Amount of the tax when the
rate_
istype flat_
. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).amount - phases.
add_invoice_items. tax_rates. flat_amount. currencystring Three-letter ISO currency code, in lowercase.
- phases.
add_invoice_items. tax_rates. inclusiveboolean This specifies if the tax rate is inclusive or exclusive.
- phases.
add_invoice_items. tax_rates. jurisdictionnullable string The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.
- phases.
add_invoice_items. tax_rates. jurisdiction_ levelnullable enum The level of the jurisdiction that imposes this tax rate. Will be
null
for manually defined tax rates.Possible enum valuescity
country
county
district
multiple
state
- phases.
add_invoice_items. tax_rates. livemodeboolean Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - phases.
add_invoice_items. tax_rates. metadatanullable object 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.
- phases.
add_invoice_items. tax_rates. percentagefloat Tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions.
- phases.
add_invoice_items. tax_rates. rate_ typenullable enum Indicates the type of tax rate applied to the taxable amount. This value can be
null
when no tax applies to the location. This field is only present for TaxRates created by Stripe Tax.Possible enum valuesflat_
amount A fixed amount applied as tax, regardless of the taxable amount, such as a retail delivery fee.
percentage
A tax rate expressed as a percentage of the taxable amount, such as the sales tax rate in California.
- phases.
add_invoice_items. tax_rates. statenullable string ISO 3166-2 subdivision code, without country prefix. For example, “NY” for New York, United States.
- phases.
add_invoice_items. tax_rates. tax_ typenullable enum The high-level tax type, such as
vat
orsales_
.tax Possible enum valuesamusement_
tax Amusement Tax
communications_
tax Communications Tax
gst
Goods and Services Tax
hst
Harmonized Sales Tax
igst
Integrated Goods and Services Tax
jct
Japanese Consumption Tax
lease_
tax Chicago Lease Tax
pst
Provincial Sales Tax
qst
Quebec Sales Tax
retail_
delivery_ fee Retail Delivery Fee
Show 4 more
- phases.
application_ fee_ percentnullable floatConnect only A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner’s Stripe account during this phase of the schedule.
- phases.
automatic_ taxnullable object Automatic tax settings for this phase.
- phases.
automatic_tax. disabled_ reasonnullable enum If Stripe disabled automatic tax, this enum describes why.
Possible enum valuesrequires_
location_ inputs Stripe’s systems automatically turned off Tax for this subscription schedule when finalizing one of its invoices with a missing or incomplete location for your customer.
- phases.
automatic_tax. enabledboolean Whether Stripe automatically computes tax on invoices created during this phase.
- phases.
automatic_tax. liabilitynullable objectConnect only The account that’s liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
- phases.
automatic_tax. liability. accountnullable stringExpandable The connected account being referenced when
type
isaccount
. - phases.
automatic_tax. liability. typeenum Type of the account referenced.
Possible enum valuesaccount
Indicates that the account being referenced is a connected account which is different from the account making the API request but related to it.
self
Indicates that the account being referenced is the account making the API request.
- phases.
billing_ cycle_ anchornullable enum Possible values are
phase_
orstart automatic
. Ifphase_
then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifstart automatic
then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation.Possible enum valuesautomatic
phase_
start - phases.
billing_ thresholdsnullable object Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- phases.
billing_thresholds. amount_ gtenullable integer Monetary threshold that triggers the subscription to create an invoice
- phases.
billing_thresholds. reset_ billing_ cycle_ anchornullable boolean Indicates if the
billing_
should be reset when a threshold is reached. If true,cycle_ anchor billing_
will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not becycle_ anchor true
if the subscription contains items with plans that haveaggregate_
.usage=last_ ever
- phases.
collection_ methodnullable enum Either
charge_
, orautomatically send_
. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription asinvoice active
.Possible enum valuescharge_
automatically send_
invoice - phases.
currencyenum Three-letter ISO currency code, in lowercase. Must be a supported currency.
- phases.
default_ payment_ methodnullable stringExpandable ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer’s invoice settings.
- phases.
default_ tax_ ratesnullable array of objects The default tax rates to apply to the subscription during this phase of the subscription schedule.
- phases.
default_tax_rates. idstring Unique identifier for the object.
- phases.
default_tax_rates. objectstring String representing the object’s type. Objects of the same type share the same value.
- phases.
default_tax_rates. activeboolean Defaults to
true
. When set tofalse
, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set. - phases.
default_tax_rates. countrynullable string Two-letter country code (ISO 3166-1 alpha-2).
- phases.
default_tax_rates. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- phases.
default_tax_rates. descriptionnullable string An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.
- phases.
default_tax_rates. display_ namestring The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page.
- phases.
default_tax_rates. effective_ percentagenullable float Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage reflects the rate actually used to calculate tax based on the product’s taxability and whether the user is registered to collect taxes in the corresponding jurisdiction.
- phases.
default_tax_rates. flat_ amountnullable object The amount of the tax rate when the
rate_
istype flat_
. Tax rates withamount rate_
type percentage
can vary based on the transaction, resulting in this field beingnull
. This field exposes the amount and currency of the flat tax rate.- phases.
default_tax_rates. flat_amount. amountinteger Amount of the tax when the
rate_
istype flat_
. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).amount - phases.
default_tax_rates. flat_amount. currencystring Three-letter ISO currency code, in lowercase.
- phases.
default_tax_rates. inclusiveboolean This specifies if the tax rate is inclusive or exclusive.
- phases.
default_tax_rates. jurisdictionnullable string The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.
- phases.
default_tax_rates. jurisdiction_ levelnullable enum The level of the jurisdiction that imposes this tax rate. Will be
null
for manually defined tax rates.Possible enum valuescity
country
county
district
multiple
state
- phases.
default_tax_rates. livemodeboolean Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - phases.
default_tax_rates. metadatanullable object 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.
- phases.
default_tax_rates. percentagefloat Tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions.
- phases.
default_tax_rates. rate_ typenullable enum Indicates the type of tax rate applied to the taxable amount. This value can be
null
when no tax applies to the location. This field is only present for TaxRates created by Stripe Tax.Possible enum valuesflat_
amount A fixed amount applied as tax, regardless of the taxable amount, such as a retail delivery fee.
percentage
A tax rate expressed as a percentage of the taxable amount, such as the sales tax rate in California.
- phases.
default_tax_rates. statenullable string ISO 3166-2 subdivision code, without country prefix. For example, “NY” for New York, United States.
- phases.
default_tax_rates. tax_ typenullable enum The high-level tax type, such as
vat
orsales_
.tax Possible enum valuesamusement_
tax Amusement Tax
communications_
tax Communications Tax
gst
Goods and Services Tax
hst
Harmonized Sales Tax
igst
Integrated Goods and Services Tax
jct
Japanese Consumption Tax
lease_
tax Chicago Lease Tax
pst
Provincial Sales Tax
qst
Quebec Sales Tax
retail_
delivery_ fee Retail Delivery Fee
Show 4 more
- phases.
descriptionnullable string Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
- phases.
discountsarray of objects The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
- phases.
discounts. couponnullable stringExpandable ID of the coupon to create a new discount for.
- phases.
discounts. discountnullable stringExpandable ID of an existing discount on the object (or one of its ancestors) to reuse.
- phases.
discounts. promotion_ codenullable stringExpandable ID of the promotion code to create a new discount for.
- phases.
end_ datetimestamp The end of this phase of the subscription schedule.
- phases.
invoice_ settingsnullable object The invoice settings applicable during this phase.
- phases.
invoice_settings. account_ tax_ idsnullable array of stringsExpandable The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.
- phases.
invoice_settings. days_ until_ duenullable integer Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
null
for subscription schedules wherebilling=charge_
.automatically - phases.
invoice_settings. issuernullable objectConnect only The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
- phases.
invoice_settings. issuer. accountnullable stringExpandable The connected account being referenced when
type
isaccount
. - phases.
invoice_settings. issuer. typeenum Type of the account referenced.
Possible enum valuesaccount
Indicates that the account being referenced is a connected account which is different from the account making the API request but related to it.
self
Indicates that the account being referenced is the account making the API request.
- phases.
itemsarray of objects Subscription items to configure the subscription to during this phase of the subscription schedule.
- phases.
items. billing_ thresholdsnullable object Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
- phases.
items. billing_thresholds. usage_ gtenullable integer Usage threshold that triggers the subscription to create an invoice
- phases.
items. discountsarray of objects The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use
expand[]=discounts
to expand each discount.- phases.
items. discounts. couponnullable stringExpandable ID of the coupon to create a new discount for.
- phases.
items. discounts. discountnullable stringExpandable ID of an existing discount on the object (or one of its ancestors) to reuse.
- phases.
items. discounts. promotion_ codenullable stringExpandable ID of the promotion code to create a new discount for.
- phases.
items. metadatanullable object Set of key-value pairs that you can attach to an item. Metadata on this item will update the underlying subscription item’s
metadata
when the phase is entered. - phases.
items. pricestringExpandable ID of the price to which the customer should be subscribed.
- phases.
items. quantitynullable integer Quantity of the plan to which the customer should be subscribed.
- phases.
items. tax_ ratesnullable array of objects The tax rates which apply to this
phase_
. When set, theitem default_
on the phase do not apply to thistax_ rates phase_
.item - phases.
items. tax_rates. idstring Unique identifier for the object.
- phases.
items. tax_rates. objectstring String representing the object’s type. Objects of the same type share the same value.
- phases.
items. tax_rates. activeboolean Defaults to
true
. When set tofalse
, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set. - phases.
items. tax_rates. countrynullable string Two-letter country code (ISO 3166-1 alpha-2).
- phases.
items. tax_rates. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- phases.
items. tax_rates. descriptionnullable string An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.
- phases.
items. tax_rates. display_ namestring The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page.
- phases.
items. tax_rates. effective_ percentagenullable float Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage reflects the rate actually used to calculate tax based on the product’s taxability and whether the user is registered to collect taxes in the corresponding jurisdiction.
- phases.
items. tax_rates. flat_ amountnullable object The amount of the tax rate when the
rate_
istype flat_
. Tax rates withamount rate_
type percentage
can vary based on the transaction, resulting in this field beingnull
. This field exposes the amount and currency of the flat tax rate.- phases.
items. tax_rates. flat_amount. amountinteger Amount of the tax when the
rate_
istype flat_
. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).amount - phases.
items. tax_rates. flat_amount. currencystring Three-letter ISO currency code, in lowercase.
- phases.
items. tax_rates. inclusiveboolean This specifies if the tax rate is inclusive or exclusive.
- phases.
items. tax_rates. jurisdictionnullable string The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.
- phases.
items. tax_rates. jurisdiction_ levelnullable enum The level of the jurisdiction that imposes this tax rate. Will be
null
for manually defined tax rates.Possible enum valuescity
country
county
district
multiple
state
- phases.
items. tax_rates. livemodeboolean Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - phases.
items. tax_rates. metadatanullable object 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.
- phases.
items. tax_rates. percentagefloat Tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions.
- phases.
items. tax_rates. rate_ typenullable enum Indicates the type of tax rate applied to the taxable amount. This value can be
null
when no tax applies to the location. This field is only present for TaxRates created by Stripe Tax.Possible enum valuesflat_
amount A fixed amount applied as tax, regardless of the taxable amount, such as a retail delivery fee.
percentage
A tax rate expressed as a percentage of the taxable amount, such as the sales tax rate in California.
- phases.
items. tax_rates. statenullable string ISO 3166-2 subdivision code, without country prefix. For example, “NY” for New York, United States.
- phases.
items. tax_rates. tax_ typenullable enum The high-level tax type, such as
vat
orsales_
.tax Possible enum valuesamusement_
tax Amusement Tax
communications_
tax Communications Tax
gst
Goods and Services Tax
hst
Harmonized Sales Tax
igst
Integrated Goods and Services Tax
jct
Japanese Consumption Tax
lease_
tax Chicago Lease Tax
pst
Provincial Sales Tax
qst
Quebec Sales Tax
retail_
delivery_ fee Retail Delivery Fee
Show 4 more
- phases.
metadatanullable object Set of key-value pairs that you can attach to a phase. Metadata on a schedule’s phase will update the underlying subscription’s
metadata
when the phase is entered. Updating the underlying subscription’smetadata
directly will not affect the current phase’smetadata
. - phases.
on_ behalf_ ofnullable stringExpandableConnect only The account (if any) the charge was made on behalf of for charges associated with the schedule’s subscription. See the Connect documentation for details.
- phases.
proration_ behaviorenum When transitioning phases, controls how prorations are handled (if any). Possible values are
create_
,prorations none
, andalways_
.invoice Possible enum valuesalways_
invoice create_
prorations none
- phases.
start_ datetimestamp The start of this phase of the subscription schedule.
- phases.
transfer_ datanullable objectConnect only The account (if any) the associated subscription’s payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription’s invoices.
- phases.
transfer_data. amount_ percentnullable float A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
- phases.
transfer_data. destinationstringExpandable The account where funds from the payment will be transferred to upon payment success.
- phases.
trial_ endnullable timestamp When the trial ends within the phase.
- statusenum
The present status of the subscription schedule. Possible values are
not_
,started active
,completed
,released
, andcanceled
. You can read more about the different states in our behavior guide.Possible enum valuesactive
canceled
completed
not_
started released
- subscriptionnullable stringExpandable
ID of the subscription managed by the subscription schedule.
More attributes
- objectstring
String representing the object’s type. Objects of the same type share the same value.
- applicationnullable stringExpandableConnect only
ID of the Connect Application that created the schedule.
- billing_
modeobject The billing mode that will be used to process all future operations for the subscription schedule.
- billing_mode.
typeenum Controls how prorations and invoices for subscriptions are calculated and orchestrated.
Possible enum valuesclassic
Calculations for subscriptions and invoices are based on legacy defaults.
flexible
Supports more flexible calculation and orchestration options for subscriptions and invoices.
- billing_mode.
updated_ atnullable timestamp Details on when the current billing_mode was adopted.
- canceled_
atnullable timestamp Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- completed_
atnullable timestamp Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- createdtimestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
- default_
settingsobject Object representing the subscription schedule’s default settings.
- default_settings.
application_ fee_ percentnullable floatConnect only A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner’s Stripe account during this phase of the schedule.
- default_settings.
automatic_ taxobject Default settings for automatic tax computation.
- default_settings.
automatic_tax. disabled_ reasonnullable enum If Stripe disabled automatic tax, this enum describes why.
Possible enum valuesrequires_
location_ inputs Stripe’s systems automatically turned off Tax for this subscription schedule when finalizing one of its invoices with a missing or incomplete location for your customer.
- default_settings.
automatic_tax. enabledboolean Whether Stripe automatically computes tax on invoices created during this phase.
- default_settings.
automatic_tax. liabilitynullable objectConnect only The account that’s liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
- default_settings.
automatic_tax. liability. accountnullable stringExpandable The connected account being referenced when
type
isaccount
. - default_settings.
automatic_tax. liability. typeenum Type of the account referenced.
Possible enum valuesaccount
Indicates that the account being referenced is a connected account which is different from the account making the API request but related to it.
self
Indicates that the account being referenced is the account making the API request.
- default_settings.
billing_ cycle_ anchorenum Possible values are
phase_
orstart automatic
. Ifphase_
then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifstart automatic
then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation.Possible enum valuesautomatic
phase_
start - default_settings.
billing_ thresholdsnullable object Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- default_settings.
billing_thresholds. amount_ gtenullable integer Monetary threshold that triggers the subscription to create an invoice
- default_settings.
billing_thresholds. reset_ billing_ cycle_ anchornullable boolean Indicates if the
billing_
should be reset when a threshold is reached. If true,cycle_ anchor billing_
will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not becycle_ anchor true
if the subscription contains items with plans that haveaggregate_
.usage=last_ ever
- default_settings.
collection_ methodnullable enum Either
charge_
, orautomatically send_
. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription asinvoice active
.Possible enum valuescharge_
automatically Attempt payment using the default source attached to the customer.
send_
invoice Email payment instructions to the customer.
- default_settings.
default_ payment_ methodnullable stringExpandable ID of the default payment method for the subscription schedule. If not set, invoices will use the default payment method in the customer’s invoice settings.
- default_settings.
descriptionnullable string Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
- default_settings.
invoice_ settingsobject The subscription schedule’s default invoice settings.
- default_settings.
invoice_settings. account_ tax_ idsnullable array of stringsExpandable The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
- default_settings.
invoice_settings. days_ until_ duenullable integer Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
null
for subscription schedules wherebilling=charge_
.automatically - default_settings.
invoice_settings. issuerobjectConnect only The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
- default_settings.
invoice_settings. issuer. accountnullable stringExpandable The connected account being referenced when
type
isaccount
. - default_settings.
invoice_settings. issuer. typeenum Type of the account referenced.
Possible enum valuesaccount
Indicates that the account being referenced is a connected account which is different from the account making the API request but related to it.
self
Indicates that the account being referenced is the account making the API request.
- default_settings.
on_ behalf_ ofnullable stringExpandableConnect only The account (if any) the charge was made on behalf of for charges associated with the schedule’s subscription. See the Connect documentation for details.
- default_settings.
transfer_ datanullable objectConnect only The account (if any) the associated subscription’s payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription’s invoices.
- default_settings.
transfer_data. amount_ percentnullable float A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
- default_settings.
transfer_data. destinationstringExpandable The account where funds from the payment will be transferred to upon payment success.
- end_
behaviorenum Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
release
orcancel
with the default beingrelease
.release
will end the subscription schedule and keep the underlying subscription running.cancel
will end the subscription schedule and cancel the underlying subscription.Possible enum valuescancel
Cancel the underlying subscription when the subscription schedule ends.
release
Persist the underlying subscription in its current state when the subscription schedule ends.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - released_
atnullable timestamp Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- released_
subscriptionnullable string ID of the subscription once managed by the subscription schedule (if it is released).
- test_
clocknullable stringExpandable ID of the test clock this subscription schedule belongs to.