stripe 16.9.0-beta.2 → 16.9.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 (164) hide show
  1. package/CHANGELOG.md +123 -822
  2. package/README.md +0 -33
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +5 -66
  5. package/cjs/StripeResource.js +1 -1
  6. package/cjs/apiVersion.js +1 -2
  7. package/cjs/multipart.js +1 -1
  8. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  9. package/cjs/resources/Invoices.js +0 -17
  10. package/cjs/resources/OAuth.js +1 -1
  11. package/cjs/resources/PaymentIntents.js +0 -4
  12. package/cjs/resources/Quotes.js +0 -32
  13. package/cjs/resources/SubscriptionSchedules.js +0 -4
  14. package/cjs/resources/Terminal/Readers.js +0 -12
  15. package/cjs/resources.js +10 -40
  16. package/cjs/stripe.core.js +3 -6
  17. package/cjs/utils.js +3 -30
  18. package/esm/RequestSender.js +6 -67
  19. package/esm/StripeResource.js +2 -2
  20. package/esm/apiVersion.js +0 -1
  21. package/esm/multipart.js +2 -2
  22. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  23. package/esm/resources/Invoices.js +0 -17
  24. package/esm/resources/OAuth.js +2 -2
  25. package/esm/resources/PaymentIntents.js +0 -4
  26. package/esm/resources/Quotes.js +0 -32
  27. package/esm/resources/SubscriptionSchedules.js +0 -4
  28. package/esm/resources/Terminal/Readers.js +0 -12
  29. package/esm/resources.js +0 -26
  30. package/esm/stripe.core.js +3 -6
  31. package/esm/utils.js +1 -27
  32. package/package.json +1 -1
  33. package/types/AccountLinksResource.d.ts +2 -6
  34. package/types/AccountSessions.d.ts +0 -45
  35. package/types/AccountSessionsResource.d.ts +0 -260
  36. package/types/Accounts.d.ts +1 -113
  37. package/types/AccountsResource.d.ts +0 -270
  38. package/types/Charges.d.ts +0 -71
  39. package/types/ChargesResource.d.ts +0 -1294
  40. package/types/Checkout/Sessions.d.ts +4 -185
  41. package/types/Checkout/SessionsResource.d.ts +5 -349
  42. package/types/ConfirmationTokens.d.ts +0 -67
  43. package/types/Coupons.d.ts +1 -1
  44. package/types/CouponsResource.d.ts +1 -1
  45. package/types/CreditNotes.d.ts +0 -21
  46. package/types/CreditNotesResource.d.ts +0 -51
  47. package/types/CustomersResource.d.ts +0 -3
  48. package/types/Disputes.d.ts +0 -152
  49. package/types/DisputesResource.d.ts +0 -120
  50. package/types/EventTypes.d.ts +0 -460
  51. package/types/Events.d.ts +0 -85
  52. package/types/FileLinksResource.d.ts +1 -1
  53. package/types/Files.d.ts +1 -0
  54. package/types/FilesResource.d.ts +3 -1
  55. package/types/FinancialConnections/Accounts.d.ts +1 -29
  56. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  57. package/types/FinancialConnections/Sessions.d.ts +1 -49
  58. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  59. package/types/InvoiceItems.d.ts +0 -5
  60. package/types/InvoiceItemsResource.d.ts +0 -98
  61. package/types/InvoiceLineItems.d.ts +3 -23
  62. package/types/Invoices.d.ts +1 -116
  63. package/types/InvoicesResource.d.ts +1835 -5493
  64. package/types/Issuing/CardholdersResource.d.ts +1 -2
  65. package/types/Issuing/Cards.d.ts +1 -1
  66. package/types/LineItems.d.ts +1 -8
  67. package/types/Mandates.d.ts +0 -77
  68. package/types/PaymentIntents.d.ts +1 -502
  69. package/types/PaymentIntentsResource.d.ts +3464 -7064
  70. package/types/PaymentLinks.d.ts +0 -1
  71. package/types/PaymentLinksResource.d.ts +0 -2
  72. package/types/PaymentMethodConfigurations.d.ts +0 -36
  73. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  74. package/types/PaymentMethods.d.ts +0 -67
  75. package/types/PaymentMethodsResource.d.ts +0 -119
  76. package/types/Prices.d.ts +0 -22
  77. package/types/PricesResource.d.ts +0 -22
  78. package/types/Products.d.ts +0 -39
  79. package/types/ProductsResource.d.ts +0 -36
  80. package/types/Quotes.d.ts +1 -596
  81. package/types/QuotesResource.d.ts +199 -2531
  82. package/types/SetupAttempts.d.ts +0 -9
  83. package/types/SetupIntents.d.ts +1 -110
  84. package/types/SetupIntentsResource.d.ts +3 -522
  85. package/types/Sources.d.ts +0 -23
  86. package/types/SubscriptionItems.d.ts +0 -21
  87. package/types/SubscriptionItemsResource.d.ts +0 -109
  88. package/types/SubscriptionSchedules.d.ts +0 -200
  89. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  90. package/types/Subscriptions.d.ts +1 -82
  91. package/types/SubscriptionsResource.d.ts +2 -347
  92. package/types/Tax/CalculationsResource.d.ts +1 -1
  93. package/types/Terminal/Readers.d.ts +0 -278
  94. package/types/Terminal/ReadersResource.d.ts +0 -208
  95. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -63
  96. package/types/TestHelpers/TestClocks.d.ts +15 -0
  97. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  98. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  99. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  100. package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
  101. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  102. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  103. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  104. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  105. package/types/WebhookEndpointsResource.d.ts +0 -54
  106. package/types/index.d.ts +0 -67
  107. package/types/lib.d.ts +0 -12
  108. package/cjs/resources/AccountNotices.js +0 -21
  109. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  110. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  111. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  112. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  113. package/cjs/resources/GiftCards/Cards.js +0 -23
  114. package/cjs/resources/GiftCards/Transactions.js +0 -33
  115. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  116. package/cjs/resources/Margins.js +0 -22
  117. package/cjs/resources/Orders.js +0 -24
  118. package/cjs/resources/QuotePhases.js +0 -22
  119. package/cjs/resources/Tax/Associations.js +0 -9
  120. package/cjs/resources/Tax/Forms.js +0 -20
  121. package/esm/resources/AccountNotices.js +0 -18
  122. package/esm/resources/Capital/FinancingOffers.js +0 -18
  123. package/esm/resources/Capital/FinancingSummary.js +0 -9
  124. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  125. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  126. package/esm/resources/GiftCards/Cards.js +0 -20
  127. package/esm/resources/GiftCards/Transactions.js +0 -30
  128. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  129. package/esm/resources/Margins.js +0 -19
  130. package/esm/resources/Orders.js +0 -21
  131. package/esm/resources/QuotePhases.js +0 -19
  132. package/esm/resources/Tax/Associations.js +0 -6
  133. package/esm/resources/Tax/Forms.js +0 -17
  134. package/types/AccountNotices.d.ts +0 -113
  135. package/types/AccountNoticesResource.d.ts +0 -98
  136. package/types/Capital/FinancingOffers.d.ts +0 -188
  137. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  138. package/types/Capital/FinancingSummary.d.ts +0 -106
  139. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  140. package/types/Capital/FinancingTransactions.d.ts +0 -135
  141. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  142. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  143. package/types/FinancialConnections/Institutions.d.ts +0 -93
  144. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  145. package/types/GiftCards/Cards.d.ts +0 -118
  146. package/types/GiftCards/CardsResource.d.ts +0 -159
  147. package/types/GiftCards/Transactions.d.ts +0 -129
  148. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  149. package/types/InvoicePayments.d.ts +0 -138
  150. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
  151. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
  152. package/types/Margins.d.ts +0 -56
  153. package/types/MarginsResource.d.ts +0 -114
  154. package/types/Orders.d.ts +0 -1084
  155. package/types/OrdersResource.d.ts +0 -2765
  156. package/types/QuoteLines.d.ts +0 -634
  157. package/types/QuotePhases.d.ts +0 -198
  158. package/types/QuotePhasesResource.d.ts +0 -67
  159. package/types/QuotePreviewInvoices.d.ts +0 -1531
  160. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  161. package/types/Tax/Associations.d.ts +0 -126
  162. package/types/Tax/AssociationsResource.d.ts +0 -29
  163. package/types/Tax/Forms.d.ts +0 -133
  164. package/types/Tax/FormsResource.d.ts +0 -90
