Attributes
- idstring
Unique identifier for the object.
- addressnullable object
The customer’s address.
- address.
citynullable string City, district, suburb, town, or village.
- address.
countrynullable string Two-letter country code (ISO 3166-1 alpha-2).
- address.
line1nullable string Address line 1 (e.g., street, PO Box, or company name).
- address.
line2nullable string Address line 2 (e.g., apartment, suite, unit, or building).
- address.
postal_ codenullable string ZIP or postal code.
- address.
statenullable string State, county, province, or region.
- descriptionnullable string
An arbitrary string attached to the object. Often useful for displaying to users.
- emailnullable string
The customer’s email address.
- metadataobject
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.
- namenullable string
The customer’s full name or business name.
- phonenullable string
The customer’s phone number.
- shippingnullable object
Mailing and shipping address for the customer. Appears on invoices emailed to this customer.
- shipping.
addressobject Customer shipping address.
- shipping.
address. citynullable string City, district, suburb, town, or village.
- shipping.
address. countrynullable string Two-letter country code (ISO 3166-1 alpha-2).
- shipping.
address. line1nullable string Address line 1 (e.g., street, PO Box, or company name).
- shipping.
address. line2nullable string Address line 2 (e.g., apartment, suite, unit, or building).
- shipping.
address. postal_ codenullable string ZIP or postal code.
- shipping.
address. statenullable string State, county, province, or region.
- shipping.
namestring Customer name.
- shipping.
phonenullable string Customer phone (including extension).
- taxobjectExpandable
Tax details for the customer.
- tax.
automatic_ taxenum Surfaces if automatic tax computation is possible given the current customer location information.
Possible enum valuesfailed
There was an error determining the customer’s location. This is usually caused by a temporary issue. Retrieve the customer to try again.
not_
collecting The customer is located in a country or state where you’re not registered to collect tax. Also returned when automatic tax calculation is not supported in the customer’s location.
supported
The customer is located in a country or state where you’re collecting tax.
unrecognized_
location The customer’s location couldn’t be determined. Make sure the provided address information is valid and supported in the customer’s country.
- tax.
ip_ addressnullable string A recent IP address of the customer used for tax reporting and tax location inference.
- tax.
locationnullable object The identified tax location of the customer.
- tax.
location. countrystring The identified tax country of the customer.
- tax.
location. sourceenum The data source used to infer the customer’s location.
- tax.
location. statenullable string The identified tax state, county, province, or region of the customer.
More attributes
- objectstring
String representing the object’s type. Objects of the same type share the same value.
- balanceinteger
The current balance, if any, that’s stored on the customer in their default currency. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that’s added to their next invoice. The balance only considers amounts that Stripe hasn’t successfully applied to any invoice. It doesn’t reflect unpaid invoices. This balance is only taken into account after invoices finalize. For multi-currency balances, see invoice_credit_balance.
- cash_
balancenullable objectExpandable The current funds being held by Stripe on behalf of the customer. You can apply these funds towards payment intents when the source is “cash_balance”. The
settings[reconciliation_
field describes if these funds apply to these payment intents manually or automatically.mode] - cash_balance.
objectstring String representing the object’s type. Objects of the same type share the same value.
- cash_balance.
availablenullable object A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0. Amounts are represented in the smallest currency unit.
- cash_balance.
customerstring The ID of the customer whose cash balance this object represents.
- cash_balance.
livemodeboolean Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - cash_balance.
settingsobject A hash of settings for this cash balance.
- cash_balance.
settings. reconciliation_ modeenum The configuration for how funds that land in the customer cash balance are reconciled.
Possible enum valuesautomatic
manual
- cash_balance.
settings. using_ merchant_ defaultboolean A flag to indicate if reconciliation mode returned is the user’s default or is specific to this customer cash balance
- createdtimestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
- currencynullable string
Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes.
- default_
sourcenullable stringExpandable ID of the default payment source for the customer.
If you use payment methods created through the PaymentMethods API, see the invoice_settings.default_payment_method field instead.
- delinquentnullable boolean
Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the
invoice.
will set this field todue_ date true
.If an invoice becomes uncollectible by dunning,
delinquent
doesn’t reset tofalse
.If you care whether the customer has paid their most recent subscription invoice, use
subscription.
instead. Paying or marking uncollectible any customer invoice regardless of whether it is the latest invoice for a subscription will always set this field tostatus false
. - discountnullable object
Describes the current discount active on the customer, if there is one.
- discount.
idstring The ID of the discount object. Discounts cannot be fetched by ID. Use
expand[]=discounts
in API calls to expand discount IDs in an array. - discount.
objectstring String representing the object’s type. Objects of the same type share the same value.
- discount.
checkout_ sessionnullable string The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode.
- discount.
couponobject Hash describing the coupon applied to create this discount.
- discount.
coupon. idstring Unique identifier for the object.
- discount.
coupon. objectstring String representing the object’s type. Objects of the same type share the same value.
- discount.
coupon. amount_ offnullable integer Amount (in the
currency
specified) that will be taken off the subtotal of any invoices for this customer. - discount.
coupon. applies_ tonullable objectExpandable Contains information about what this coupon applies to.
- discount.
coupon. applies_to. productsarray of strings A list of product IDs this coupon applies to
- discount.
coupon. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- discount.
coupon. currencynullable enum If
amount_
has been set, the three-letter ISO code for the currency of the amount to take off.off - discount.
coupon. currency_ optionsnullable objectExpandable Coupons defined in each available currency option. Each key must be a three-letter ISO currency code and a supported currency.
- discount.
coupon. currency_options. <currency>. amount_ offinteger Amount (in the
currency
specified) that will be taken off the subtotal of any invoices for this customer.
- discount.
coupon. durationenum One of
forever
,once
, orrepeating
. Describes how long a customer who applies this coupon will get the discount.Possible enum valuesforever
Applies to all charges from a subscription with this coupon applied.
once
Applies to the first charge from a subscription with this coupon applied.
repeating
Applies to charges in the first
duration_
months from a subscription with this coupon applied. This value is deprecated and will be replaced in future versions of the API.in_ months - discount.
coupon. duration_ in_ monthsnullable integerDeprecated If
duration
isrepeating
, the number of months the coupon applies. Null if couponduration
isforever
oronce
. - discount.
coupon. livemodeboolean Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - discount.
coupon. max_ redemptionsnullable integer Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.
- discount.
coupon. 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.
- discount.
coupon. namenullable string Name of the coupon displayed to customers on for instance invoices or receipts.
- discount.
coupon. percent_ offnullable float Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon. For example, a coupon with percent_off of 50 will make a $100 invoice $50 instead.
- discount.
coupon. redeem_ bynullable timestamp Date after which the coupon can no longer be redeemed.
- discount.
coupon. times_ redeemedinteger Number of times this coupon has been applied to a customer.
- discount.
coupon. validboolean Taking account of the above properties, whether this coupon can still be applied to a customer.
- discount.
customernullable stringExpandable The ID of the customer associated with this discount.
- discount.
endnullable timestamp If the coupon has a duration of
repeating
, the date that this discount will end. If the coupon has a duration ofonce
orforever
, this attribute will be null. - discount.
invoicenullable string The invoice that the discount’s coupon was applied to, if it was applied directly to a particular invoice.
- discount.
invoice_ itemnullable string The invoice item
id
(or invoice line itemid
for invoice line items of type=‘subscription’) that the discount’s coupon was applied to, if it was applied directly to a particular invoice item or invoice line item. - discount.
promotion_ codenullable stringExpandable The promotion code applied to create this discount.
- discount.
starttimestamp Date that the coupon was applied.
- discount.
subscriptionnullable string The subscription that this coupon is applied to, if it is applied to a particular subscription.
- discount.
subscription_ itemnullable string The subscription item that this coupon is applied to, if it is applied to a particular subscription item.
- invoice_
credit_ balanceobjectExpandable The current multi-currency balances, if any, that’s stored on the customer. If positive in a currency, the customer has a credit to apply to their next invoice denominated in that currency. If negative, the customer has an amount owed that’s added to their next invoice denominated in that currency. These balances don’t apply to unpaid invoices. They solely track amounts that Stripe hasn’t successfully applied to any invoice. Stripe only applies a balance in a specific currency to an invoice after that invoice (which is in the same currency) finalizes.
- invoice_
prefixnullable string The prefix for the customer used to generate unique invoice numbers.
- invoice_
settingsobject The customer’s default invoice settings.
- invoice_settings.
custom_ fieldsnullable array of objects Default custom fields to be displayed on invoices for this customer.
- invoice_settings.
custom_fields. namestring The name of the custom field.
- invoice_settings.
custom_fields. valuestring The value of the custom field.
- invoice_settings.
default_ payment_ methodnullable stringExpandable ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for subscriptions and invoices.
- invoice_settings.
nullable string Default footer to be displayed on invoices for this customer.
- invoice_settings.
rendering_ optionsnullable object Default options for invoice PDF rendering for this customer.
- invoice_settings.
rendering_options. amount_ tax_ displaynullable string How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.
- invoice_settings.
rendering_options. templatenullable string ID of the invoice rendering template to be used for this customer’s invoices. If set, the template will be used on all invoices for this customer unless a template is set directly on the invoice.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - next_
invoice_ sequencenullable integer The suffix of the customer’s next invoice number (for example, 0001). When the account uses account level sequencing, this parameter is ignored in API requests and the field omitted in API responses.
- preferred_
localesnullable array of strings The customer’s preferred locales (languages), ordered by preference.
- sourcesnullable objectExpandable
The customer’s payment sources, if any.
- sources.
objectstring String representing the object’s type. Objects of the same type share the same value. Always has the value
list
. - sources.
dataarray of objects Details about each object.
- sources.
data. idstring Unique identifier for the object.
- sources.
data. objectstring String representing the object’s type. Objects of the same type share the same value.
- sources.
data. accountnullable stringExpandableAvailable conditionally The account this bank account belongs to. Only applicable on Accounts (not customers or recipients) This property is only available when returned as an External Account where controller.is_controller is
true
. - sources.
data. account_ holder_ namenullable string The name of the person or business that owns the bank account.
- sources.
data. account_ holder_ typenullable string The type of entity that holds the account. This can be either
individual
orcompany
. - sources.
data. account_ typenullable string The bank account type. This can only be
checking
orsavings
in most countries. In Japan, this can only befutsu
ortoza
. - sources.
data. available_ payout_ methodsnullable array of enums A set of available payout methods for this bank account. Only values from this set should be passed as the
method
when creating a payout.Possible enum valuesinstant
standard
- sources.
data. bank_ namenullable string Name of the bank associated with the routing number (e.g.,
WELLS FARGO
). - sources.
data. countrystring Two-letter ISO code representing the country the bank account is located in.
- sources.
data. currencyenum Three-letter ISO code for the currency paid out to the bank account.
- sources.
data. customernullable stringExpandable The ID of the customer that the bank account is associated with.
- sources.
data. fingerprintnullable string Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
- sources.
data. last4string The last four digits of the bank account number.
- sources.
data. 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.
- sources.
data. routing_ numbernullable string The routing transit number for the bank account.
- sources.
data. statusstring For bank accounts, possible values are
new
,validated
,verified
,verification_
, orfailed errored
. A bank account that hasn’t had any activity or validation performed isnew
. If Stripe can determine that the bank account exists, its status will bevalidated
. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will beverified
. If the verification failed for any reason, such as microdeposit failure, the status will beverification_
. If a payout sent to this bank account fails, we’ll set the status tofailed errored
and will not continue to send scheduled payouts until the bank details are updated.For external accounts, possible values are
new
,errored
andverification_
. If a payout fails, the status is set tofailed errored
and scheduled payouts are stopped until account details are updated. In the US and India, if we can’t verify the owner of the bank account, we’ll set the status toverification_
. Other validations aren’t run against external accounts because they’re only used for payouts. This means the other statuses don’t apply.failed
- sources.
has_ moreboolean True if this list has another page of items after this one that can be fetched.
- sources.
urlstring The URL where this list can be accessed.
- subscriptionsnullable objectExpandable
The customer’s current subscriptions, if any.
- subscriptions.
objectstring String representing the object’s type. Objects of the same type share the same value. Always has the value
list
. - subscriptions.
dataarray of objects Details about each object.
- subscriptions.
data. idstring Unique identifier for the object.
- subscriptions.
data. objectstring String representing the object’s type. Objects of the same type share the same value.
- subscriptions.
data. applicationnullable stringExpandableConnect only ID of the Connect Application that created the subscription.
- subscriptions.
data. 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.
- subscriptions.
data. automatic_ taxobject Automatic tax settings for this subscription.
- subscriptions.
data. 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 when finalizing one of its invoices with a missing or incomplete location for your customer.
- subscriptions.
data. automatic_tax. enabledboolean Whether Stripe automatically computes tax on this subscription.
- subscriptions.
data. 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.
- subscriptions.
data. automatic_tax. liability. accountnullable stringExpandable The connected account being referenced when
type
isaccount
. - subscriptions.
data. 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.
- subscriptions.
data. billing_ cycle_ anchortimestamp The reference point that aligns future billing cycle dates. It sets the day of week for
week
intervals, the day of month formonth
andyear
intervals, and the month of year foryear
intervals. The timestamp is in UTC format. - subscriptions.
data. billing_ cycle_ anchor_ confignullable object The fixed values used to calculate the
billing_
.cycle_ anchor - subscriptions.
data. billing_cycle_anchor_config. day_ of_ monthinteger The day of the month of the billing_cycle_anchor.
- subscriptions.
data. billing_cycle_anchor_config. hournullable integer The hour of the day of the billing_cycle_anchor.
- subscriptions.
data. billing_cycle_anchor_config. minutenullable integer The minute of the hour of the billing_cycle_anchor.
- subscriptions.
data. billing_cycle_anchor_config. monthnullable integer The month to start full cycle billing periods.
- subscriptions.
data. billing_cycle_anchor_config. secondnullable integer The second of the minute of the billing_cycle_anchor.
- subscriptions.
data. billing_ modeobject Controls how prorations and invoices for subscriptions are calculated and orchestrated.
- subscriptions.
data. 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.
- subscriptions.
data. billing_mode. updated_ atnullable timestamp Details on when the current billing_mode was adopted.
- subscriptions.
data. billing_ thresholdsnullable object Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- subscriptions.
data. billing_thresholds. amount_ gtenullable integer Monetary threshold that triggers the subscription to create an invoice
- subscriptions.
data. 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
- subscriptions.
data. cancel_ atnullable timestamp A date in the future at which the subscription will automatically get canceled
- subscriptions.
data. cancel_ at_ period_ endboolean Whether this subscription will (if
status=active
) or did (ifstatus=canceled
) cancel at the end of the current billing period. - subscriptions.
data. canceled_ atnullable timestamp If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with
cancel_
,at_ period_ end canceled_
will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state.at - subscriptions.
data. cancellation_ detailsnullable object Details about why this subscription was cancelled
- subscriptions.
data. cancellation_details. commentnullable string Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
- subscriptions.
data. cancellation_details. feedbacknullable enum The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
Possible enum valuescustomer_
service Customer service was less than expected
low_
quality Quality was less than expected
missing_
features Some features are missing
other
Other reason
switched_
service I’m switching to a different service
too_
complex Ease of use was less than expected
too_
expensive It’s too expensive
unused
I don’t use the service enough
- subscriptions.
data. cancellation_details. reasonnullable enum Why this subscription was canceled.
Possible enum valuescancellation_
requested payment_
disputed payment_
failed
- subscriptions.
data. collection_ methodenum Either
charge_
, orautomatically send_
. When charging automatically, Stripe will attempt to pay this subscription at the end of the 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 - subscriptions.
data. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- subscriptions.
data. currencyenum Three-letter ISO currency code, in lowercase. Must be a supported currency.
- subscriptions.
data. customerstringExpandable ID of the customer who owns the subscription.
- subscriptions.
data. days_ until_ duenullable integer Number of days a customer has to pay invoices generated by this subscription. This value will be
null
for subscriptions wherecollection_
.method=charge_ automatically - subscriptions.
data. default_ payment_ methodnullable stringExpandable ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over
default_
. If neither are set, invoices will use the customer’s invoice_settings.default_payment_method or default_source.source - subscriptions.
data. default_ sourcenullable stringExpandable ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If
default_
is also set,payment_ method default_
will take precedence. If neither are set, invoices will use the customer’s invoice_settings.default_payment_method or default_source.payment_ method - subscriptions.
data. default_ tax_ ratesnullable array of objects The tax rates that will apply to any subscription item that does not have
tax_
set. Invoices created will have theirrates default_
populated from the subscription.tax_ rates - subscriptions.
data. default_tax_rates. idstring Unique identifier for the object.
- subscriptions.
data. default_tax_rates. objectstring String representing the object’s type. Objects of the same type share the same value.
- subscriptions.
data. 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. - subscriptions.
data. default_tax_rates. countrynullable string Two-letter country code (ISO 3166-1 alpha-2).
- subscriptions.
data. default_tax_rates. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- subscriptions.
data. 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.
- subscriptions.
data. 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.
- subscriptions.
data. 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.
- subscriptions.
data. 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.- subscriptions.
data. 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 - subscriptions.
data. default_tax_rates. flat_amount. currencystring Three-letter ISO currency code, in lowercase.
- subscriptions.
data. default_tax_rates. inclusiveboolean This specifies if the tax rate is inclusive or exclusive.
- subscriptions.
data. 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.
- subscriptions.
data. 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
- subscriptions.
data. 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. - subscriptions.
data. 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.
- subscriptions.
data. 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.
- subscriptions.
data. 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.
- subscriptions.
data. default_tax_rates. statenullable string ISO 3166-2 subdivision code, without country prefix. For example, “NY” for New York, United States.
- subscriptions.
data. 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
- subscriptions.
data. descriptionnullable string The subscription’s 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.
- subscriptions.
data. discountsarray of stringsExpandable The discounts applied to the subscription. Subscription item discounts are applied before subscription discounts. Use
expand[]=discounts
to expand each discount. - subscriptions.
data. ended_ atnullable timestamp If the subscription has ended, the date the subscription ended.
- subscriptions.
data. invoice_ settingsobject All invoices will be billed using the specified settings.
- subscriptions.
data. invoice_settings. account_ tax_ idsnullable array of stringsExpandable The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
- subscriptions.
data. 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.
- subscriptions.
data. invoice_settings. issuer. accountnullable stringExpandable The connected account being referenced when
type
isaccount
. - subscriptions.
data. 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.
- subscriptions.
data. itemsobject List of subscription items, each with an attached price.
- subscriptions.
data. items. objectstring String representing the object’s type. Objects of the same type share the same value. Always has the value
list
. - subscriptions.
data. items. dataarray of objects Details about each object.
- subscriptions.
data. items. data. idstring Unique identifier for the object.
- subscriptions.
data. items. data. objectstring String representing the object’s type. Objects of the same type share the same value.
- subscriptions.
data. items. data. billing_ thresholdsnullable object Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
- subscriptions.
data. items. data. billing_thresholds. usage_ gtenullable integer Usage threshold that triggers the subscription to create an invoice
- subscriptions.
data. items. data. createdinteger Time at which the object was created. Measured in seconds since the Unix epoch.
- subscriptions.
data. items. data. current_ period_ endtimestamp The end time of this subscription item’s current billing period.
- subscriptions.
data. items. data. current_ period_ starttimestamp The start time of this subscription item’s current billing period.
- subscriptions.
data. items. data. discountsarray of stringsExpandable The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use
expand[]=discounts
to expand each discount. - subscriptions.
data. items. data. metadataobject 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.
- subscriptions.
data. items. data. priceobject The price the customer is subscribed to.
- subscriptions.
data. items. data. price. idstring Unique identifier for the object.
- subscriptions.
data. items. data. price. objectstring String representing the object’s type. Objects of the same type share the same value.
- subscriptions.
data. items. data. price. activeboolean Whether the price can be used for new purchases.
- subscriptions.
data. items. data. price. billing_ schemeenum Describes how to compute the price per period. Either
per_
orunit tiered
.per_
indicates that the fixed amount (specified inunit unit_
oramount unit_
) will be charged per unit inamount_ decimal quantity
(for prices withusage_
), or per unit of total usage (for prices withtype=licensed usage_
).type=metered tiered
indicates that the unit pricing will be computed using a tiering strategy as defined using thetiers
andtiers_
attributes.mode Possible enum valuesper_
unit tiered
- subscriptions.
data. items. data. price. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- subscriptions.
data. items. data. price. currencyenum Three-letter ISO currency code, in lowercase. Must be a supported currency.
- subscriptions.
data. items. data. price. currency_ optionsnullable objectExpandable Prices defined in each available currency option. Each key must be a three-letter ISO currency code and a supported currency.
- subscriptions.
data. items. data. price. currency_options. <currency>. custom_ unit_ amountnullable object When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.
- subscriptions.
data. items. data. price. currency_options. <currency>.custom_unit_amount. maximumnullable integer The maximum unit amount the customer can specify for this item.
- subscriptions.
data. items. data. price. currency_options. <currency>.custom_unit_amount. minimumnullable integer The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.
- subscriptions.
data. items. data. price. currency_options. <currency>.custom_unit_amount. presetnullable integer The starting unit amount which can be updated by the customer.
- subscriptions.
data. items. data. price. currency_options. <currency>. tax_ behaviornullable enum Only required if a default tax behavior was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of
inclusive
,exclusive
, orunspecified
. Once specified as eitherinclusive
orexclusive
, it cannot be changed.Possible enum valuesexclusive
inclusive
unspecified
- subscriptions.
data. items. data. price. currency_options. <currency>. tiersnullable array of objectsExpandable Each element represents a pricing tier. This parameter requires
billing_
to be set toscheme tiered
. See also the documentation forbilling_
.scheme - subscriptions.
data. items. data. price. currency_options. <currency>.tiers. flat_ amountnullable integer Price for the entire tier.
- subscriptions.
data. items. data. price. currency_options. <currency>.tiers. flat_ amount_ decimalnullable decimal string Same as
flat_
, but contains a decimal value with at most 12 decimal places.amount - subscriptions.
data. items. data. price. currency_options. <currency>.tiers. unit_ amountnullable integer Per unit price for units relevant to the tier.
- subscriptions.
data. items. data. price. currency_options. <currency>.tiers. unit_ amount_ decimalnullable decimal string Same as
unit_
, but contains a decimal value with at most 12 decimal places.amount - subscriptions.
data. items. data. price. currency_options. <currency>.tiers. up_ tonullable integer Up to and including to this quantity will be contained in the tier.
- subscriptions.
data. items. data. price. currency_options. <currency>. unit_ amountnullable integer The unit amount in cents to be charged, represented as a whole integer if possible. Only set if
billing_
.scheme=per_ unit - subscriptions.
data. items. data. price. currency_options. <currency>. unit_ amount_ decimalnullable decimal string The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places. Only set if
billing_
.scheme=per_ unit
- subscriptions.
data. items. data. price. custom_ unit_ amountnullable object When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.
- subscriptions.
data. items. data. price. custom_unit_amount. maximumnullable integer The maximum unit amount the customer can specify for this item.
- subscriptions.
data. items. data. price. custom_unit_amount. minimumnullable integer The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.
- subscriptions.
data. items. data. price. custom_unit_amount. presetnullable integer The starting unit amount which can be updated by the customer.
- subscriptions.
data. items. data. price. livemodeboolean Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - subscriptions.
data. items. data. price. lookup_ keynullable string A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
- subscriptions.
data. items. data. price. metadataobject 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.
- subscriptions.
data. items. data. price. nicknamenullable string A brief description of the price, hidden from customers.
- subscriptions.
data. items. data. price. productstringExpandable The ID of the product this price is associated with.
- subscriptions.
data. items. data. price. recurringnullable object The recurring components of a price such as
interval
andusage_
.type - subscriptions.
data. items. data. price. recurring. intervalenum The frequency at which a subscription is billed. One of
day
,week
,month
oryear
. - subscriptions.
data. items. data. price. recurring. interval_ countinteger The number of intervals (specified in the
interval
attribute) between subscription billings. For example,interval=month
andinterval_
bills every 3 months.count=3 - subscriptions.
data. items. data. price. recurring. meternullable string The meter tracking the usage of a metered price
- subscriptions.
data. items. data. price. recurring. usage_ typeenum Configures how the quantity per period should be determined. Can be either
metered
orlicensed
.licensed
automatically bills thequantity
set when adding it to a subscription.metered
aggregates the total usage based on usage records. Defaults tolicensed
.
- subscriptions.
data. items. data. price. tax_ behaviornullable enum Only required if a default tax behavior was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of
inclusive
,exclusive
, orunspecified
. Once specified as eitherinclusive
orexclusive
, it cannot be changed.Possible enum valuesexclusive
inclusive
unspecified
- subscriptions.
data. items. data. price. tiersnullable array of objectsExpandable Each element represents a pricing tier. This parameter requires
billing_
to be set toscheme tiered
. See also the documentation forbilling_
.scheme - subscriptions.
data. items. data. price. tiers. flat_ amountnullable integer Price for the entire tier.
- subscriptions.
data. items. data. price. tiers. flat_ amount_ decimalnullable decimal string Same as
flat_
, but contains a decimal value with at most 12 decimal places.amount - subscriptions.
data. items. data. price. tiers. unit_ amountnullable integer Per unit price for units relevant to the tier.
- subscriptions.
data. items. data. price. tiers. unit_ amount_ decimalnullable decimal string Same as
unit_
, but contains a decimal value with at most 12 decimal places.amount - subscriptions.
data. items. data. price. tiers. up_ tonullable integer Up to and including to this quantity will be contained in the tier.
- subscriptions.
data. items. data. price. tiers_ modenullable enum Defines if the tiering price should be
graduated
orvolume
based. Involume
-based tiering, the maximum quantity within a period determines the per unit price. Ingraduated
tiering, pricing can change as the quantity grows.Possible enum valuesgraduated
volume
- subscriptions.
data. items. data. price. transform_ quantitynullable object Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with
tiers
.- subscriptions.
data. items. data. price. transform_quantity. divide_ byinteger Divide usage by this number.
- subscriptions.
data. items. data. price. transform_quantity. roundenum After division, either round the result
up
ordown
.
- subscriptions.
data. items. data. price. typeenum One of
one_
ortime recurring
depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.Possible enum valuesone_
time recurring
- subscriptions.
data. items. data. price. unit_ amountnullable integer The unit amount in cents to be charged, represented as a whole integer if possible. Only set if
billing_
.scheme=per_ unit - subscriptions.
data. items. data. price. unit_ amount_ decimalnullable decimal string The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places. Only set if
billing_
.scheme=per_ unit
- subscriptions.
data. items. data. quantitynullable integer The quantity of the plan to which the customer should be subscribed.
- subscriptions.
data. items. data. subscriptionstring The
subscription
thissubscription_
belongs to.item - subscriptions.
data. items. data. tax_ ratesnullable array of objects The tax rates which apply to this
subscription_
. When set, theitem default_
on the subscription do not apply to thistax_ rates subscription_
.item - subscriptions.
data. items. data. tax_rates. idstring Unique identifier for the object.
- subscriptions.
data. items. data. tax_rates. objectstring String representing the object’s type. Objects of the same type share the same value.
- subscriptions.
data. items. data. 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. - subscriptions.
data. items. data. tax_rates. countrynullable string Two-letter country code (ISO 3166-1 alpha-2).
- subscriptions.
data. items. data. tax_rates. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- subscriptions.
data. items. data. 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.
- subscriptions.
data. items. data. 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.
- subscriptions.
data. items. data. 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.
- subscriptions.
data. items. data. 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.- subscriptions.
data. items. data. 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 - subscriptions.
data. items. data. tax_rates. flat_amount. currencystring Three-letter ISO currency code, in lowercase.
- subscriptions.
data. items. data. tax_rates. inclusiveboolean This specifies if the tax rate is inclusive or exclusive.
- subscriptions.
data. items. data. 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.
- subscriptions.
data. items. data. 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
- subscriptions.
data. items. data. tax_rates. livemodeboolean Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - subscriptions.
data. items. data. 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.
- subscriptions.
data. items. data. 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.
- subscriptions.
data. items. data. 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.
- subscriptions.
data. items. data. tax_rates. statenullable string ISO 3166-2 subdivision code, without country prefix. For example, “NY” for New York, United States.
- subscriptions.
data. items. data. 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
- subscriptions.
data. items. has_ moreboolean True if this list has another page of items after this one that can be fetched.
- subscriptions.
data. items. urlstring The URL where this list can be accessed.
- subscriptions.
data. latest_ invoicenullable stringExpandable The most recent invoice this subscription has generated.
- subscriptions.
data. livemodeboolean Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - subscriptions.
data. metadataobject 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.
- subscriptions.
data. next_ pending_ invoice_ item_ invoicenullable timestamp Specifies the approximate timestamp on which any pending invoice items will be billed according to the schedule provided at
pending_
.invoice_ item_ interval - subscriptions.
data. on_ behalf_ ofnullable stringExpandableConnect only The account (if any) the charge was made on behalf of for charges associated with this subscription. See the Connect documentation for details.
- subscriptions.
data. pause_ collectionnullable object If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to
paused
. Learn more about pausing collection.- subscriptions.
data. pause_collection. behaviorenum The payment collection behavior for this subscription while paused. One of
keep_
,as_ draft mark_
, oruncollectible void
.Possible enum valueskeep_
as_ draft mark_
uncollectible void
- subscriptions.
data. pause_collection. resumes_ atnullable timestamp The time after which the subscription will resume collecting payments.
- subscriptions.
data. payment_ settingsnullable object Payment settings passed on to invoices created by the subscription.
- subscriptions.
data. payment_settings. payment_ method_ optionsnullable object Payment-method-specific configuration to provide to invoices created by the subscription.
- subscriptions.
data. payment_settings. payment_method_options. acss_ debitnullable object This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to invoices created by the subscription.
- subscriptions.
data. payment_settings. payment_method_options. acss_debit. mandate_ optionsnullable object Additional fields for Mandate creation
- subscriptions.
data. payment_settings. payment_method_options. acss_debit. mandate_options. transaction_ typenullable enum Transaction type of the mandate.
Possible enum valuesbusiness
Transactions are made for business reasons
personal
Transactions are made for personal reasons
- subscriptions.
data. payment_settings. payment_method_options. acss_debit. verification_ methodnullable enum Bank account verification method.
Possible enum valuesautomatic
Instant verification with fallback to microdeposits.
instant
Instant verification.
microdeposits
Verification using microdeposits.
- subscriptions.
data. payment_settings. payment_method_options. bancontactnullable object This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
- subscriptions.
data. payment_settings. payment_method_options. bancontact. preferred_ languageenum Preferred language of the Bancontact authorization page that the customer is redirected to.
Possible enum valuesde
German
en
English
fr
French
nl
Dutch
- subscriptions.
data. payment_settings. payment_method_options. cardnullable object This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
- subscriptions.
data. payment_settings. payment_method_options. card. mandate_ optionsnullable object Configuration options for setting up an eMandate for cards issued in India.
- subscriptions.
data. payment_settings. payment_method_options. card. mandate_options. amountnullable integer Amount to be charged for future payments.
- subscriptions.
data. payment_settings. payment_method_options. card. mandate_options. amount_ typenullable enum One of
fixed
ormaximum
. Iffixed
, theamount
param refers to the exact amount to be charged in future payments. Ifmaximum
, the amount charged can be up to the value passed for theamount
param.Possible enum valuesfixed
If
fixed
, theamount
param refers to the exact amount to be charged in future payments.maximum
If
maximum
, the amount charged can be up to the value passed for theamount
param. - subscriptions.
data. payment_settings. payment_method_options. card. mandate_options. descriptionnullable string A description of the mandate or subscription that is meant to be displayed to the customer.
- subscriptions.
data. payment_settings. payment_method_options. card. networknullable enum Selected network to process this Subscription on. Depends on the available networks of the card attached to the Subscription. Can be only set confirm-time.
Possible enum valuesamex
cartes_
bancaires diners
discover
eftpos_
au girocard
interac
jcb
link
mastercard
Show 3 more - subscriptions.
data. payment_settings. payment_method_options. card. request_ three_ d_ securenullable enumadvanced We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements. However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and our SCA Engine.
Possible enum valuesany
Use
any
to manually request 3DS with a preference for africtionless
flow, increasing the likelihood of the authentication being completed without any additional input from the customer. 3DS will always be attempted if it is supported for the card, but Stripe can’t guarantee your preference because the issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our guide.automatic
(Default) Our SCA Engine automatically prompts your customers for authentication based on risk level and other requirements.
challenge
Use
challenge
to request 3DS with a preference for achallenge
flow, where the customer must respond to a prompt for active authentication. Stripe can’t guarantee your preference because the issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our guide.
- subscriptions.
data. payment_settings. payment_method_options. customer_ balancenullable object This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
- subscriptions.
data. payment_settings. payment_method_options. customer_balance. bank_ transfernullable object Configuration for the bank transfer funding type, if the
funding_
is set totype bank_
.transfer - subscriptions.
data. payment_settings. payment_method_options. customer_balance. bank_transfer. eu_ bank_ transfernullable object Configuration for eu_bank_transfer funding type.
- subscriptions.
data. payment_settings. payment_method_options. customer_balance. bank_transfer. eu_bank_transfer. countryenum The desired country code of the bank account information. Permitted values include:
BE
,DE
,ES
,FR
,IE
, orNL
.Possible enum valuesBE
DE
ES
FR
IE
NL
- subscriptions.
data. payment_settings. payment_method_options. customer_balance. bank_transfer. typenullable enum The bank transfer type that can be used for funding. Permitted values include:
eu_
,bank_ transfer gb_
,bank_ transfer jp_
,bank_ transfer mx_
, orbank_ transfer us_
.bank_ transfer
- subscriptions.
data. payment_settings. payment_method_options. customer_balance. funding_ typenullable enum The funding method type to be used when there are not enough funds in the customer balance. Permitted values include:
bank_
.transfer Possible enum valuesbank_
transfer
- subscriptions.
data. payment_settings. payment_method_options. konbininullable object This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
- subscriptions.
data. payment_settings. payment_method_options. sepa_ debitnullable object This sub-hash contains details about the SEPA Direct Debit payment method options to pass to invoices created by the subscription.
- subscriptions.
data. payment_settings. payment_method_options. us_ bank_ accountnullable object This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
- subscriptions.
data. payment_settings. payment_method_options. us_bank_account. financial_ connectionsnullable object Additional fields for Financial Connections Session creation
- subscriptions.
data. payment_settings. payment_method_options. us_bank_account. financial_connections. filtersnullable object Filter the list of accounts that are allowed to be linked.
- subscriptions.
data. payment_settings. payment_method_options. us_bank_account. financial_connections. filters. account_ subcategoriesnullable array of enums The account subcategories to use to filter for possible accounts to link. Valid subcategories are
checking
andsavings
.Possible enum valueschecking
Bank account subcategory is checking
savings
Bank account subcategory is savings
- subscriptions.
data. payment_settings. payment_method_options. us_bank_account. financial_connections. permissionsnullable array of enums The list of permissions to request. The
payment_
permission must be included.method Possible enum valuesbalances
Allows accessing balance data from the account.
ownership
Allows accessing ownership data from the account.
payment_
method Allows the creation of a payment method from the account.
transactions
Allows accessing transactions data from the account.
- subscriptions.
data. payment_settings. payment_method_options. us_bank_account. financial_connections. prefetchnullable array of enums Data features requested to be retrieved upon account creation.
Possible enum valuesbalances
Requests to prefetch balance data on accounts collected in this session.
ownership
Requests to prefetch ownership data on accounts collected in this session.
transactions
Requests to prefetch transaction data on accounts collected in this session.
- subscriptions.
data. payment_settings. payment_method_options. us_bank_account. verification_ methodnullable enum Bank account verification method.
Possible enum valuesautomatic
Instant verification with fallback to microdeposits.
instant
Instant verification only.
microdeposits
Verification using microdeposits. Cannot be used with Stripe Checkout, Hosted Invoices, or Payment Element.
- subscriptions.
data. payment_settings. payment_ method_ typesnullable array of enums The list of payment method types to provide to every invoice created by the subscription. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your invoice template settings.
Possible enum valuesach_
debit ACH
acss_
debit Canadian pre-authorized debit
affirm
Affirm
If set, the Subscription
collection_
must bemethod send_
.invoice amazon_
pay Amazon Pay
au_
becs_ debit BECS Direct Debit
bacs_
debit Bacs Direct Debit
bancontact
Bancontact
If set, the Subscription
collection_
must bemethod send_
.invoice boleto
Boleto
card
Card
cashapp
Cash App Pay
Show 26 more - subscriptions.
data. payment_settings. save_ default_ payment_ methodnullable enum Configure whether Stripe updates
subscription.
when payment succeeds. Defaults todefault_ payment_ method off
.Possible enum valuesoff
Stripe never sets
subscription.
.default_ payment_ method on_
subscription Stripe sets
subscription.
when a subscription payment succeeds.default_ payment_ method
- subscriptions.
data. pending_ invoice_ item_ intervalnullable object Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling Create an invoice for the given subscription at the specified interval.
- subscriptions.
data. pending_invoice_item_interval. intervalenum Specifies invoicing frequency. Either
day
,week
,month
oryear
.Possible enum valuesday
month
week
year
- subscriptions.
data. pending_invoice_item_interval. interval_ countinteger The number of intervals between invoices. For example,
interval=month
andinterval_
bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).count=3
- subscriptions.
data. pending_ setup_ intentnullable stringExpandable You can use this SetupIntent to collect user authentication when creating a subscription without immediate payment or updating a subscription’s payment method, allowing you to optimize for off-session payments. Learn more in the SCA Migration Guide.
- subscriptions.
data. pending_ updatenullable object If specified, pending updates that will be applied to the subscription once the
latest_
has been paid.invoice - subscriptions.
data. pending_update. billing_ cycle_ anchornullable timestamp If the update is applied, determines the date of the first full invoice, and, for plans with
month
oryear
intervals, the day of the month for subsequent invoices. The timestamp is in UTC format. - subscriptions.
data. pending_update. expires_ attimestamp The point after which the changes reflected by this update will be discarded and no longer applied.
- subscriptions.
data. pending_update. subscription_ itemsnullable array of objects List of subscription items, each with an attached plan, that will be set if the update is applied.
- subscriptions.
data. pending_update. subscription_items. idstring Unique identifier for the object.
- subscriptions.
data. pending_update. subscription_items. objectstring String representing the object’s type. Objects of the same type share the same value.
- subscriptions.
data. pending_update. subscription_items. billing_ thresholdsnullable object Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
- subscriptions.
data. pending_update. subscription_items. billing_thresholds. usage_ gtenullable integer Usage threshold that triggers the subscription to create an invoice
- subscriptions.
data. pending_update. subscription_items. createdinteger Time at which the object was created. Measured in seconds since the Unix epoch.
- subscriptions.
data. pending_update. subscription_items. current_ period_ endtimestamp The end time of this subscription item’s current billing period.
- subscriptions.
data. pending_update. subscription_items. current_ period_ starttimestamp The start time of this subscription item’s current billing period.
- subscriptions.
data. pending_update. subscription_items. discountsarray of stringsExpandable The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use
expand[]=discounts
to expand each discount. - subscriptions.
data. pending_update. subscription_items. metadataobject 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.
- subscriptions.
data. pending_update. subscription_items. priceobject The price the customer is subscribed to.
- subscriptions.
data. pending_update. subscription_items. price. idstring Unique identifier for the object.
- subscriptions.
data. pending_update. subscription_items. price. objectstring String representing the object’s type. Objects of the same type share the same value.
- subscriptions.
data. pending_update. subscription_items. price. activeboolean Whether the price can be used for new purchases.
- subscriptions.
data. pending_update. subscription_items. price. billing_ schemeenum Describes how to compute the price per period. Either
per_
orunit tiered
.per_
indicates that the fixed amount (specified inunit unit_
oramount unit_
) will be charged per unit inamount_ decimal quantity
(for prices withusage_
), or per unit of total usage (for prices withtype=licensed usage_
).type=metered tiered
indicates that the unit pricing will be computed using a tiering strategy as defined using thetiers
andtiers_
attributes.mode Possible enum valuesper_
unit tiered
- subscriptions.
data. pending_update. subscription_items. price. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- subscriptions.
data. pending_update. subscription_items. price. currencyenum Three-letter ISO currency code, in lowercase. Must be a supported currency.
- subscriptions.
data. pending_update. subscription_items. price. currency_ optionsnullable objectExpandable Prices defined in each available currency option. Each key must be a three-letter ISO currency code and a supported currency.
- subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>. custom_ unit_ amountnullable object When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.
- subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>.custom_unit_amount. maximumnullable integer The maximum unit amount the customer can specify for this item.
- subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>.custom_unit_amount. minimumnullable integer The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.
- subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>.custom_unit_amount. presetnullable integer The starting unit amount which can be updated by the customer.
- subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>. tax_ behaviornullable enum Only required if a default tax behavior was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of
inclusive
,exclusive
, orunspecified
. Once specified as eitherinclusive
orexclusive
, it cannot be changed.Possible enum valuesexclusive
inclusive
unspecified
- subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>. tiersnullable array of objectsExpandable Each element represents a pricing tier. This parameter requires
billing_
to be set toscheme tiered
. See also the documentation forbilling_
.scheme - subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>.tiers. flat_ amountnullable integer Price for the entire tier.
- subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>.tiers. flat_ amount_ decimalnullable decimal string Same as
flat_
, but contains a decimal value with at most 12 decimal places.amount - subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>.tiers. unit_ amountnullable integer Per unit price for units relevant to the tier.
- subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>.tiers. unit_ amount_ decimalnullable decimal string Same as
unit_
, but contains a decimal value with at most 12 decimal places.amount - subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>.tiers. up_ tonullable integer Up to and including to this quantity will be contained in the tier.
- subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>. unit_ amountnullable integer The unit amount in cents to be charged, represented as a whole integer if possible. Only set if
billing_
.scheme=per_ unit - subscriptions.
data. pending_update. subscription_items. price. currency_options. <currency>. unit_ amount_ decimalnullable decimal string The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places. Only set if
billing_
.scheme=per_ unit
- subscriptions.
data. pending_update. subscription_items. price. custom_ unit_ amountnullable object When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.
- subscriptions.
data. pending_update. subscription_items. price. custom_unit_amount. maximumnullable integer The maximum unit amount the customer can specify for this item.
- subscriptions.
data. pending_update. subscription_items. price. custom_unit_amount. minimumnullable integer The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.
- subscriptions.
data. pending_update. subscription_items. price. custom_unit_amount. presetnullable integer The starting unit amount which can be updated by the customer.
- subscriptions.
data. pending_update. subscription_items. price. livemodeboolean Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - subscriptions.
data. pending_update. subscription_items. price. lookup_ keynullable string A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
- subscriptions.
data. pending_update. subscription_items. price. metadataobject 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.
- subscriptions.
data. pending_update. subscription_items. price. nicknamenullable string A brief description of the price, hidden from customers.
- subscriptions.
data. pending_update. subscription_items. price. productstringExpandable The ID of the product this price is associated with.
- subscriptions.
data. pending_update. subscription_items. price. recurringnullable object The recurring components of a price such as
interval
andusage_
.type - subscriptions.
data. pending_update. subscription_items. price. recurring. intervalenum The frequency at which a subscription is billed. One of
day
,week
,month
oryear
. - subscriptions.
data. pending_update. subscription_items. price. recurring. interval_ countinteger The number of intervals (specified in the
interval
attribute) between subscription billings. For example,interval=month
andinterval_
bills every 3 months.count=3 - subscriptions.
data. pending_update. subscription_items. price. recurring. meternullable string The meter tracking the usage of a metered price
- subscriptions.
data. pending_update. subscription_items. price. recurring. usage_ typeenum Configures how the quantity per period should be determined. Can be either
metered
orlicensed
.licensed
automatically bills thequantity
set when adding it to a subscription.metered
aggregates the total usage based on usage records. Defaults tolicensed
.
- subscriptions.
data. pending_update. subscription_items. price. tax_ behaviornullable enum Only required if a default tax behavior was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of
inclusive
,exclusive
, orunspecified
. Once specified as eitherinclusive
orexclusive
, it cannot be changed.Possible enum valuesexclusive
inclusive
unspecified
- subscriptions.
data. pending_update. subscription_items. price. tiersnullable array of objectsExpandable Each element represents a pricing tier. This parameter requires
billing_
to be set toscheme tiered
. See also the documentation forbilling_
.scheme - subscriptions.
data. pending_update. subscription_items. price. tiers. flat_ amountnullable integer Price for the entire tier.
- subscriptions.
data. pending_update. subscription_items. price. tiers. flat_ amount_ decimalnullable decimal string Same as
flat_
, but contains a decimal value with at most 12 decimal places.amount - subscriptions.
data. pending_update. subscription_items. price. tiers. unit_ amountnullable integer Per unit price for units relevant to the tier.
- subscriptions.
data. pending_update. subscription_items. price. tiers. unit_ amount_ decimalnullable decimal string Same as
unit_
, but contains a decimal value with at most 12 decimal places.amount - subscriptions.
data. pending_update. subscription_items. price. tiers. up_ tonullable integer Up to and including to this quantity will be contained in the tier.
- subscriptions.
data. pending_update. subscription_items. price. tiers_ modenullable enum Defines if the tiering price should be
graduated
orvolume
based. Involume
-based tiering, the maximum quantity within a period determines the per unit price. Ingraduated
tiering, pricing can change as the quantity grows.Possible enum valuesgraduated
volume
- subscriptions.
data. pending_update. subscription_items. price. transform_ quantitynullable object Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with
tiers
.- subscriptions.
data. pending_update. subscription_items. price. transform_quantity. divide_ byinteger Divide usage by this number.
- subscriptions.
data. pending_update. subscription_items. price. transform_quantity. roundenum After division, either round the result
up
ordown
.
- subscriptions.
data. pending_update. subscription_items. price. typeenum One of
one_
ortime recurring
depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.Possible enum valuesone_
time recurring
- subscriptions.
data. pending_update. subscription_items. price. unit_ amountnullable integer The unit amount in cents to be charged, represented as a whole integer if possible. Only set if
billing_
.scheme=per_ unit - subscriptions.
data. pending_update. subscription_items. price. unit_ amount_ decimalnullable decimal string The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places. Only set if
billing_
.scheme=per_ unit
- subscriptions.
data. pending_update. subscription_items. quantitynullable integer The quantity of the plan to which the customer should be subscribed.
- subscriptions.
data. pending_update. subscription_items. subscriptionstring The
subscription
thissubscription_
belongs to.item - subscriptions.
data. pending_update. subscription_items. tax_ ratesnullable array of objects The tax rates which apply to this
subscription_
. When set, theitem default_
on the subscription do not apply to thistax_ rates subscription_
.item - subscriptions.
data. pending_update. subscription_items. tax_rates. idstring Unique identifier for the object.
- subscriptions.
data. pending_update. subscription_items. tax_rates. objectstring String representing the object’s type. Objects of the same type share the same value.
- subscriptions.
data. pending_update. subscription_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. - subscriptions.
data. pending_update. subscription_items. tax_rates. countrynullable string Two-letter country code (ISO 3166-1 alpha-2).
- subscriptions.
data. pending_update. subscription_items. tax_rates. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- subscriptions.
data. pending_update. subscription_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.
- subscriptions.
data. pending_update. subscription_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.
- subscriptions.
data. pending_update. subscription_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.
- subscriptions.
data. pending_update. subscription_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.- subscriptions.
data. pending_update. subscription_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 - subscriptions.
data. pending_update. subscription_items. tax_rates. flat_amount. currencystring Three-letter ISO currency code, in lowercase.
- subscriptions.
data. pending_update. subscription_items. tax_rates. inclusiveboolean This specifies if the tax rate is inclusive or exclusive.
- subscriptions.
data. pending_update. subscription_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.
- subscriptions.
data. pending_update. subscription_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
- subscriptions.
data. pending_update. subscription_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. - subscriptions.
data. pending_update. subscription_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.
- subscriptions.
data. pending_update. subscription_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.
- subscriptions.
data. pending_update. subscription_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.
- subscriptions.
data. pending_update. subscription_items. tax_rates. statenullable string ISO 3166-2 subdivision code, without country prefix. For example, “NY” for New York, United States.
- subscriptions.
data. pending_update. subscription_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
- subscriptions.
data. pending_update. trial_ endnullable timestamp Unix timestamp representing the end of the trial period the customer will get before being charged for the first time, if the update is applied.
- subscriptions.
data. pending_update. trial_ from_ plannullable boolean Indicates if a plan’s
trial_
should be applied to the subscription. Settingperiod_ days trial_
per subscription is preferred, and this defaults toend false
. Setting this flag totrue
together withtrial_
is not allowed. See Using trial periods on subscriptions to learn more.end
- subscriptions.
data. schedulenullable stringExpandable The schedule attached to the subscription
- subscriptions.
data. start_ datetimestamp Date when the subscription was first created. The date might differ from the
created
date due to backdating. - subscriptions.
data. statusenum Possible values are
incomplete
,incomplete_
,expired trialing
,active
,past_
,due canceled
,unpaid
, orpaused
.For
collection_
a subscription moves intomethod=charge_ automatically incomplete
if the initial payment attempt fails. A subscription in this status can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into anactive
status. If the first invoice is not paid within 23 hours, the subscription transitions toincomplete_
. This is a terminal status, the open invoice will be voided and no further invoices will be generated.expired A subscription that is currently in a trial period is
trialing
and moves toactive
when the trial period is over.A subscription can only enter a
paused
status when a trial ends without a payment method. Apaused
subscription doesn’t generate invoices and can be resumed after your customer adds their payment method. Thepaused
status is different from pausing collection, which still generates invoices and leaves the subscription’s status unchanged.If subscription
collection_
, it becomesmethod=charge_ automatically past_
when payment is required but cannot be paid (due to failed payment or awaiting additional user actions). Once Stripe has exhausted all payment retry attempts, the subscription will becomedue canceled
orunpaid
(depending on your subscriptions settings).If subscription
collection_
it becomesmethod=send_ invoice past_
when its invoice is not paid by the due date, anddue canceled
orunpaid
if it is still not paid by an additional deadline after that. Note that when a subscription has a status ofunpaid
, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices. - subscriptions.
data. test_ clocknullable stringExpandable ID of the test clock this subscription belongs to.
- subscriptions.
data. transfer_ datanullable objectConnect only The account (if any) the 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.
- subscriptions.
data. 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.
- subscriptions.
data. transfer_data. destinationstringExpandable The account where funds from the payment will be transferred to upon payment success.
- subscriptions.
data. trial_ endnullable timestamp If the subscription has a trial, the end of that trial.
- subscriptions.
data. trial_ settingsnullable object Settings related to subscription trials.
- subscriptions.
data. trial_settings. end_ behaviorobject Defines how the subscription should behave when the user’s free trial ends.
- subscriptions.
data. trial_settings. end_behavior. missing_ payment_ methodenum Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
Possible enum valuescancel
Cancel the subscription if a payment method is not attached when the trial ends.
create_
invoice Create an invoice when the trial ends, even if the user did not set up a payment method.
pause
Pause the subscription if a payment method is not attached when the trial ends.
- subscriptions.
data. trial_ startnullable timestamp If the subscription has a trial, the beginning of that trial.
- subscriptions.
has_ moreboolean True if this list has another page of items after this one that can be fetched.
- subscriptions.
urlstring The URL where this list can be accessed.
- tax_
exemptnullable enum Describes the customer’s tax exemption status, which is
none
,exempt
, orreverse
. When set toreverse
, invoice and receipt PDFs include the following text: “Reverse charge”.Possible enum valuesexempt
none
reverse
- tax_
idsnullable objectExpandable The customer’s tax IDs.
- tax_ids.
objectstring String representing the object’s type. Objects of the same type share the same value. Always has the value
list
. - tax_ids.
dataarray of objects Details about each object.
- tax_ids.
data. idstring Unique identifier for the object.
- tax_ids.
data. objectstring String representing the object’s type. Objects of the same type share the same value.
- tax_ids.
data. countrynullable string Two-letter ISO code representing the country of the tax ID.
- tax_ids.
data. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- tax_ids.
data. customernullable stringExpandable ID of the customer.
- tax_ids.
data. livemodeboolean Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - tax_ids.
data. ownernullable object The account or customer the tax ID belongs to.
- tax_ids.
data. owner. accountnullable stringExpandable The account being referenced when
type
isaccount
. - tax_ids.
data. owner. applicationnullable stringExpandable The Connect Application being referenced when
type
isapplication
. - tax_ids.
data. owner. customernullable stringExpandable The customer being referenced when
type
iscustomer
. - tax_ids.
data. owner. typeenum Type of owner referenced.
Possible enum valuesaccount
Indicates an account is being referenced.
application
Indicates an application is being referenced.
customer
Indicates a customer is being referenced.
self
Indicates that the account being referenced is the account making the API request.
- tax_ids.
data. typeenum Type of the tax ID, one of
ad_
,nrt ae_
,trn al_
,tin am_
,tin ao_
,tin ar_
,cuit au_
,abn au_
,arn aw_
,tin az_
,tin ba_
,tin bb_
,tin bd_
,bin bf_
,ifu bg_
,uic bh_
,vat bj_
,ifu bo_
,tin br_
,cnpj br_
,cpf bs_
,tin by_
,tin ca_
,bn ca_
,gst_ hst ca_
,pst_ bc ca_
,pst_ mb ca_
,pst_ sk ca_
,qst cd_
,nif ch_
,uid ch_
,vat cl_
,tin cm_
,niu cn_
,tin co_
,nit cr_
,tin cv_
,nif de_
,stn do_
,rcn ec_
,ruc eg_
,tin es_
,cif et_
,tin eu_
,oss_ vat eu_
,vat gb_
,vat ge_
,vat gn_
,nif hk_
,br hr_
,oib hu_
,tin id_
,npwp il_
,vat in_
,gst is_
,vat jp_
,cn jp_
,rn jp_
,trn ke_
,pin kg_
,tin kh_
,tin kr_
,brn kz_
,bin la_
,tin li_
,uid li_
,vat ma_
,vat md_
,vat me_
,pib mk_
,vat mr_
,nif mx_
,rfc my_
,frp my_
,itn my_
,sst ng_
,tin no_
,vat no_
,voec np_
,pan nz_
,gst om_
,vat pe_
,ruc ph_
,tin ro_
,tin rs_
,pib ru_
,inn ru_
,kpp sa_
,vat sg_
,gst sg_
,uen si_
,tin sn_
,ninea sr_
,fin sv_
,nit th_
,vat tj_
,tin tr_
,tin tw_
,vat tz_
,vat ua_
,vat ug_
,tin us_
,ein uy_
,ruc uz_
,tin uz_
,vat ve_
,rif vn_
,tin za_
,vat zm_
, ortin zw_
. Note that some legacy tax IDs have typetin unknown
Possible enum valuesad_
nrt ae_
trn al_
tin am_
tin ao_
tin ar_
cuit au_
abn au_
arn aw_
tin az_
tin Show 101 more - tax_ids.
data. valuestring Value of the tax ID.
- tax_ids.
data. verificationnullable object Tax ID verification information.
- tax_ids.
data. verification. statusenum Verification status, one of
pending
,verified
,unverified
, orunavailable
.Possible enum valuespending
unavailable
unverified
verified
- tax_ids.
data. verification. verified_ addressnullable string Verified address.
- tax_ids.
data. verification. verified_ namenullable string Verified name.
- tax_ids.
has_ moreboolean True if this list has another page of items after this one that can be fetched.
- tax_ids.
urlstring The URL where this list can be accessed.
- test_
clocknullable stringExpandable ID of the test clock that this customer belongs to.
{ "id": "cus_NffrFeUfNV2Hib", "object": "customer", "address": null, "balance": 0, "created": 1680893993, "currency": null, "default_source": null, "delinquent": false, "description": null, "email": "jennyrosen@example.com", "invoice_prefix": "0759376C", "invoice_settings": { "custom_fields": null, "default_payment_method": null, "footer": null, "rendering_options": null }, "livemode": false, "metadata": {}, "name": "Jenny Rosen", "next_invoice_sequence": 1, "phone": null, "preferred_locales": [], "shipping": null, "tax_exempt": "none", "test_clock": null}