stripe 16.7.0 → 16.8.0-beta.1

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 (161) hide show
  1. package/CHANGELOG.md +799 -110
  2. package/README.md +33 -0
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +66 -5
  5. package/cjs/StripeResource.js +1 -1
  6. package/cjs/apiVersion.js +2 -1
  7. package/cjs/multipart.js +1 -1
  8. package/cjs/resources/AccountNotices.js +21 -0
  9. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  10. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  11. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  12. package/cjs/resources/FinancialConnections/Accounts.js +5 -0
  13. package/cjs/resources/FinancialConnections/Institutions.js +17 -0
  14. package/cjs/resources/GiftCards/Cards.js +23 -0
  15. package/cjs/resources/GiftCards/Transactions.js +33 -0
  16. package/cjs/resources/Invoices.js +17 -0
  17. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
  18. package/cjs/resources/Margins.js +22 -0
  19. package/cjs/resources/OAuth.js +1 -1
  20. package/cjs/resources/Orders.js +24 -0
  21. package/cjs/resources/PaymentIntents.js +4 -0
  22. package/cjs/resources/QuotePhases.js +22 -0
  23. package/cjs/resources/Quotes.js +32 -0
  24. package/cjs/resources/SubscriptionSchedules.js +4 -0
  25. package/cjs/resources/Tax/Associations.js +9 -0
  26. package/cjs/resources/Tax/Forms.js +20 -0
  27. package/cjs/resources/Terminal/Readers.js +12 -0
  28. package/cjs/resources.js +40 -10
  29. package/cjs/stripe.core.js +6 -3
  30. package/cjs/utils.js +30 -3
  31. package/esm/RequestSender.js +67 -6
  32. package/esm/StripeResource.js +2 -2
  33. package/esm/apiVersion.js +1 -0
  34. package/esm/multipart.js +2 -2
  35. package/esm/resources/AccountNotices.js +18 -0
  36. package/esm/resources/Capital/FinancingOffers.js +18 -0
  37. package/esm/resources/Capital/FinancingSummary.js +9 -0
  38. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  39. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  40. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  41. package/esm/resources/GiftCards/Cards.js +20 -0
  42. package/esm/resources/GiftCards/Transactions.js +30 -0
  43. package/esm/resources/Invoices.js +17 -0
  44. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  45. package/esm/resources/Margins.js +19 -0
  46. package/esm/resources/OAuth.js +2 -2
  47. package/esm/resources/Orders.js +21 -0
  48. package/esm/resources/PaymentIntents.js +4 -0
  49. package/esm/resources/QuotePhases.js +19 -0
  50. package/esm/resources/Quotes.js +32 -0
  51. package/esm/resources/SubscriptionSchedules.js +4 -0
  52. package/esm/resources/Tax/Associations.js +6 -0
  53. package/esm/resources/Tax/Forms.js +17 -0
  54. package/esm/resources/Terminal/Readers.js +12 -0
  55. package/esm/resources.js +26 -0
  56. package/esm/stripe.core.js +6 -3
  57. package/esm/utils.js +27 -1
  58. package/package.json +1 -1
  59. package/types/AccountLinksResource.d.ts +5 -1
  60. package/types/AccountNotices.d.ts +113 -0
  61. package/types/AccountNoticesResource.d.ts +98 -0
  62. package/types/AccountSessions.d.ts +45 -0
  63. package/types/AccountSessionsResource.d.ts +215 -0
  64. package/types/Accounts.d.ts +106 -1
  65. package/types/AccountsResource.d.ts +247 -1
  66. package/types/Capital/FinancingOffers.d.ts +188 -0
  67. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  68. package/types/Capital/FinancingSummary.d.ts +106 -0
  69. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  70. package/types/Capital/FinancingTransactions.d.ts +135 -0
  71. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  72. package/types/Charges.d.ts +72 -0
  73. package/types/ChargesResource.d.ts +1294 -0
  74. package/types/Checkout/Sessions.d.ts +116 -4
  75. package/types/Checkout/SessionsResource.d.ts +111 -5
  76. package/types/ConfirmationTokens.d.ts +62 -0
  77. package/types/Coupons.d.ts +1 -1
  78. package/types/CouponsResource.d.ts +1 -1
  79. package/types/CreditNotes.d.ts +21 -0
  80. package/types/CreditNotesResource.d.ts +51 -0
  81. package/types/CustomersResource.d.ts +2 -0
  82. package/types/Disputes.d.ts +158 -0
  83. package/types/DisputesResource.d.ts +120 -0
  84. package/types/EventTypes.d.ts +460 -0
  85. package/types/Events.d.ts +85 -0
  86. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  87. package/types/FinancialConnections/Accounts.d.ts +29 -1
  88. package/types/FinancialConnections/AccountsResource.d.ts +35 -3
  89. package/types/FinancialConnections/Institutions.d.ts +93 -0
  90. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  91. package/types/FinancialConnections/Sessions.d.ts +49 -1
  92. package/types/FinancialConnections/SessionsResource.d.ts +38 -1
  93. package/types/GiftCards/Cards.d.ts +118 -0
  94. package/types/GiftCards/CardsResource.d.ts +159 -0
  95. package/types/GiftCards/Transactions.d.ts +129 -0
  96. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  97. package/types/InvoiceItems.d.ts +5 -0
  98. package/types/InvoiceItemsResource.d.ts +98 -0
  99. package/types/InvoiceLineItems.d.ts +22 -0
  100. package/types/InvoicePayments.d.ts +138 -0
  101. package/types/Invoices.d.ts +116 -1
  102. package/types/InvoicesResource.d.ts +5455 -1797
  103. package/types/Issuing/CardholdersResource.d.ts +2 -1
  104. package/types/Issuing/CreditUnderwritingRecords.d.ts +446 -0
  105. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1017 -0
  106. package/types/LineItems.d.ts +7 -0
  107. package/types/Mandates.d.ts +77 -0
  108. package/types/Margins.d.ts +56 -0
  109. package/types/MarginsResource.d.ts +114 -0
  110. package/types/Orders.d.ts +1083 -0
  111. package/types/OrdersResource.d.ts +2763 -0
  112. package/types/PaymentIntents.d.ts +491 -1
  113. package/types/PaymentIntentsResource.d.ts +7001 -3464
  114. package/types/PaymentLinks.d.ts +1 -0
  115. package/types/PaymentLinksResource.d.ts +2 -0
  116. package/types/PaymentMethodConfigurations.d.ts +36 -0
  117. package/types/PaymentMethodConfigurationsResource.d.ts +50 -0
  118. package/types/PaymentMethods.d.ts +62 -0
  119. package/types/PaymentMethodsResource.d.ts +110 -0
  120. package/types/Prices.d.ts +22 -0
  121. package/types/PricesResource.d.ts +22 -0
  122. package/types/Products.d.ts +39 -0
  123. package/types/ProductsResource.d.ts +36 -0
  124. package/types/QuoteLines.d.ts +634 -0
  125. package/types/QuotePhases.d.ts +198 -0
  126. package/types/QuotePhasesResource.d.ts +67 -0
  127. package/types/QuotePreviewInvoices.d.ts +1530 -0
  128. package/types/QuotePreviewSubscriptionSchedules.d.ts +814 -0
  129. package/types/Quotes.d.ts +596 -1
  130. package/types/QuotesResource.d.ts +3174 -265
  131. package/types/SetupAttempts.d.ts +9 -0
  132. package/types/SetupIntents.d.ts +120 -1
  133. package/types/SetupIntentsResource.d.ts +546 -3
  134. package/types/Sources.d.ts +23 -0
  135. package/types/SubscriptionItems.d.ts +21 -0
  136. package/types/SubscriptionItemsResource.d.ts +109 -0
  137. package/types/SubscriptionSchedules.d.ts +200 -0
  138. package/types/SubscriptionSchedulesResource.d.ts +1234 -16
  139. package/types/Subscriptions.d.ts +82 -1
  140. package/types/SubscriptionsResource.d.ts +347 -2
  141. package/types/Tax/Associations.d.ts +126 -0
  142. package/types/Tax/AssociationsResource.d.ts +29 -0
  143. package/types/Tax/Forms.d.ts +133 -0
  144. package/types/Tax/FormsResource.d.ts +90 -0
  145. package/types/Terminal/Readers.d.ts +278 -0
  146. package/types/Terminal/ReadersResource.d.ts +208 -0
  147. package/types/TestHelpers/ConfirmationTokensResource.d.ts +55 -0
  148. package/types/TestHelpers/Treasury/OutboundPaymentsResource.d.ts +5 -0
  149. package/types/TestHelpers/Treasury/OutboundTransfersResource.d.ts +5 -0
  150. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  151. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  152. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  153. package/types/Treasury/FinancialAccountsResource.d.ts +10 -0
  154. package/types/Treasury/OutboundPayments.d.ts +6 -1
  155. package/types/Treasury/OutboundTransfers.d.ts +32 -1
  156. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  157. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  158. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  159. package/types/WebhookEndpointsResource.d.ts +54 -0
  160. package/types/index.d.ts +67 -0
  161. package/types/lib.d.ts +12 -0
