mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
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.
This commit is contained in:
committed by
Andrew Casey
parent
b5deac6480
commit
25731aaec0
Vendored
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user