stripe 16.3.0-beta.1 → 16.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/CHANGELOG.md +136 -761
  2. package/README.md +0 -33
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +5 -66
  5. package/cjs/ResourceNamespace.js +3 -0
  6. package/cjs/StripeResource.js +1 -1
  7. package/cjs/Webhooks.js +29 -17
  8. package/cjs/apiVersion.js +1 -2
  9. package/cjs/multipart.js +4 -1
  10. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  11. package/cjs/resources/Invoices.js +0 -13
  12. package/cjs/resources/OAuth.js +1 -1
  13. package/cjs/resources/PaymentIntents.js +0 -4
  14. package/cjs/resources/Quotes.js +0 -32
  15. package/cjs/resources/SubscriptionSchedules.js +0 -4
  16. package/cjs/resources/Terminal/Readers.js +0 -12
  17. package/cjs/resources.js +10 -38
  18. package/cjs/stripe.core.js +13 -10
  19. package/cjs/utils.js +3 -30
  20. package/esm/RequestSender.js +6 -67
  21. package/esm/ResourceNamespace.js +3 -0
  22. package/esm/StripeResource.js +2 -2
  23. package/esm/Webhooks.js +29 -17
  24. package/esm/apiVersion.js +0 -1
  25. package/esm/multipart.js +5 -2
  26. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  27. package/esm/resources/Invoices.js +0 -13
  28. package/esm/resources/OAuth.js +2 -2
  29. package/esm/resources/PaymentIntents.js +0 -4
  30. package/esm/resources/Quotes.js +0 -32
  31. package/esm/resources/SubscriptionSchedules.js +0 -4
  32. package/esm/resources/Terminal/Readers.js +0 -12
  33. package/esm/resources.js +0 -24
  34. package/esm/stripe.core.js +13 -10
  35. package/esm/utils.js +1 -27
  36. package/package.json +1 -1
  37. package/types/AccountLinksResource.d.ts +1 -5
  38. package/types/AccountSessions.d.ts +0 -15
  39. package/types/AccountSessionsResource.d.ts +0 -205
  40. package/types/Accounts.d.ts +1 -88
  41. package/types/AccountsResource.d.ts +0 -204
  42. package/types/BillingPortal/Sessions.d.ts +1 -1
  43. package/types/Charges.d.ts +0 -67
  44. package/types/ChargesResource.d.ts +0 -1294
  45. package/types/Checkout/Sessions.d.ts +1 -28
  46. package/types/Checkout/SessionsResource.d.ts +1 -15
  47. package/types/ConfirmationTokens.d.ts +6 -63
  48. package/types/Coupons.d.ts +1 -1
  49. package/types/CouponsResource.d.ts +1 -1
  50. package/types/CreditNotes.d.ts +0 -21
  51. package/types/CreditNotesResource.d.ts +0 -51
  52. package/types/CustomerSessions.d.ts +1 -1
  53. package/types/CustomersResource.d.ts +0 -2
  54. package/types/Disputes.d.ts +0 -167
  55. package/types/DisputesResource.d.ts +3 -120
  56. package/types/EventTypes.d.ts +17 -426
  57. package/types/Events.d.ts +1 -83
  58. package/types/EventsResource.d.ts +1 -1
  59. package/types/FinancialConnections/Accounts.d.ts +1 -29
  60. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  61. package/types/FinancialConnections/Sessions.d.ts +1 -49
  62. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  63. package/types/Identity/VerificationReports.d.ts +1 -1
  64. package/types/InvoiceItems.d.ts +0 -5
  65. package/types/InvoiceItemsResource.d.ts +0 -98
  66. package/types/InvoiceLineItems.d.ts +0 -22
  67. package/types/Invoices.d.ts +2 -121
  68. package/types/InvoicesResource.d.ts +1784 -5359
  69. package/types/Issuing/CardholdersResource.d.ts +1 -2
  70. package/types/LineItems.d.ts +0 -7
  71. package/types/Mandates.d.ts +0 -77
  72. package/types/PaymentIntents.d.ts +1 -474
  73. package/types/PaymentIntentsResource.d.ts +3377 -6725
  74. package/types/PaymentMethodDomains.d.ts +1 -1
  75. package/types/PaymentMethods.d.ts +0 -62
  76. package/types/PaymentMethodsResource.d.ts +0 -110
  77. package/types/Plans.d.ts +1 -1
  78. package/types/Prices.d.ts +1 -23
  79. package/types/PricesResource.d.ts +0 -22
  80. package/types/Products.d.ts +0 -39
  81. package/types/ProductsResource.d.ts +0 -36
  82. package/types/Quotes.d.ts +1 -578
  83. package/types/QuotesResource.d.ts +266 -3175
  84. package/types/SetupAttempts.d.ts +0 -14
  85. package/types/SetupIntents.d.ts +1 -115
  86. package/types/SetupIntentsResource.d.ts +3 -498
  87. package/types/Sources.d.ts +0 -23
  88. package/types/SubscriptionItems.d.ts +0 -21
  89. package/types/SubscriptionItemsResource.d.ts +0 -109
  90. package/types/SubscriptionSchedules.d.ts +0 -164
  91. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  92. package/types/Subscriptions.d.ts +3 -47
  93. package/types/SubscriptionsResource.d.ts +9 -352
  94. package/types/Terminal/Readers.d.ts +2 -279
  95. package/types/Terminal/ReadersResource.d.ts +1 -208
  96. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -55
  97. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  98. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  99. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  100. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  101. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  102. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  103. package/types/WebhookEndpointsResource.d.ts +2 -50
  104. package/types/index.d.ts +0 -64
  105. package/types/lib.d.ts +0 -12
  106. package/cjs/resources/AccountNotices.js +0 -21
  107. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  108. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  109. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  110. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  111. package/cjs/resources/GiftCards/Cards.js +0 -23
  112. package/cjs/resources/GiftCards/Transactions.js +0 -33
  113. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  114. package/cjs/resources/Margins.js +0 -22
  115. package/cjs/resources/Orders.js +0 -24
  116. package/cjs/resources/QuotePhases.js +0 -22
  117. package/cjs/resources/Tax/Forms.js +0 -20
  118. package/esm/resources/AccountNotices.js +0 -18
  119. package/esm/resources/Capital/FinancingOffers.js +0 -18
  120. package/esm/resources/Capital/FinancingSummary.js +0 -9
  121. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  122. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  123. package/esm/resources/GiftCards/Cards.js +0 -20
  124. package/esm/resources/GiftCards/Transactions.js +0 -30
  125. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  126. package/esm/resources/Margins.js +0 -19
  127. package/esm/resources/Orders.js +0 -21
  128. package/esm/resources/QuotePhases.js +0 -19
  129. package/esm/resources/Tax/Forms.js +0 -17
  130. package/types/AccountNotices.d.ts +0 -110
  131. package/types/AccountNoticesResource.d.ts +0 -98
  132. package/types/Capital/FinancingOffers.d.ts +0 -188
  133. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  134. package/types/Capital/FinancingSummary.d.ts +0 -106
  135. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  136. package/types/Capital/FinancingTransactions.d.ts +0 -135
  137. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  138. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  139. package/types/FinancialConnections/Institutions.d.ts +0 -93
  140. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  141. package/types/GiftCards/Cards.d.ts +0 -118
  142. package/types/GiftCards/CardsResource.d.ts +0 -159
  143. package/types/GiftCards/Transactions.d.ts +0 -129
  144. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  145. package/types/InvoicePayments.d.ts +0 -91
  146. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
  147. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
  148. package/types/Margins.d.ts +0 -56
  149. package/types/MarginsResource.d.ts +0 -114
  150. package/types/Orders.d.ts +0 -1057
  151. package/types/OrdersResource.d.ts +0 -2711
  152. package/types/QuoteLines.d.ts +0 -634
  153. package/types/QuotePhases.d.ts +0 -198
  154. package/types/QuotePhasesResource.d.ts +0 -67
  155. package/types/QuotePreviewInvoices.d.ts +0 -1535
  156. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -778
  157. package/types/Tax/Forms.d.ts +0 -133
  158. package/types/Tax/FormsResource.d.ts +0 -90
