stripe 17.6.0 → 17.7.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 (179) hide show
  1. package/CHANGELOG.md +1068 -109
  2. package/OPENAPI_VERSION +1 -0
  3. package/README.md +1 -0
  4. package/VERSION +1 -1
  5. package/cjs/resources/AccountNotices.js +21 -0
  6. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  7. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  8. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  9. package/cjs/resources/FinancialConnections/Accounts.js +5 -0
  10. package/cjs/resources/FinancialConnections/Institutions.js +17 -0
  11. package/cjs/resources/GiftCards/Cards.js +23 -0
  12. package/cjs/resources/GiftCards/Transactions.js +33 -0
  13. package/cjs/resources/Invoices.js +17 -0
  14. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
  15. package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
  16. package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
  17. package/cjs/resources/Margins.js +22 -0
  18. package/cjs/resources/Orders.js +24 -0
  19. package/cjs/resources/PaymentAttemptRecords.js +17 -0
  20. package/cjs/resources/PaymentIntents.js +8 -0
  21. package/cjs/resources/PaymentRecords.js +29 -0
  22. package/cjs/resources/Quotes.js +32 -0
  23. package/cjs/resources/SubscriptionSchedules.js +4 -0
  24. package/cjs/resources/Tax/Associations.js +9 -0
  25. package/cjs/resources/Tax/Forms.js +20 -0
  26. package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
  27. package/cjs/resources/Terminal/Readers.js +12 -0
  28. package/cjs/resources.js +48 -10
  29. package/cjs/stripe.core.js +1 -1
  30. package/esm/resources/AccountNotices.js +18 -0
  31. package/esm/resources/Capital/FinancingOffers.js +18 -0
  32. package/esm/resources/Capital/FinancingSummary.js +9 -0
  33. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  34. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  35. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  36. package/esm/resources/GiftCards/Cards.js +20 -0
  37. package/esm/resources/GiftCards/Transactions.js +30 -0
  38. package/esm/resources/Invoices.js +17 -0
  39. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  40. package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
  41. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  42. package/esm/resources/Margins.js +19 -0
  43. package/esm/resources/Orders.js +21 -0
  44. package/esm/resources/PaymentAttemptRecords.js +14 -0
  45. package/esm/resources/PaymentIntents.js +8 -0
  46. package/esm/resources/PaymentRecords.js +26 -0
  47. package/esm/resources/Quotes.js +32 -0
  48. package/esm/resources/SubscriptionSchedules.js +4 -0
  49. package/esm/resources/Tax/Associations.js +6 -0
  50. package/esm/resources/Tax/Forms.js +17 -0
  51. package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
  52. package/esm/resources/Terminal/Readers.js +12 -0
  53. package/esm/resources.js +33 -0
  54. package/esm/stripe.core.js +1 -1
  55. package/package.json +1 -1
  56. package/types/AccountLinksResource.d.ts +5 -1
  57. package/types/AccountNotices.d.ts +113 -0
  58. package/types/AccountNoticesResource.d.ts +98 -0
  59. package/types/AccountSessions.d.ts +45 -0
  60. package/types/AccountSessionsResource.d.ts +243 -0
  61. package/types/Accounts.d.ts +205 -1
  62. package/types/AccountsResource.d.ts +526 -2
  63. package/types/Balance.d.ts +18 -18
  64. package/types/Billing/CreditBalanceSummaryResource.d.ts +14 -0
  65. package/types/Billing/CreditGrants.d.ts +15 -1
  66. package/types/Billing/CreditGrantsResource.d.ts +14 -0
  67. package/types/Billing/MeterErrorReports.d.ts +106 -0
  68. package/types/Billing/MeterEventSummaries.d.ts +2 -0
  69. package/types/Capital/FinancingOffers.d.ts +188 -0
  70. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  71. package/types/Capital/FinancingSummary.d.ts +106 -0
  72. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  73. package/types/Capital/FinancingTransactions.d.ts +135 -0
  74. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  75. package/types/Cards.d.ts +5 -0
  76. package/types/Charges.d.ts +151 -3
  77. package/types/ChargesResource.d.ts +1294 -0
  78. package/types/Checkout/Sessions.d.ts +362 -9
  79. package/types/Checkout/SessionsResource.d.ts +465 -5
  80. package/types/ConfirmationTokens.d.ts +103 -4
  81. package/types/Coupons.d.ts +1 -1
  82. package/types/CouponsResource.d.ts +1 -1
  83. package/types/CreditNotes.d.ts +23 -2
  84. package/types/CreditNotesResource.d.ts +51 -0
  85. package/types/CustomersResource.d.ts +7 -0
  86. package/types/EventTypes.d.ts +596 -0
  87. package/types/Events.d.ts +93 -0
  88. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  89. package/types/FinancialConnections/Accounts.d.ts +29 -1
  90. package/types/FinancialConnections/AccountsResource.d.ts +35 -3
  91. package/types/FinancialConnections/Institutions.d.ts +93 -0
  92. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  93. package/types/FinancialConnections/Sessions.d.ts +49 -1
  94. package/types/FinancialConnections/SessionsResource.d.ts +38 -1
  95. package/types/GiftCards/Cards.d.ts +118 -0
  96. package/types/GiftCards/CardsResource.d.ts +159 -0
  97. package/types/GiftCards/Transactions.d.ts +129 -0
  98. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  99. package/types/InvoiceItems.d.ts +5 -0
  100. package/types/InvoiceItemsResource.d.ts +98 -0
  101. package/types/InvoiceLineItems.d.ts +28 -1
  102. package/types/InvoicePayments.d.ts +113 -0
  103. package/types/Invoices.d.ts +139 -4
  104. package/types/InvoicesResource.d.ts +4618 -933
  105. package/types/Issuing/Authorizations.d.ts +1 -0
  106. package/types/Issuing/CardholdersResource.d.ts +2 -1
  107. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  108. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  109. package/types/Issuing/DisputeSettlementDetails.d.ts +73 -0
  110. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  111. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  112. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  113. package/types/Issuing/Settlements.d.ts +103 -0
  114. package/types/Issuing/Transactions.d.ts +2 -0
  115. package/types/Issuing/TransactionsResource.d.ts +5 -0
  116. package/types/LineItems.d.ts +34 -2
  117. package/types/Mandates.d.ts +77 -0
  118. package/types/Margins.d.ts +56 -0
  119. package/types/MarginsResource.d.ts +114 -0
  120. package/types/Orders.d.ts +1179 -0
  121. package/types/OrdersResource.d.ts +2961 -0
  122. package/types/PaymentAttemptRecords.d.ts +242 -0
  123. package/types/PaymentAttemptRecordsResource.d.ts +47 -0
  124. package/types/PaymentIntents.d.ts +644 -1
  125. package/types/PaymentIntentsResource.d.ts +8027 -3740
  126. package/types/PaymentLinks.d.ts +6 -0
  127. package/types/PaymentLinksResource.d.ts +12 -0
  128. package/types/PaymentMethodConfigurations.d.ts +180 -0
  129. package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
  130. package/types/PaymentMethods.d.ts +103 -4
  131. package/types/PaymentMethodsResource.d.ts +133 -0
  132. package/types/PaymentRecords.d.ts +242 -0
  133. package/types/PaymentRecordsResource.d.ts +455 -0
  134. package/types/Prices.d.ts +22 -0
  135. package/types/PricesResource.d.ts +22 -0
  136. package/types/Products.d.ts +39 -0
  137. package/types/ProductsResource.d.ts +36 -0
  138. package/types/QuoteLines.d.ts +634 -0
  139. package/types/QuotePreviewInvoices.d.ts +1658 -0
  140. package/types/QuotePreviewSubscriptionSchedules.d.ts +824 -0
  141. package/types/Quotes.d.ts +597 -7
  142. package/types/QuotesResource.d.ts +2526 -194
  143. package/types/Refunds.d.ts +16 -2
  144. package/types/SetupAttempts.d.ts +38 -0
  145. package/types/SetupIntents.d.ts +111 -1
  146. package/types/SetupIntentsResource.d.ts +648 -6
  147. package/types/Sources.d.ts +29 -0
  148. package/types/SubscriptionItems.d.ts +21 -0
  149. package/types/SubscriptionItemsResource.d.ts +109 -0
  150. package/types/SubscriptionSchedules.d.ts +200 -0
  151. package/types/SubscriptionSchedulesResource.d.ts +1234 -16
  152. package/types/Subscriptions.d.ts +91 -1
  153. package/types/SubscriptionsResource.d.ts +369 -2
  154. package/types/Tax/Associations.d.ts +126 -0
  155. package/types/Tax/AssociationsResource.d.ts +29 -0
  156. package/types/Tax/CalculationLineItems.d.ts +1 -1
  157. package/types/Tax/Calculations.d.ts +1 -1
  158. package/types/Tax/Forms.d.ts +220 -0
  159. package/types/Tax/FormsResource.d.ts +107 -0
  160. package/types/Tax/Transactions.d.ts +1 -1
  161. package/types/TaxRates.d.ts +3 -3
  162. package/types/TaxRatesResource.d.ts +2 -2
  163. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  164. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  165. package/types/Terminal/Readers.d.ts +290 -0
  166. package/types/Terminal/ReadersResource.d.ts +215 -0
  167. package/types/TestHelpers/ConfirmationTokensResource.d.ts +104 -0
  168. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  169. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  170. package/types/TokensResource.d.ts +3 -1
  171. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  172. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  173. package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
  174. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  175. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  176. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  177. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  178. package/types/WebhookEndpointsResource.d.ts +70 -0
  179. package/types/index.d.ts +62 -0
