published on Friday, Aug 14, 2026 by Pulumi
published on Friday, Aug 14, 2026 by Pulumi
A subscription schedule allows you to create and manage the lifecycle of a subscription by predefining expected changes.
Related guide: Subscription schedules
Create SubscriptionSchedule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SubscriptionSchedule(name: string, args?: SubscriptionScheduleArgs, opts?: CustomResourceOptions);@overload
def SubscriptionSchedule(resource_name: str,
args: Optional[SubscriptionScheduleArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SubscriptionSchedule(resource_name: str,
opts: Optional[ResourceOptions] = None,
billing_mode: Optional[SubscriptionScheduleBillingModeArgs] = None,
customer: Optional[str] = None,
customer_account: Optional[str] = None,
default_settings: Optional[SubscriptionScheduleDefaultSettingsArgs] = None,
end_behavior: Optional[str] = None,
from_subscription: Optional[str] = None,
metadata: Optional[Mapping[str, str]] = None,
phases: Optional[Sequence[SubscriptionSchedulePhaseArgs]] = None,
start_date: Optional[float] = None)func NewSubscriptionSchedule(ctx *Context, name string, args *SubscriptionScheduleArgs, opts ...ResourceOption) (*SubscriptionSchedule, error)public SubscriptionSchedule(string name, SubscriptionScheduleArgs? args = null, CustomResourceOptions? opts = null)
public SubscriptionSchedule(String name, SubscriptionScheduleArgs args)
public SubscriptionSchedule(String name, SubscriptionScheduleArgs args, CustomResourceOptions options)
type: stripe:SubscriptionSchedule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "stripe_subscription_schedule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SubscriptionScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SubscriptionScheduleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SubscriptionScheduleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubscriptionScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubscriptionScheduleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var subscriptionScheduleResource = new Stripe.SubscriptionSchedule("subscriptionScheduleResource", new()
{
BillingMode = new Stripe.Inputs.SubscriptionScheduleBillingModeArgs
{
Type = "string",
Flexible = new Stripe.Inputs.SubscriptionScheduleBillingModeFlexibleArgs
{
ProrationDiscounts = "string",
},
UpdatedAt = 0.0,
},
Customer = "string",
CustomerAccount = "string",
DefaultSettings = new Stripe.Inputs.SubscriptionScheduleDefaultSettingsArgs
{
ApplicationFeePercent = 0.0,
AutomaticTax = new Stripe.Inputs.SubscriptionScheduleDefaultSettingsAutomaticTaxArgs
{
Enabled = false,
DisabledReason = "string",
Liability = new Stripe.Inputs.SubscriptionScheduleDefaultSettingsAutomaticTaxLiabilityArgs
{
Type = "string",
Account = "string",
},
},
BillingCycleAnchor = "string",
BillingThresholds = new Stripe.Inputs.SubscriptionScheduleDefaultSettingsBillingThresholdsArgs
{
AmountGte = 0.0,
ResetBillingCycleAnchor = false,
},
CollectionMethod = "string",
DefaultPaymentMethod = "string",
Description = "string",
InvoiceSettings = new Stripe.Inputs.SubscriptionScheduleDefaultSettingsInvoiceSettingsArgs
{
AccountTaxIds = new[]
{
"string",
},
DaysUntilDue = 0.0,
Issuer = new Stripe.Inputs.SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuerArgs
{
Type = "string",
Account = "string",
},
},
OnBehalfOf = "string",
TransferData = new Stripe.Inputs.SubscriptionScheduleDefaultSettingsTransferDataArgs
{
Destination = "string",
AmountPercent = 0.0,
},
},
EndBehavior = "string",
FromSubscription = "string",
Metadata =
{
{ "string", "string" },
},
Phases = new[]
{
new Stripe.Inputs.SubscriptionSchedulePhaseArgs
{
Items = new[]
{
new Stripe.Inputs.SubscriptionSchedulePhaseItemArgs
{
BillingThresholds = new Stripe.Inputs.SubscriptionSchedulePhaseItemBillingThresholdsArgs
{
UsageGte = 0.0,
},
Discounts = new[]
{
new Stripe.Inputs.SubscriptionSchedulePhaseItemDiscountArgs
{
Coupon = "string",
Discount = "string",
PromotionCode = "string",
},
},
Metadata =
{
{ "string", "string" },
},
Plan = "string",
Price = "string",
PriceData = new Stripe.Inputs.SubscriptionSchedulePhaseItemPriceDataArgs
{
Currency = "string",
Product = "string",
Recurring = new Stripe.Inputs.SubscriptionSchedulePhaseItemPriceDataRecurringArgs
{
Interval = "string",
IntervalCount = 0.0,
},
TaxBehavior = "string",
UnitAmount = 0.0,
UnitAmountDecimal = 0.0,
},
Quantity = 0.0,
TaxRates = new[]
{
"string",
},
},
},
Discounts = new[]
{
new Stripe.Inputs.SubscriptionSchedulePhaseDiscountArgs
{
Coupon = "string",
Discount = "string",
PromotionCode = "string",
},
},
EndDate = 0.0,
BillingCycleAnchor = "string",
BillingThresholds = new Stripe.Inputs.SubscriptionSchedulePhaseBillingThresholdsArgs
{
AmountGte = 0.0,
ResetBillingCycleAnchor = false,
},
CollectionMethod = "string",
Currency = "string",
DefaultPaymentMethod = "string",
DefaultTaxRates = new[]
{
"string",
},
Description = "string",
AddInvoiceItems = new[]
{
new Stripe.Inputs.SubscriptionSchedulePhaseAddInvoiceItemArgs
{
Discountable = false,
Discounts = new[]
{
new Stripe.Inputs.SubscriptionSchedulePhaseAddInvoiceItemDiscountArgs
{
Coupon = "string",
Discount = "string",
PromotionCode = "string",
},
},
Metadata =
{
{ "string", "string" },
},
Period = new Stripe.Inputs.SubscriptionSchedulePhaseAddInvoiceItemPeriodArgs
{
End = new Stripe.Inputs.SubscriptionSchedulePhaseAddInvoiceItemPeriodEndArgs
{
Type = "string",
Timestamp = 0.0,
},
Start = new Stripe.Inputs.SubscriptionSchedulePhaseAddInvoiceItemPeriodStartArgs
{
Type = "string",
Timestamp = 0.0,
},
},
Price = "string",
PriceData = new Stripe.Inputs.SubscriptionSchedulePhaseAddInvoiceItemPriceDataArgs
{
Currency = "string",
Product = "string",
TaxBehavior = "string",
UnitAmount = 0.0,
UnitAmountDecimal = 0.0,
},
Quantity = 0.0,
TaxRates = new[]
{
"string",
},
},
},
AutomaticTax = new Stripe.Inputs.SubscriptionSchedulePhaseAutomaticTaxArgs
{
Enabled = false,
DisabledReason = "string",
Liability = new Stripe.Inputs.SubscriptionSchedulePhaseAutomaticTaxLiabilityArgs
{
Type = "string",
Account = "string",
},
},
InvoiceSettings = new Stripe.Inputs.SubscriptionSchedulePhaseInvoiceSettingsArgs
{
AccountTaxIds = new[]
{
"string",
},
DaysUntilDue = 0.0,
Issuer = new Stripe.Inputs.SubscriptionSchedulePhaseInvoiceSettingsIssuerArgs
{
Type = "string",
Account = "string",
},
},
Duration = new Stripe.Inputs.SubscriptionSchedulePhaseDurationArgs
{
Interval = "string",
IntervalCount = 0.0,
},
ApplicationFeePercent = 0.0,
Metadata =
{
{ "string", "string" },
},
OnBehalfOf = "string",
ProrationBehavior = "string",
StartDate = 0.0,
TransferData = new Stripe.Inputs.SubscriptionSchedulePhaseTransferDataArgs
{
Destination = "string",
AmountPercent = 0.0,
},
Trial = false,
TrialEnd = 0.0,
},
},
StartDate = 0.0,
});
example, err := stripe.NewSubscriptionSchedule(ctx, "subscriptionScheduleResource", &stripe.SubscriptionScheduleArgs{
BillingMode: &stripe.SubscriptionScheduleBillingModeArgs{
Type: pulumi.String("string"),
Flexible: &stripe.SubscriptionScheduleBillingModeFlexibleArgs{
ProrationDiscounts: pulumi.String("string"),
},
UpdatedAt: pulumi.Float64(0),
},
Customer: pulumi.String("string"),
CustomerAccount: pulumi.String("string"),
DefaultSettings: &stripe.SubscriptionScheduleDefaultSettingsArgs{
ApplicationFeePercent: pulumi.Float64(0),
AutomaticTax: &stripe.SubscriptionScheduleDefaultSettingsAutomaticTaxArgs{
Enabled: pulumi.Bool(false),
DisabledReason: pulumi.String("string"),
Liability: &stripe.SubscriptionScheduleDefaultSettingsAutomaticTaxLiabilityArgs{
Type: pulumi.String("string"),
Account: pulumi.String("string"),
},
},
BillingCycleAnchor: pulumi.String("string"),
BillingThresholds: &stripe.SubscriptionScheduleDefaultSettingsBillingThresholdsArgs{
AmountGte: pulumi.Float64(0),
ResetBillingCycleAnchor: pulumi.Bool(false),
},
CollectionMethod: pulumi.String("string"),
DefaultPaymentMethod: pulumi.String("string"),
Description: pulumi.String("string"),
InvoiceSettings: &stripe.SubscriptionScheduleDefaultSettingsInvoiceSettingsArgs{
AccountTaxIds: pulumi.StringArray{
pulumi.String("string"),
},
DaysUntilDue: pulumi.Float64(0),
Issuer: &stripe.SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuerArgs{
Type: pulumi.String("string"),
Account: pulumi.String("string"),
},
},
OnBehalfOf: pulumi.String("string"),
TransferData: &stripe.SubscriptionScheduleDefaultSettingsTransferDataArgs{
Destination: pulumi.String("string"),
AmountPercent: pulumi.Float64(0),
},
},
EndBehavior: pulumi.String("string"),
FromSubscription: pulumi.String("string"),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
Phases: stripe.SubscriptionSchedulePhaseArray{
&stripe.SubscriptionSchedulePhaseArgs{
Items: stripe.SubscriptionSchedulePhaseItemArray{
&stripe.SubscriptionSchedulePhaseItemArgs{
BillingThresholds: &stripe.SubscriptionSchedulePhaseItemBillingThresholdsArgs{
UsageGte: pulumi.Float64(0),
},
Discounts: stripe.SubscriptionSchedulePhaseItemDiscountArray{
&stripe.SubscriptionSchedulePhaseItemDiscountArgs{
Coupon: pulumi.String("string"),
Discount: pulumi.String("string"),
PromotionCode: pulumi.String("string"),
},
},
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
Plan: pulumi.String("string"),
Price: pulumi.String("string"),
PriceData: &stripe.SubscriptionSchedulePhaseItemPriceDataArgs{
Currency: pulumi.String("string"),
Product: pulumi.String("string"),
Recurring: &stripe.SubscriptionSchedulePhaseItemPriceDataRecurringArgs{
Interval: pulumi.String("string"),
IntervalCount: pulumi.Float64(0),
},
TaxBehavior: pulumi.String("string"),
UnitAmount: pulumi.Float64(0),
UnitAmountDecimal: pulumi.Float64(0),
},
Quantity: pulumi.Float64(0),
TaxRates: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Discounts: stripe.SubscriptionSchedulePhaseDiscountArray{
&stripe.SubscriptionSchedulePhaseDiscountArgs{
Coupon: pulumi.String("string"),
Discount: pulumi.String("string"),
PromotionCode: pulumi.String("string"),
},
},
EndDate: pulumi.Float64(0),
BillingCycleAnchor: pulumi.String("string"),
BillingThresholds: &stripe.SubscriptionSchedulePhaseBillingThresholdsArgs{
AmountGte: pulumi.Float64(0),
ResetBillingCycleAnchor: pulumi.Bool(false),
},
CollectionMethod: pulumi.String("string"),
Currency: pulumi.String("string"),
DefaultPaymentMethod: pulumi.String("string"),
DefaultTaxRates: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
AddInvoiceItems: stripe.SubscriptionSchedulePhaseAddInvoiceItemArray{
&stripe.SubscriptionSchedulePhaseAddInvoiceItemArgs{
Discountable: pulumi.Bool(false),
Discounts: stripe.SubscriptionSchedulePhaseAddInvoiceItemDiscountArray{
&stripe.SubscriptionSchedulePhaseAddInvoiceItemDiscountArgs{
Coupon: pulumi.String("string"),
Discount: pulumi.String("string"),
PromotionCode: pulumi.String("string"),
},
},
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
Period: &stripe.SubscriptionSchedulePhaseAddInvoiceItemPeriodArgs{
End: &stripe.SubscriptionSchedulePhaseAddInvoiceItemPeriodEndArgs{
Type: pulumi.String("string"),
Timestamp: pulumi.Float64(0),
},
Start: &stripe.SubscriptionSchedulePhaseAddInvoiceItemPeriodStartArgs{
Type: pulumi.String("string"),
Timestamp: pulumi.Float64(0),
},
},
Price: pulumi.String("string"),
PriceData: &stripe.SubscriptionSchedulePhaseAddInvoiceItemPriceDataArgs{
Currency: pulumi.String("string"),
Product: pulumi.String("string"),
TaxBehavior: pulumi.String("string"),
UnitAmount: pulumi.Float64(0),
UnitAmountDecimal: pulumi.Float64(0),
},
Quantity: pulumi.Float64(0),
TaxRates: pulumi.StringArray{
pulumi.String("string"),
},
},
},
AutomaticTax: &stripe.SubscriptionSchedulePhaseAutomaticTaxArgs{
Enabled: pulumi.Bool(false),
DisabledReason: pulumi.String("string"),
Liability: &stripe.SubscriptionSchedulePhaseAutomaticTaxLiabilityArgs{
Type: pulumi.String("string"),
Account: pulumi.String("string"),
},
},
InvoiceSettings: &stripe.SubscriptionSchedulePhaseInvoiceSettingsArgs{
AccountTaxIds: pulumi.StringArray{
pulumi.String("string"),
},
DaysUntilDue: pulumi.Float64(0),
Issuer: &stripe.SubscriptionSchedulePhaseInvoiceSettingsIssuerArgs{
Type: pulumi.String("string"),
Account: pulumi.String("string"),
},
},
Duration: &stripe.SubscriptionSchedulePhaseDurationArgs{
Interval: pulumi.String("string"),
IntervalCount: pulumi.Float64(0),
},
ApplicationFeePercent: pulumi.Float64(0),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
OnBehalfOf: pulumi.String("string"),
ProrationBehavior: pulumi.String("string"),
StartDate: pulumi.Float64(0),
TransferData: &stripe.SubscriptionSchedulePhaseTransferDataArgs{
Destination: pulumi.String("string"),
AmountPercent: pulumi.Float64(0),
},
Trial: pulumi.Bool(false),
TrialEnd: pulumi.Float64(0),
},
},
StartDate: pulumi.Float64(0),
})
resource "stripe_subscription_schedule" "subscriptionScheduleResource" {
lifecycle {
create_before_destroy = true
}
billing_mode = {
type = "string"
flexible = {
proration_discounts = "string"
}
updated_at = 0
}
customer = "string"
customer_account = "string"
default_settings = {
application_fee_percent = 0
automatic_tax = {
enabled = false
disabled_reason = "string"
liability = {
type = "string"
account = "string"
}
}
billing_cycle_anchor = "string"
billing_thresholds = {
amount_gte = 0
reset_billing_cycle_anchor = false
}
collection_method = "string"
default_payment_method = "string"
description = "string"
invoice_settings = {
account_tax_ids = ["string"]
days_until_due = 0
issuer = {
type = "string"
account = "string"
}
}
on_behalf_of = "string"
transfer_data = {
destination = "string"
amount_percent = 0
}
}
end_behavior = "string"
from_subscription = "string"
metadata = {
"string" = "string"
}
phases {
items {
billing_thresholds = {
usage_gte = 0
}
discounts {
coupon = "string"
discount = "string"
promotion_code = "string"
}
metadata = {
"string" = "string"
}
plan = "string"
price = "string"
price_data = {
currency = "string"
product = "string"
recurring = {
interval = "string"
interval_count = 0
}
tax_behavior = "string"
unit_amount = 0
unit_amount_decimal = 0
}
quantity = 0
tax_rates = ["string"]
}
discounts {
coupon = "string"
discount = "string"
promotion_code = "string"
}
end_date = 0
billing_cycle_anchor = "string"
billing_thresholds = {
amount_gte = 0
reset_billing_cycle_anchor = false
}
collection_method = "string"
currency = "string"
default_payment_method = "string"
default_tax_rates = ["string"]
description = "string"
add_invoice_items {
discountable = false
discounts {
coupon = "string"
discount = "string"
promotion_code = "string"
}
metadata = {
"string" = "string"
}
period = {
end = {
type = "string"
timestamp = 0
}
start = {
type = "string"
timestamp = 0
}
}
price = "string"
price_data = {
currency = "string"
product = "string"
tax_behavior = "string"
unit_amount = 0
unit_amount_decimal = 0
}
quantity = 0
tax_rates = ["string"]
}
automatic_tax = {
enabled = false
disabled_reason = "string"
liability = {
type = "string"
account = "string"
}
}
invoice_settings = {
account_tax_ids = ["string"]
days_until_due = 0
issuer = {
type = "string"
account = "string"
}
}
duration = {
interval = "string"
interval_count = 0
}
application_fee_percent = 0
metadata = {
"string" = "string"
}
on_behalf_of = "string"
proration_behavior = "string"
start_date = 0
transfer_data = {
destination = "string"
amount_percent = 0
}
trial = false
trial_end = 0
}
start_date = 0
}
var subscriptionScheduleResource = new SubscriptionSchedule("subscriptionScheduleResource", SubscriptionScheduleArgs.builder()
.billingMode(SubscriptionScheduleBillingModeArgs.builder()
.type("string")
.flexible(SubscriptionScheduleBillingModeFlexibleArgs.builder()
.prorationDiscounts("string")
.build())
.updatedAt(0.0)
.build())
.customer("string")
.customerAccount("string")
.defaultSettings(SubscriptionScheduleDefaultSettingsArgs.builder()
.applicationFeePercent(0.0)
.automaticTax(SubscriptionScheduleDefaultSettingsAutomaticTaxArgs.builder()
.enabled(false)
.disabledReason("string")
.liability(SubscriptionScheduleDefaultSettingsAutomaticTaxLiabilityArgs.builder()
.type("string")
.account("string")
.build())
.build())
.billingCycleAnchor("string")
.billingThresholds(SubscriptionScheduleDefaultSettingsBillingThresholdsArgs.builder()
.amountGte(0.0)
.resetBillingCycleAnchor(false)
.build())
.collectionMethod("string")
.defaultPaymentMethod("string")
.description("string")
.invoiceSettings(SubscriptionScheduleDefaultSettingsInvoiceSettingsArgs.builder()
.accountTaxIds("string")
.daysUntilDue(0.0)
.issuer(SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuerArgs.builder()
.type("string")
.account("string")
.build())
.build())
.onBehalfOf("string")
.transferData(SubscriptionScheduleDefaultSettingsTransferDataArgs.builder()
.destination("string")
.amountPercent(0.0)
.build())
.build())
.endBehavior("string")
.fromSubscription("string")
.metadata(Map.of("string", "string"))
.phases(SubscriptionSchedulePhaseArgs.builder()
.items(SubscriptionSchedulePhaseItemArgs.builder()
.billingThresholds(SubscriptionSchedulePhaseItemBillingThresholdsArgs.builder()
.usageGte(0.0)
.build())
.discounts(SubscriptionSchedulePhaseItemDiscountArgs.builder()
.coupon("string")
.discount("string")
.promotionCode("string")
.build())
.metadata(Map.of("string", "string"))
.plan("string")
.price("string")
.priceData(SubscriptionSchedulePhaseItemPriceDataArgs.builder()
.currency("string")
.product("string")
.recurring(SubscriptionSchedulePhaseItemPriceDataRecurringArgs.builder()
.interval("string")
.intervalCount(0.0)
.build())
.taxBehavior("string")
.unitAmount(0.0)
.unitAmountDecimal(0.0)
.build())
.quantity(0.0)
.taxRates("string")
.build())
.discounts(SubscriptionSchedulePhaseDiscountArgs.builder()
.coupon("string")
.discount("string")
.promotionCode("string")
.build())
.endDate(0.0)
.billingCycleAnchor("string")
.billingThresholds(SubscriptionSchedulePhaseBillingThresholdsArgs.builder()
.amountGte(0.0)
.resetBillingCycleAnchor(false)
.build())
.collectionMethod("string")
.currency("string")
.defaultPaymentMethod("string")
.defaultTaxRates("string")
.description("string")
.addInvoiceItems(SubscriptionSchedulePhaseAddInvoiceItemArgs.builder()
.discountable(false)
.discounts(SubscriptionSchedulePhaseAddInvoiceItemDiscountArgs.builder()
.coupon("string")
.discount("string")
.promotionCode("string")
.build())
.metadata(Map.of("string", "string"))
.period(SubscriptionSchedulePhaseAddInvoiceItemPeriodArgs.builder()
.end(SubscriptionSchedulePhaseAddInvoiceItemPeriodEndArgs.builder()
.type("string")
.timestamp(0.0)
.build())
.start(SubscriptionSchedulePhaseAddInvoiceItemPeriodStartArgs.builder()
.type("string")
.timestamp(0.0)
.build())
.build())
.price("string")
.priceData(SubscriptionSchedulePhaseAddInvoiceItemPriceDataArgs.builder()
.currency("string")
.product("string")
.taxBehavior("string")
.unitAmount(0.0)
.unitAmountDecimal(0.0)
.build())
.quantity(0.0)
.taxRates("string")
.build())
.automaticTax(SubscriptionSchedulePhaseAutomaticTaxArgs.builder()
.enabled(false)
.disabledReason("string")
.liability(SubscriptionSchedulePhaseAutomaticTaxLiabilityArgs.builder()
.type("string")
.account("string")
.build())
.build())
.invoiceSettings(SubscriptionSchedulePhaseInvoiceSettingsArgs.builder()
.accountTaxIds("string")
.daysUntilDue(0.0)
.issuer(SubscriptionSchedulePhaseInvoiceSettingsIssuerArgs.builder()
.type("string")
.account("string")
.build())
.build())
.duration(SubscriptionSchedulePhaseDurationArgs.builder()
.interval("string")
.intervalCount(0.0)
.build())
.applicationFeePercent(0.0)
.metadata(Map.of("string", "string"))
.onBehalfOf("string")
.prorationBehavior("string")
.startDate(0.0)
.transferData(SubscriptionSchedulePhaseTransferDataArgs.builder()
.destination("string")
.amountPercent(0.0)
.build())
.trial(false)
.trialEnd(0.0)
.build())
.startDate(0.0)
.build());
subscription_schedule_resource = stripe.SubscriptionSchedule("subscriptionScheduleResource",
billing_mode={
"type": "string",
"flexible": {
"proration_discounts": "string",
},
"updated_at": float(0),
},
customer="string",
customer_account="string",
default_settings={
"application_fee_percent": float(0),
"automatic_tax": {
"enabled": False,
"disabled_reason": "string",
"liability": {
"type": "string",
"account": "string",
},
},
"billing_cycle_anchor": "string",
"billing_thresholds": {
"amount_gte": float(0),
"reset_billing_cycle_anchor": False,
},
"collection_method": "string",
"default_payment_method": "string",
"description": "string",
"invoice_settings": {
"account_tax_ids": ["string"],
"days_until_due": float(0),
"issuer": {
"type": "string",
"account": "string",
},
},
"on_behalf_of": "string",
"transfer_data": {
"destination": "string",
"amount_percent": float(0),
},
},
end_behavior="string",
from_subscription="string",
metadata={
"string": "string",
},
phases=[{
"items": [{
"billing_thresholds": {
"usage_gte": float(0),
},
"discounts": [{
"coupon": "string",
"discount": "string",
"promotion_code": "string",
}],
"metadata": {
"string": "string",
},
"plan": "string",
"price": "string",
"price_data": {
"currency": "string",
"product": "string",
"recurring": {
"interval": "string",
"interval_count": float(0),
},
"tax_behavior": "string",
"unit_amount": float(0),
"unit_amount_decimal": float(0),
},
"quantity": float(0),
"tax_rates": ["string"],
}],
"discounts": [{
"coupon": "string",
"discount": "string",
"promotion_code": "string",
}],
"end_date": float(0),
"billing_cycle_anchor": "string",
"billing_thresholds": {
"amount_gte": float(0),
"reset_billing_cycle_anchor": False,
},
"collection_method": "string",
"currency": "string",
"default_payment_method": "string",
"default_tax_rates": ["string"],
"description": "string",
"add_invoice_items": [{
"discountable": False,
"discounts": [{
"coupon": "string",
"discount": "string",
"promotion_code": "string",
}],
"metadata": {
"string": "string",
},
"period": {
"end": {
"type": "string",
"timestamp": float(0),
},
"start": {
"type": "string",
"timestamp": float(0),
},
},
"price": "string",
"price_data": {
"currency": "string",
"product": "string",
"tax_behavior": "string",
"unit_amount": float(0),
"unit_amount_decimal": float(0),
},
"quantity": float(0),
"tax_rates": ["string"],
}],
"automatic_tax": {
"enabled": False,
"disabled_reason": "string",
"liability": {
"type": "string",
"account": "string",
},
},
"invoice_settings": {
"account_tax_ids": ["string"],
"days_until_due": float(0),
"issuer": {
"type": "string",
"account": "string",
},
},
"duration": {
"interval": "string",
"interval_count": float(0),
},
"application_fee_percent": float(0),
"metadata": {
"string": "string",
},
"on_behalf_of": "string",
"proration_behavior": "string",
"start_date": float(0),
"transfer_data": {
"destination": "string",
"amount_percent": float(0),
},
"trial": False,
"trial_end": float(0),
}],
start_date=float(0))
const subscriptionScheduleResource = new stripe.SubscriptionSchedule("subscriptionScheduleResource", {
billingMode: {
type: "string",
flexible: {
prorationDiscounts: "string",
},
updatedAt: 0,
},
customer: "string",
customerAccount: "string",
defaultSettings: {
applicationFeePercent: 0,
automaticTax: {
enabled: false,
disabledReason: "string",
liability: {
type: "string",
account: "string",
},
},
billingCycleAnchor: "string",
billingThresholds: {
amountGte: 0,
resetBillingCycleAnchor: false,
},
collectionMethod: "string",
defaultPaymentMethod: "string",
description: "string",
invoiceSettings: {
accountTaxIds: ["string"],
daysUntilDue: 0,
issuer: {
type: "string",
account: "string",
},
},
onBehalfOf: "string",
transferData: {
destination: "string",
amountPercent: 0,
},
},
endBehavior: "string",
fromSubscription: "string",
metadata: {
string: "string",
},
phases: [{
items: [{
billingThresholds: {
usageGte: 0,
},
discounts: [{
coupon: "string",
discount: "string",
promotionCode: "string",
}],
metadata: {
string: "string",
},
plan: "string",
price: "string",
priceData: {
currency: "string",
product: "string",
recurring: {
interval: "string",
intervalCount: 0,
},
taxBehavior: "string",
unitAmount: 0,
unitAmountDecimal: 0,
},
quantity: 0,
taxRates: ["string"],
}],
discounts: [{
coupon: "string",
discount: "string",
promotionCode: "string",
}],
endDate: 0,
billingCycleAnchor: "string",
billingThresholds: {
amountGte: 0,
resetBillingCycleAnchor: false,
},
collectionMethod: "string",
currency: "string",
defaultPaymentMethod: "string",
defaultTaxRates: ["string"],
description: "string",
addInvoiceItems: [{
discountable: false,
discounts: [{
coupon: "string",
discount: "string",
promotionCode: "string",
}],
metadata: {
string: "string",
},
period: {
end: {
type: "string",
timestamp: 0,
},
start: {
type: "string",
timestamp: 0,
},
},
price: "string",
priceData: {
currency: "string",
product: "string",
taxBehavior: "string",
unitAmount: 0,
unitAmountDecimal: 0,
},
quantity: 0,
taxRates: ["string"],
}],
automaticTax: {
enabled: false,
disabledReason: "string",
liability: {
type: "string",
account: "string",
},
},
invoiceSettings: {
accountTaxIds: ["string"],
daysUntilDue: 0,
issuer: {
type: "string",
account: "string",
},
},
duration: {
interval: "string",
intervalCount: 0,
},
applicationFeePercent: 0,
metadata: {
string: "string",
},
onBehalfOf: "string",
prorationBehavior: "string",
startDate: 0,
transferData: {
destination: "string",
amountPercent: 0,
},
trial: false,
trialEnd: 0,
}],
startDate: 0,
});
type: stripe:SubscriptionSchedule
properties:
billingMode:
flexible:
prorationDiscounts: string
type: string
updatedAt: 0
customer: string
customerAccount: string
defaultSettings:
applicationFeePercent: 0
automaticTax:
disabledReason: string
enabled: false
liability:
account: string
type: string
billingCycleAnchor: string
billingThresholds:
amountGte: 0
resetBillingCycleAnchor: false
collectionMethod: string
defaultPaymentMethod: string
description: string
invoiceSettings:
accountTaxIds:
- string
daysUntilDue: 0
issuer:
account: string
type: string
onBehalfOf: string
transferData:
amountPercent: 0
destination: string
endBehavior: string
fromSubscription: string
metadata:
string: string
phases:
- addInvoiceItems:
- discountable: false
discounts:
- coupon: string
discount: string
promotionCode: string
metadata:
string: string
period:
end:
timestamp: 0
type: string
start:
timestamp: 0
type: string
price: string
priceData:
currency: string
product: string
taxBehavior: string
unitAmount: 0
unitAmountDecimal: 0
quantity: 0
taxRates:
- string
applicationFeePercent: 0
automaticTax:
disabledReason: string
enabled: false
liability:
account: string
type: string
billingCycleAnchor: string
billingThresholds:
amountGte: 0
resetBillingCycleAnchor: false
collectionMethod: string
currency: string
defaultPaymentMethod: string
defaultTaxRates:
- string
description: string
discounts:
- coupon: string
discount: string
promotionCode: string
duration:
interval: string
intervalCount: 0
endDate: 0
invoiceSettings:
accountTaxIds:
- string
daysUntilDue: 0
issuer:
account: string
type: string
items:
- billingThresholds:
usageGte: 0
discounts:
- coupon: string
discount: string
promotionCode: string
metadata:
string: string
plan: string
price: string
priceData:
currency: string
product: string
recurring:
interval: string
intervalCount: 0
taxBehavior: string
unitAmount: 0
unitAmountDecimal: 0
quantity: 0
taxRates:
- string
metadata:
string: string
onBehalfOf: string
prorationBehavior: string
startDate: 0
transferData:
amountPercent: 0
destination: string
trial: false
trialEnd: 0
startDate: 0
SubscriptionSchedule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SubscriptionSchedule resource accepts the following input properties:
- Billing
Mode SubscriptionSchedule Billing Mode - The billing mode of the subscription.
- Customer string
- ID of the customer who owns the subscription schedule.
- Customer
Account string - ID of the account who owns the subscription schedule.
- Default
Settings SubscriptionSchedule Default Settings - End
Behavior string - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - From
Subscription string - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- Metadata Dictionary<string, string>
- 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
List<Subscription
Schedule Phase> - Configuration for the subscription schedule's phases.
- Start
Date double - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on.
- Billing
Mode SubscriptionSchedule Billing Mode Args - The billing mode of the subscription.
- Customer string
- ID of the customer who owns the subscription schedule.
- Customer
Account string - ID of the account who owns the subscription schedule.
- Default
Settings SubscriptionSchedule Default Settings Args - End
Behavior string - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - From
Subscription string - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- Metadata map[string]string
- 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
[]Subscription
Schedule Phase Args - Configuration for the subscription schedule's phases.
- Start
Date float64 - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on.
- billing_
mode object - The billing mode of the subscription.
- customer string
- ID of the customer who owns the subscription schedule.
- customer_
account string - ID of the account who owns the subscription schedule.
- default_
settings object - end_
behavior string - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - from_
subscription string - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- metadata map(string)
- 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 list(object)
- Configuration for the subscription schedule's phases.
- start_
date number - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on.
- billing
Mode SubscriptionSchedule Billing Mode - The billing mode of the subscription.
- customer String
- ID of the customer who owns the subscription schedule.
- customer
Account String - ID of the account who owns the subscription schedule.
- default
Settings SubscriptionSchedule Default Settings - end
Behavior String - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - from
Subscription String - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- metadata Map<String,String>
- 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
List<Subscription
Schedule Phase> - Configuration for the subscription schedule's phases.
- start
Date Double - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on.
- billing
Mode SubscriptionSchedule Billing Mode - The billing mode of the subscription.
- customer string
- ID of the customer who owns the subscription schedule.
- customer
Account string - ID of the account who owns the subscription schedule.
- default
Settings SubscriptionSchedule Default Settings - end
Behavior string - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - from
Subscription string - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- metadata {[key: string]: string}
- 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
Subscription
Schedule Phase[] - Configuration for the subscription schedule's phases.
- start
Date number - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on.
- billing_
mode SubscriptionSchedule Billing Mode Args - The billing mode of the subscription.
- customer str
- ID of the customer who owns the subscription schedule.
- customer_
account str - ID of the account who owns the subscription schedule.
- default_
settings SubscriptionSchedule Default Settings Args - end_
behavior str - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - from_
subscription str - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- metadata Mapping[str, str]
- 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
Sequence[Subscription
Schedule Phase Args] - Configuration for the subscription schedule's phases.
- start_
date float - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on.
- billing
Mode Property Map - The billing mode of the subscription.
- customer String
- ID of the customer who owns the subscription schedule.
- customer
Account String - ID of the account who owns the subscription schedule.
- default
Settings Property Map - end
Behavior String - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - from
Subscription String - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- metadata Map<String>
- 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 List<Property Map>
- Configuration for the subscription schedule's phases.
- start
Date Number - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on.
Outputs
All input properties are implicitly available as output properties. Additionally, the SubscriptionSchedule resource produces the following output properties:
- Application string
- ID of the Connect Application that created the schedule.
- Canceled
At double - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- Completed
At double - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- Created double
- Time at which the object was created. Measured in seconds since the Unix epoch.
- Current
Phase SubscriptionSchedule Current Phase - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - Id string
- The provider-assigned unique ID for this managed resource.
- Livemode bool
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - Object string
- String representing the object's type. Objects of the same type share the same value.
- Released
At double - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- Released
Subscription string - ID of the subscription once managed by the subscription schedule (if it is released).
- Status string
- 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. - Subscription string
- ID of the subscription managed by the subscription schedule.
- Test
Clock string - ID of the test clock this subscription schedule belongs to.
- Application string
- ID of the Connect Application that created the schedule.
- Canceled
At float64 - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- Completed
At float64 - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- Created float64
- Time at which the object was created. Measured in seconds since the Unix epoch.
- Current
Phase SubscriptionSchedule Current Phase - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - Id string
- The provider-assigned unique ID for this managed resource.
- Livemode bool
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - Object string
- String representing the object's type. Objects of the same type share the same value.
- Released
At float64 - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- Released
Subscription string - ID of the subscription once managed by the subscription schedule (if it is released).
- Status string
- 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. - Subscription string
- ID of the subscription managed by the subscription schedule.
- Test
Clock string - ID of the test clock this subscription schedule belongs to.
- application string
- ID of the Connect Application that created the schedule.
- canceled_
at number - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- completed_
at number - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- created number
- Time at which the object was created. Measured in seconds since the Unix epoch.
- current_
phase object - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - id string
- The provider-assigned unique ID for this managed resource.
- livemode bool
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - object string
- String representing the object's type. Objects of the same type share the same value.
- released_
at number - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- released_
subscription string - ID of the subscription once managed by the subscription schedule (if it is released).
- status string
- 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. - subscription string
- ID of the subscription managed by the subscription schedule.
- test_
clock string - ID of the test clock this subscription schedule belongs to.
- application String
- ID of the Connect Application that created the schedule.
- canceled
At Double - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- completed
At Double - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- created Double
- Time at which the object was created. Measured in seconds since the Unix epoch.
- current
Phase SubscriptionSchedule Current Phase - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - id String
- The provider-assigned unique ID for this managed resource.
- livemode Boolean
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - object String
- String representing the object's type. Objects of the same type share the same value.
- released
At Double - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- released
Subscription String - ID of the subscription once managed by the subscription schedule (if it is released).
- status String
- 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. - subscription String
- ID of the subscription managed by the subscription schedule.
- test
Clock String - ID of the test clock this subscription schedule belongs to.
- application string
- ID of the Connect Application that created the schedule.
- canceled
At number - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- completed
At number - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- created number
- Time at which the object was created. Measured in seconds since the Unix epoch.
- current
Phase SubscriptionSchedule Current Phase - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - id string
- The provider-assigned unique ID for this managed resource.
- livemode boolean
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - object string
- String representing the object's type. Objects of the same type share the same value.
- released
At number - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- released
Subscription string - ID of the subscription once managed by the subscription schedule (if it is released).
- status string
- 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. - subscription string
- ID of the subscription managed by the subscription schedule.
- test
Clock string - ID of the test clock this subscription schedule belongs to.
- application str
- ID of the Connect Application that created the schedule.
- canceled_
at float - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- completed_
at float - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- created float
- Time at which the object was created. Measured in seconds since the Unix epoch.
- current_
phase SubscriptionSchedule Current Phase - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - id str
- The provider-assigned unique ID for this managed resource.
- livemode bool
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - object str
- String representing the object's type. Objects of the same type share the same value.
- released_
at float - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- released_
subscription str - ID of the subscription once managed by the subscription schedule (if it is released).
- status str
- 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. - subscription str
- ID of the subscription managed by the subscription schedule.
- test_
clock str - ID of the test clock this subscription schedule belongs to.
- application String
- ID of the Connect Application that created the schedule.
- canceled
At Number - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- completed
At Number - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- created Number
- Time at which the object was created. Measured in seconds since the Unix epoch.
- current
Phase Property Map - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - id String
- The provider-assigned unique ID for this managed resource.
- livemode Boolean
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - object String
- String representing the object's type. Objects of the same type share the same value.
- released
At Number - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- released
Subscription String - ID of the subscription once managed by the subscription schedule (if it is released).
- status String
- 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. - subscription String
- ID of the subscription managed by the subscription schedule.
- test
Clock String - ID of the test clock this subscription schedule belongs to.
Look up Existing SubscriptionSchedule Resource
Get an existing SubscriptionSchedule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SubscriptionScheduleState, opts?: CustomResourceOptions): SubscriptionSchedule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application: Optional[str] = None,
billing_mode: Optional[SubscriptionScheduleBillingModeArgs] = None,
canceled_at: Optional[float] = None,
completed_at: Optional[float] = None,
created: Optional[float] = None,
current_phase: Optional[SubscriptionScheduleCurrentPhaseArgs] = None,
customer: Optional[str] = None,
customer_account: Optional[str] = None,
default_settings: Optional[SubscriptionScheduleDefaultSettingsArgs] = None,
end_behavior: Optional[str] = None,
from_subscription: Optional[str] = None,
livemode: Optional[bool] = None,
metadata: Optional[Mapping[str, str]] = None,
object: Optional[str] = None,
phases: Optional[Sequence[SubscriptionSchedulePhaseArgs]] = None,
released_at: Optional[float] = None,
released_subscription: Optional[str] = None,
start_date: Optional[float] = None,
status: Optional[str] = None,
subscription: Optional[str] = None,
test_clock: Optional[str] = None) -> SubscriptionSchedulefunc GetSubscriptionSchedule(ctx *Context, name string, id IDInput, state *SubscriptionScheduleState, opts ...ResourceOption) (*SubscriptionSchedule, error)public static SubscriptionSchedule Get(string name, Input<string> id, SubscriptionScheduleState? state, CustomResourceOptions? opts = null)public static SubscriptionSchedule get(String name, Output<String> id, SubscriptionScheduleState state, CustomResourceOptions options)resources: _: type: stripe:SubscriptionSchedule get: id: ${id}import {
to = stripe_subscription_schedule.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Application string
- ID of the Connect Application that created the schedule.
- Billing
Mode SubscriptionSchedule Billing Mode - The billing mode of the subscription.
- Canceled
At double - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- Completed
At double - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- Created double
- Time at which the object was created. Measured in seconds since the Unix epoch.
- Current
Phase SubscriptionSchedule Current Phase - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - Customer string
- ID of the customer who owns the subscription schedule.
- Customer
Account string - ID of the account who owns the subscription schedule.
- Default
Settings SubscriptionSchedule Default Settings - End
Behavior string - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - From
Subscription string - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- Livemode bool
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - Metadata Dictionary<string, string>
- 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.
- Object string
- String representing the object's type. Objects of the same type share the same value.
- Phases
List<Subscription
Schedule Phase> - Configuration for the subscription schedule's phases.
- Released
At double - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- Released
Subscription string - ID of the subscription once managed by the subscription schedule (if it is released).
- Start
Date double - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on. - Status string
- 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. - Subscription string
- ID of the subscription managed by the subscription schedule.
- Test
Clock string - ID of the test clock this subscription schedule belongs to.
- Application string
- ID of the Connect Application that created the schedule.
- Billing
Mode SubscriptionSchedule Billing Mode Args - The billing mode of the subscription.
- Canceled
At float64 - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- Completed
At float64 - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- Created float64
- Time at which the object was created. Measured in seconds since the Unix epoch.
- Current
Phase SubscriptionSchedule Current Phase Args - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - Customer string
- ID of the customer who owns the subscription schedule.
- Customer
Account string - ID of the account who owns the subscription schedule.
- Default
Settings SubscriptionSchedule Default Settings Args - End
Behavior string - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - From
Subscription string - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- Livemode bool
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - Metadata map[string]string
- 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.
- Object string
- String representing the object's type. Objects of the same type share the same value.
- Phases
[]Subscription
Schedule Phase Args - Configuration for the subscription schedule's phases.
- Released
At float64 - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- Released
Subscription string - ID of the subscription once managed by the subscription schedule (if it is released).
- Start
Date float64 - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on. - Status string
- 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. - Subscription string
- ID of the subscription managed by the subscription schedule.
- Test
Clock string - ID of the test clock this subscription schedule belongs to.
- application string
- ID of the Connect Application that created the schedule.
- billing_
mode object - The billing mode of the subscription.
- canceled_
at number - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- completed_
at number - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- created number
- Time at which the object was created. Measured in seconds since the Unix epoch.
- current_
phase object - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - customer string
- ID of the customer who owns the subscription schedule.
- customer_
account string - ID of the account who owns the subscription schedule.
- default_
settings object - end_
behavior string - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - from_
subscription string - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- livemode bool
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - metadata map(string)
- 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.
- object string
- String representing the object's type. Objects of the same type share the same value.
- phases list(object)
- Configuration for the subscription schedule's phases.
- released_
at number - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- released_
subscription string - ID of the subscription once managed by the subscription schedule (if it is released).
- start_
date number - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on. - status string
- 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. - subscription string
- ID of the subscription managed by the subscription schedule.
- test_
clock string - ID of the test clock this subscription schedule belongs to.
- application String
- ID of the Connect Application that created the schedule.
- billing
Mode SubscriptionSchedule Billing Mode - The billing mode of the subscription.
- canceled
At Double - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- completed
At Double - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- created Double
- Time at which the object was created. Measured in seconds since the Unix epoch.
- current
Phase SubscriptionSchedule Current Phase - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - customer String
- ID of the customer who owns the subscription schedule.
- customer
Account String - ID of the account who owns the subscription schedule.
- default
Settings SubscriptionSchedule Default Settings - end
Behavior String - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - from
Subscription String - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- livemode Boolean
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - metadata Map<String,String>
- 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.
- object String
- String representing the object's type. Objects of the same type share the same value.
- phases
List<Subscription
Schedule Phase> - Configuration for the subscription schedule's phases.
- released
At Double - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- released
Subscription String - ID of the subscription once managed by the subscription schedule (if it is released).
- start
Date Double - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on. - status String
- 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. - subscription String
- ID of the subscription managed by the subscription schedule.
- test
Clock String - ID of the test clock this subscription schedule belongs to.
- application string
- ID of the Connect Application that created the schedule.
- billing
Mode SubscriptionSchedule Billing Mode - The billing mode of the subscription.
- canceled
At number - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- completed
At number - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- created number
- Time at which the object was created. Measured in seconds since the Unix epoch.
- current
Phase SubscriptionSchedule Current Phase - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - customer string
- ID of the customer who owns the subscription schedule.
- customer
Account string - ID of the account who owns the subscription schedule.
- default
Settings SubscriptionSchedule Default Settings - end
Behavior string - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - from
Subscription string - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- livemode boolean
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - metadata {[key: string]: string}
- 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.
- object string
- String representing the object's type. Objects of the same type share the same value.
- phases
Subscription
Schedule Phase[] - Configuration for the subscription schedule's phases.
- released
At number - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- released
Subscription string - ID of the subscription once managed by the subscription schedule (if it is released).
- start
Date number - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on. - status string
- 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. - subscription string
- ID of the subscription managed by the subscription schedule.
- test
Clock string - ID of the test clock this subscription schedule belongs to.
- application str
- ID of the Connect Application that created the schedule.
- billing_
mode SubscriptionSchedule Billing Mode Args - The billing mode of the subscription.
- canceled_
at float - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- completed_
at float - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- created float
- Time at which the object was created. Measured in seconds since the Unix epoch.
- current_
phase SubscriptionSchedule Current Phase Args - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - customer str
- ID of the customer who owns the subscription schedule.
- customer_
account str - ID of the account who owns the subscription schedule.
- default_
settings SubscriptionSchedule Default Settings Args - end_
behavior str - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - from_
subscription str - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- livemode bool
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - metadata Mapping[str, str]
- 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.
- object str
- String representing the object's type. Objects of the same type share the same value.
- phases
Sequence[Subscription
Schedule Phase Args] - Configuration for the subscription schedule's phases.
- released_
at float - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- released_
subscription str - ID of the subscription once managed by the subscription schedule (if it is released).
- start_
date float - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on. - status str
- 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. - subscription str
- ID of the subscription managed by the subscription schedule.
- test_
clock str - ID of the test clock this subscription schedule belongs to.
- application String
- ID of the Connect Application that created the schedule.
- billing
Mode Property Map - The billing mode of the subscription.
- canceled
At Number - Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
- completed
At Number - Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
- created Number
- Time at which the object was created. Measured in seconds since the Unix epoch.
- current
Phase Property Map - Object representing the start and end dates for the current phase of the subscription schedule, if it is
active. - customer String
- ID of the customer who owns the subscription schedule.
- customer
Account String - ID of the account who owns the subscription schedule.
- default
Settings Property Map - end
Behavior String - Behavior of the subscription schedule and underlying subscription when it ends. Possible values are
releaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. - from
Subscription String - Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls.
- livemode Boolean
- If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - metadata Map<String>
- 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.
- object String
- String representing the object's type. Objects of the same type share the same value.
- phases List<Property Map>
- Configuration for the subscription schedule's phases.
- released
At Number - Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
- released
Subscription String - ID of the subscription once managed by the subscription schedule (if it is released).
- start
Date Number - When the subscription schedule starts. We recommend using
nowso that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on. - status String
- 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. - subscription String
- ID of the subscription managed by the subscription schedule.
- test
Clock String - ID of the test clock this subscription schedule belongs to.
Supporting Types
SubscriptionScheduleBillingMode, SubscriptionScheduleBillingModeArgs
- Type string
- Controls how prorations and invoices for subscriptions are calculated and orchestrated.
- Flexible
Subscription
Schedule Billing Mode Flexible - Configure behavior for flexible billing mode
- Updated
At double - Details on when the current billing_mode was adopted.
- Type string
- Controls how prorations and invoices for subscriptions are calculated and orchestrated.
- Flexible
Subscription
Schedule Billing Mode Flexible - Configure behavior for flexible billing mode
- Updated
At float64 - Details on when the current billing_mode was adopted.
- type string
- Controls how prorations and invoices for subscriptions are calculated and orchestrated.
- flexible object
- Configure behavior for flexible billing mode
- updated_
at number - Details on when the current billing_mode was adopted.
- type String
- Controls how prorations and invoices for subscriptions are calculated and orchestrated.
- flexible
Subscription
Schedule Billing Mode Flexible - Configure behavior for flexible billing mode
- updated
At Double - Details on when the current billing_mode was adopted.
- type string
- Controls how prorations and invoices for subscriptions are calculated and orchestrated.
- flexible
Subscription
Schedule Billing Mode Flexible - Configure behavior for flexible billing mode
- updated
At number - Details on when the current billing_mode was adopted.
- type str
- Controls how prorations and invoices for subscriptions are calculated and orchestrated.
- flexible
Subscription
Schedule Billing Mode Flexible - Configure behavior for flexible billing mode
- updated_
at float - Details on when the current billing_mode was adopted.
- type String
- Controls how prorations and invoices for subscriptions are calculated and orchestrated.
- flexible Property Map
- Configure behavior for flexible billing mode
- updated
At Number - Details on when the current billing_mode was adopted.
SubscriptionScheduleBillingModeFlexible, SubscriptionScheduleBillingModeFlexibleArgs
- Proration
Discounts string - Controls how invoices and invoice items display proration amounts and discount amounts.
- Proration
Discounts string - Controls how invoices and invoice items display proration amounts and discount amounts.
- proration_
discounts string - Controls how invoices and invoice items display proration amounts and discount amounts.
- proration
Discounts String - Controls how invoices and invoice items display proration amounts and discount amounts.
- proration
Discounts string - Controls how invoices and invoice items display proration amounts and discount amounts.
- proration_
discounts str - Controls how invoices and invoice items display proration amounts and discount amounts.
- proration
Discounts String - Controls how invoices and invoice items display proration amounts and discount amounts.
SubscriptionScheduleCurrentPhase, SubscriptionScheduleCurrentPhaseArgs
- end_
date number - The end of this phase of the subscription schedule.
- start_
date number - The start of this phase of the subscription schedule.
- end_
date float - The end of this phase of the subscription schedule.
- start_
date float - The start of this phase of the subscription schedule.
SubscriptionScheduleDefaultSettings, SubscriptionScheduleDefaultSettingsArgs
- Application
Fee doublePercent - 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.
- Automatic
Tax SubscriptionSchedule Default Settings Automatic Tax - Billing
Cycle stringAnchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - Billing
Thresholds SubscriptionSchedule Default Settings Billing Thresholds - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- Collection
Method string - Either
charge_automatically, orsend_invoice. 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 asactive. - Default
Payment stringMethod - 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.
- Description 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.
- Invoice
Settings SubscriptionSchedule Default Settings Invoice Settings - On
Behalf stringOf - 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.
- Transfer
Data SubscriptionSchedule Default Settings Transfer Data - 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.
- Application
Fee float64Percent - 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.
- Automatic
Tax SubscriptionSchedule Default Settings Automatic Tax - Billing
Cycle stringAnchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - Billing
Thresholds SubscriptionSchedule Default Settings Billing Thresholds - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- Collection
Method string - Either
charge_automatically, orsend_invoice. 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 asactive. - Default
Payment stringMethod - 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.
- Description 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.
- Invoice
Settings SubscriptionSchedule Default Settings Invoice Settings - On
Behalf stringOf - 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.
- Transfer
Data SubscriptionSchedule Default Settings Transfer Data - 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.
- application_
fee_ numberpercent - 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.
- automatic_
tax object - billing_
cycle_ stringanchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - billing_
thresholds object - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- collection_
method string - Either
charge_automatically, orsend_invoice. 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 asactive. - default_
payment_ stringmethod - 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.
- description 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.
- invoice_
settings object - on_
behalf_ stringof - 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.
- transfer_
data object - 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.
- application
Fee DoublePercent - 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.
- automatic
Tax SubscriptionSchedule Default Settings Automatic Tax - billing
Cycle StringAnchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - billing
Thresholds SubscriptionSchedule Default Settings Billing Thresholds - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- collection
Method String - Either
charge_automatically, orsend_invoice. 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 asactive. - default
Payment StringMethod - 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.
- description 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.
- invoice
Settings SubscriptionSchedule Default Settings Invoice Settings - on
Behalf StringOf - 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.
- transfer
Data SubscriptionSchedule Default Settings Transfer Data - 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.
- application
Fee numberPercent - 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.
- automatic
Tax SubscriptionSchedule Default Settings Automatic Tax - billing
Cycle stringAnchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - billing
Thresholds SubscriptionSchedule Default Settings Billing Thresholds - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- collection
Method string - Either
charge_automatically, orsend_invoice. 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 asactive. - default
Payment stringMethod - 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.
- description 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.
- invoice
Settings SubscriptionSchedule Default Settings Invoice Settings - on
Behalf stringOf - 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.
- transfer
Data SubscriptionSchedule Default Settings Transfer Data - 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.
- application_
fee_ floatpercent - 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.
- automatic_
tax SubscriptionSchedule Default Settings Automatic Tax - billing_
cycle_ stranchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - billing_
thresholds SubscriptionSchedule Default Settings Billing Thresholds - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- collection_
method str - Either
charge_automatically, orsend_invoice. 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 asactive. - default_
payment_ strmethod - 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.
- description str
- 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.
- invoice_
settings SubscriptionSchedule Default Settings Invoice Settings - on_
behalf_ strof - 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.
- transfer_
data SubscriptionSchedule Default Settings Transfer Data - 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.
- application
Fee NumberPercent - 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.
- automatic
Tax Property Map - billing
Cycle StringAnchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - billing
Thresholds Property Map - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- collection
Method String - Either
charge_automatically, orsend_invoice. 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 asactive. - default
Payment StringMethod - 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.
- description 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.
- invoice
Settings Property Map - on
Behalf StringOf - 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.
- transfer
Data Property Map - 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.
SubscriptionScheduleDefaultSettingsAutomaticTax, SubscriptionScheduleDefaultSettingsAutomaticTaxArgs
- Enabled bool
- Whether Stripe automatically computes tax on invoices created during this phase.
- Disabled
Reason string - If Stripe disabled automatic tax, this enum describes why.
- Liability
Subscription
Schedule Default Settings Automatic Tax Liability - 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.
- Enabled bool
- Whether Stripe automatically computes tax on invoices created during this phase.
- Disabled
Reason string - If Stripe disabled automatic tax, this enum describes why.
- Liability
Subscription
Schedule Default Settings Automatic Tax Liability - 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.
- enabled bool
- Whether Stripe automatically computes tax on invoices created during this phase.
- disabled_
reason string - If Stripe disabled automatic tax, this enum describes why.
- liability object
- 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.
- enabled Boolean
- Whether Stripe automatically computes tax on invoices created during this phase.
- disabled
Reason String - If Stripe disabled automatic tax, this enum describes why.
- liability
Subscription
Schedule Default Settings Automatic Tax Liability - 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.
- enabled boolean
- Whether Stripe automatically computes tax on invoices created during this phase.
- disabled
Reason string - If Stripe disabled automatic tax, this enum describes why.
- liability
Subscription
Schedule Default Settings Automatic Tax Liability - 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.
- enabled bool
- Whether Stripe automatically computes tax on invoices created during this phase.
- disabled_
reason str - If Stripe disabled automatic tax, this enum describes why.
- liability
Subscription
Schedule Default Settings Automatic Tax Liability - 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.
- enabled Boolean
- Whether Stripe automatically computes tax on invoices created during this phase.
- disabled
Reason String - If Stripe disabled automatic tax, this enum describes why.
- liability Property Map
- 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.
SubscriptionScheduleDefaultSettingsAutomaticTaxLiability, SubscriptionScheduleDefaultSettingsAutomaticTaxLiabilityArgs
SubscriptionScheduleDefaultSettingsBillingThresholds, SubscriptionScheduleDefaultSettingsBillingThresholdsArgs
- Amount
Gte double - Monetary threshold that triggers the subscription to create an invoice
- Reset
Billing boolCycle Anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
- Amount
Gte float64 - Monetary threshold that triggers the subscription to create an invoice
- Reset
Billing boolCycle Anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
- amount_
gte number - Monetary threshold that triggers the subscription to create an invoice
- reset_
billing_ boolcycle_ anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
- amount
Gte Double - Monetary threshold that triggers the subscription to create an invoice
- reset
Billing BooleanCycle Anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
- amount
Gte number - Monetary threshold that triggers the subscription to create an invoice
- reset
Billing booleanCycle Anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
- amount_
gte float - Monetary threshold that triggers the subscription to create an invoice
- reset_
billing_ boolcycle_ anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
- amount
Gte Number - Monetary threshold that triggers the subscription to create an invoice
- reset
Billing BooleanCycle Anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
SubscriptionScheduleDefaultSettingsInvoiceSettings, SubscriptionScheduleDefaultSettingsInvoiceSettingsArgs
- Account
Tax List<string>Ids - The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
- Days
Until doubleDue - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - Issuer
Subscription
Schedule Default Settings Invoice Settings Issuer
- Account
Tax []stringIds - The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
- Days
Until float64Due - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - Issuer
Subscription
Schedule Default Settings Invoice Settings Issuer
- account_
tax_ list(string)ids - The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
- days_
until_ numberdue - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - issuer object
- account
Tax List<String>Ids - The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
- days
Until DoubleDue - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - issuer
Subscription
Schedule Default Settings Invoice Settings Issuer
- account
Tax string[]Ids - The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
- days
Until numberDue - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - issuer
Subscription
Schedule Default Settings Invoice Settings Issuer
- account_
tax_ Sequence[str]ids - The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
- days_
until_ floatdue - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - issuer
Subscription
Schedule Default Settings Invoice Settings Issuer
- account
Tax List<String>Ids - The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
- days
Until NumberDue - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - issuer Property Map
SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuer, SubscriptionScheduleDefaultSettingsInvoiceSettingsIssuerArgs
SubscriptionScheduleDefaultSettingsTransferData, SubscriptionScheduleDefaultSettingsTransferDataArgs
- Destination string
- The account where funds from the payment will be transferred to upon payment success.
- Amount
Percent double - 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.
- Destination string
- The account where funds from the payment will be transferred to upon payment success.
- Amount
Percent float64 - 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.
- destination string
- The account where funds from the payment will be transferred to upon payment success.
- amount_
percent number - 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.
- destination String
- The account where funds from the payment will be transferred to upon payment success.
- amount
Percent Double - 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.
- destination string
- The account where funds from the payment will be transferred to upon payment success.
- amount
Percent number - 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.
- destination str
- The account where funds from the payment will be transferred to upon payment success.
- amount_
percent 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.
- destination String
- The account where funds from the payment will be transferred to upon payment success.
- amount
Percent Number - 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.
SubscriptionSchedulePhase, SubscriptionSchedulePhaseArgs
- Items
List<Subscription
Schedule Phase Item> - Subscription items to configure the subscription to during this phase of the subscription schedule.
- Add
Invoice List<SubscriptionItems Schedule Phase Add Invoice Item> - A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.
- Application
Fee doublePercent - 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.
- Automatic
Tax SubscriptionSchedule Phase Automatic Tax - Billing
Cycle stringAnchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - Billing
Thresholds SubscriptionSchedule Phase Billing Thresholds - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- Collection
Method string - Either
charge_automatically, orsend_invoice. 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 asactive. - Currency string
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- Default
Payment stringMethod - 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.
- Default
Tax List<string>Rates - The default tax rates to apply to the subscription during this phase of the subscription schedule.
- Description 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.
- Discounts
List<Subscription
Schedule Phase Discount> - The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
- Duration
Subscription
Schedule Phase Duration - The number of intervals the phase should last. If set,
end_datemust not be set. - End
Date double - The end of this phase of the subscription schedule.
- Invoice
Settings SubscriptionSchedule Phase Invoice Settings - The invoice settings applicable during this phase.
- Metadata Dictionary<string, string>
- Set of key-value pairs that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's
metadatawhen the phase is entered. Updating the underlying subscription'smetadatadirectly will not affect the current phase'smetadata. - On
Behalf stringOf - 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.
- Proration
Behavior string - When transitioning phases, controls how prorations are handled (if any). Possible values are
create_prorations,none, andalways_invoice. - Start
Date double - The start of this phase of the subscription schedule.
- Transfer
Data SubscriptionSchedule Phase Transfer Data - 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.
- Trial bool
- If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
- Trial
End double - When the trial ends within the phase.
- Items
[]Subscription
Schedule Phase Item - Subscription items to configure the subscription to during this phase of the subscription schedule.
- Add
Invoice []SubscriptionItems Schedule Phase Add Invoice Item - A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.
- Application
Fee float64Percent - 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.
- Automatic
Tax SubscriptionSchedule Phase Automatic Tax - Billing
Cycle stringAnchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - Billing
Thresholds SubscriptionSchedule Phase Billing Thresholds - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- Collection
Method string - Either
charge_automatically, orsend_invoice. 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 asactive. - Currency string
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- Default
Payment stringMethod - 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.
- Default
Tax []stringRates - The default tax rates to apply to the subscription during this phase of the subscription schedule.
- Description 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.
- Discounts
[]Subscription
Schedule Phase Discount - The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
- Duration
Subscription
Schedule Phase Duration - The number of intervals the phase should last. If set,
end_datemust not be set. - End
Date float64 - The end of this phase of the subscription schedule.
- Invoice
Settings SubscriptionSchedule Phase Invoice Settings - The invoice settings applicable during this phase.
- Metadata map[string]string
- Set of key-value pairs that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's
metadatawhen the phase is entered. Updating the underlying subscription'smetadatadirectly will not affect the current phase'smetadata. - On
Behalf stringOf - 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.
- Proration
Behavior string - When transitioning phases, controls how prorations are handled (if any). Possible values are
create_prorations,none, andalways_invoice. - Start
Date float64 - The start of this phase of the subscription schedule.
- Transfer
Data SubscriptionSchedule Phase Transfer Data - 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.
- Trial bool
- If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
- Trial
End float64 - When the trial ends within the phase.
- items list(object)
- Subscription items to configure the subscription to during this phase of the subscription schedule.
- add_
invoice_ list(object)items - A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.
- application_
fee_ numberpercent - 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.
- automatic_
tax object - billing_
cycle_ stringanchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - billing_
thresholds object - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- collection_
method string - Either
charge_automatically, orsend_invoice. 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 asactive. - currency string
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- default_
payment_ stringmethod - 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.
- default_
tax_ list(string)rates - The default tax rates to apply to the subscription during this phase of the subscription schedule.
- description 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.
- discounts list(object)
- The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
- duration object
- The number of intervals the phase should last. If set,
end_datemust not be set. - end_
date number - The end of this phase of the subscription schedule.
- invoice_
settings object - The invoice settings applicable during this phase.
- metadata map(string)
- Set of key-value pairs that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's
metadatawhen the phase is entered. Updating the underlying subscription'smetadatadirectly will not affect the current phase'smetadata. - on_
behalf_ stringof - 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.
- proration_
behavior string - When transitioning phases, controls how prorations are handled (if any). Possible values are
create_prorations,none, andalways_invoice. - start_
date number - The start of this phase of the subscription schedule.
- transfer_
data object - 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.
- trial bool
- If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
- trial_
end number - When the trial ends within the phase.
- items
List<Subscription
Schedule Phase Item> - Subscription items to configure the subscription to during this phase of the subscription schedule.
- add
Invoice List<SubscriptionItems Schedule Phase Add Invoice Item> - A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.
- application
Fee DoublePercent - 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.
- automatic
Tax SubscriptionSchedule Phase Automatic Tax - billing
Cycle StringAnchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - billing
Thresholds SubscriptionSchedule Phase Billing Thresholds - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- collection
Method String - Either
charge_automatically, orsend_invoice. 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 asactive. - currency String
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- default
Payment StringMethod - 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.
- default
Tax List<String>Rates - The default tax rates to apply to the subscription during this phase of the subscription schedule.
- description 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.
- discounts
List<Subscription
Schedule Phase Discount> - The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
- duration
Subscription
Schedule Phase Duration - The number of intervals the phase should last. If set,
end_datemust not be set. - end
Date Double - The end of this phase of the subscription schedule.
- invoice
Settings SubscriptionSchedule Phase Invoice Settings - The invoice settings applicable during this phase.
- metadata Map<String,String>
- Set of key-value pairs that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's
metadatawhen the phase is entered. Updating the underlying subscription'smetadatadirectly will not affect the current phase'smetadata. - on
Behalf StringOf - 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.
- proration
Behavior String - When transitioning phases, controls how prorations are handled (if any). Possible values are
create_prorations,none, andalways_invoice. - start
Date Double - The start of this phase of the subscription schedule.
- transfer
Data SubscriptionSchedule Phase Transfer Data - 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.
- trial Boolean
- If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
- trial
End Double - When the trial ends within the phase.
- items
Subscription
Schedule Phase Item[] - Subscription items to configure the subscription to during this phase of the subscription schedule.
- add
Invoice SubscriptionItems Schedule Phase Add Invoice Item[] - A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.
- application
Fee numberPercent - 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.
- automatic
Tax SubscriptionSchedule Phase Automatic Tax - billing
Cycle stringAnchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - billing
Thresholds SubscriptionSchedule Phase Billing Thresholds - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- collection
Method string - Either
charge_automatically, orsend_invoice. 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 asactive. - currency string
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- default
Payment stringMethod - 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.
- default
Tax string[]Rates - The default tax rates to apply to the subscription during this phase of the subscription schedule.
- description 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.
- discounts
Subscription
Schedule Phase Discount[] - The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
- duration
Subscription
Schedule Phase Duration - The number of intervals the phase should last. If set,
end_datemust not be set. - end
Date number - The end of this phase of the subscription schedule.
- invoice
Settings SubscriptionSchedule Phase Invoice Settings - The invoice settings applicable during this phase.
- metadata {[key: string]: string}
- Set of key-value pairs that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's
metadatawhen the phase is entered. Updating the underlying subscription'smetadatadirectly will not affect the current phase'smetadata. - on
Behalf stringOf - 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.
- proration
Behavior string - When transitioning phases, controls how prorations are handled (if any). Possible values are
create_prorations,none, andalways_invoice. - start
Date number - The start of this phase of the subscription schedule.
- transfer
Data SubscriptionSchedule Phase Transfer Data - 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.
- trial boolean
- If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
- trial
End number - When the trial ends within the phase.
- items
Sequence[Subscription
Schedule Phase Item] - Subscription items to configure the subscription to during this phase of the subscription schedule.
- add_
invoice_ Sequence[Subscriptionitems Schedule Phase Add Invoice Item] - A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.
- application_
fee_ floatpercent - 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.
- automatic_
tax SubscriptionSchedule Phase Automatic Tax - billing_
cycle_ stranchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - billing_
thresholds SubscriptionSchedule Phase Billing Thresholds - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- collection_
method str - Either
charge_automatically, orsend_invoice. 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 asactive. - currency str
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- default_
payment_ strmethod - 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.
- default_
tax_ Sequence[str]rates - The default tax rates to apply to the subscription during this phase of the subscription schedule.
- description str
- 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.
- discounts
Sequence[Subscription
Schedule Phase Discount] - The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
- duration
Subscription
Schedule Phase Duration - The number of intervals the phase should last. If set,
end_datemust not be set. - end_
date float - The end of this phase of the subscription schedule.
- invoice_
settings SubscriptionSchedule Phase Invoice Settings - The invoice settings applicable during this phase.
- metadata Mapping[str, str]
- Set of key-value pairs that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's
metadatawhen the phase is entered. Updating the underlying subscription'smetadatadirectly will not affect the current phase'smetadata. - on_
behalf_ strof - 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.
- proration_
behavior str - When transitioning phases, controls how prorations are handled (if any). Possible values are
create_prorations,none, andalways_invoice. - start_
date float - The start of this phase of the subscription schedule.
- transfer_
data SubscriptionSchedule Phase Transfer Data - 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.
- trial bool
- If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
- trial_
end float - When the trial ends within the phase.
- items List<Property Map>
- Subscription items to configure the subscription to during this phase of the subscription schedule.
- add
Invoice List<Property Map>Items - A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.
- application
Fee NumberPercent - 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.
- automatic
Tax Property Map - billing
Cycle StringAnchor - Possible values are
phase_startorautomatic. Ifphase_startthen billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomaticthen the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation. - billing
Thresholds Property Map - Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
- collection
Method String - Either
charge_automatically, orsend_invoice. 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 asactive. - currency String
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- default
Payment StringMethod - 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.
- default
Tax List<String>Rates - The default tax rates to apply to the subscription during this phase of the subscription schedule.
- description 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.
- discounts List<Property Map>
- The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
- duration Property Map
- The number of intervals the phase should last. If set,
end_datemust not be set. - end
Date Number - The end of this phase of the subscription schedule.
- invoice
Settings Property Map - The invoice settings applicable during this phase.
- metadata Map<String>
- Set of key-value pairs that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's
metadatawhen the phase is entered. Updating the underlying subscription'smetadatadirectly will not affect the current phase'smetadata. - on
Behalf StringOf - 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.
- proration
Behavior String - When transitioning phases, controls how prorations are handled (if any). Possible values are
create_prorations,none, andalways_invoice. - start
Date Number - The start of this phase of the subscription schedule.
- transfer
Data Property Map - 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.
- trial Boolean
- If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
- trial
End Number - When the trial ends within the phase.
SubscriptionSchedulePhaseAddInvoiceItem, SubscriptionSchedulePhaseAddInvoiceItemArgs
- Discountable bool
- Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
- Discounts
List<Subscription
Schedule Phase Add Invoice Item Discount> - The stackable discounts that will be applied to the item.
- Metadata Dictionary<string, string>
- 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.
- Period
Subscription
Schedule Phase Add Invoice Item Period - Price string
- ID of the price used to generate the invoice item.
- Price
Data SubscriptionSchedule Phase Add Invoice Item Price Data - Data used to generate a new Price object inline. One of
priceorprice_datais required. - Quantity double
- The quantity of the invoice item.
- Tax
Rates List<string> - The tax rates which apply to the item. When set, the
default_tax_ratesdo not apply to this item.
- Discountable bool
- Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
- Discounts
[]Subscription
Schedule Phase Add Invoice Item Discount - The stackable discounts that will be applied to the item.
- Metadata map[string]string
- 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.
- Period
Subscription
Schedule Phase Add Invoice Item Period - Price string
- ID of the price used to generate the invoice item.
- Price
Data SubscriptionSchedule Phase Add Invoice Item Price Data - Data used to generate a new Price object inline. One of
priceorprice_datais required. - Quantity float64
- The quantity of the invoice item.
- Tax
Rates []string - The tax rates which apply to the item. When set, the
default_tax_ratesdo not apply to this item.
- discountable bool
- Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
- discounts list(object)
- The stackable discounts that will be applied to the item.
- metadata map(string)
- 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.
- period object
- price string
- ID of the price used to generate the invoice item.
- price_
data object - Data used to generate a new Price object inline. One of
priceorprice_datais required. - quantity number
- The quantity of the invoice item.
- tax_
rates list(string) - The tax rates which apply to the item. When set, the
default_tax_ratesdo not apply to this item.
- discountable Boolean
- Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
- discounts
List<Subscription
Schedule Phase Add Invoice Item Discount> - The stackable discounts that will be applied to the item.
- metadata Map<String,String>
- 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.
- period
Subscription
Schedule Phase Add Invoice Item Period - price String
- ID of the price used to generate the invoice item.
- price
Data SubscriptionSchedule Phase Add Invoice Item Price Data - Data used to generate a new Price object inline. One of
priceorprice_datais required. - quantity Double
- The quantity of the invoice item.
- tax
Rates List<String> - The tax rates which apply to the item. When set, the
default_tax_ratesdo not apply to this item.
- discountable boolean
- Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
- discounts
Subscription
Schedule Phase Add Invoice Item Discount[] - The stackable discounts that will be applied to the item.
- metadata {[key: string]: string}
- 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.
- period
Subscription
Schedule Phase Add Invoice Item Period - price string
- ID of the price used to generate the invoice item.
- price
Data SubscriptionSchedule Phase Add Invoice Item Price Data - Data used to generate a new Price object inline. One of
priceorprice_datais required. - quantity number
- The quantity of the invoice item.
- tax
Rates string[] - The tax rates which apply to the item. When set, the
default_tax_ratesdo not apply to this item.
- discountable bool
- Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
- discounts
Sequence[Subscription
Schedule Phase Add Invoice Item Discount] - The stackable discounts that will be applied to the item.
- metadata Mapping[str, str]
- 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.
- period
Subscription
Schedule Phase Add Invoice Item Period - price str
- ID of the price used to generate the invoice item.
- price_
data SubscriptionSchedule Phase Add Invoice Item Price Data - Data used to generate a new Price object inline. One of
priceorprice_datais required. - quantity float
- The quantity of the invoice item.
- tax_
rates Sequence[str] - The tax rates which apply to the item. When set, the
default_tax_ratesdo not apply to this item.
- discountable Boolean
- Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
- discounts List<Property Map>
- The stackable discounts that will be applied to the item.
- metadata Map<String>
- 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.
- period Property Map
- price String
- ID of the price used to generate the invoice item.
- price
Data Property Map - Data used to generate a new Price object inline. One of
priceorprice_datais required. - quantity Number
- The quantity of the invoice item.
- tax
Rates List<String> - The tax rates which apply to the item. When set, the
default_tax_ratesdo not apply to this item.
SubscriptionSchedulePhaseAddInvoiceItemDiscount, SubscriptionSchedulePhaseAddInvoiceItemDiscountArgs
- Coupon string
- ID of the coupon to create a new discount for.
- Discount string
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- Promotion
Code string - ID of the promotion code to create a new discount for.
- Coupon string
- ID of the coupon to create a new discount for.
- Discount string
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- Promotion
Code string - ID of the promotion code to create a new discount for.
- coupon string
- ID of the coupon to create a new discount for.
- discount string
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion_
code string - ID of the promotion code to create a new discount for.
- coupon String
- ID of the coupon to create a new discount for.
- discount String
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion
Code String - ID of the promotion code to create a new discount for.
- coupon string
- ID of the coupon to create a new discount for.
- discount string
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion
Code string - ID of the promotion code to create a new discount for.
- coupon str
- ID of the coupon to create a new discount for.
- discount str
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion_
code str - ID of the promotion code to create a new discount for.
- coupon String
- ID of the coupon to create a new discount for.
- discount String
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion
Code String - ID of the promotion code to create a new discount for.
SubscriptionSchedulePhaseAddInvoiceItemPeriod, SubscriptionSchedulePhaseAddInvoiceItemPeriodArgs
SubscriptionSchedulePhaseAddInvoiceItemPeriodEnd, SubscriptionSchedulePhaseAddInvoiceItemPeriodEndArgs
SubscriptionSchedulePhaseAddInvoiceItemPeriodStart, SubscriptionSchedulePhaseAddInvoiceItemPeriodStartArgs
SubscriptionSchedulePhaseAddInvoiceItemPriceData, SubscriptionSchedulePhaseAddInvoiceItemPriceDataArgs
- Currency string
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- Product string
- The ID of the Product that this Price will belong to.
- Tax
Behavior string - 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 eitherinclusiveorexclusive, it cannot be changed. - Unit
Amount double - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.
- Unit
Amount doubleDecimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
- Currency string
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- Product string
- The ID of the Product that this Price will belong to.
- Tax
Behavior string - 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 eitherinclusiveorexclusive, it cannot be changed. - Unit
Amount float64 - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.
- Unit
Amount float64Decimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
- currency string
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- product string
- The ID of the Product that this Price will belong to.
- tax_
behavior string - 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 eitherinclusiveorexclusive, it cannot be changed. - unit_
amount number - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.
- unit_
amount_ numberdecimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
- currency String
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- product String
- The ID of the Product that this Price will belong to.
- tax
Behavior String - 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 eitherinclusiveorexclusive, it cannot be changed. - unit
Amount Double - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.
- unit
Amount DoubleDecimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
- currency string
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- product string
- The ID of the Product that this Price will belong to.
- tax
Behavior string - 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 eitherinclusiveorexclusive, it cannot be changed. - unit
Amount number - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.
- unit
Amount numberDecimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
- currency str
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- product str
- The ID of the Product that this Price will belong to.
- tax_
behavior str - 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 eitherinclusiveorexclusive, it cannot be changed. - unit_
amount float - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.
- unit_
amount_ floatdecimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
- currency String
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- product String
- The ID of the Product that this Price will belong to.
- tax
Behavior String - 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 eitherinclusiveorexclusive, it cannot be changed. - unit
Amount Number - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.
- unit
Amount NumberDecimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
SubscriptionSchedulePhaseAutomaticTax, SubscriptionSchedulePhaseAutomaticTaxArgs
- Enabled bool
- Whether Stripe automatically computes tax on invoices created during this phase.
- Disabled
Reason string - If Stripe disabled automatic tax, this enum describes why.
- Liability
Subscription
Schedule Phase Automatic Tax Liability - 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.
- Enabled bool
- Whether Stripe automatically computes tax on invoices created during this phase.
- Disabled
Reason string - If Stripe disabled automatic tax, this enum describes why.
- Liability
Subscription
Schedule Phase Automatic Tax Liability - 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.
- enabled bool
- Whether Stripe automatically computes tax on invoices created during this phase.
- disabled_
reason string - If Stripe disabled automatic tax, this enum describes why.
- liability object
- 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.
- enabled Boolean
- Whether Stripe automatically computes tax on invoices created during this phase.
- disabled
Reason String - If Stripe disabled automatic tax, this enum describes why.
- liability
Subscription
Schedule Phase Automatic Tax Liability - 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.
- enabled boolean
- Whether Stripe automatically computes tax on invoices created during this phase.
- disabled
Reason string - If Stripe disabled automatic tax, this enum describes why.
- liability
Subscription
Schedule Phase Automatic Tax Liability - 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.
- enabled bool
- Whether Stripe automatically computes tax on invoices created during this phase.
- disabled_
reason str - If Stripe disabled automatic tax, this enum describes why.
- liability
Subscription
Schedule Phase Automatic Tax Liability - 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.
- enabled Boolean
- Whether Stripe automatically computes tax on invoices created during this phase.
- disabled
Reason String - If Stripe disabled automatic tax, this enum describes why.
- liability Property Map
- 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.
SubscriptionSchedulePhaseAutomaticTaxLiability, SubscriptionSchedulePhaseAutomaticTaxLiabilityArgs
SubscriptionSchedulePhaseBillingThresholds, SubscriptionSchedulePhaseBillingThresholdsArgs
- Amount
Gte double - Monetary threshold that triggers the subscription to create an invoice
- Reset
Billing boolCycle Anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
- Amount
Gte float64 - Monetary threshold that triggers the subscription to create an invoice
- Reset
Billing boolCycle Anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
- amount_
gte number - Monetary threshold that triggers the subscription to create an invoice
- reset_
billing_ boolcycle_ anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
- amount
Gte Double - Monetary threshold that triggers the subscription to create an invoice
- reset
Billing BooleanCycle Anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
- amount
Gte number - Monetary threshold that triggers the subscription to create an invoice
- reset
Billing booleanCycle Anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
- amount_
gte float - Monetary threshold that triggers the subscription to create an invoice
- reset_
billing_ boolcycle_ anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
- amount
Gte Number - Monetary threshold that triggers the subscription to create an invoice
- reset
Billing BooleanCycle Anchor - Indicates if the
billing_cycle_anchorshould be reset when a threshold is reached. If true,billing_cycle_anchorwill be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrueif the subscription contains items with plans that haveaggregate_usage=last_ever.
SubscriptionSchedulePhaseDiscount, SubscriptionSchedulePhaseDiscountArgs
- Coupon string
- ID of the coupon to create a new discount for.
- Discount string
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- Promotion
Code string - ID of the promotion code to create a new discount for.
- Coupon string
- ID of the coupon to create a new discount for.
- Discount string
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- Promotion
Code string - ID of the promotion code to create a new discount for.
- coupon string
- ID of the coupon to create a new discount for.
- discount string
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion_
code string - ID of the promotion code to create a new discount for.
- coupon String
- ID of the coupon to create a new discount for.
- discount String
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion
Code String - ID of the promotion code to create a new discount for.
- coupon string
- ID of the coupon to create a new discount for.
- discount string
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion
Code string - ID of the promotion code to create a new discount for.
- coupon str
- ID of the coupon to create a new discount for.
- discount str
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion_
code str - ID of the promotion code to create a new discount for.
- coupon String
- ID of the coupon to create a new discount for.
- discount String
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion
Code String - ID of the promotion code to create a new discount for.
SubscriptionSchedulePhaseDuration, SubscriptionSchedulePhaseDurationArgs
- Interval string
- Specifies phase duration. Either
day,week,monthoryear. - Interval
Count double - The multiplier applied to the interval.
- Interval string
- Specifies phase duration. Either
day,week,monthoryear. - Interval
Count float64 - The multiplier applied to the interval.
- interval string
- Specifies phase duration. Either
day,week,monthoryear. - interval_
count number - The multiplier applied to the interval.
- interval String
- Specifies phase duration. Either
day,week,monthoryear. - interval
Count Double - The multiplier applied to the interval.
- interval string
- Specifies phase duration. Either
day,week,monthoryear. - interval
Count number - The multiplier applied to the interval.
- interval str
- Specifies phase duration. Either
day,week,monthoryear. - interval_
count float - The multiplier applied to the interval.
- interval String
- Specifies phase duration. Either
day,week,monthoryear. - interval
Count Number - The multiplier applied to the interval.
SubscriptionSchedulePhaseInvoiceSettings, SubscriptionSchedulePhaseInvoiceSettingsArgs
- Account
Tax List<string>Ids - 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.
- Days
Until doubleDue - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - Issuer
Subscription
Schedule Phase Invoice Settings Issuer - The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
- Account
Tax []stringIds - 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.
- Days
Until float64Due - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - Issuer
Subscription
Schedule Phase Invoice Settings Issuer - The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
- account_
tax_ list(string)ids - 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.
- days_
until_ numberdue - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - issuer object
- The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
- account
Tax List<String>Ids - 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.
- days
Until DoubleDue - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - issuer
Subscription
Schedule Phase Invoice Settings Issuer - The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
- account
Tax string[]Ids - 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.
- days
Until numberDue - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - issuer
Subscription
Schedule Phase Invoice Settings Issuer - The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
- account_
tax_ Sequence[str]ids - 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.
- days_
until_ floatdue - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - issuer
Subscription
Schedule Phase Invoice Settings Issuer - The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
- account
Tax List<String>Ids - 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.
- days
Until NumberDue - Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be
nullfor subscription schedules wherebilling=charge_automatically. - issuer Property Map
- The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
SubscriptionSchedulePhaseInvoiceSettingsIssuer, SubscriptionSchedulePhaseInvoiceSettingsIssuerArgs
SubscriptionSchedulePhaseItem, SubscriptionSchedulePhaseItemArgs
- Billing
Thresholds SubscriptionSchedule Phase Item Billing Thresholds - Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
- Discounts
List<Subscription
Schedule Phase Item Discount> - The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use
expand[]=discountsto expand each discount. - Metadata Dictionary<string, string>
- Set of key-value pairs that you can attach to an item. Metadata on this item will update the underlying subscription item's
metadatawhen the phase is entered. - Plan string
- ID of the plan to which the customer should be subscribed.
- Price string
- ID of the price to which the customer should be subscribed.
- Price
Data SubscriptionSchedule Phase Item Price Data - Data used to generate a new Price object inline.
- Quantity double
- Quantity of the plan to which the customer should be subscribed.
- Tax
Rates List<string> - The tax rates which apply to this
phase_item. When set, thedefault_tax_rateson the phase do not apply to thisphase_item.
- Billing
Thresholds SubscriptionSchedule Phase Item Billing Thresholds - Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
- Discounts
[]Subscription
Schedule Phase Item Discount - The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use
expand[]=discountsto expand each discount. - Metadata map[string]string
- Set of key-value pairs that you can attach to an item. Metadata on this item will update the underlying subscription item's
metadatawhen the phase is entered. - Plan string
- ID of the plan to which the customer should be subscribed.
- Price string
- ID of the price to which the customer should be subscribed.
- Price
Data SubscriptionSchedule Phase Item Price Data - Data used to generate a new Price object inline.
- Quantity float64
- Quantity of the plan to which the customer should be subscribed.
- Tax
Rates []string - The tax rates which apply to this
phase_item. When set, thedefault_tax_rateson the phase do not apply to thisphase_item.
- billing_
thresholds object - Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
- discounts list(object)
- The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use
expand[]=discountsto expand each discount. - metadata map(string)
- Set of key-value pairs that you can attach to an item. Metadata on this item will update the underlying subscription item's
metadatawhen the phase is entered. - plan string
- ID of the plan to which the customer should be subscribed.
- price string
- ID of the price to which the customer should be subscribed.
- price_
data object - Data used to generate a new Price object inline.
- quantity number
- Quantity of the plan to which the customer should be subscribed.
- tax_
rates list(string) - The tax rates which apply to this
phase_item. When set, thedefault_tax_rateson the phase do not apply to thisphase_item.
- billing
Thresholds SubscriptionSchedule Phase Item Billing Thresholds - Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
- discounts
List<Subscription
Schedule Phase Item Discount> - The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use
expand[]=discountsto expand each discount. - metadata Map<String,String>
- Set of key-value pairs that you can attach to an item. Metadata on this item will update the underlying subscription item's
metadatawhen the phase is entered. - plan String
- ID of the plan to which the customer should be subscribed.
- price String
- ID of the price to which the customer should be subscribed.
- price
Data SubscriptionSchedule Phase Item Price Data - Data used to generate a new Price object inline.
- quantity Double
- Quantity of the plan to which the customer should be subscribed.
- tax
Rates List<String> - The tax rates which apply to this
phase_item. When set, thedefault_tax_rateson the phase do not apply to thisphase_item.
- billing
Thresholds SubscriptionSchedule Phase Item Billing Thresholds - Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
- discounts
Subscription
Schedule Phase Item Discount[] - The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use
expand[]=discountsto expand each discount. - metadata {[key: string]: string}
- Set of key-value pairs that you can attach to an item. Metadata on this item will update the underlying subscription item's
metadatawhen the phase is entered. - plan string
- ID of the plan to which the customer should be subscribed.
- price string
- ID of the price to which the customer should be subscribed.
- price
Data SubscriptionSchedule Phase Item Price Data - Data used to generate a new Price object inline.
- quantity number
- Quantity of the plan to which the customer should be subscribed.
- tax
Rates string[] - The tax rates which apply to this
phase_item. When set, thedefault_tax_rateson the phase do not apply to thisphase_item.
- billing_
thresholds SubscriptionSchedule Phase Item Billing Thresholds - Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
- discounts
Sequence[Subscription
Schedule Phase Item Discount] - The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use
expand[]=discountsto expand each discount. - metadata Mapping[str, str]
- Set of key-value pairs that you can attach to an item. Metadata on this item will update the underlying subscription item's
metadatawhen the phase is entered. - plan str
- ID of the plan to which the customer should be subscribed.
- price str
- ID of the price to which the customer should be subscribed.
- price_
data SubscriptionSchedule Phase Item Price Data - Data used to generate a new Price object inline.
- quantity float
- Quantity of the plan to which the customer should be subscribed.
- tax_
rates Sequence[str] - The tax rates which apply to this
phase_item. When set, thedefault_tax_rateson the phase do not apply to thisphase_item.
- billing
Thresholds Property Map - Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
- discounts List<Property Map>
- The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use
expand[]=discountsto expand each discount. - metadata Map<String>
- Set of key-value pairs that you can attach to an item. Metadata on this item will update the underlying subscription item's
metadatawhen the phase is entered. - plan String
- ID of the plan to which the customer should be subscribed.
- price String
- ID of the price to which the customer should be subscribed.
- price
Data Property Map - Data used to generate a new Price object inline.
- quantity Number
- Quantity of the plan to which the customer should be subscribed.
- tax
Rates List<String> - The tax rates which apply to this
phase_item. When set, thedefault_tax_rateson the phase do not apply to thisphase_item.
SubscriptionSchedulePhaseItemBillingThresholds, SubscriptionSchedulePhaseItemBillingThresholdsArgs
- Usage
Gte double - Usage threshold that triggers the subscription to create an invoice
- Usage
Gte float64 - Usage threshold that triggers the subscription to create an invoice
- usage_
gte number - Usage threshold that triggers the subscription to create an invoice
- usage
Gte Double - Usage threshold that triggers the subscription to create an invoice
- usage
Gte number - Usage threshold that triggers the subscription to create an invoice
- usage_
gte float - Usage threshold that triggers the subscription to create an invoice
- usage
Gte Number - Usage threshold that triggers the subscription to create an invoice
SubscriptionSchedulePhaseItemDiscount, SubscriptionSchedulePhaseItemDiscountArgs
- Coupon string
- ID of the coupon to create a new discount for.
- Discount string
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- Promotion
Code string - ID of the promotion code to create a new discount for.
- Coupon string
- ID of the coupon to create a new discount for.
- Discount string
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- Promotion
Code string - ID of the promotion code to create a new discount for.
- coupon string
- ID of the coupon to create a new discount for.
- discount string
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion_
code string - ID of the promotion code to create a new discount for.
- coupon String
- ID of the coupon to create a new discount for.
- discount String
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion
Code String - ID of the promotion code to create a new discount for.
- coupon string
- ID of the coupon to create a new discount for.
- discount string
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion
Code string - ID of the promotion code to create a new discount for.
- coupon str
- ID of the coupon to create a new discount for.
- discount str
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion_
code str - ID of the promotion code to create a new discount for.
- coupon String
- ID of the coupon to create a new discount for.
- discount String
- ID of an existing discount on the object (or one of its ancestors) to reuse.
- promotion
Code String - ID of the promotion code to create a new discount for.
SubscriptionSchedulePhaseItemPriceData, SubscriptionSchedulePhaseItemPriceDataArgs
- Currency string
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- Product string
- The ID of the Product that this Price will belong to.
- Recurring
Subscription
Schedule Phase Item Price Data Recurring - The recurring components of a price such as
intervalandinterval_count. - Tax
Behavior string - 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 eitherinclusiveorexclusive, it cannot be changed. - Unit
Amount double - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
- Unit
Amount doubleDecimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
- Currency string
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- Product string
- The ID of the Product that this Price will belong to.
- Recurring
Subscription
Schedule Phase Item Price Data Recurring - The recurring components of a price such as
intervalandinterval_count. - Tax
Behavior string - 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 eitherinclusiveorexclusive, it cannot be changed. - Unit
Amount float64 - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
- Unit
Amount float64Decimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
- currency string
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- product string
- The ID of the Product that this Price will belong to.
- recurring object
- The recurring components of a price such as
intervalandinterval_count. - tax_
behavior string - 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 eitherinclusiveorexclusive, it cannot be changed. - unit_
amount number - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
- unit_
amount_ numberdecimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
- currency String
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- product String
- The ID of the Product that this Price will belong to.
- recurring
Subscription
Schedule Phase Item Price Data Recurring - The recurring components of a price such as
intervalandinterval_count. - tax
Behavior String - 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 eitherinclusiveorexclusive, it cannot be changed. - unit
Amount Double - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
- unit
Amount DoubleDecimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
- currency string
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- product string
- The ID of the Product that this Price will belong to.
- recurring
Subscription
Schedule Phase Item Price Data Recurring - The recurring components of a price such as
intervalandinterval_count. - tax
Behavior string - 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 eitherinclusiveorexclusive, it cannot be changed. - unit
Amount number - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
- unit
Amount numberDecimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
- currency str
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- product str
- The ID of the Product that this Price will belong to.
- recurring
Subscription
Schedule Phase Item Price Data Recurring - The recurring components of a price such as
intervalandinterval_count. - tax_
behavior str - 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 eitherinclusiveorexclusive, it cannot be changed. - unit_
amount float - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
- unit_
amount_ floatdecimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
- currency String
- Three-letter ISO currency code, in lowercase. Must be a supported currency.
- product String
- The ID of the Product that this Price will belong to.
- recurring Property Map
- The recurring components of a price such as
intervalandinterval_count. - tax
Behavior String - 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 eitherinclusiveorexclusive, it cannot be changed. - unit
Amount Number - A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
- unit
Amount NumberDecimal - Same as
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amountandunit_amount_decimalcan be set.
SubscriptionSchedulePhaseItemPriceDataRecurring, SubscriptionSchedulePhaseItemPriceDataRecurringArgs
- Interval string
- Specifies billing frequency. Either
day,week,monthoryear. - Interval
Count double - The number of intervals between subscription billings. For example,
interval=monthandinterval_count=3bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
- Interval string
- Specifies billing frequency. Either
day,week,monthoryear. - Interval
Count float64 - The number of intervals between subscription billings. For example,
interval=monthandinterval_count=3bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
- interval string
- Specifies billing frequency. Either
day,week,monthoryear. - interval_
count number - The number of intervals between subscription billings. For example,
interval=monthandinterval_count=3bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
- interval String
- Specifies billing frequency. Either
day,week,monthoryear. - interval
Count Double - The number of intervals between subscription billings. For example,
interval=monthandinterval_count=3bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
- interval string
- Specifies billing frequency. Either
day,week,monthoryear. - interval
Count number - The number of intervals between subscription billings. For example,
interval=monthandinterval_count=3bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
- interval str
- Specifies billing frequency. Either
day,week,monthoryear. - interval_
count float - The number of intervals between subscription billings. For example,
interval=monthandinterval_count=3bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
- interval String
- Specifies billing frequency. Either
day,week,monthoryear. - interval
Count Number - The number of intervals between subscription billings. For example,
interval=monthandinterval_count=3bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
SubscriptionSchedulePhaseTransferData, SubscriptionSchedulePhaseTransferDataArgs
- Destination string
- The account where funds from the payment will be transferred to upon payment success.
- Amount
Percent double - 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.
- Destination string
- The account where funds from the payment will be transferred to upon payment success.
- Amount
Percent float64 - 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.
- destination string
- The account where funds from the payment will be transferred to upon payment success.
- amount_
percent number - 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.
- destination String
- The account where funds from the payment will be transferred to upon payment success.
- amount
Percent Double - 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.
- destination string
- The account where funds from the payment will be transferred to upon payment success.
- amount
Percent number - 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.
- destination str
- The account where funds from the payment will be transferred to upon payment success.
- amount_
percent 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.
- destination String
- The account where funds from the payment will be transferred to upon payment success.
- amount
Percent Number - 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.
Package Details
- Repository
- stripe stripe/terraform-provider-stripe
- License
- Notes
- This Pulumi package is based on the
stripeTerraform Provider.
published on Friday, Aug 14, 2026 by Pulumi