package/esm/utils.js CHANGED
@@ -7,8 +7,6 @@ const OPTIONS_KEYS = [
7
7
  'maxNetworkRetries',
8
8
  'timeout',
9
9
  'host',
10
- 'apiMode',
11
- 'additionalHeaders',
12
10
  ];
13
11
  export function isOptionsHash(o) {
14
12
  return (o &&
@@ -19,7 +17,7 @@ export function isOptionsHash(o) {
19
17
  * Stringifies an Object, accommodating nested objects
20
18
  * (forming the conventional key 'parent[child]=value')
21
19
  */
22
- export function queryStringifyRequestData(data) {
20
+ export function stringifyRequestData(data) {
23
21
  return (qs
24
22
  .stringify(data, {
25
23
  serializeDate: (d) => Math.floor(d.getTime() / 1000).toString(),
@@ -126,15 +124,6 @@ export function getOptionsFromArgs(args) {
126
124
  if (params.host) {
127
125
  opts.host = params.host;
128
126
  }
129
- if (params.apiMode) {
130
- if (params.apiMode !== 'standard' && params.apiMode !== 'preview') {
131
- throw new Error(`Invalid apiMode: ${params.apiMode}. Must be one of 'standard' or 'preview'`);
132
- }
133
- opts.apiMode = params.apiMode;
134
- }
135
- if (params.additionalHeaders) {
136
- opts.headers = params.additionalHeaders;
137
- }
138
127
  }
139
128
  }
140
129
  return opts;
@@ -296,18 +285,3 @@ export function concat(arrays) {
296
285
  });
297
286
  return merged;
298
287
  }
299
- /**
300
- * Replaces Date objects with Unix timestamps
301
- */
302
- function dateTimeReplacer(key, value) {
303
- if (this[key] instanceof Date) {
304
- return Math.floor(this[key].getTime() / 1000).toString();
305
- }
306
- return value;
307
- }
308
- /**
309
- * JSON stringifies an Object, replacing Date objects with Unix timestamps
310
- */
311
- export function jsonStringifyRequestData(data) {
312
- return JSON.stringify(data, dateTimeReplacer);
313
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "16.3.0-beta.1",
3
+ "version": "16.4.0",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -60,11 +60,7 @@ declare module 'stripe' {
60
60
  type FutureRequirements = 'include' | 'omit';
61
61
  }
62
62
 
63
- type Type =
64
- | 'account_onboarding'
65
- | 'account_update'
66
- | 'capital_financing_offer'
67
- | 'capital_financing_reporting';
63
+ type Type = 'account_onboarding' | 'account_update';
68
64
  }
69
65
 
70
66
  class AccountLinksResource {
@@ -52,8 +52,6 @@ declare module 'stripe' {
52
52
 
53
53
  balances: Components.Balances;
54
54
 
55
- capital_financing_promotion?: Components.CapitalFinancingPromotion | null;
56
-
57
55
  documents: Components.Documents;
58
56
 
59
57
  notification_banner: Components.NotificationBanner;
@@ -137,19 +135,6 @@ declare module 'stripe' {
137
135
  }
138
136
  }
139
137
 
140
- interface CapitalFinancingPromotion {
141
- /**
142
- * Whether the embedded component is enabled.
143
- */
144
- enabled: boolean;
145
-
146
- features: CapitalFinancingPromotion.Features;
147
- }
148
-
149
- namespace CapitalFinancingPromotion {
150
- interface Features {}
151
- }
152
-
153
138
  interface Documents {
154
139
  /**
155
140
  * Whether the embedded component is enabled.
@@ -36,38 +36,11 @@ declare module 'stripe' {
36
36
  */
37
37
  balances?: Components.Balances;
38
38
 
39
- capital_financing_promotion?: Components.CapitalFinancingPromotion;
40
-
41
- /**
42
- * Configuration for the capital overview embedded component.
43
- */
44
- capital_overview?: Components.CapitalOverview;
45
-
46
39
  /**
47
40
  * Configuration for the documents embedded component.
48
41
  */
49
42
  documents?: Components.Documents;
50
43
 
51
- /**
52
- * Configuration for the financial account component.
53
- */
54
- financial_account?: Components.FinancialAccount;
55
-
56
- /**
57
- * Configuration for the financial account transactions component.
58
- */
59
- financial_account_transactions?: Components.FinancialAccountTransactions;
60
-
61
- /**
62
- * Configuration for the issuing card component.
63
- */
64
- issuing_card?: Components.IssuingCard;
65
-
66
- /**
67
- * Configuration for the issuing cards list component.
68
- */
69
- issuing_cards_list?: Components.IssuingCardsList;
70
-
71
44
  /**
72
45
  * Configuration for the notification banner embedded component.
73
46
  */
@@ -78,11 +51,6 @@ declare module 'stripe' {
78
51
  */
79
52
  payment_details?: Components.PaymentDetails;
80
53
 
81
- /**
82
- * Configuration for the payment method settings embedded component.
83
- */
84
- payment_method_settings?: Components.PaymentMethodSettings;
85
-
86
54
  /**
87
55
  * Configuration for the payments embedded component.
88
56
  */
@@ -97,16 +65,6 @@ declare module 'stripe' {
97
65
  * Configuration for the payouts list embedded component.
98
66
  */
99
67
  payouts_list?: Components.PayoutsList;
100
-
101
- /**
102
- * Configuration for the tax registrations embedded component.
103
- */
104
- tax_registrations?: Components.TaxRegistrations;
105
-
106
- /**
107
- * Configuration for the tax settings embedded component.
108
- */
109
- tax_settings?: Components.TaxSettings;
110
68
  }
111
69
 
112
70
  namespace Components {
@@ -188,38 +146,6 @@ declare module 'stripe' {
188
146
  }
189
147
  }
190
148
 
191
- interface CapitalFinancingPromotion {
192
- /**
193
- * Whether the embedded component is enabled.
194
- */
195
- enabled: boolean;
196
-
197
- /**
198
- * The list of features enabled in the embedded component.
199
- */
200
- features?: CapitalFinancingPromotion.Features;
201
- }
202
-
203
- namespace CapitalFinancingPromotion {
204
- interface Features {}
205
- }
206
-
207
- interface CapitalOverview {
208
- /**
209
- * Whether the embedded component is enabled.
210
- */
211
- enabled: boolean;
212
-
213
- /**
214
- * The list of features enabled in the embedded component.
215
- */
216
- features?: CapitalOverview.Features;
217
- }
218
-
219
- namespace CapitalOverview {
220
- interface Features {}
221
- }
222
-
223
149
  interface Documents {
224
150
  /**
225
151
  * Whether the embedded component is enabled.
@@ -236,89 +162,6 @@ declare module 'stripe' {
236
162
  interface Features {}
237
163
  }
238
164
 
239
- interface FinancialAccount {
240
- /**
241
- * Whether the embedded component is enabled.
242
- */
243
- enabled: boolean;
244
-
245
- features?: FinancialAccount.Features;
246
- }
247
-
248
- namespace FinancialAccount {
249
- interface Features {
250
- /**
251
- * Whether to allow external accounts to be linked for money transfer.
252
- */
253
- external_account_collection?: boolean;
254
-
255
- /**
256
- * Whether to allow money movement features.
257
- */
258
- money_movement?: boolean;
259
- }
260
- }
261
-
262
- interface FinancialAccountTransactions {
263
- /**
264
- * Whether the embedded component is enabled.
265
- */
266
- enabled: boolean;
267
-
268
- features?: FinancialAccountTransactions.Features;
269
- }
270
-
271
- namespace FinancialAccountTransactions {
272
- interface Features {
273
- /**
274
- * Whether to allow card spend dispute features.
275
- */
276
- card_spend_dispute_management?: boolean;
277
- }
278
- }
279
-
280
- interface IssuingCard {
281
- /**
282
- * Whether the embedded component is enabled.
283
- */
284
- enabled: boolean;
285
-
286
- /**
287
- * The list of features enabled in the embedded component.
288
- */
289
- features?: IssuingCard.Features;
290
- }
291
-
292
- namespace IssuingCard {
293
- interface Features {}
294
- }
295
-
296
- interface IssuingCardsList {
297
- /**
298
- * Whether the embedded component is enabled.
299
- */
300
- enabled: boolean;
301
-
302
- /**
303
- * The list of features enabled in the embedded component.
304
- */
305
- features?: IssuingCardsList.Features;
306
- }
307
-
308
- namespace IssuingCardsList {
309
- interface Features {
310
- /**
311
- * Whether to allow card management features.
312
- */
313
- card_management?: boolean;
314
-
315
- /**
316
- * Whether to allow cardholder management features.
317
- */
318
- cardholder_management?: boolean;
319
- }
320
- }
321
-
322
165
  interface NotificationBanner {
323
166
  /**
324
167
  * Whether the embedded component is enabled.
@@ -376,22 +219,6 @@ declare module 'stripe' {
376
219
  }
377
220
  }
378
221
 
379
- interface PaymentMethodSettings {
380
- /**
381
- * Whether the embedded component is enabled.
382
- */
383
- enabled: boolean;
384
-
385
- /**
386
- * The list of features enabled in the embedded component.
387
- */
388
- features?: PaymentMethodSettings.Features;
389
- }
390
-
391
- namespace PaymentMethodSettings {
392
- interface Features {}
393
- }
394
-
395
222
  interface Payments {
396
223
  /**
397
224
  * Whether the embedded component is enabled.
@@ -479,38 +306,6 @@ declare module 'stripe' {
479
306
  namespace PayoutsList {
480
307
  interface Features {}
481
308
  }
482
-
483
- interface TaxRegistrations {
484
- /**
485
- * Whether the embedded component is enabled.
486
- */
487
- enabled: boolean;
488
-
489
- /**
490
- * The list of features enabled in the embedded component.
491
- */
492
- features?: TaxRegistrations.Features;
493
- }
494
-
495
- namespace TaxRegistrations {
496
- interface Features {}
497
- }
498
-
499
- interface TaxSettings {
500
- /**
501
- * Whether the embedded component is enabled.
502
- */
503
- enabled: boolean;
504
-
505
- /**
506
- * The list of features enabled in the embedded component.
507
- */
508
- features?: TaxSettings.Features;
509
- }
510
-
511
- namespace TaxSettings {
512
- interface Features {}
513
- }
514
309
  }
515
310
  }
516
311
 
@@ -106,8 +106,6 @@ declare module 'stripe' {
106
106
 
107
107
  requirements?: Account.Requirements;
108
108
 
109
- risk_controls?: Account.RiskControls;
110
-
111
109
  /**
112
110
  * Options for customizing how the account functions within Stripe.
113
111
  */
@@ -379,26 +377,11 @@ declare module 'stripe' {
379
377
  */
380
378
  paynow_payments?: Capabilities.PaynowPayments;
381
379
 
382
- /**
383
- * The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
384
- */
385
- paypal_payments?: Capabilities.PaypalPayments;
386
-
387
- /**
388
- * The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
389
- */
390
- payto_payments?: Capabilities.PaytoPayments;
391
-
392
380
  /**
393
381
  * The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
394
382
  */
395
383
  promptpay_payments?: Capabilities.PromptpayPayments;
396
384
 
397
- /**
398
- * The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
399
- */
400
- rechnung_payments?: Capabilities.RechnungPayments;
401
-
402
385
  /**
403
386
  * The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
404
387
  */
@@ -532,14 +515,8 @@ declare module 'stripe' {
532
515
 
533
516
  type PaynowPayments = 'active' | 'inactive' | 'pending';
534
517
 
535
- type PaypalPayments = 'active' | 'inactive' | 'pending';
536
-
537
- type PaytoPayments = 'active' | 'inactive' | 'pending';
538
-
539
518
  type PromptpayPayments = 'active' | 'inactive' | 'pending';
540
519
 
541
- type RechnungPayments = 'active' | 'inactive' | 'pending';
542
-
543
520
  type RevolutPayPayments = 'active' | 'inactive' | 'pending';
544
521
 
545
522
  type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';
@@ -803,10 +780,6 @@ declare module 'stripe' {
803
780
  }
804
781
 
805
782
  interface Controller {
806
- application?: Controller.Application;
807
-
808
- dashboard?: Controller.Dashboard;
809
-
810
783
  fees?: Controller.Fees;
811
784
 
812
785
  /**
@@ -830,34 +803,6 @@ declare module 'stripe' {
830
803
  }
831
804
 
832
805
  namespace Controller {
833
- interface Application {
834
- /**
835
- * `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
836
- */
837
- loss_liable: boolean;
838
-
839
- /**
840
- * `true` if the Connect application is responsible for onboarding the account.
841
- */
842
- onboarding_owner: boolean;
843
-
844
- /**
845
- * `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
846
- */
847
- pricing_controls: boolean;
848
- }
849
-
850
- interface Dashboard {
851
- /**
852
- * Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
853
- */
854
- type: Dashboard.Type;
855
- }
856
-
857
- namespace Dashboard {
858
- type Type = 'express' | 'full' | 'none';
859
- }
860
-
861
806
  interface Fees {
862
807
  /**
863
808
  * A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
@@ -870,8 +815,7 @@ declare module 'stripe' {
870
815
  | 'account'
871
816
  | 'application'
872
817
  | 'application_custom'
873
- | 'application_express'
874
- | 'application_unified_accounts_beta';
818
+ | 'application_express';
875
819
  }
876
820
 
877
821
  interface Losses {
@@ -1233,28 +1177,6 @@ declare module 'stripe' {
1233
1177
  }
1234
1178
  }
1235
1179
 
1236
- interface RiskControls {
1237
- charges: RiskControls.Charges;
1238
-
1239
- payouts: RiskControls.Payouts;
1240
- }
1241
-
1242
- namespace RiskControls {
1243
- interface Charges {
1244
- /**
1245
- * Whether a pause of the risk control has been requested.
1246
- */
1247
- pause_requested: boolean;
1248
- }
1249
-
1250
- interface Payouts {
1251
- /**
1252
- * Whether a pause of the risk control has been requested.
1253
- */
1254
- pause_requested: boolean;
1255
- }
1256
- }
1257
-
1258
1180
  interface Settings {
1259
1181
  bacs_debit_payments?: Settings.BacsDebitPayments;
1260
1182
 
@@ -1274,8 +1196,6 @@ declare module 'stripe' {
1274
1196
 
1275
1197
  sepa_debit_payments?: Settings.SepaDebitPayments;
1276
1198
 
1277
- tax_forms?: Settings.TaxForms;
1278
-
1279
1199
  treasury?: Settings.Treasury;
1280
1200
  }
1281
1201
 
@@ -1461,13 +1381,6 @@ declare module 'stripe' {
1461
1381
  creditor_id?: string;
1462
1382
  }
1463
1383
 
1464
- interface TaxForms {
1465
- /**
1466
- * Whether the account opted out of receiving their tax forms by postal delivery.
1467
- */
1468
- consented_to_paperless_delivery: boolean;
1469
- }
1470
-
1471
1384
  interface Treasury {
1472
1385
  tos_acceptance?: Treasury.TosAcceptance;
1473
1386
  }