@@ -31,66 +31,16 @@ declare module 'stripe' {
31
31
  */
32
32
  account_onboarding?: Components.AccountOnboarding;
33
33
 
34
- /**
35
- * Configuration for the app install component.
36
- */
37
- app_install?: Components.AppInstall;
38
-
39
- /**
40
- * Configuration for the app viewport component.
41
- */
42
- app_viewport?: Components.AppViewport;
43
-
44
34
  /**
45
35
  * Configuration for the balances embedded component.
46
36
  */
47
37
  balances?: Components.Balances;
48
38
 
49
- /**
50
- * Configuration for the capital financing embedded component.
51
- */
52
- capital_financing?: Components.CapitalFinancing;
53
-
54
- /**
55
- * Configuration for the capital financing application embedded component.
56
- */
57
- capital_financing_application?: Components.CapitalFinancingApplication;
58
-
59
- /**
60
- * Configuration for the capital financing promotion embedded component.
61
- */
62
- capital_financing_promotion?: Components.CapitalFinancingPromotion;
63
-
64
- /**
65
- * Configuration for the capital overview embedded component.
66
- */
67
- capital_overview?: Components.CapitalOverview;
68
-
69
39
  /**
70
40
  * Configuration for the documents embedded component.
71
41
  */
72
42
  documents?: Components.Documents;
73
43
 
74
- /**
75
- * Configuration for the financial account component.
76
- */
77
- financial_account?: Components.FinancialAccount;
78
-
79
- /**
80
- * Configuration for the financial account transactions component.
81
- */
82
- financial_account_transactions?: Components.FinancialAccountTransactions;
83
-
84
- /**
85
- * Configuration for the issuing card component.
86
- */
87
- issuing_card?: Components.IssuingCard;
88
-
89
- /**
90
- * Configuration for the issuing cards list component.
91
- */
92
- issuing_cards_list?: Components.IssuingCardsList;
93
-
94
44
  /**
95
45
  * Configuration for the notification banner embedded component.
96
46
  */
@@ -101,11 +51,6 @@ declare module 'stripe' {
101
51
  */
102
52
  payment_details?: Components.PaymentDetails;
103
53
 
104
- /**
105
- * Configuration for the payment method settings embedded component.
106
- */
107
- payment_method_settings?: Components.PaymentMethodSettings;
108
-
109
54
  /**
110
55
  * Configuration for the payments embedded component.
111
56
  */
@@ -175,48 +120,6 @@ declare module 'stripe' {
175
120
  }
176
121
  }
177
122
 
178
- interface AppInstall {
179
- /**
180
- * Whether the embedded component is enabled.
181
- */
182
- enabled: boolean;
183
-
184
- /**
185
- * The list of features enabled in the embedded component.
186
- */
187
- features?: AppInstall.Features;
188
- }
189
-
190
- namespace AppInstall {
191
- interface Features {
192
- /**
193
- * List of apps allowed to be enabled for this account session.
194
- */
195
- allowed_apps?: Stripe.Emptyable<Array<string>>;
196
- }
197
- }
198
-
199
- interface AppViewport {
200
- /**
201
- * Whether the embedded component is enabled.
202
- */
203
- enabled: boolean;
204
-
205
- /**
206
- * The list of features enabled in the embedded component.
207
- */
208
- features?: AppViewport.Features;
209
- }
210
-
211
- namespace AppViewport {
212
- interface Features {
213
- /**
214
- * List of apps allowed to be enabled for this account session.
215
- */
216
- allowed_apps?: Stripe.Emptyable<Array<string>>;
217
- }
218
- }
219
-
220
123
  interface Balances {
221
124
  /**
222
125
  * Whether the embedded component is enabled.
@@ -253,70 +156,6 @@ declare module 'stripe' {
253
156
  }
254
157
  }
255
158
 
256
- interface CapitalFinancing {
257
- /**
258
- * Whether the embedded component is enabled.
259
- */
260
- enabled: boolean;
261
-
262
- /**
263
- * The list of features enabled in the embedded component.
264
- */
265
- features?: CapitalFinancing.Features;
266
- }
267
-
268
- namespace CapitalFinancing {
269
- interface Features {}
270
- }
271
-
272
- interface CapitalFinancingApplication {
273
- /**
274
- * Whether the embedded component is enabled.
275
- */
276
- enabled: boolean;
277
-
278
- /**
279
- * The list of features enabled in the embedded component.
280
- */
281
- features?: CapitalFinancingApplication.Features;
282
- }
283
-
284
- namespace CapitalFinancingApplication {
285
- interface Features {}
286
- }
287
-
288
- interface CapitalFinancingPromotion {
289
- /**
290
- * Whether the embedded component is enabled.
291
- */
292
- enabled: boolean;
293
-
294
- /**
295
- * The list of features enabled in the embedded component.
296
- */
297
- features?: CapitalFinancingPromotion.Features;
298
- }
299
-
300
- namespace CapitalFinancingPromotion {
301
- interface Features {}
302
- }
303
-
304
- interface CapitalOverview {
305
- /**
306
- * Whether the embedded component is enabled.
307
- */
308
- enabled: boolean;
309
-
310
- /**
311
- * The list of features enabled in the embedded component.
312
- */
313
- features?: CapitalOverview.Features;
314
- }
315
-
316
- namespace CapitalOverview {
317
- interface Features {}
318
- }
319
-
320
159
  interface Documents {
321
160
  /**
322
161
  * Whether the embedded component is enabled.
@@ -333,89 +172,6 @@ declare module 'stripe' {
333
172
  interface Features {}
334
173
  }
335
174
 
336
- interface FinancialAccount {
337
- /**
338
- * Whether the embedded component is enabled.
339
- */
340
- enabled: boolean;
341
-
342
- features?: FinancialAccount.Features;
343
- }
344
-
345
- namespace FinancialAccount {
346
- interface Features {
347
- /**
348
- * Whether to allow external accounts to be linked for money transfer.
349
- */
350
- external_account_collection?: boolean;
351
-
352
- /**
353
- * Whether to allow money movement features.
354
- */
355
- money_movement?: boolean;
356
- }
357
- }
358
-
359
- interface FinancialAccountTransactions {
360
- /**
361
- * Whether the embedded component is enabled.
362
- */
363
- enabled: boolean;
364
-
365
- features?: FinancialAccountTransactions.Features;
366
- }
367
-
368
- namespace FinancialAccountTransactions {
369
- interface Features {
370
- /**
371
- * Whether to allow card spend dispute features.
372
- */
373
- card_spend_dispute_management?: boolean;
374
- }
375
- }
376
-
377
- interface IssuingCard {
378
- /**
379
- * Whether the embedded component is enabled.
380
- */
381
- enabled: boolean;
382
-
383
- /**
384
- * The list of features enabled in the embedded component.
385
- */
386
- features?: IssuingCard.Features;
387
- }
388
-
389
- namespace IssuingCard {
390
- interface Features {}
391
- }
392
-
393
- interface IssuingCardsList {
394
- /**
395
- * Whether the embedded component is enabled.
396
- */
397
- enabled: boolean;
398
-
399
- /**
400
- * The list of features enabled in the embedded component.
401
- */
402
- features?: IssuingCardsList.Features;
403
- }
404
-
405
- namespace IssuingCardsList {
406
- interface Features {
407
- /**
408
- * Whether to allow card management features.
409
- */
410
- card_management?: boolean;
411
-
412
- /**
413
- * Whether to allow cardholder management features.
414
- */
415
- cardholder_management?: boolean;
416
- }
417
- }
418
-
419
175
  interface NotificationBanner {
420
176
  /**
421
177
  * Whether the embedded component is enabled.
@@ -473,22 +229,6 @@ declare module 'stripe' {
473
229
  }
474
230
  }
475
231
 
476
- interface PaymentMethodSettings {
477
- /**
478
- * Whether the embedded component is enabled.
479
- */
480
- enabled: boolean;
481
-
482
- /**
483
- * The list of features enabled in the embedded component.
484
- */
485
- features?: PaymentMethodSettings.Features;
486
- }
487
-
488
- namespace PaymentMethodSettings {
489
- interface Features {}
490
- }
491
-
492
232
  interface Payments {
493
233
  /**
494
234
  * Whether the embedded component is enabled.
@@ -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
  */
@@ -349,11 +347,6 @@ declare module 'stripe' {
349
347
  */
350
348
  link_payments?: Capabilities.LinkPayments;
351
349
 
352
- /**
353
- * The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
354
- */
355
- mb_way_payments?: Capabilities.MbWayPayments;
356
-
357
350
  /**
358
351
  * The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
359
352
  */
@@ -384,26 +377,11 @@ declare module 'stripe' {
384
377
  */
385
378
  paynow_payments?: Capabilities.PaynowPayments;
386
379
 
387
- /**
388
- * The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
389
- */
390
- paypal_payments?: Capabilities.PaypalPayments;
391
-
392
- /**
393
- * The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
394
- */
395
- payto_payments?: Capabilities.PaytoPayments;
396
-
397
380
  /**
398
381
  * The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
399
382
  */
400
383
  promptpay_payments?: Capabilities.PromptpayPayments;
401
384
 
402
- /**
403
- * The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
404
- */
405
- rechnung_payments?: Capabilities.RechnungPayments;
406
-
407
385
  /**
408
386
  * The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
409
387
  */
@@ -525,8 +503,6 @@ declare module 'stripe' {
525
503
 
526
504
  type LinkPayments = 'active' | 'inactive' | 'pending';
527
505
 
528
- type MbWayPayments = 'active' | 'inactive' | 'pending';
529
-
530
506
  type MobilepayPayments = 'active' | 'inactive' | 'pending';
531
507
 
532
508
  type MultibancoPayments = 'active' | 'inactive' | 'pending';
@@ -539,14 +515,8 @@ declare module 'stripe' {
539
515
 
540
516
  type PaynowPayments = 'active' | 'inactive' | 'pending';
541
517
 
542
- type PaypalPayments = 'active' | 'inactive' | 'pending';
543
-
544
- type PaytoPayments = 'active' | 'inactive' | 'pending';
545
-
546
518
  type PromptpayPayments = 'active' | 'inactive' | 'pending';
547
519
 
548
- type RechnungPayments = 'active' | 'inactive' | 'pending';
549
-
550
520
  type RevolutPayPayments = 'active' | 'inactive' | 'pending';
551
521
 
552
522
  type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';
@@ -810,10 +780,6 @@ declare module 'stripe' {
810
780
  }
811
781
 
812
782
  interface Controller {
813
- application?: Controller.Application;
814
-
815
- dashboard?: Controller.Dashboard;
816
-
817
783
  fees?: Controller.Fees;
818
784
 
819
785
  /**
@@ -837,34 +803,6 @@ declare module 'stripe' {
837
803
  }
838
804
 
839
805
  namespace Controller {
840
- interface Application {
841
- /**
842
- * `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
843
- */
844
- loss_liable: boolean;
845
-
846
- /**
847
- * `true` if the Connect application is responsible for onboarding the account.
848
- */
849
- onboarding_owner: boolean;
850
-
851
- /**
852
- * `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
853
- */
854
- pricing_controls: boolean;
855
- }
856
-
857
- interface Dashboard {
858
- /**
859
- * Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
860
- */
861
- type: Dashboard.Type;
862
- }
863
-
864
- namespace Dashboard {
865
- type Type = 'express' | 'full' | 'none';
866
- }
867
-
868
806
  interface Fees {
869
807
  /**
870
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).
@@ -877,8 +815,7 @@ declare module 'stripe' {
877
815
  | 'account'
878
816
  | 'application'
879
817
  | 'application_custom'
880
- | 'application_express'
881
- | 'application_unified_accounts_beta';
818
+ | 'application_express';
882
819
  }
883
820
 
884
821
  interface Losses {
@@ -1240,35 +1177,11 @@ declare module 'stripe' {
1240
1177
  }
1241
1178
  }
1242
1179
 
1243
- interface RiskControls {
1244
- charges: RiskControls.Charges;
1245
-
1246
- payouts: RiskControls.Payouts;
1247
- }
1248
-
1249
- namespace RiskControls {
1250
- interface Charges {
1251
- /**
1252
- * Whether a pause of the risk control has been requested.
1253
- */
1254
- pause_requested: boolean;
1255
- }
1256
-
1257
- interface Payouts {
1258
- /**
1259
- * Whether a pause of the risk control has been requested.
1260
- */
1261
- pause_requested: boolean;
1262
- }
1263
- }
1264
-
1265
1180
  interface Settings {
1266
1181
  bacs_debit_payments?: Settings.BacsDebitPayments;
1267
1182
 
1268
1183
  branding: Settings.Branding;
1269
1184
 
1270
- capital?: Settings.Capital;
1271
-
1272
1185
  card_issuing?: Settings.CardIssuing;
1273
1186
 
1274
1187
  card_payments: Settings.CardPayments;
@@ -1283,8 +1196,6 @@ declare module 'stripe' {
1283
1196
 
1284
1197
  sepa_debit_payments?: Settings.SepaDebitPayments;
1285
1198
 
1286
- tax_forms?: Settings.TaxForms;
1287
-
1288
1199
  treasury?: Settings.Treasury;
1289
1200
  }
1290
1201
 
@@ -1323,22 +1234,6 @@ declare module 'stripe' {
1323
1234
  secondary_color: string | null;
1324
1235
  }
1325
1236
 
1326
- interface Capital {
1327
- /**
1328
- * Per-currency mapping of user-selected destination accounts used to pay out loans.
1329
- */
1330
- payout_destination?: {
1331
- [key: string]: string;
1332
- };
1333
-
1334
- /**
1335
- * Per-currency mapping of all destination accounts eligible to receive loan payouts.
1336
- */
1337
- payout_destination_selector?: {
1338
- [key: string]: Array<string>;
1339
- };
1340
- }
1341
-
1342
1237
  interface CardIssuing {
1343
1238
  tos_acceptance?: CardIssuing.TosAcceptance;
1344
1239
  }
@@ -1486,13 +1381,6 @@ declare module 'stripe' {
1486
1381
  creditor_id?: string;
1487
1382
  }
1488
1383
 
1489
- interface TaxForms {
1490
- /**
1491
- * Whether the account opted out of receiving their tax forms by postal delivery.
1492
- */
1493
- consented_to_paperless_delivery: boolean;
1494
- }
1495
-
1496
1384
  interface Treasury {
1497
1385
  tos_acceptance?: Treasury.TosAcceptance;
1498
1386
  }