@@ -31,11 +31,41 @@ 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
+ /**
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
+
39
69
  /**
40
70
  * Configuration for the documents embedded component.
41
71
  */
@@ -71,6 +101,11 @@ declare module 'stripe' {
71
101
  */
72
102
  payment_details?: Components.PaymentDetails;
73
103
 
104
+ /**
105
+ * Configuration for the payment method settings embedded component.
106
+ */
107
+ payment_method_settings?: Components.PaymentMethodSettings;
108
+
74
109
  /**
75
110
  * Configuration for the payments embedded component.
76
111
  */
@@ -86,6 +121,21 @@ declare module 'stripe' {
86
121
  */
87
122
  payouts_list?: Components.PayoutsList;
88
123
 
124
+ /**
125
+ * Configuration for the product tax code selector embedded component.
126
+ */
127
+ product_tax_code_selector?: Components.ProductTaxCodeSelector;
128
+
129
+ /**
130
+ * Configuration for the recipients component.
131
+ */
132
+ recipients?: Components.Recipients;
133
+
134
+ /**
135
+ * Configuration for the reporting chart embedded component.
136
+ */
137
+ reporting_chart?: Components.ReportingChart;
138
+
89
139
  /**
90
140
  * Configuration for the tax registrations embedded component.
91
141
  */
@@ -95,6 +145,11 @@ declare module 'stripe' {
95
145
  * Configuration for the tax settings embedded component.
96
146
  */
97
147
  tax_settings?: Components.TaxSettings;
148
+
149
+ /**
150
+ * Configuration for the tax threshold monitoring embedded component.
151
+ */
152
+ tax_threshold_monitoring?: Components.TaxThresholdMonitoring;
98
153
  }
99
154
 
100
155
  namespace Components {
@@ -150,6 +205,48 @@ declare module 'stripe' {
150
205
  }
151
206
  }
152
207
 
208
+ interface AppInstall {
209
+ /**
210
+ * Whether the embedded component is enabled.
211
+ */
212
+ enabled: boolean;
213
+
214
+ /**
215
+ * The list of features enabled in the embedded component.
216
+ */
217
+ features?: AppInstall.Features;
218
+ }
219
+
220
+ namespace AppInstall {
221
+ interface Features {
222
+ /**
223
+ * List of apps allowed to be enabled for this account session.
224
+ */
225
+ allowed_apps?: Stripe.Emptyable<Array<string>>;
226
+ }
227
+ }
228
+
229
+ interface AppViewport {
230
+ /**
231
+ * Whether the embedded component is enabled.
232
+ */
233
+ enabled: boolean;
234
+
235
+ /**
236
+ * The list of features enabled in the embedded component.
237
+ */
238
+ features?: AppViewport.Features;
239
+ }
240
+
241
+ namespace AppViewport {
242
+ interface Features {
243
+ /**
244
+ * List of apps allowed to be enabled for this account session.
245
+ */
246
+ allowed_apps?: Stripe.Emptyable<Array<string>>;
247
+ }
248
+ }
249
+
153
250
  interface Balances {
154
251
  /**
155
252
  * Whether the embedded component is enabled.
@@ -191,6 +288,70 @@ declare module 'stripe' {
191
288
  }
192
289
  }
193
290
 
291
+ interface CapitalFinancing {
292
+ /**
293
+ * Whether the embedded component is enabled.
294
+ */
295
+ enabled: boolean;
296
+
297
+ /**
298
+ * The list of features enabled in the embedded component.
299
+ */
300
+ features?: CapitalFinancing.Features;
301
+ }
302
+
303
+ namespace CapitalFinancing {
304
+ interface Features {}
305
+ }
306
+
307
+ interface CapitalFinancingApplication {
308
+ /**
309
+ * Whether the embedded component is enabled.
310
+ */
311
+ enabled: boolean;
312
+
313
+ /**
314
+ * The list of features enabled in the embedded component.
315
+ */
316
+ features?: CapitalFinancingApplication.Features;
317
+ }
318
+
319
+ namespace CapitalFinancingApplication {
320
+ interface Features {}
321
+ }
322
+
323
+ interface CapitalFinancingPromotion {
324
+ /**
325
+ * Whether the embedded component is enabled.
326
+ */
327
+ enabled: boolean;
328
+
329
+ /**
330
+ * The list of features enabled in the embedded component.
331
+ */
332
+ features?: CapitalFinancingPromotion.Features;
333
+ }
334
+
335
+ namespace CapitalFinancingPromotion {
336
+ interface Features {}
337
+ }
338
+
339
+ interface CapitalOverview {
340
+ /**
341
+ * Whether the embedded component is enabled.
342
+ */
343
+ enabled: boolean;
344
+
345
+ /**
346
+ * The list of features enabled in the embedded component.
347
+ */
348
+ features?: CapitalOverview.Features;
349
+ }
350
+
351
+ namespace CapitalOverview {
352
+ interface Features {}
353
+ }
354
+
194
355
  interface Documents {
195
356
  /**
196
357
  * Whether the embedded component is enabled.
@@ -403,6 +564,22 @@ declare module 'stripe' {
403
564
  }
404
565
  }
405
566
 
567
+ interface PaymentMethodSettings {
568
+ /**
569
+ * Whether the embedded component is enabled.
570
+ */
571
+ enabled: boolean;
572
+
573
+ /**
574
+ * The list of features enabled in the embedded component.
575
+ */
576
+ features?: PaymentMethodSettings.Features;
577
+ }
578
+
579
+ namespace PaymentMethodSettings {
580
+ interface Features {}
581
+ }
582
+
406
583
  interface Payments {
407
584
  /**
408
585
  * Whether the embedded component is enabled.
@@ -496,6 +673,56 @@ declare module 'stripe' {
496
673
  interface Features {}
497
674
  }
498
675
 
676
+ interface ProductTaxCodeSelector {
677
+ /**
678
+ * Whether the embedded component is enabled.
679
+ */
680
+ enabled: boolean;
681
+
682
+ /**
683
+ * The list of features enabled in the embedded component.
684
+ */
685
+ features?: ProductTaxCodeSelector.Features;
686
+ }
687
+
688
+ namespace ProductTaxCodeSelector {
689
+ interface Features {}
690
+ }
691
+
692
+ interface Recipients {
693
+ /**
694
+ * Whether the embedded component is enabled.
695
+ */
696
+ enabled: boolean;
697
+
698
+ features?: Recipients.Features;
699
+ }
700
+
701
+ namespace Recipients {
702
+ interface Features {
703
+ /**
704
+ * Whether to allow sending money.
705
+ */
706
+ send_money?: boolean;
707
+ }
708
+ }
709
+
710
+ interface ReportingChart {
711
+ /**
712
+ * Whether the embedded component is enabled.
713
+ */
714
+ enabled: boolean;
715
+
716
+ /**
717
+ * The list of features enabled in the embedded component.
718
+ */
719
+ features?: ReportingChart.Features;
720
+ }
721
+
722
+ namespace ReportingChart {
723
+ interface Features {}
724
+ }
725
+
499
726
  interface TaxRegistrations {
500
727
  /**
501
728
  * Whether the embedded component is enabled.
@@ -527,6 +754,22 @@ declare module 'stripe' {
527
754
  namespace TaxSettings {
528
755
  interface Features {}
529
756
  }
757
+
758
+ interface TaxThresholdMonitoring {
759
+ /**
760
+ * Whether the embedded component is enabled.
761
+ */
762
+ enabled: boolean;
763
+
764
+ /**
765
+ * The list of features enabled in the embedded component.
766
+ */
767
+ features?: TaxThresholdMonitoring.Features;
768
+ }
769
+
770
+ namespace TaxThresholdMonitoring {
771
+ interface Features {}
772
+ }
530
773
  }
531
774
  }