@@ -52,6 +52,12 @@ declare module 'stripe' {
52
52
 
53
53
  balances: Components.Balances;
54
54
 
55
+ capital_financing?: Components.CapitalFinancing | null;
56
+
57
+ capital_financing_application?: Components.CapitalFinancingApplication | null;
58
+
59
+ capital_financing_promotion?: Components.CapitalFinancingPromotion | null;
60
+
55
61
  documents: Components.Documents;
56
62
 
57
63
  notification_banner: Components.NotificationBanner;
@@ -139,6 +145,45 @@ declare module 'stripe' {
139
145
  }
140
146
  }
141
147
 
148
+ interface CapitalFinancing {
149
+ /**
150
+ * Whether the embedded component is enabled.
151
+ */
152
+ enabled: boolean;
153
+
154
+ features: CapitalFinancing.Features;
155
+ }
156
+
157
+ namespace CapitalFinancing {
158
+ interface Features {}
159
+ }
160
+
161
+ interface CapitalFinancingApplication {
162
+ /**
163
+ * Whether the embedded component is enabled.
164
+ */
165
+ enabled: boolean;
166
+
167
+ features: CapitalFinancingApplication.Features;
168
+ }
169
+
170
+ namespace CapitalFinancingApplication {
171
+ interface Features {}
172
+ }
173
+
174
+ interface CapitalFinancingPromotion {
175
+ /**
176
+ * Whether the embedded component is enabled.
177
+ */
178
+ enabled: boolean;
179
+
180
+ features: CapitalFinancingPromotion.Features;
181
+ }
182
+
183
+ namespace CapitalFinancingPromotion {
184
+ interface Features {}
185
+ }
186
+
142
187
  interface Documents {
143
188
  /**
144
189
  * Whether the embedded component is enabled.
@@ -31,16 +31,53 @@ 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
+
34
44
  /**
35
45
  * Configuration for the balances embedded component.
36
46
  */
37
47
  balances?: Components.Balances;
38
48
 
49
+ capital_financing_promotion?: Components.CapitalFinancingPromotion;
50
+
51
+ /**
52
+ * Configuration for the capital overview embedded component.
53
+ */
54
+ capital_overview?: Components.CapitalOverview;
55
+
39
56
  /**
40
57
  * Configuration for the documents embedded component.
41
58
  */
42
59
  documents?: Components.Documents;
43
60
 
61
+ /**
62
+ * Configuration for the financial account component.
63
+ */
64
+ financial_account?: Components.FinancialAccount;
65
+
66
+ /**
67
+ * Configuration for the financial account transactions component.
68
+ */
69
+ financial_account_transactions?: Components.FinancialAccountTransactions;
70
+
71
+ /**
72
+ * Configuration for the issuing card component.
73
+ */
74
+ issuing_card?: Components.IssuingCard;
75
+
76
+ /**
77
+ * Configuration for the issuing cards list component.
78
+ */
79
+ issuing_cards_list?: Components.IssuingCardsList;
80
+
44
81
  /**
45
82
  * Configuration for the notification banner embedded component.
46
83
  */
@@ -51,6 +88,11 @@ declare module 'stripe' {
51
88
  */
52
89
  payment_details?: Components.PaymentDetails;
53
90
 
91
+ /**
92
+ * Configuration for the payment method settings embedded component.
93
+ */
94
+ payment_method_settings?: Components.PaymentMethodSettings;
95
+
54
96
  /**
55
97
  * Configuration for the payments embedded component.
56
98
  */
@@ -120,6 +162,48 @@ declare module 'stripe' {
120
162
  }
121
163
  }
122
164
 
165
+ interface AppInstall {
166
+ /**
167
+ * Whether the embedded component is enabled.
168
+ */
169
+ enabled: boolean;
170
+
171
+ /**
172
+ * The list of features enabled in the embedded component.
173
+ */
174
+ features?: AppInstall.Features;
175
+ }
176
+
177
+ namespace AppInstall {
178
+ interface Features {
179
+ /**
180
+ * List of apps allowed to be enabled for this account session.
181
+ */
182
+ allowed_apps?: Stripe.Emptyable<Array<string>>;
183
+ }
184
+ }
185
+
186
+ interface AppViewport {
187
+ /**
188
+ * Whether the embedded component is enabled.
189
+ */
190
+ enabled: boolean;
191
+
192
+ /**
193
+ * The list of features enabled in the embedded component.
194
+ */
195
+ features?: AppViewport.Features;
196
+ }
197
+
198
+ namespace AppViewport {
199
+ interface Features {
200
+ /**
201
+ * List of apps allowed to be enabled for this account session.
202
+ */
203
+ allowed_apps?: Stripe.Emptyable<Array<string>>;
204
+ }
205
+ }
206
+
123
207
  interface Balances {
124
208
  /**
125
209
  * Whether the embedded component is enabled.
@@ -156,6 +240,38 @@ declare module 'stripe' {
156
240
  }
157
241
  }
158
242
 
243
+ interface CapitalFinancingPromotion {
244
+ /**
245
+ * Whether the embedded component is enabled.
246
+ */
247
+ enabled: boolean;
248
+
249
+ /**
250
+ * The list of features enabled in the embedded component.
251
+ */
252
+ features?: CapitalFinancingPromotion.Features;
253
+ }
254
+
255
+ namespace CapitalFinancingPromotion {
256
+ interface Features {}
257
+ }
258
+
259
+ interface CapitalOverview {
260
+ /**
261
+ * Whether the embedded component is enabled.
262
+ */
263
+ enabled: boolean;
264
+
265
+ /**
266
+ * The list of features enabled in the embedded component.
267
+ */
268
+ features?: CapitalOverview.Features;
269
+ }
270
+
271
+ namespace CapitalOverview {
272
+ interface Features {}
273
+ }
274
+
159
275
  interface Documents {
160
276
  /**
161
277
  * Whether the embedded component is enabled.
@@ -172,6 +288,89 @@ declare module 'stripe' {
172
288
  interface Features {}
173
289
  }
174
290
 
291
+ interface FinancialAccount {
292
+ /**
293
+ * Whether the embedded component is enabled.
294
+ */
295
+ enabled: boolean;
296
+
297
+ features?: FinancialAccount.Features;
298
+ }
299
+
300
+ namespace FinancialAccount {
301
+ interface Features {
302
+ /**
303
+ * Whether to allow external accounts to be linked for money transfer.
304
+ */
305
+ external_account_collection?: boolean;
306
+
307
+ /**
308
+ * Whether to allow money movement features.
309
+ */
310
+ money_movement?: boolean;
311
+ }
312
+ }
313
+
314
+ interface FinancialAccountTransactions {
315
+ /**
316
+ * Whether the embedded component is enabled.
317
+ */
318
+ enabled: boolean;
319
+
320
+ features?: FinancialAccountTransactions.Features;
321
+ }
322
+
323
+ namespace FinancialAccountTransactions {
324
+ interface Features {
325
+ /**
326
+ * Whether to allow card spend dispute features.
327
+ */
328
+ card_spend_dispute_management?: boolean;
329
+ }
330
+ }
331
+
332
+ interface IssuingCard {
333
+ /**
334
+ * Whether the embedded component is enabled.
335
+ */
336
+ enabled: boolean;
337
+
338
+ /**
339
+ * The list of features enabled in the embedded component.
340
+ */
341
+ features?: IssuingCard.Features;
342
+ }
343
+
344
+ namespace IssuingCard {
345
+ interface Features {}
346
+ }
347
+
348
+ interface IssuingCardsList {
349
+ /**
350
+ * Whether the embedded component is enabled.
351
+ */
352
+ enabled: boolean;
353
+
354
+ /**
355
+ * The list of features enabled in the embedded component.
356
+ */
357
+ features?: IssuingCardsList.Features;
358
+ }
359
+
360
+ namespace IssuingCardsList {
361
+ interface Features {
362
+ /**
363
+ * Whether to allow card management features.
364
+ */
365
+ card_management?: boolean;
366
+
367
+ /**
368
+ * Whether to allow cardholder management features.
369
+ */
370
+ cardholder_management?: boolean;
371
+ }
372
+ }
373
+
175
374
  interface NotificationBanner {
176
375
  /**
177
376
  * Whether the embedded component is enabled.
@@ -229,6 +428,22 @@ declare module 'stripe' {
229
428
  }
230
429
  }
231
430
 
431
+ interface PaymentMethodSettings {
432
+ /**
433
+ * Whether the embedded component is enabled.
434
+ */
435
+ enabled: boolean;
436
+
437
+ /**
438
+ * The list of features enabled in the embedded component.
439
+ */
440
+ features?: PaymentMethodSettings.Features;
441
+ }
442
+
443
+ namespace PaymentMethodSettings {
444
+ interface Features {}
445
+ }
446
+
232
447
  interface Payments {
233
448
  /**
234
449
  * Whether the embedded component is enabled.
@@ -106,6 +106,8 @@ declare module 'stripe' {
106
106
 
107
107
  requirements?: Account.Requirements;
108
108
 
109
+ risk_controls?: Account.RiskControls;
110
+
109
111
  /**
110
112
  * Options for customizing how the account functions within Stripe.
111
113
  */
@@ -377,11 +379,26 @@ declare module 'stripe' {
377
379
  */
378
380
  paynow_payments?: Capabilities.PaynowPayments;
379
381
 
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
+
380
392
  /**
381
393
  * The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
382
394
  */
383
395
  promptpay_payments?: Capabilities.PromptpayPayments;
384
396
 
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
+
385
402
  /**
386
403
  * The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
387
404
  */
@@ -515,8 +532,14 @@ declare module 'stripe' {
515
532
 
516
533
  type PaynowPayments = 'active' | 'inactive' | 'pending';
517
534
 
535
+ type PaypalPayments = 'active' | 'inactive' | 'pending';
536
+
537
+ type PaytoPayments = 'active' | 'inactive' | 'pending';
538
+
518
539
  type PromptpayPayments = 'active' | 'inactive' | 'pending';
519
540
 
541
+ type RechnungPayments = 'active' | 'inactive' | 'pending';
542
+
520
543
  type RevolutPayPayments = 'active' | 'inactive' | 'pending';
521
544
 
522
545
  type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';
@@ -780,6 +803,10 @@ declare module 'stripe' {
780
803
  }
781
804
 
782
805
  interface Controller {
806
+ application?: Controller.Application;
807
+
808
+ dashboard?: Controller.Dashboard;
809
+
783
810
  fees?: Controller.Fees;
784
811
 
785
812
  /**
@@ -803,6 +830,34 @@ declare module 'stripe' {
803
830
  }
804
831
 
805
832
  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
+
806
861
  interface Fees {
807
862
  /**
808
863
  * 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).
@@ -815,7 +870,8 @@ declare module 'stripe' {
815
870
  | 'account'
816
871
  | 'application'
817
872
  | 'application_custom'
818
- | 'application_express';
873
+ | 'application_express'
874
+ | 'application_unified_accounts_beta';
819
875
  }
820
876
 
821
877
  interface Losses {
@@ -1177,11 +1233,35 @@ declare module 'stripe' {
1177
1233
  }
1178
1234
  }
1179
1235
 
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
+
1180
1258
  interface Settings {
1181
1259
  bacs_debit_payments?: Settings.BacsDebitPayments;
1182
1260
 
1183
1261
  branding: Settings.Branding;
1184
1262
 
1263
+ capital?: Settings.Capital;
1264
+
1185
1265
  card_issuing?: Settings.CardIssuing;
1186
1266
 
1187
1267
  card_payments: Settings.CardPayments;
@@ -1196,6 +1276,8 @@ declare module 'stripe' {
1196
1276
 
1197
1277
  sepa_debit_payments?: Settings.SepaDebitPayments;
1198
1278
 
1279
+ tax_forms?: Settings.TaxForms;
1280
+
1199
1281
  treasury?: Settings.Treasury;
1200
1282
  }
1201
1283
 
@@ -1234,6 +1316,22 @@ declare module 'stripe' {
1234
1316
  secondary_color: string | null;
1235
1317
  }
1236
1318
 
1319
+ interface Capital {
1320
+ /**
1321
+ * Per-currency mapping of user-selected destination accounts used to pay out loans.
1322
+ */
1323
+ payout_destination?: {
1324
+ [key: string]: string;
1325
+ };
1326
+
1327
+ /**
1328
+ * Per-currency mapping of all destination accounts eligible to receive loan payouts.
1329
+ */
1330
+ payout_destination_selector?: {
1331
+ [key: string]: Array<string>;
1332
+ };
1333
+ }
1334
+
1237
1335
  interface CardIssuing {
1238
1336
  tos_acceptance?: CardIssuing.TosAcceptance;
1239
1337
  }
@@ -1381,6 +1479,13 @@ declare module 'stripe' {
1381
1479
  creditor_id?: string;
1382
1480
  }
1383
1481
 
1482
+ interface TaxForms {
1483
+ /**
1484
+ * Whether the account opted out of receiving their tax forms by postal delivery.
1485
+ */
1486
+ consented_to_paperless_delivery: boolean;
1487
+ }
1488
+
1384
1489
  interface Treasury {
1385
1490
  tos_acceptance?: Treasury.TosAcceptance;
1386
1491
  }