stripe 16.8.0-beta.1 → 16.8.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 (159) hide show
  1. package/CHANGELOG.md +118 -798
  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 +1 -5
  34. package/types/AccountSessions.d.ts +0 -45
  35. package/types/AccountSessionsResource.d.ts +0 -215
  36. package/types/Accounts.d.ts +1 -106
  37. package/types/AccountsResource.d.ts +5 -251
  38. package/types/Charges.d.ts +17 -77
  39. package/types/ChargesResource.d.ts +2 -1296
  40. package/types/Checkout/Sessions.d.ts +4 -116
  41. package/types/Checkout/SessionsResource.d.ts +5 -111
  42. package/types/ConfirmationTokens.d.ts +31 -66
  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 -2
  48. package/types/Disputes.d.ts +0 -158
  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/FinancialConnections/Accounts.d.ts +1 -29
  53. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  54. package/types/FinancialConnections/Sessions.d.ts +1 -49
  55. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  56. package/types/InvoiceItems.d.ts +0 -5
  57. package/types/InvoiceItemsResource.d.ts +0 -98
  58. package/types/InvoiceLineItems.d.ts +0 -22
  59. package/types/Invoices.d.ts +1 -116
  60. package/types/InvoicesResource.d.ts +1833 -5491
  61. package/types/Issuing/CardholdersResource.d.ts +1 -2
  62. package/types/LineItems.d.ts +0 -7
  63. package/types/Mandates.d.ts +0 -77
  64. package/types/PaymentIntents.d.ts +3 -489
  65. package/types/PaymentIntentsResource.d.ts +3456 -6972
  66. package/types/PaymentLinks.d.ts +0 -1
  67. package/types/PaymentLinksResource.d.ts +0 -2
  68. package/types/PaymentMethodConfigurations.d.ts +0 -36
  69. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  70. package/types/PaymentMethods.d.ts +31 -66
  71. package/types/PaymentMethodsResource.d.ts +0 -110
  72. package/types/Prices.d.ts +0 -22
  73. package/types/PricesResource.d.ts +0 -22
  74. package/types/Products.d.ts +0 -39
  75. package/types/ProductsResource.d.ts +0 -36
  76. package/types/Quotes.d.ts +1 -596
  77. package/types/QuotesResource.d.ts +267 -3176
  78. package/types/SetupAttempts.d.ts +0 -9
  79. package/types/SetupIntents.d.ts +2 -111
  80. package/types/SetupIntentsResource.d.ts +3 -498
  81. package/types/Sources.d.ts +0 -23
  82. package/types/SubscriptionItems.d.ts +0 -21
  83. package/types/SubscriptionItemsResource.d.ts +0 -109
  84. package/types/SubscriptionSchedules.d.ts +0 -200
  85. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  86. package/types/Subscriptions.d.ts +1 -82
  87. package/types/SubscriptionsResource.d.ts +2 -347
  88. package/types/Terminal/Readers.d.ts +0 -278
  89. package/types/Terminal/ReadersResource.d.ts +0 -208
  90. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -55
  91. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  92. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  93. package/types/TokensResource.d.ts +1 -1
  94. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  95. package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
  96. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  97. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  98. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  99. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  100. package/types/WebhookEndpointsResource.d.ts +0 -54
  101. package/types/index.d.ts +0 -67
  102. package/types/lib.d.ts +0 -12
  103. package/cjs/resources/AccountNotices.js +0 -21
  104. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  105. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  106. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  107. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  108. package/cjs/resources/GiftCards/Cards.js +0 -23
  109. package/cjs/resources/GiftCards/Transactions.js +0 -33
  110. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  111. package/cjs/resources/Margins.js +0 -22
  112. package/cjs/resources/Orders.js +0 -24
  113. package/cjs/resources/QuotePhases.js +0 -22
  114. package/cjs/resources/Tax/Associations.js +0 -9
  115. package/cjs/resources/Tax/Forms.js +0 -20
  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/Margins.js +0 -19
  125. package/esm/resources/Orders.js +0 -21
  126. package/esm/resources/QuotePhases.js +0 -19
  127. package/esm/resources/Tax/Associations.js +0 -6
  128. package/esm/resources/Tax/Forms.js +0 -17
  129. package/types/AccountNotices.d.ts +0 -113
  130. package/types/AccountNoticesResource.d.ts +0 -98
  131. package/types/Capital/FinancingOffers.d.ts +0 -188
  132. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  133. package/types/Capital/FinancingSummary.d.ts +0 -106
  134. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  135. package/types/Capital/FinancingTransactions.d.ts +0 -135
  136. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  137. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  138. package/types/FinancialConnections/Institutions.d.ts +0 -93
  139. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  140. package/types/GiftCards/Cards.d.ts +0 -118
  141. package/types/GiftCards/CardsResource.d.ts +0 -159
  142. package/types/GiftCards/Transactions.d.ts +0 -129
  143. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  144. package/types/InvoicePayments.d.ts +0 -138
  145. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
  146. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
  147. package/types/Margins.d.ts +0 -56
  148. package/types/MarginsResource.d.ts +0 -114
  149. package/types/Orders.d.ts +0 -1083
  150. package/types/OrdersResource.d.ts +0 -2763
  151. package/types/QuoteLines.d.ts +0 -634
  152. package/types/QuotePhases.d.ts +0 -198
  153. package/types/QuotePhasesResource.d.ts +0 -67
  154. package/types/QuotePreviewInvoices.d.ts +0 -1530
  155. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  156. package/types/Tax/Associations.d.ts +0 -126
  157. package/types/Tax/AssociationsResource.d.ts +0 -29
  158. package/types/Tax/Forms.d.ts +0 -133
  159. package/types/Tax/FormsResource.d.ts +0 -90
