From 25731aaec086c61117b4bd66b38cf034453db013 Mon Sep 17 00:00:00 2001 From: Jeffery Grajkowski Date: Thu, 5 Sep 2019 11:27:36 -0700 Subject: [PATCH] Stripe: IBalanceTransaction.exchange_rate and ICharge.dispute (#38110) * Added missing params to Charge, Customer and related create and update options. Adding Customer Tax Id. * Fix build errors that aren't caught by `npm run lint stripe`. * Add IBalanceTransaction.exchange_rate. ICharge.dispute may be a string. * PR feedback. --- types/stripe/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/stripe/index.d.ts b/types/stripe/index.d.ts index e069bdebe2..53a8f33f6b 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -1091,6 +1091,8 @@ declare namespace Stripe { description?: string; + exchange_rate?: number | null; + /** * Fee (in cents/pence) paid for this transaction */ @@ -1258,9 +1260,9 @@ declare namespace Stripe { destination?: string | accounts.IAccount | null; /** - * Details about the dispute if the charge has been disputed. + * Details about the dispute if the charge has been disputed. [Expandable] */ - dispute?: disputes.IDispute | null; + dispute?: string | disputes.IDispute | null; /** * Error code explaining reason for charge failure if available (see the errors section for a list of