stripe 17.3.0-beta.1 → 17.3.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 +152 -925
  2. package/README.md +4 -4
  3. package/VERSION +1 -1
  4. package/cjs/apiVersion.js +1 -1
  5. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  6. package/cjs/resources/Invoices.js +0 -17
  7. package/cjs/resources/PaymentIntents.js +0 -4
  8. package/cjs/resources/Quotes.js +0 -32
  9. package/cjs/resources/SubscriptionSchedules.js +0 -4
  10. package/cjs/resources/Terminal/Readers.js +0 -12
  11. package/cjs/resources/V2/Core/EventDestinations.js +41 -0
  12. package/cjs/resources/V2/Core.js +2 -0
  13. package/cjs/resources.js +10 -42
  14. package/cjs/stripe.core.js +1 -1
  15. package/esm/apiVersion.js +1 -1
  16. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  17. package/esm/resources/Invoices.js +0 -17
  18. package/esm/resources/PaymentIntents.js +0 -4
  19. package/esm/resources/Quotes.js +0 -32
  20. package/esm/resources/SubscriptionSchedules.js +0 -4
  21. package/esm/resources/Terminal/Readers.js +0 -12
  22. package/esm/resources/V2/Core/EventDestinations.js +38 -0
  23. package/esm/resources/V2/Core.js +2 -0
  24. package/esm/resources.js +0 -29
  25. package/esm/stripe.core.js +1 -1
  26. package/package.json +1 -1
  27. package/types/AccountLinksResource.d.ts +1 -5
  28. package/types/AccountSessions.d.ts +0 -45
  29. package/types/AccountSessionsResource.d.ts +0 -324
  30. package/types/Accounts.d.ts +1 -155
  31. package/types/AccountsResource.d.ts +1 -415
  32. package/types/Charges.d.ts +0 -83
  33. package/types/ChargesResource.d.ts +0 -1294
  34. package/types/Checkout/Sessions.d.ts +79 -302
  35. package/types/Checkout/SessionsResource.d.ts +85 -354
  36. package/types/ConfirmationTokens.d.ts +0 -82
  37. package/types/Coupons.d.ts +1 -1
  38. package/types/CouponsResource.d.ts +1 -1
  39. package/types/CreditNotes.d.ts +0 -21
  40. package/types/CreditNotesResource.d.ts +0 -51
  41. package/types/CustomersResource.d.ts +0 -6
  42. package/types/Disputes.d.ts +3 -3
  43. package/types/EventTypes.d.ts +18 -545
  44. package/types/Events.d.ts +1 -90
  45. package/types/FinancialConnections/Accounts.d.ts +1 -29
  46. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  47. package/types/FinancialConnections/Sessions.d.ts +1 -49
  48. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  49. package/types/InvoiceItems.d.ts +0 -5
  50. package/types/InvoiceItemsResource.d.ts +0 -98
  51. package/types/InvoiceLineItems.d.ts +1 -28
  52. package/types/Invoices.d.ts +2 -124
  53. package/types/InvoicesResource.d.ts +1855 -5503
  54. package/types/Issuing/CardholdersResource.d.ts +1 -2
  55. package/types/Issuing/Transactions.d.ts +0 -2
  56. package/types/Issuing/TransactionsResource.d.ts +0 -5
  57. package/types/LineItems.d.ts +0 -7
  58. package/types/Mandates.d.ts +0 -77
  59. package/types/PaymentIntents.d.ts +1 -613
  60. package/types/PaymentIntentsResource.d.ts +3687 -7740
  61. package/types/PaymentLinks.d.ts +0 -6
  62. package/types/PaymentLinksResource.d.ts +0 -12
  63. package/types/PaymentMethodConfigurations.d.ts +0 -36
  64. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  65. package/types/PaymentMethods.d.ts +0 -82
  66. package/types/PaymentMethodsResource.d.ts +0 -115
  67. package/types/Prices.d.ts +0 -22
  68. package/types/PricesResource.d.ts +0 -22
  69. package/types/Products.d.ts +0 -39
  70. package/types/ProductsResource.d.ts +0 -36
  71. package/types/Quotes.d.ts +1 -591
  72. package/types/QuotesResource.d.ts +199 -2531
  73. package/types/Refunds.d.ts +1 -4
  74. package/types/SetupAttempts.d.ts +0 -11
  75. package/types/SetupIntents.d.ts +1 -112
  76. package/types/SetupIntentsResource.d.ts +3 -594
  77. package/types/Sources.d.ts +0 -23
  78. package/types/SubscriptionItems.d.ts +0 -21
  79. package/types/SubscriptionItemsResource.d.ts +0 -109
  80. package/types/SubscriptionSchedules.d.ts +0 -200
  81. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  82. package/types/Subscriptions.d.ts +1 -82
  83. package/types/SubscriptionsResource.d.ts +2 -347
  84. package/types/Terminal/Readers.d.ts +0 -278
  85. package/types/Terminal/ReadersResource.d.ts +0 -215
  86. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -87
  87. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  88. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  89. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  90. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  91. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  92. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  93. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  94. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  95. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  96. package/types/V2/Core/EventDestinationsResource.d.ts +281 -0
  97. package/types/V2/Core/EventsResource.d.ts +1 -1
  98. package/types/V2/CoreResource.d.ts +1 -0
  99. package/types/V2/EventDestinations.d.ts +164 -0
  100. package/types/WebhookEndpointsResource.d.ts +4 -65
  101. package/types/index.d.ts +2 -53
  102. package/cjs/resources/AccountNotices.js +0 -21
  103. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  104. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  105. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  106. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  107. package/cjs/resources/GiftCards/Cards.js +0 -23
  108. package/cjs/resources/GiftCards/Transactions.js +0 -33
  109. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  110. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  111. package/cjs/resources/Margins.js +0 -22
  112. package/cjs/resources/Orders.js +0 -24
  113. package/cjs/resources/Tax/Associations.js +0 -9
  114. package/cjs/resources/Tax/Forms.js +0 -20
  115. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  116. package/esm/resources/AccountNotices.js +0 -18
  117. package/esm/resources/Capital/FinancingOffers.js +0 -18
  118. package/esm/resources/Capital/FinancingSummary.js +0 -9
  119. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  120. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  121. package/esm/resources/GiftCards/Cards.js +0 -20
  122. package/esm/resources/GiftCards/Transactions.js +0 -30
  123. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  124. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  125. package/esm/resources/Margins.js +0 -19
  126. package/esm/resources/Orders.js +0 -21
  127. package/esm/resources/Tax/Associations.js +0 -6
  128. package/esm/resources/Tax/Forms.js +0 -17
  129. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  130. package/types/AccountNotices.d.ts +0 -113
  131. package/types/AccountNoticesResource.d.ts +0 -98
  132. package/types/Billing/MeterErrorReports.d.ts +0 -106
  133. package/types/Capital/FinancingOffers.d.ts +0 -188
  134. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  135. package/types/Capital/FinancingSummary.d.ts +0 -106
  136. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  137. package/types/Capital/FinancingTransactions.d.ts +0 -135
  138. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  139. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  140. package/types/FinancialConnections/Institutions.d.ts +0 -93
  141. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  142. package/types/GiftCards/Cards.d.ts +0 -118
  143. package/types/GiftCards/CardsResource.d.ts +0 -159
  144. package/types/GiftCards/Transactions.d.ts +0 -129
  145. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  146. package/types/InvoicePayments.d.ts +0 -138
  147. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  148. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  149. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  150. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  151. package/types/Issuing/Settlements.d.ts +0 -103
  152. package/types/Margins.d.ts +0 -56
  153. package/types/MarginsResource.d.ts +0 -114
  154. package/types/Orders.d.ts +0 -1154
  155. package/types/OrdersResource.d.ts +0 -2911
  156. package/types/QuoteLines.d.ts +0 -634
  157. package/types/QuotePreviewInvoices.d.ts +0 -1601
  158. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  159. package/types/Tax/Associations.d.ts +0 -126
  160. package/types/Tax/AssociationsResource.d.ts +0 -29
  161. package/types/Tax/Forms.d.ts +0 -220
  162. package/types/Tax/FormsResource.d.ts +0 -107
  163. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  164. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