@@ -82,11 +82,6 @@ declare module 'stripe' {
82
82
  */
83
83
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
84
84
 
85
- /**
86
- * 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).
87
- */
88
- risk_controls?: AccountCreateParams.RiskControls;
89
-
90
85
  /**
91
86
  * Options for customizing how the account functions within Stripe.
92
87
  */
@@ -364,26 +359,11 @@ declare module 'stripe' {
364
359
  */
365
360
  paynow_payments?: Capabilities.PaynowPayments;
366
361
 
367
- /**
368
- * The paypal_payments capability.
369
- */
370
- paypal_payments?: Capabilities.PaypalPayments;
371
-
372
- /**
373
- * The payto_payments capability.
374
- */
375
- payto_payments?: Capabilities.PaytoPayments;
376
-
377
362
  /**
378
363
  * The promptpay_payments capability.
379
364
  */
380
365
  promptpay_payments?: Capabilities.PromptpayPayments;
381
366
 
382
- /**
383
- * The rechnung_payments capability.
384
- */
385
- rechnung_payments?: Capabilities.RechnungPayments;
386
-
387
367
  /**
388
368
  * The revolut_pay_payments capability.
389
369
  */
@@ -682,20 +662,6 @@ declare module 'stripe' {
682
662
  requested?: boolean;
683
663
  }
684
664
 
685
- interface PaypalPayments {
686
- /**
687
- * 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.
688
- */
689
- requested?: boolean;
690
- }
691
-
692
- interface PaytoPayments {
693
- /**
694
- * 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.
695
- */
696
- requested?: boolean;
697
- }
698
-
699
665
  interface PromptpayPayments {
700
666
  /**
701
667
  * 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.
@@ -703,13 +669,6 @@ declare module 'stripe' {
703
669
  requested?: boolean;
704
670
  }
705
671
 
706
- interface RechnungPayments {
707
- /**
708
- * 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.
709
- */
710
- requested?: boolean;
711
- }
712
-
713
672
  interface RevolutPayPayments {
714
673
  /**
715
674
  * 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.
@@ -965,16 +924,6 @@ declare module 'stripe' {
965
924
  }
966
925
 
967
926
  interface Controller {
968
- /**
969
- * A hash of configuration describing the Connect application that controls the account.
970
- */
971
- application?: Controller.Application;
972
-
973
- /**
974
- * Properties of the account's dashboard.
975
- */
976
- dashboard?: Controller.Dashboard;
977
-
978
927
  /**
979
928
  * A hash of configuration for who pays Stripe fees for product usage on this account.
980
929
  */
@@ -997,34 +946,6 @@ declare module 'stripe' {
997
946
  }
998
947
 
999
948
  namespace Controller {
1000
- interface Application {
1001
- /**
1002
- * Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
1003
- */
1004
- loss_liable: boolean;
1005
-
1006
- /**
1007
- * Whether the controller owns onboarding for this account.
1008
- */
1009
- onboarding_owner?: boolean;
1010
-
1011
- /**
1012
- * Whether the controller has pricing controls for this account.
1013
- */
1014
- pricing_controls?: boolean;
1015
- }
1016
-
1017
- interface Dashboard {
1018
- /**
1019
- * 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`.
1020
- */
1021
- type?: Dashboard.Type;
1022
- }
1023
-
1024
- namespace Dashboard {
1025
- type Type = 'express' | 'full' | 'none';
1026
- }
1027
-
1028
949
  interface Fees {
1029
950
  /**
1030
951
  * 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).
@@ -1063,7 +984,7 @@ declare module 'stripe' {
1063
984
 
1064
985
  interface Documents {
1065
986
  /**
1066
- * One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a voided check.
987
+ * One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
1067
988
  */
1068
989
  bank_account_ownership_verification?: Documents.BankAccountOwnershipVerification;
1069
990
 
@@ -1389,36 +1310,6 @@ declare module 'stripe' {
1389
1310
  }
1390
1311
  }
1391
1312
 
1392
- interface RiskControls {
1393
- /**
1394
- * 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).
1395
- */
1396
- charges?: RiskControls.Charges;
1397
-
1398
- /**
1399
- * 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).
1400
- */
1401
- payouts?: RiskControls.Payouts;
1402
- }
1403
-
1404
- namespace RiskControls {
1405
- interface Charges {
1406
- /**
1407
- * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1408
- * There can be a delay before the risk control is paused or unpaused.
1409
- */
1410
- pause_requested?: boolean;
1411
- }
1412
-
1413
- interface Payouts {
1414
- /**
1415
- * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1416
- * There can be a delay before the risk control is paused or unpaused.
1417
- */
1418
- pause_requested?: boolean;
1419
- }
1420
- }
1421
-
1422
1313
  interface Settings {
1423
1314
  /**
1424
1315
  * Settings specific to Bacs Direct Debit.
@@ -1430,11 +1321,6 @@ declare module 'stripe' {
1430
1321
  */
1431
1322
  branding?: Settings.Branding;
1432
1323
 
1433
- /**
1434
- * Settings specific to the account's use of the Capital product.
1435
- */
1436
- capital?: Settings.Capital;
1437
-
1438
1324
  /**
1439
1325
  * Settings specific to the account's use of the Card Issuing product.
1440
1326
  */
@@ -1455,11 +1341,6 @@ declare module 'stripe' {
1455
1341
  */
1456
1342
  payouts?: Settings.Payouts;
1457
1343
 
1458
- /**
1459
- * Settings specific to the account's tax forms.
1460
- */
1461
- tax_forms?: Settings.TaxForms;
1462
-
1463
1344
  /**
1464
1345
  * Settings specific to the account's Treasury FinancialAccounts.
1465
1346
  */
@@ -1496,22 +1377,6 @@ declare module 'stripe' {
1496
1377
  secondary_color?: string;
1497
1378
  }
1498
1379
 
1499
- interface Capital {
1500
- /**
1501
- * Per-currency mapping of user-selected destination accounts used to pay out loans.
1502
- */
1503
- payout_destination?: {
1504
- [key: string]: string;
1505
- };
1506
-
1507
- /**
1508
- * Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
1509
- */
1510
- payout_destination_selector?: {
1511
- [key: string]: Array<string>;
1512
- };
1513
- }
1514
-
1515
1380
  interface CardIssuing {
1516
1381
  /**
1517
1382
  * Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
@@ -1645,13 +1510,6 @@ declare module 'stripe' {
1645
1510
  }
1646
1511
  }
1647
1512
 
1648
- interface TaxForms {
1649
- /**
1650
- * Whether the account opted out of receiving their tax forms by postal delivery.
1651
- */
1652
- consented_to_paperless_delivery?: boolean;
1653
- }
1654
-
1655
1513
  interface Treasury {
1656
1514
  /**
1657
1515
  * Details on the account's acceptance of the Stripe Treasury Services Agreement.
@@ -1786,11 +1644,6 @@ declare module 'stripe' {
1786
1644
  */
1787
1645
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
1788
1646
 
1789
- /**
1790
- * 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).
1791
- */
1792
- risk_controls?: AccountUpdateParams.RiskControls;
1793
-
1794
1647
  /**
1795
1648
  * Options for customizing how the account functions within Stripe.
1796
1649
  */
@@ -2101,26 +1954,11 @@ declare module 'stripe' {
2101
1954
  */
2102
1955
  paynow_payments?: Capabilities.PaynowPayments;
2103
1956
 
2104
- /**
2105
- * The paypal_payments capability.
2106
- */
2107
- paypal_payments?: Capabilities.PaypalPayments;
2108
-
2109
- /**
2110
- * The payto_payments capability.
2111
- */
2112
- payto_payments?: Capabilities.PaytoPayments;
2113
-
2114
1957
  /**
2115
1958
  * The promptpay_payments capability.
2116
1959
  */
2117
1960
  promptpay_payments?: Capabilities.PromptpayPayments;
2118
1961
 
2119
- /**
2120
- * The rechnung_payments capability.
2121
- */
2122
- rechnung_payments?: Capabilities.RechnungPayments;
2123
-
2124
1962
  /**
2125
1963
  * The revolut_pay_payments capability.
2126
1964
  */
@@ -2419,20 +2257,6 @@ declare module 'stripe' {
2419
2257
  requested?: boolean;
2420
2258
  }
2421
2259
 
2422
- interface PaypalPayments {
2423
- /**
2424
- * 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.
2425
- */
2426
- requested?: boolean;
2427
- }
2428
-
2429
- interface PaytoPayments {
2430
- /**
2431
- * 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.
2432
- */
2433
- requested?: boolean;
2434
- }
2435
-
2436
2260
  interface PromptpayPayments {
2437
2261
  /**
2438
2262
  * 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.
@@ -2440,13 +2264,6 @@ declare module 'stripe' {
2440
2264
  requested?: boolean;
2441
2265
  }
2442
2266
 
2443
- interface RechnungPayments {
2444
- /**
2445
- * 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.
2446
- */
2447
- requested?: boolean;
2448
- }
2449
-
2450
2267
  interface RevolutPayPayments {
2451
2268
  /**
2452
2269
  * 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.
@@ -2746,7 +2563,7 @@ declare module 'stripe' {
2746
2563
 
2747
2564
  interface Documents {
2748
2565
  /**
2749
- * One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a voided check.
2566
+ * One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
2750
2567
  */
2751
2568
  bank_account_ownership_verification?: Documents.BankAccountOwnershipVerification;
2752
2569
 
@@ -3035,36 +2852,6 @@ declare module 'stripe' {
3035
2852
  }
3036
2853
  }
3037
2854
 
3038
- interface RiskControls {
3039
- /**
3040
- * 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).
3041
- */
3042
- charges?: RiskControls.Charges;
3043
-
3044
- /**
3045
- * 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).
3046
- */
3047
- payouts?: RiskControls.Payouts;
3048
- }
3049
-
3050
- namespace RiskControls {
3051
- interface Charges {
3052
- /**
3053
- * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
3054
- * There can be a delay before the risk control is paused or unpaused.
3055
- */
3056
- pause_requested?: boolean;
3057
- }
3058
-
3059
- interface Payouts {
3060
- /**
3061
- * To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
3062
- * There can be a delay before the risk control is paused or unpaused.
3063
- */
3064
- pause_requested?: boolean;
3065
- }
3066
- }
3067
-
3068
2855
  interface Settings {
3069
2856
  /**
3070
2857
  * Settings specific to Bacs Direct Debit payments.
@@ -3076,11 +2863,6 @@ declare module 'stripe' {
3076
2863
  */
3077
2864
  branding?: Settings.Branding;
3078
2865
 
3079
- /**
3080
- * Settings specific to the account's use of the Capital product.
3081
- */
3082
- capital?: Settings.Capital;
3083
-
3084
2866
  /**
3085
2867
  * Settings specific to the account's use of the Card Issuing product.
3086
2868
  */
@@ -3106,11 +2888,6 @@ declare module 'stripe' {
3106
2888
  */
3107
2889
  payouts?: Settings.Payouts;
3108
2890
 
3109
- /**
3110
- * Settings specific to the account's tax forms.
3111
- */
3112
- tax_forms?: Settings.TaxForms;
3113
-
3114
2891
  /**
3115
2892
  * Settings specific to the account's Treasury FinancialAccounts.
3116
2893
  */
@@ -3147,22 +2924,6 @@ declare module 'stripe' {
3147
2924
  secondary_color?: string;
3148
2925
  }
3149
2926
 
3150
- interface Capital {
3151
- /**
3152
- * Per-currency mapping of user-selected destination accounts used to pay out loans.
3153
- */
3154
- payout_destination?: {
3155
- [key: string]: string;
3156
- };
3157
-
3158
- /**
3159
- * Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
3160
- */
3161
- payout_destination_selector?: {
3162
- [key: string]: Array<string>;
3163
- };
3164
- }
3165
-
3166
2927
  interface CardIssuing {
3167
2928
  /**
3168
2929
  * Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
@@ -3303,13 +3064,6 @@ declare module 'stripe' {
3303
3064
  }
3304
3065
  }
3305
3066
 
3306
- interface TaxForms {
3307
- /**
3308
- * Whether the account opted out of receiving their tax forms by postal delivery.
3309
- */
3310
- consented_to_paperless_delivery?: boolean;
3311
- }
3312
-
3313
3067
  interface Treasury {
3314
3068
  /**
3315
3069
  * Details on the account's acceptance of the Stripe Treasury Services Agreement.
@@ -3490,7 +3244,7 @@ declare module 'stripe' {
3490
3244
 
3491
3245
  interface AccountCreatePersonParams {
3492
3246
  /**
3493
- * Details on the legal guardian's acceptance of the required Stripe agreements.
3247
+ * Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.
3494
3248
  */
3495
3249
  additional_tos_acceptances?: AccountCreatePersonParams.AdditionalTosAcceptances;
3496
3250
 
@@ -4003,7 +3757,7 @@ declare module 'stripe' {
4003
3757
 
4004
3758
  interface Documents {
4005
3759
  /**
4006
- * One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the bank account that displays the last 4 digits of the account number, either a statement or a voided check.
3760
+ * One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the bank account that displays the last 4 digits of the account number, either a statement or a check.
4007
3761
  */
4008
3762
  bank_account_ownership_verification?: Documents.BankAccountOwnershipVerification;
4009
3763
  }
@@ -4020,7 +3774,7 @@ declare module 'stripe' {
4020
3774
 
4021
3775
  interface AccountUpdatePersonParams {
4022
3776
  /**
4023
- * Details on the legal guardian's acceptance of the required Stripe agreements.
3777
+ * Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.
4024
3778
  */
4025
3779
  additional_tos_acceptances?: AccountUpdatePersonParams.AdditionalTosAcceptances;
4026
3780
 
@@ -209,7 +209,7 @@ declare module 'stripe' {
209
209
  source: Stripe.CustomerSource | null;
210
210
 
211
211
  /**
212
- * The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
212
+ * The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
213
213
  */
214
214
  source_transfer: string | Stripe.Transfer | null;
215
215
 
@@ -219,7 +219,7 @@ declare module 'stripe' {
219
219
  statement_descriptor: string | null;
220
220
 
221
221
  /**
222
- * Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.corp.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
222
+ * Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
223
223
  */
224
224
  statement_descriptor_suffix: string | null;
225
225
 
@@ -428,14 +428,10 @@ declare module 'stripe' {
428
428
 
429
429
  paypal?: PaymentMethodDetails.Paypal;
430
430
 
431
- payto?: PaymentMethodDetails.Payto;
432
-
433
431
  pix?: PaymentMethodDetails.Pix;
434
432
 
435
433
  promptpay?: PaymentMethodDetails.Promptpay;
436
434
 
437
- rechnung?: PaymentMethodDetails.Rechnung;
438
-
439
435
  revolut_pay?: PaymentMethodDetails.RevolutPay;
440
436
 
441
437
  sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
@@ -732,8 +728,6 @@ declare module 'stripe' {
732
728
  */
733
729
  country: string | null;
734
730
 
735
- decremental_authorization?: Card.DecrementalAuthorization;
736
-
737
731
  /**
738
732
  * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
739
733
  */
@@ -840,17 +834,6 @@ declare module 'stripe' {
840
834
  cvc_check: string | null;
841
835
  }
842
836
 
843
- interface DecrementalAuthorization {
844
- /**
845
- * Indicates whether or not the decremental authorization feature is supported.
846
- */
847
- status: DecrementalAuthorization.Status;
848
- }
849
-
850
- namespace DecrementalAuthorization {
851
- type Status = 'available' | 'unavailable';
852
- }
853
-
854
837
  interface ExtendedAuthorization {
855
838
  /**
856
839
  * Indicates whether or not the capture window is extended beyond the standard authorization.
@@ -1194,10 +1177,7 @@ declare module 'stripe' {
1194
1177
  network: string | null;
1195
1178
 
1196
1179
  /**
1197
- * This is used by the financial networks to identify a transaction.
1198
- * Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data.
1199
- * The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD).
1200
- * This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
1180
+ * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
1201
1181
  */
1202
1182
  network_transaction_id: string | null;
1203
1183
 
@@ -1225,6 +1205,8 @@ declare module 'stripe' {
1225
1205
  * A collection of fields required to be displayed on receipts. Only required for EMV transactions.
1226
1206
  */
1227
1207
  receipt: CardPresent.Receipt | null;
1208
+
1209
+ wallet?: CardPresent.Wallet;
1228
1210
  }
1229
1211
 
1230
1212
  namespace CardPresent {
@@ -1297,6 +1279,17 @@ declare module 'stripe' {
1297
1279
  namespace Receipt {
1298
1280
  type AccountType = 'checking' | 'credit' | 'prepaid' | 'unknown';
1299
1281
  }
1282
+
1283
+ interface Wallet {
1284
+ /**
1285
+ * The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
1286
+ */
1287
+ type: Wallet.Type;
1288
+ }
1289
+
1290
+ namespace Wallet {
1291
+ type Type = 'apple_pay' | 'google_pay' | 'samsung_pay' | 'unknown';
1292
+ }
1300
1293
  }
1301
1294
 
1302
1295
  interface Cashapp {
@@ -1581,10 +1574,7 @@ declare module 'stripe' {
1581
1574
  network: string | null;
1582
1575
 
1583
1576
  /**
1584
- * This is used by the financial networks to identify a transaction.
1585
- * Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data.
1586
- * The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD).
1587
- * This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
1577
+ * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
1588
1578
  */
1589
1579
  network_transaction_id: string | null;
1590
1580
 
@@ -1840,36 +1830,10 @@ declare module 'stripe' {
1840
1830
  */
1841
1831
  seller_protection: Paypal.SellerProtection | null;
1842
1832
 
1843
- /**
1844
- * The shipping address for the customer, as supplied by the merchant at the point of payment
1845
- * execution. This shipping address will not be updated if the merchant updates the shipping
1846
- * address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1847
- */
1848
- shipping?: Stripe.Address | null;
1849
-
1850
1833
  /**
1851
1834
  * A unique ID generated by PayPal for this transaction.
1852
1835
  */
1853
1836
  transaction_id: string | null;
1854
-
1855
- /**
1856
- * The shipping address for the customer, as supplied by the merchant at the point of payment
1857
- * execution. This shipping address will not be updated if the merchant updates the shipping
1858
- * address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1859
- */
1860
- verified_address?: Stripe.Address | null;
1861
-
1862
- /**
1863
- * Owner's verified email. Values are verified or provided by PayPal directly
1864
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1865
- */
1866
- verified_email?: string | null;
1867
-
1868
- /**
1869
- * Owner's verified full name. Values are verified or provided by PayPal directly
1870
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1871
- */
1872
- verified_name?: string | null;
1873
1837
  }
1874
1838
 
1875
1839
  namespace Paypal {
@@ -1892,28 +1856,6 @@ declare module 'stripe' {
1892
1856
  }
1893
1857
  }
1894
1858
 
1895
- interface Payto {
1896
- /**
1897
- * Bank-State-Branch number of the bank account.
1898
- */
1899
- bsb_number: string | null;
1900
-
1901
- /**
1902
- * Last four digits of the bank account number.
1903
- */
1904
- last4: string | null;
1905
-
1906
- /**
1907
- * ID of the mandate used to make this payment.
1908
- */
1909
- mandate?: string;
1910
-
1911
- /**
1912
- * The PayID alias for the bank account.
1913
- */
1914
- pay_id: string | null;
1915
- }
1916
-
1917
1859
  interface Pix {
1918
1860
  /**
1919
1861
  * Unique transaction id generated by BCB
@@ -1928,8 +1870,6 @@ declare module 'stripe' {
1928
1870
  reference: string | null;
1929
1871
  }
1930
1872
 
1931
- interface Rechnung {}
1932
-
1933
1873
  interface RevolutPay {}
1934
1874
 
1935
1875
  interface SepaCreditTransfer {