532
775
 
@@ -111,6 +111,8 @@ declare module 'stripe' {
111
111
 
112
112
  requirements?: Account.Requirements;
113
113
 
114
+ risk_controls?: Account.RiskControls;
115
+
114
116
  /**
115
117
  * Options for customizing how the account functions within Stripe.
116
118
  */
@@ -247,6 +249,11 @@ declare module 'stripe' {
247
249
  */
248
250
  au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
249
251
 
252
+ /**
253
+ * The status of the automatic_indirect_tax capability of the account.
254
+ */
255
+ automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
256
+
250
257
  /**
251
258
  * The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
252
259
  */
@@ -312,11 +319,26 @@ declare module 'stripe' {
312
319
  */
313
320
  giropay_payments?: Capabilities.GiropayPayments;
314
321
 
322
+ /**
323
+ * The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
324
+ */
325
+ gopay_payments?: Capabilities.GopayPayments;
326
+
315
327
  /**
316
328
  * The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
317
329
  */
318
330
  grabpay_payments?: Capabilities.GrabpayPayments;
319
331
 
332
+ /**
333
+ * The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
334
+ */
335
+ id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
336
+
337
+ /**
338
+ * The status of Bank BCA onboarding of the account.
339
+ */
340
+ id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
341
+
320
342
  /**
321
343
  * The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
322
344
  */
@@ -367,6 +389,11 @@ declare module 'stripe' {
367
389
  */
368
390
  link_payments?: Capabilities.LinkPayments;
369
391
 
392
+ /**
393
+ * The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
394
+ */
395
+ mb_way_payments?: Capabilities.MbWayPayments;
396
+
370
397
  /**
371
398
  * The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
372
399
  */
@@ -412,11 +439,31 @@ declare module 'stripe' {
412
439
  */
413
440
  paynow_payments?: Capabilities.PaynowPayments;
414
441
 
442
+ /**
443
+ * The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
444
+ */
445
+ paypal_payments?: Capabilities.PaypalPayments;
446
+
447
+ /**
448
+ * The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
449
+ */
450
+ payto_payments?: Capabilities.PaytoPayments;
451
+
415
452
  /**
416
453
  * The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
417
454
  */
418
455
  promptpay_payments?: Capabilities.PromptpayPayments;
419
456
 
457
+ /**
458
+ * The status of the Qris capability of the account, or whether the account can directly process Qris payments.
459
+ */
460
+ qris_payments?: Capabilities.QrisPayments;
461
+
462
+ /**
463
+ * The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
464
+ */
465
+ rechnung_payments?: Capabilities.RechnungPayments;
466
+
420
467
  /**
421
468
  * The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
422
469
  */
@@ -437,6 +484,11 @@ declare module 'stripe' {
437
484
  */
438
485
  sepa_debit_payments?: Capabilities.SepaDebitPayments;
439
486
 
487
+ /**
488
+ * The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
489
+ */
490
+ shopeepay_payments?: Capabilities.ShopeepayPayments;
491
+
440
492
  /**
441
493
  * The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
442
494
  */
@@ -467,6 +519,21 @@ declare module 'stripe' {
467
519
  */
468
520
  treasury?: Capabilities.Treasury;
469
521
 
522
+ /**
523
+ * The status of the treasury_evolve capability of the account.
524
+ */
525
+ treasury_evolve?: Capabilities.TreasuryEvolve;
526
+
527
+ /**
528
+ * The status of the treasury_fifth_third capability of the account.
529
+ */
530
+ treasury_fifth_third?: Capabilities.TreasuryFifthThird;
531
+
532
+ /**
533
+ * The status of the treasury_goldman_sachs capability of the account.
534
+ */
535
+ treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
536
+
470
537
  /**
471
538
  * The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
472
539
  */
@@ -501,6 +568,8 @@ declare module 'stripe' {
501
568
 
502
569
  type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
503
570
 
571
+ type AutomaticIndirectTax = 'active' | 'inactive' | 'pending';
572
+
504
573
  type BacsDebitPayments = 'active' | 'inactive' | 'pending';
505
574
 
506
575
  type BancontactPayments = 'active' | 'inactive' | 'pending';
@@ -527,8 +596,14 @@ declare module 'stripe' {
527
596
 
528
597
  type GiropayPayments = 'active' | 'inactive' | 'pending';
529
598
 
599
+ type GopayPayments = 'active' | 'inactive' | 'pending';
600
+
530
601
  type GrabpayPayments = 'active' | 'inactive' | 'pending';
531
602
 
603
+ type IdBankTransferPayments = 'active' | 'inactive' | 'pending';
604
+
605
+ type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending';
606
+
532
607
  type IdealPayments = 'active' | 'inactive' | 'pending';
533
608
 
534
609
  type IndiaInternationalPayments = 'active' | 'inactive' | 'pending';
@@ -549,6 +624,8 @@ declare module 'stripe' {
549
624
 
550
625
  type LinkPayments = 'active' | 'inactive' | 'pending';
551
626
 
627
+ type MbWayPayments = 'active' | 'inactive' | 'pending';
628
+
552
629
  type MobilepayPayments = 'active' | 'inactive' | 'pending';
553
630
 
554
631
  type MultibancoPayments = 'active' | 'inactive' | 'pending';
@@ -567,8 +644,16 @@ declare module 'stripe' {
567
644
 
568
645
  type PaynowPayments = 'active' | 'inactive' | 'pending';
569
646
 
647
+ type PaypalPayments = 'active' | 'inactive' | 'pending';
648
+
649
+ type PaytoPayments = 'active' | 'inactive' | 'pending';
650
+
570
651
  type PromptpayPayments = 'active' | 'inactive' | 'pending';
571
652
 
653
+ type QrisPayments = 'active' | 'inactive' | 'pending';
654
+
655
+ type RechnungPayments = 'active' | 'inactive' | 'pending';
656
+
572
657
  type RevolutPayPayments = 'active' | 'inactive' | 'pending';
573
658
 
574
659
  type SamsungPayPayments = 'active' | 'inactive' | 'pending';
@@ -577,6 +662,8 @@ declare module 'stripe' {
577
662
 
578
663
  type SepaDebitPayments = 'active' | 'inactive' | 'pending';
579
664
 
665
+ type ShopeepayPayments = 'active' | 'inactive' | 'pending';
666
+
580
667
  type SofortPayments = 'active' | 'inactive' | 'pending';
581
668
 
582
669
  type SwishPayments = 'active' | 'inactive' | 'pending';
@@ -589,6 +676,12 @@ declare module 'stripe' {
589
676
 
590
677
  type Treasury = 'active' | 'inactive' | 'pending';
591
678
 
679
+ type TreasuryEvolve = 'active' | 'inactive' | 'pending';
680
+
681
+ type TreasuryFifthThird = 'active' | 'inactive' | 'pending';
682
+
683
+ type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';
684
+
592
685
  type TwintPayments = 'active' | 'inactive' | 'pending';
593
686
 
594
687
  type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
@@ -862,6 +955,10 @@ declare module 'stripe' {
862
955
  }
863
956
 
864
957
  interface Controller {
958
+ application?: Controller.Application;
959
+
960
+ dashboard?: Controller.Dashboard;
961
+
865
962
  fees?: Controller.Fees;
866
963
 
867
964
  /**
@@ -885,6 +982,34 @@ declare module 'stripe' {
885
982
  }
886
983
 
887
984
  namespace Controller {
985
+ interface Application {
986
+ /**
987
+ * `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
988
+ */
989
+ loss_liable: boolean;
990
+
991
+ /**
992
+ * `true` if the Connect application is responsible for onboarding the account.
993
+ */
994
+ onboarding_owner: boolean;
995
+
996
+ /**
997
+ * `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
998
+ */
999
+ pricing_controls: boolean;
1000
+ }
1001
+
1002
+ interface Dashboard {
1003
+ /**
1004
+ * Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
1005
+ */
1006
+ type: Dashboard.Type;
1007
+ }
1008
+
1009
+ namespace Dashboard {
1010
+ type Type = 'express' | 'full' | 'none';
1011
+ }
1012
+
888
1013
  interface Fees {
889
1014
  /**
890
1015
  * 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).
@@ -897,7 +1022,8 @@ declare module 'stripe' {
897
1022
  | 'account'
898
1023
  | 'application'
899
1024
  | 'application_custom'
900
- | 'application_express';
1025
+ | 'application_express'
1026
+ | 'application_unified_accounts_beta';
901
1027
  }
902
1028
 
903
1029
  interface Losses {
@@ -1302,11 +1428,52 @@ declare module 'stripe' {
1302
1428
  }
1303
1429
  }
1304
1430
 
1431
+ interface RiskControls {
1432
+ charges: RiskControls.Charges;
1433
+
1434
+ payouts: RiskControls.Payouts;
1435
+
1436
+ /**
1437
+ * Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
1438
+ */
1439
+ rejected_reason?: RiskControls.RejectedReason;
1440
+ }
1441
+
1442
+ namespace RiskControls {
1443
+ interface Charges {
1444
+ /**
1445
+ * Whether a pause of the risk control has been requested.
1446
+ */
1447
+ pause_requested: boolean;
1448
+ }
1449
+
1450
+ interface Payouts {
1451
+ /**
1452
+ * Whether a pause of the risk control has been requested.
1453
+ */
1454
+ pause_requested: boolean;
1455
+ }
1456
+
1457
+ type RejectedReason =
1458
+ | 'credit'
1459
+ | 'fraud'
1460
+ | 'fraud_no_intent_to_fulfill'
1461
+ | 'fraud_other'
1462
+ | 'fraud_payment_method_casher'
1463
+ | 'fraud_payment_method_tester'
1464
+ | 'other'
1465
+ | 'terms_of_service';
1466
+ }
1467
+
1305
1468
  interface Settings {
1306
1469
  bacs_debit_payments?: Settings.BacsDebitPayments;
1307
1470
 
1471
+ bank_bca_onboarding?: Settings.BankBcaOnboarding;
1472
+
1308
1473
  branding: Settings.Branding;
1309
1474
 
1475
+ capital?: Settings.Capital;
1476
+
1310
1477
  card_issuing?: Settings.CardIssuing;
1311
1478
 
1312
1479
  card_payments: Settings.CardPayments;
@@ -1321,6 +1488,8 @@ declare module 'stripe' {
1321
1488
 
1322
1489
  sepa_debit_payments?: Settings.SepaDebitPayments;
1323
1490
 
1491
+ tax_forms?: Settings.TaxForms;
1492
+
1324
1493
  treasury?: Settings.Treasury;
1325
1494
  }
1326
1495
 
@@ -1337,6 +1506,18 @@ declare module 'stripe' {
1337
1506
  service_user_number: string | null;
1338
1507
  }
1339
1508
 
1509
+ interface BankBcaOnboarding {
1510
+ /**
1511
+ * Bank BCA business account holder name.
1512
+ */
1513
+ account_holder_name?: string;
1514
+
1515
+ /**
1516
+ * Bank BCA business account number.
1517
+ */
1518
+ business_account_number?: string;
1519
+ }
1520
+
1340
1521
  interface Branding {
1341
1522
  /**
1342
1523
  * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
@@ -1359,6 +1540,22 @@ declare module 'stripe' {
1359
1540
  secondary_color: string | null;
1360
1541
  }
1361
1542
 
1543
+ interface Capital {
1544
+ /**
1545
+ * Per-currency mapping of user-selected destination accounts used to pay out loans.
1546
+ */
1547
+ payout_destination?: {
1548
+ [key: string]: string;
1549
+ };
1550
+
1551
+ /**
1552
+ * Per-currency mapping of all destination accounts eligible to receive loan payouts.
1553
+ */
1554
+ payout_destination_selector?: {
1555
+ [key: string]: Array<string>;
1556
+ };
1557
+ }
1558
+
1362
1559
  interface CardIssuing {
1363
1560
  tos_acceptance?: CardIssuing.TosAcceptance;
1364
1561
  }
@@ -1506,6 +1703,13 @@ declare module 'stripe' {
1506
1703
  creditor_id?: string;
1507
1704
  }
1508
1705
 
1706
+ interface TaxForms {
1707
+ /**
1708
+ * Whether the account opted out of receiving their tax forms by postal delivery.
1709
+ */
1710
+ consented_to_paperless_delivery: boolean;
1711
+ }
1712
+
1509
1713
  interface Treasury {
1510
1714
  tos_acceptance?: Treasury.TosAcceptance;
1511
1715
  }