@@ -87,11 +87,6 @@ declare module 'stripe' {
87
87
  */
88
88
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
89
89
 
90
- /**
91
- * A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
92
- */
93
- risk_controls?: AccountCreateParams.RiskControls;
94
-
95
90
  /**
96
91
  * Options for customizing how the account functions within Stripe.
97
92
  */
@@ -299,11 +294,6 @@ declare module 'stripe' {
299
294
  */
300
295
  giropay_payments?: Capabilities.GiropayPayments;
301
296
 
302
- /**
303
- * The gopay_payments capability.
304
- */
305
- gopay_payments?: Capabilities.GopayPayments;
306
-
307
297
  /**
308
298
  * The grabpay_payments capability.
309
299
  */
@@ -359,11 +349,6 @@ declare module 'stripe' {
359
349
  */
360
350
  link_payments?: Capabilities.LinkPayments;
361
351
 
362
- /**
363
- * The mb_way_payments capability.
364
- */
365
- mb_way_payments?: Capabilities.MbWayPayments;
366
-
367
352
  /**
368
353
  * The mobilepay_payments capability.
369
354
  */
@@ -404,31 +389,11 @@ declare module 'stripe' {
404
389
  */
405
390
  paynow_payments?: Capabilities.PaynowPayments;
406
391
 
407
- /**
408
- * The paypal_payments capability.
409
- */
410
- paypal_payments?: Capabilities.PaypalPayments;
411
-
412
- /**
413
- * The payto_payments capability.
414
- */
415
- payto_payments?: Capabilities.PaytoPayments;
416
-
417
392
  /**
418
393
  * The promptpay_payments capability.
419
394
  */
420
395
  promptpay_payments?: Capabilities.PromptpayPayments;
421
396
 
422
- /**
423
- * The qris_payments capability.
424
- */
425
- qris_payments?: Capabilities.QrisPayments;
426
-
427
- /**
428
- * The rechnung_payments capability.
429
- */
430
- rechnung_payments?: Capabilities.RechnungPayments;
431
-
432
397
  /**
433
398
  * The revolut_pay_payments capability.
434
399
  */
@@ -449,11 +414,6 @@ declare module 'stripe' {
449
414
  */
450
415
  sepa_debit_payments?: Capabilities.SepaDebitPayments;
451
416
 
452
- /**
453
- * The shopeepay_payments capability.
454
- */
455
- shopeepay_payments?: Capabilities.ShopeepayPayments;
456
-
457
417
  /**
458
418
  * The sofort_payments capability.
459
419
  */
@@ -484,21 +444,6 @@ declare module 'stripe' {
484
444
  */
485
445
  treasury?: Capabilities.Treasury;
486
446
 
487
- /**
488
- * The treasury_evolve capability.
489
- */
490
- treasury_evolve?: Capabilities.TreasuryEvolve;
491
-
492
- /**
493
- * The treasury_fifth_third capability.
494
- */
495
- treasury_fifth_third?: Capabilities.TreasuryFifthThird;
496
-
497
- /**
498
- * The treasury_goldman_sachs capability.
499
- */
500
- treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
501
-
502
447
  /**
503
448
  * The twint_payments capability.
504
449
  */
@@ -654,13 +599,6 @@ declare module 'stripe' {
654
599
  requested?: boolean;
655
600
  }
656
601
 
657
- interface GopayPayments {
658
- /**
659
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
660
- */
661
- requested?: boolean;
662
- }
663
-
664
602
  interface GrabpayPayments {
665
603
  /**
666
604
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -738,13 +676,6 @@ declare module 'stripe' {
738
676
  requested?: boolean;
739
677
  }
740
678
 
741
- interface MbWayPayments {
742
- /**
743
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
744
- */
745
- requested?: boolean;
746
- }
747
-
748
679
  interface MobilepayPayments {
749
680
  /**
750
681
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -801,20 +732,6 @@ declare module 'stripe' {
801
732
  requested?: boolean;
802
733
  }
803
734
 
804
- interface PaypalPayments {
805
- /**
806
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
807
- */
808
- requested?: boolean;
809
- }
810
-
811
- interface PaytoPayments {
812
- /**
813
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
814
- */
815
- requested?: boolean;
816
- }
817
-
818
735
  interface PromptpayPayments {
819
736
  /**
820
737
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -822,20 +739,6 @@ declare module 'stripe' {
822
739
  requested?: boolean;
823
740
  }
824
741
 
825
- interface QrisPayments {
826
- /**
827
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
828
- */
829
- requested?: boolean;
830
- }
831
-
832
- interface RechnungPayments {
833
- /**
834
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
835
- */
836
- requested?: boolean;
837
- }
838
-
839
742
  interface RevolutPayPayments {
840
743
  /**
841
744
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -864,13 +767,6 @@ declare module 'stripe' {
864
767
  requested?: boolean;
865
768
  }
866
769
 
867
- interface ShopeepayPayments {
868
- /**
869
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
870
- */
871
- requested?: boolean;
872
- }
873
-
874
770
  interface SofortPayments {
875
771
  /**
876
772
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -913,27 +809,6 @@ declare module 'stripe' {
913
809
  requested?: boolean;
914
810
  }
915
811
 
916
- interface TreasuryEvolve {
917
- /**
918
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
919
- */
920
- requested?: boolean;
921
- }
922
-
923
- interface TreasuryFifthThird {
924
- /**
925
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
926
- */
927
- requested?: boolean;
928
- }
929
-
930
- interface TreasuryGoldmanSachs {
931
- /**
932
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
933
- */
934
- requested?: boolean;
935
- }
936
-
937
812
  interface TwintPayments {
938
813
  /**
939
814
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -1126,16 +1001,6 @@ declare module 'stripe' {
1126
1001
  }
1127
1002
 
1128
1003
  interface Controller {
1129
- /**
1130
- * A hash of configuration describing the Connect application that controls the account.
1131
- */
1132
- application?: Controller.Application;
1133
-
1134
- /**
1135
- * Properties of the account's dashboard.
1136
- */
1137
- dashboard?: Controller.Dashboard;
1138
-
1139
1004
  /**
1140
1005
  * A hash of configuration for who pays Stripe fees for product usage on this account.
1141
1006
  */
@@ -1158,34 +1023,6 @@ declare module 'stripe' {
1158
1023
  }
1159
1024
 
1160
1025
  namespace Controller {
1161
- interface Application {
1162
- /**
1163
- * Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
1164
- */
1165
- loss_liable: boolean;
1166
-
1167
- /**
1168
- * Whether the controller owns onboarding for this account.
1169
- */
1170
- onboarding_owner?: boolean;
1171
-
1172
- /**
1173
- * Whether the controller has pricing controls for this account.
1174
- */
1175
- pricing_controls?: boolean;
1176
- }
1177
-
1178
- interface Dashboard {
1179
- /**
1180
- * Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
1181
- */
1182
- type?: Dashboard.Type;
1183
- }
1184
-
1185
- namespace Dashboard {
1186
- type Type = 'express' | 'full' | 'none';
1187
- }
1188
-
1189
1026
  interface Fees {
1190
1027
  /**
1191
1028
  * A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
@@ -1557,36 +1394,6 @@ declare module 'stripe' {
1557
1394
  }
1558
1395
  }
1559
1396
 
1560
- interface RiskControls {
1561
- /**
1562
- * Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
1563
- */
1564
- charges?: RiskControls.Charges;
1565
-
1566
- /**
1567
- * Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
1568
- */
1569
- payouts?: RiskControls.Payouts;
1570
- }
1571
-
1572
- namespace RiskControls {
1573
- interface Charges {
1574
- /**
1575
- * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1576
- * There can be a delay before the risk control is paused or unpaused.
1577
- */
1578
- pause_requested?: boolean;
1579
- }
1580
-
1581
- interface Payouts {
1582
- /**
1583
- * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1584
- * There can be a delay before the risk control is paused or unpaused.
1585
- */
1586
- pause_requested?: boolean;
1587
- }
1588
- }
1589
-
1590
1397
  interface Settings {
1591
1398
  /**
1592
1399
  * Settings specific to Bacs Direct Debit.
@@ -1598,11 +1405,6 @@ declare module 'stripe' {
1598
1405
  */
1599
1406
  branding?: Settings.Branding;
1600
1407
 
1601
- /**
1602
- * Settings specific to the account's use of the Capital product.
1603
- */
1604
- capital?: Settings.Capital;
1605
-
1606
1408
  /**
1607
1409
  * Settings specific to the account's use of the Card Issuing product.
1608
1410
  */
@@ -1623,11 +1425,6 @@ declare module 'stripe' {
1623
1425
  */
1624
1426
  payouts?: Settings.Payouts;
1625
1427
 
1626
- /**
1627
- * Settings specific to the account's tax forms.
1628
- */
1629
- tax_forms?: Settings.TaxForms;
1630
-
1631
1428
  /**
1632
1429
  * Settings specific to the account's Treasury FinancialAccounts.
1633
1430
  */
@@ -1664,22 +1461,6 @@ declare module 'stripe' {
1664
1461
  secondary_color?: string;
1665
1462
  }
1666
1463
 
1667
- interface Capital {
1668
- /**
1669
- * Per-currency mapping of user-selected destination accounts used to pay out loans.
1670
- */
1671
- payout_destination?: {
1672
- [key: string]: string;
1673
- };
1674
-
1675
- /**
1676
- * Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
1677
- */
1678
- payout_destination_selector?: {
1679
- [key: string]: Array<string>;
1680
- };
1681
- }
1682
-
1683
1464
  interface CardIssuing {
1684
1465
  /**
1685
1466
  * Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
@@ -1813,13 +1594,6 @@ declare module 'stripe' {
1813
1594
  }
1814
1595
  }
1815
1596
 
1816
- interface TaxForms {
1817
- /**
1818
- * Whether the account opted out of receiving their tax forms by postal delivery.
1819
- */
1820
- consented_to_paperless_delivery?: boolean;
1821
- }
1822
-
1823
1597
  interface Treasury {
1824
1598
  /**
1825
1599
  * Details on the account's acceptance of the Stripe Treasury Services Agreement.
@@ -1959,11 +1733,6 @@ declare module 'stripe' {
1959
1733
  */
1960
1734
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
1961
1735
 
1962
- /**
1963
- * A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
1964
- */
1965
- risk_controls?: AccountUpdateParams.RiskControls;
1966
-
1967
1736
  /**
1968
1737
  * Options for customizing how the account functions within Stripe.
1969
1738
  */
@@ -2204,11 +1973,6 @@ declare module 'stripe' {
2204
1973
  */
2205
1974
  giropay_payments?: Capabilities.GiropayPayments;
2206
1975
 
2207
- /**
2208
- * The gopay_payments capability.
2209
- */
2210
- gopay_payments?: Capabilities.GopayPayments;
2211
-
2212
1976
  /**
2213
1977
  * The grabpay_payments capability.
2214
1978
  */
@@ -2264,11 +2028,6 @@ declare module 'stripe' {
2264
2028
  */
2265
2029
  link_payments?: Capabilities.LinkPayments;
2266
2030
 
2267
- /**
2268
- * The mb_way_payments capability.
2269
- */
2270
- mb_way_payments?: Capabilities.MbWayPayments;
2271
-
2272
2031
  /**
2273
2032
  * The mobilepay_payments capability.
2274
2033
  */
@@ -2309,31 +2068,11 @@ declare module 'stripe' {
2309
2068
  */
2310
2069
  paynow_payments?: Capabilities.PaynowPayments;
2311
2070
 
2312
- /**
2313
- * The paypal_payments capability.
2314
- */
2315
- paypal_payments?: Capabilities.PaypalPayments;
2316
-
2317
- /**
2318
- * The payto_payments capability.
2319
- */
2320
- payto_payments?: Capabilities.PaytoPayments;
2321
-
2322
2071
  /**
2323
2072
  * The promptpay_payments capability.
2324
2073
  */
2325
2074
  promptpay_payments?: Capabilities.PromptpayPayments;
2326
2075
 
2327
- /**
2328
- * The qris_payments capability.
2329
- */
2330
- qris_payments?: Capabilities.QrisPayments;
2331
-
2332
- /**
2333
- * The rechnung_payments capability.
2334
- */
2335
- rechnung_payments?: Capabilities.RechnungPayments;
2336
-
2337
2076
  /**
2338
2077
  * The revolut_pay_payments capability.
2339
2078
  */
@@ -2354,11 +2093,6 @@ declare module 'stripe' {
2354
2093
  */
2355
2094
  sepa_debit_payments?: Capabilities.SepaDebitPayments;
2356
2095
 
2357
- /**
2358
- * The shopeepay_payments capability.
2359
- */
2360
- shopeepay_payments?: Capabilities.ShopeepayPayments;
2361
-
2362
2096
  /**
2363
2097
  * The sofort_payments capability.
2364
2098
  */
@@ -2389,21 +2123,6 @@ declare module 'stripe' {
2389
2123
  */
2390
2124
  treasury?: Capabilities.Treasury;
2391
2125
 
2392
- /**
2393
- * The treasury_evolve capability.
2394
- */
2395
- treasury_evolve?: Capabilities.TreasuryEvolve;
2396
-
2397
- /**
2398
- * The treasury_fifth_third capability.
2399
- */
2400
- treasury_fifth_third?: Capabilities.TreasuryFifthThird;
2401
-
2402
- /**
2403
- * The treasury_goldman_sachs capability.
2404
- */
2405
- treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
2406
-
2407
2126
  /**
2408
2127
  * The twint_payments capability.
2409
2128
  */
@@ -2559,13 +2278,6 @@ declare module 'stripe' {
2559
2278
  requested?: boolean;
2560
2279
  }
2561
2280
 
2562
- interface GopayPayments {
2563
- /**
2564
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2565
- */
2566
- requested?: boolean;
2567
- }
2568
-
2569
2281
  interface GrabpayPayments {
2570
2282
  /**
2571
2283
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2643,13 +2355,6 @@ declare module 'stripe' {
2643
2355
  requested?: boolean;
2644
2356
  }
2645
2357
 
2646
- interface MbWayPayments {
2647
- /**
2648
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2649
- */
2650
- requested?: boolean;
2651
- }
2652
-
2653
2358
  interface MobilepayPayments {
2654
2359
  /**
2655
2360
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2706,20 +2411,6 @@ declare module 'stripe' {
2706
2411
  requested?: boolean;
2707
2412
  }
2708
2413
 
2709
- interface PaypalPayments {
2710
- /**
2711
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2712
- */
2713
- requested?: boolean;
2714
- }
2715
-
2716
- interface PaytoPayments {
2717
- /**
2718
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2719
- */
2720
- requested?: boolean;
2721
- }
2722
-
2723
2414
  interface PromptpayPayments {
2724
2415
  /**
2725
2416
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2727,20 +2418,6 @@ declare module 'stripe' {
2727
2418
  requested?: boolean;
2728
2419
  }
2729
2420
 
2730
- interface QrisPayments {
2731
- /**
2732
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2733
- */
2734
- requested?: boolean;
2735
- }
2736
-
2737
- interface RechnungPayments {
2738
- /**
2739
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2740
- */
2741
- requested?: boolean;
2742
- }
2743
-
2744
2421
  interface RevolutPayPayments {
2745
2422
  /**
2746
2423
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2769,13 +2446,6 @@ declare module 'stripe' {
2769
2446
  requested?: boolean;
2770
2447
  }
2771
2448
 
2772
- interface ShopeepayPayments {
2773
- /**
2774
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2775
- */
2776
- requested?: boolean;
2777
- }
2778
-
2779
2449
  interface SofortPayments {
2780
2450
  /**
2781
2451
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2818,27 +2488,6 @@ declare module 'stripe' {
2818
2488
  requested?: boolean;
2819
2489
  }
2820
2490
 
2821
- interface TreasuryEvolve {
2822
- /**
2823
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2824
- */
2825
- requested?: boolean;
2826
- }
2827
-
2828
- interface TreasuryFifthThird {
2829
- /**
2830
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2831
- */
2832
- requested?: boolean;
2833
- }
2834
-
2835
- interface TreasuryGoldmanSachs {
2836
- /**
2837
- * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2838
- */
2839
- requested?: boolean;
2840
- }
2841
-
2842
2491
  interface TwintPayments {
2843
2492
  /**
2844
2493
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -3371,36 +3020,6 @@ declare module 'stripe' {
3371
3020
  }
3372
3021
  }
3373
3022
 
3374
- interface RiskControls {
3375
- /**
3376
- * Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
3377
- */
3378
- charges?: RiskControls.Charges;
3379
-
3380
- /**
3381
- * Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
3382
- */
3383
- payouts?: RiskControls.Payouts;
3384
- }
3385
-
3386
- namespace RiskControls {
3387
- interface Charges {
3388
- /**
3389
- * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
3390
- * There can be a delay before the risk control is paused or unpaused.
3391
- */
3392
- pause_requested?: boolean;
3393
- }
3394
-
3395
- interface Payouts {
3396
- /**
3397
- * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
3398
- * There can be a delay before the risk control is paused or unpaused.
3399
- */
3400
- pause_requested?: boolean;
3401
- }
3402
- }
3403
-
3404
3023
  interface Settings {
3405
3024
  /**
3406
3025
  * Settings specific to Bacs Direct Debit payments.
@@ -3412,11 +3031,6 @@ declare module 'stripe' {
3412
3031
  */
3413
3032
  branding?: Settings.Branding;
3414
3033
 
3415
- /**
3416
- * Settings specific to the account's use of the Capital product.
3417
- */
3418
- capital?: Settings.Capital;
3419
-
3420
3034
  /**
3421
3035
  * Settings specific to the account's use of the Card Issuing product.
3422
3036
  */
@@ -3442,11 +3056,6 @@ declare module 'stripe' {
3442
3056
  */
3443
3057
  payouts?: Settings.Payouts;
3444
3058
 
3445
- /**
3446
- * Settings specific to the account's tax forms.
3447
- */
3448
- tax_forms?: Settings.TaxForms;
3449
-
3450
3059
  /**
3451
3060
  * Settings specific to the account's Treasury FinancialAccounts.
3452
3061
  */
@@ -3483,22 +3092,6 @@ declare module 'stripe' {
3483
3092
  secondary_color?: string;
3484
3093
  }
3485
3094
 
3486
- interface Capital {
3487
- /**
3488
- * Per-currency mapping of user-selected destination accounts used to pay out loans.
3489
- */
3490
- payout_destination?: {
3491
- [key: string]: string;
3492
- };
3493
-
3494
- /**
3495
- * Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
3496
- */
3497
- payout_destination_selector?: {
3498
- [key: string]: Array<string>;
3499
- };
3500
- }
3501
-
3502
3095
  interface CardIssuing {
3503
3096
  /**
3504
3097
  * Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
@@ -3639,13 +3232,6 @@ declare module 'stripe' {
3639
3232
  }
3640
3233
  }
3641
3234
 
3642
- interface TaxForms {
3643
- /**
3644
- * Whether the account opted out of receiving their tax forms by postal delivery.
3645
- */
3646
- consented_to_paperless_delivery?: boolean;
3647
- }
3648
-
3649
3235
  interface Treasury {
3650
3236
  /**
3651
3237
  * Details on the account's acceptance of the Stripe Treasury Services Agreement.
@@ -4756,7 +4342,7 @@ declare module 'stripe' {
4756
4342
  ): Promise<Stripe.Response<Stripe.ExternalAccount>>;
4757
4343
 
4758
4344
  /**
4759
- * Creates a single-use login link for a connected account to access the Express Dashboard.
4345
+ * Creates a login link for a connected account to access the Express Dashboard.
4760
4346
  *
4761
4347
  * You can only create login links for accounts that use the [Express Dashboard](https://stripe.com/connect/express-dashboard) and are connected to your platform.
4762
4348
  */