From f18eee4a3166a8e05cc7d5e6a207a40f635d2360 Mon Sep 17 00:00:00 2001 From: Colin Ulin <47982430+pocketcolin@users.noreply.github.com> Date: Tue, 28 Jan 2020 14:31:59 -0500 Subject: [PATCH] fix(stripe): add off_session and default_payment_method to ISubscriptionCustCreationOptions (#41911) --- types/stripe/index.d.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/types/stripe/index.d.ts b/types/stripe/index.d.ts index 71a79a719f..c45c7ed236 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -10607,8 +10607,17 @@ declare namespace Stripe { /** * The tax rates that will apply to the subscription. */ - default_tax_rates?: string[]; + + /** + * ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. If not set, invoices will use the default payment method in the customer’s invoice settings. + */ + default_payment_method?: string; + + /** + * Indicates if a customer is on or off-session while an invoice payment is attempted. + */ + off_session?: boolean; } interface ISubscriptionCreationOptions extends ISubscriptionCustCreationOptions {