![]() It is analogous to calling Create an invoice for the given subscription at the specified interval. Specifies an interval for how often to bill for any pending invoice items. If specified, payment collection for this subscription will be paused. Specifies the approximate timestamp on which any pending invoice items will be billed according to the schedule provided at pending_invoice_item_interval. This can be useful for storing additional information about the subscription in a structured format. Set of key-value pairs that you can attach to an subscription. Has the value true if the subscription exists in live mode or the value false if the subscription exists in test mode. ID of the most recent invoice this subscription has generated. List of subscription items, each with an attached price. If the subscription has ended, the date the subscription ended. When billing, a discount applied to a subscription overrides a discount applied on a customer-wide basis. Invoices created will have their default_tax_rates populated from the subscription.ĭescribes the current discount applied to this subscription, if there is one. ![]() The tax rates that will apply to any subscription item that does not have tax_rates set. If neither are set, invoices will use the customer’s invoice_fault_payment_method or default_source. ![]() If default_payment_method is also set, default_payment_method will take precedence. It must belong to the customer associated with the subscription and be in a chargeable state. ID of the default payment source for the subscription. This takes precedence over default_source. It must belong to the customer associated with the subscription. ID of the default payment method for the subscription. This value will be null for subscriptions where collection_method=charge_automatically. Number of days a customer has to pay invoices generated by this subscription. ID of the customer who owns the subscription. Start of the current period that the subscription has been invoiced for. At the end of this period, a new invoice will be created. Time at which the subscription was created.Įnd of the current period that the subscription has been invoiced for. When sending an invoice, Stripe will email your customer an invoice with payment instructions. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. If the subscription was canceled with cancel_at_period_end, canceled_at will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state.Įither charge_automatically, or send_invoice. If the subscription has been canceled, the date of that cancellation. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period. If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner’s Stripe account.ĭetermines the date of the first full invoice, and, for plans with month or year intervals, the day of the month for subsequent invoices.ĭefine thresholds at which an invoice will be sent, and the subscription advanced to a new billing period.Ī date in the future at which the subscription will automatically get canceled. connection_name.Ī non-negative decimal between 0 and 100, with at most two decimal places.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |