From 8085f1a7bd8df949e3f411990a3cfccbd756f06e Mon Sep 17 00:00:00 2001 From: Saransh Kataria Date: Fri, 15 Mar 2019 10:24:25 -0700 Subject: [PATCH] added default_source to ISubscription in stripe (#33902) --- types/stripe/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/stripe/index.d.ts b/types/stripe/index.d.ts index 0c35712f71..dd80286f5b 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -5126,6 +5126,13 @@ declare namespace Stripe { * invoice with payment instructions. */ billing: SubscriptionBilling; + + /** + * ID of the default payment source for the subscription. + * It must belong to the customer associated with the subscription and be in a chargeable state. + * If not set, defaults to the customer’s default source. [Expandable] + */ + default_source: string; } interface ISubscriptionCustCreationOptions extends IDataOptionsWithMetadata {