From 11dd5e5a7a2d998b9f5057d7bf5c606cc3a82aef Mon Sep 17 00:00:00 2001 From: Michael O'Connell Date: Sun, 16 Jun 2019 02:17:42 -0500 Subject: [PATCH] Add missing billing_threshhold and metadata to ISubscriptionCreationItem (#36192) --- types/stripe/index.d.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/types/stripe/index.d.ts b/types/stripe/index.d.ts index bfaff46439..e579d95860 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -6229,6 +6229,22 @@ declare namespace Stripe { * Quantity for this item. */ quantity?: number; + + /** + * Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period. + */ + billing_thresholds?: { + /** + * Usage threshold that triggers the subscription to create an invoice + */ + usage_gte: number; + }; + + /** + * A set of key/value pairs that you can attach to an object. It can be useful for storing + * additional information about the object in a structured format. + */ + metadata?: IOptionsMetadata; } interface ISubscriptionUpdateItem {