stripe 18.6.0-alpha.2 → 19.0.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 (447) hide show
  1. package/CHANGELOG.md +85 -1429
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +19 -6
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +1 -115
  6. package/cjs/RequestSender.js +10 -4
  7. package/cjs/StripeContext.js +56 -0
  8. package/cjs/apiVersion.js +3 -2
  9. package/cjs/net/FetchHttpClient.js +1 -1
  10. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  11. package/cjs/resources/Mandates.js +0 -5
  12. package/cjs/resources/PaymentIntents.js +0 -13
  13. package/cjs/resources/Quotes.js +0 -32
  14. package/cjs/resources/SubscriptionSchedules.js +0 -4
  15. package/cjs/resources/Subscriptions.js +0 -4
  16. package/cjs/resources/V2/Core/Events.js +1 -1
  17. package/cjs/resources.js +8 -140
  18. package/cjs/stripe.core.js +19 -24
  19. package/esm/Error.js +0 -100
  20. package/esm/RequestSender.js +10 -4
  21. package/esm/StripeContext.js +52 -0
  22. package/esm/apiVersion.js +2 -1
  23. package/esm/net/FetchHttpClient.js +1 -1
  24. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  25. package/esm/resources/Mandates.js +0 -5
  26. package/esm/resources/PaymentIntents.js +0 -13
  27. package/esm/resources/Quotes.js +0 -32
  28. package/esm/resources/SubscriptionSchedules.js +0 -4
  29. package/esm/resources/Subscriptions.js +0 -4
  30. package/esm/resources/V2/Core/Events.js +1 -1
  31. package/esm/resources.js +0 -125
  32. package/esm/stripe.core.js +19 -24
  33. package/package.json +4 -4
  34. package/types/AccountLinksResource.d.ts +1 -5
  35. package/types/AccountSessions.d.ts +0 -75
  36. package/types/AccountSessionsResource.d.ts +0 -306
  37. package/types/Accounts.d.ts +5 -207
  38. package/types/AccountsResource.d.ts +4 -528
  39. package/types/BalanceSettings.d.ts +12 -6
  40. package/types/BalanceSettingsResource.d.ts +15 -10
  41. package/types/BankAccounts.d.ts +4 -0
  42. package/types/Billing/AlertTriggereds.d.ts +1 -16
  43. package/types/Billing/Alerts.d.ts +1 -116
  44. package/types/Billing/AlertsResource.d.ts +3 -94
  45. package/types/Billing/CreditBalanceSummary.d.ts +2 -123
  46. package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -20
  47. package/types/Billing/CreditBalanceTransactions.d.ts +2 -118
  48. package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
  49. package/types/Billing/CreditGrants.d.ts +1 -76
  50. package/types/Billing/CreditGrantsResource.d.ts +2 -43
  51. package/types/BillingPortal/Configurations.d.ts +7 -0
  52. package/types/BillingPortal/ConfigurationsResource.d.ts +14 -0
  53. package/types/BillingPortal/Sessions.d.ts +0 -5
  54. package/types/BillingPortal/SessionsResource.d.ts +4 -12
  55. package/types/Capabilities.d.ts +4 -0
  56. package/types/Cards.d.ts +1 -6
  57. package/types/CashBalances.d.ts +0 -5
  58. package/types/Charges.d.ts +11 -169
  59. package/types/ChargesResource.d.ts +0 -1406
  60. package/types/Checkout/Sessions.d.ts +191 -405
  61. package/types/Checkout/SessionsResource.d.ts +332 -557
  62. package/types/ConfirmationTokens.d.ts +0 -120
  63. package/types/Coupons.d.ts +0 -33
  64. package/types/CouponsResource.d.ts +0 -21
  65. package/types/CreditNoteLineItems.d.ts +0 -17
  66. package/types/CreditNotes.d.ts +0 -5
  67. package/types/CreditNotesResource.d.ts +0 -5
  68. package/types/CustomerBalanceTransactions.d.ts +0 -2
  69. package/types/CustomerCashBalanceTransactions.d.ts +0 -2
  70. package/types/CustomerSessions.d.ts +0 -5
  71. package/types/CustomerSessionsResource.d.ts +1 -6
  72. package/types/Customers.d.ts +10 -2
  73. package/types/CustomersResource.d.ts +20 -7
  74. package/types/Discounts.d.ts +32 -24
  75. package/types/Disputes.d.ts +6 -29
  76. package/types/Errors.d.ts +0 -85
  77. package/types/EventTypes.d.ts +0 -664
  78. package/types/Events.d.ts +0 -97
  79. package/types/ExchangeRates.d.ts +2 -0
  80. package/types/ExchangeRatesResource.d.ts +6 -0
  81. package/types/FinancialConnections/Accounts.d.ts +1 -36
  82. package/types/FinancialConnections/AccountsResource.d.ts +3 -40
  83. package/types/FinancialConnections/Sessions.d.ts +1 -51
  84. package/types/FinancialConnections/SessionsResource.d.ts +1 -43
  85. package/types/Identity/VerificationSessions.d.ts +0 -5
  86. package/types/Identity/VerificationSessionsResource.d.ts +0 -7
  87. package/types/InvoiceItems.d.ts +21 -105
  88. package/types/InvoiceItemsResource.d.ts +6 -117
  89. package/types/InvoiceLineItems.d.ts +3 -158
  90. package/types/InvoicePayments.d.ts +0 -5
  91. package/types/InvoicePaymentsResource.d.ts +1 -10
  92. package/types/Invoices.d.ts +7 -188
  93. package/types/InvoicesResource.d.ts +49 -1523
  94. package/types/Issuing/CardholdersResource.d.ts +5 -6
  95. package/types/Issuing/Cards.d.ts +5 -0
  96. package/types/Issuing/CardsResource.d.ts +14 -4
  97. package/types/Issuing/Transactions.d.ts +0 -5
  98. package/types/Issuing/TransactionsResource.d.ts +0 -5
  99. package/types/LineItems.d.ts +0 -49
  100. package/types/Mandates.d.ts +1 -135
  101. package/types/MandatesResource.d.ts +0 -31
  102. package/types/PaymentIntents.d.ts +5 -820
  103. package/types/PaymentIntentsResource.d.ts +5643 -11279
  104. package/types/PaymentLinks.d.ts +0 -6
  105. package/types/PaymentLinksResource.d.ts +5 -12
  106. package/types/PaymentMethodConfigurations.d.ts +0 -180
  107. package/types/PaymentMethodConfigurationsResource.d.ts +28 -228
  108. package/types/PaymentMethods.d.ts +0 -125
  109. package/types/PaymentMethodsResource.d.ts +2 -172
  110. package/types/Persons.d.ts +4 -0
  111. package/types/Prices.d.ts +0 -22
  112. package/types/PricesResource.d.ts +0 -22
  113. package/types/PromotionCodes.d.ts +16 -14
  114. package/types/PromotionCodesResource.d.ts +15 -13
  115. package/types/Quotes.d.ts +9 -589
  116. package/types/QuotesResource.d.ts +290 -2619
  117. package/types/Refunds.d.ts +0 -14
  118. package/types/Reviews.d.ts +2 -0
  119. package/types/SetupAttempts.d.ts +3 -51
  120. package/types/SetupIntents.d.ts +4 -210
  121. package/types/SetupIntentsResource.d.ts +3 -913
  122. package/types/Sources.d.ts +1 -30
  123. package/types/SubscriptionItems.d.ts +0 -21
  124. package/types/SubscriptionItemsResource.d.ts +0 -109
  125. package/types/SubscriptionSchedules.d.ts +16 -205
  126. package/types/SubscriptionSchedulesResource.d.ts +21 -1243
  127. package/types/Subscriptions.d.ts +17 -140
  128. package/types/SubscriptionsResource.d.ts +49 -502
  129. package/types/Tax/CalculationsResource.d.ts +5 -5
  130. package/types/Tax/Settings.d.ts +7 -0
  131. package/types/TaxIds.d.ts +0 -10
  132. package/types/TaxIdsResource.d.ts +0 -10
  133. package/types/Terminal/Configurations.d.ts +9 -9
  134. package/types/Terminal/ConfigurationsResource.d.ts +26 -28
  135. package/types/Terminal/Locations.d.ts +95 -0
  136. package/types/Terminal/LocationsResource.d.ts +59 -6
  137. package/types/Terminal/Readers.d.ts +0 -20
  138. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -118
  139. package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +79 -0
  140. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  141. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  142. package/types/Transfers.d.ts +0 -5
  143. package/types/TransfersResource.d.ts +0 -5
  144. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  145. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  146. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  147. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  148. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  149. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  150. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  151. package/types/V2/Core/EventDestinations.d.ts +166 -0
  152. package/types/V2/Core/EventDestinationsResource.d.ts +14 -14
  153. package/types/V2/Core/EventTypes.d.ts +256 -0
  154. package/types/V2/Core/Events.d.ts +77 -0
  155. package/types/V2/Core/EventsResource.d.ts +4 -4
  156. package/types/V2/DeletedObject.d.ts +22 -0
  157. package/types/V2/EventMisc.d.ts +72 -0
  158. package/types/WebhookEndpointsResource.d.ts +2 -79
  159. package/types/Webhooks.d.ts +0 -2
  160. package/types/apiVersion.d.ts +2 -1
  161. package/types/index.d.ts +8 -270
  162. package/types/lib.d.ts +4 -14
  163. package/types/test/typescriptTest.ts +43 -0
  164. package/cjs/resources/AccountNotices.js +0 -21
  165. package/cjs/resources/Billing/MeterUsage.js +0 -12
  166. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  167. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  168. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  169. package/cjs/resources/ExternalAccounts.js +0 -23
  170. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  171. package/cjs/resources/FxQuotes.js +0 -15
  172. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  173. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  174. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  175. package/cjs/resources/Margins.js +0 -22
  176. package/cjs/resources/Orders.js +0 -24
  177. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  178. package/cjs/resources/PaymentRecords.js +0 -29
  179. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  180. package/cjs/resources/Tax/Associations.js +0 -9
  181. package/cjs/resources/Tax/Forms.js +0 -20
  182. package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
  183. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  184. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
  185. package/cjs/resources/V2/Billing/BillSettings.js +0 -27
  186. package/cjs/resources/V2/Billing/Cadences.js +0 -23
  187. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
  188. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
  189. package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -25
  190. package/cjs/resources/V2/Billing/Intents/Actions.js +0 -17
  191. package/cjs/resources/V2/Billing/Intents.js +0 -36
  192. package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -12
  193. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -17
  194. package/cjs/resources/V2/Billing/LicenseFees.js +0 -27
  195. package/cjs/resources/V2/Billing/LicensedItems.js +0 -25
  196. package/cjs/resources/V2/Billing/MeteredItems.js +0 -22
  197. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -17
  198. package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -29
  199. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -17
  200. package/cjs/resources/V2/Billing/PricingPlans.js +0 -29
  201. package/cjs/resources/V2/Billing/Profiles.js +0 -19
  202. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -29
  203. package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -25
  204. package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -17
  205. package/cjs/resources/V2/Billing/RateCards.js +0 -29
  206. package/cjs/resources/V2/Billing/ServiceActions.js +0 -16
  207. package/cjs/resources/V2/Core/AccountLinks.js +0 -9
  208. package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
  209. package/cjs/resources/V2/Core/Accounts.js +0 -25
  210. package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -16
  211. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
  212. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
  213. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  214. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -25
  215. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  216. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  217. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  218. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  219. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  220. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  221. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  222. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  223. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  224. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  225. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  226. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  227. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -25
  228. package/cjs/resources/V2/Reporting/ReportRuns.js +0 -13
  229. package/cjs/resources/V2/Reporting/Reports.js +0 -12
  230. package/cjs/resources/V2/Tax/AutomaticRules.js +0 -22
  231. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  232. package/esm/resources/AccountNotices.js +0 -18
  233. package/esm/resources/Billing/MeterUsage.js +0 -9
  234. package/esm/resources/Capital/FinancingOffers.js +0 -18
  235. package/esm/resources/Capital/FinancingSummary.js +0 -9
  236. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  237. package/esm/resources/ExternalAccounts.js +0 -20
  238. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  239. package/esm/resources/FxQuotes.js +0 -12
  240. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  241. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  242. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  243. package/esm/resources/Margins.js +0 -19
  244. package/esm/resources/Orders.js +0 -21
  245. package/esm/resources/PaymentAttemptRecords.js +0 -14
  246. package/esm/resources/PaymentRecords.js +0 -26
  247. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  248. package/esm/resources/Tax/Associations.js +0 -6
  249. package/esm/resources/Tax/Forms.js +0 -17
  250. package/esm/resources/Terminal/OnboardingLinks.js +0 -9
  251. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  252. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
  253. package/esm/resources/V2/Billing/BillSettings.js +0 -24
  254. package/esm/resources/V2/Billing/Cadences.js +0 -20
  255. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
  256. package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
  257. package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -22
  258. package/esm/resources/V2/Billing/Intents/Actions.js +0 -14
  259. package/esm/resources/V2/Billing/Intents.js +0 -33
  260. package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -9
  261. package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -14
  262. package/esm/resources/V2/Billing/LicenseFees.js +0 -24
  263. package/esm/resources/V2/Billing/LicensedItems.js +0 -22
  264. package/esm/resources/V2/Billing/MeteredItems.js +0 -19
  265. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -14
  266. package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -26
  267. package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -14
  268. package/esm/resources/V2/Billing/PricingPlans.js +0 -26
  269. package/esm/resources/V2/Billing/Profiles.js +0 -16
  270. package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -26
  271. package/esm/resources/V2/Billing/RateCards/Rates.js +0 -22
  272. package/esm/resources/V2/Billing/RateCards/Versions.js +0 -14
  273. package/esm/resources/V2/Billing/RateCards.js +0 -26
  274. package/esm/resources/V2/Billing/ServiceActions.js +0 -13
  275. package/esm/resources/V2/Core/AccountLinks.js +0 -6
  276. package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
  277. package/esm/resources/V2/Core/Accounts.js +0 -22
  278. package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -13
  279. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
  280. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
  281. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  282. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -22
  283. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  284. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  285. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  286. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  287. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  288. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  289. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  290. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  291. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  292. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  293. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  294. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  295. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -22
  296. package/esm/resources/V2/Reporting/ReportRuns.js +0 -10
  297. package/esm/resources/V2/Reporting/Reports.js +0 -9
  298. package/esm/resources/V2/Tax/AutomaticRules.js +0 -19
  299. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  300. package/types/AccountNotices.d.ts +0 -113
  301. package/types/AccountNoticesResource.d.ts +0 -98
  302. package/types/Billing/MeterUsage.d.ts +0 -32
  303. package/types/Billing/MeterUsageResource.d.ts +0 -685
  304. package/types/Billing/MeterUsageRows.d.ts +0 -49
  305. package/types/Capital/FinancingOffers.d.ts +0 -188
  306. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  307. package/types/Capital/FinancingSummary.d.ts +0 -106
  308. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  309. package/types/Capital/FinancingTransactions.d.ts +0 -135
  310. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  311. package/types/ExternalAccountsResource.d.ts +0 -304
  312. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  313. package/types/FinancialConnections/Institutions.d.ts +0 -98
  314. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  315. package/types/FxQuotes.d.ts +0 -155
  316. package/types/FxQuotesResource.d.ts +0 -130
  317. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  318. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  319. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  320. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  321. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  322. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  323. package/types/Issuing/Settlements.d.ts +0 -113
  324. package/types/Margins.d.ts +0 -56
  325. package/types/MarginsResource.d.ts +0 -114
  326. package/types/Orders.d.ts +0 -1163
  327. package/types/OrdersResource.d.ts +0 -3139
  328. package/types/PaymentAttemptRecords.d.ts +0 -2311
  329. package/types/PaymentAttemptRecordsResource.d.ts +0 -52
  330. package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
  331. package/types/PaymentRecords.d.ts +0 -2304
  332. package/types/PaymentRecordsResource.d.ts +0 -476
  333. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
  334. package/types/Privacy/RedactionJobs.d.ts +0 -111
  335. package/types/Privacy/RedactionJobsResource.d.ts +0 -230
  336. package/types/QuoteLines.d.ts +0 -634
  337. package/types/QuotePreviewInvoices.d.ts +0 -1751
  338. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -892
  339. package/types/Tax/Associations.d.ts +0 -82
  340. package/types/Tax/AssociationsResource.d.ts +0 -29
  341. package/types/Tax/Forms.d.ts +0 -220
  342. package/types/Tax/FormsResource.d.ts +0 -107
  343. package/types/Terminal/OnboardingLinks.d.ts +0 -57
  344. package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
  345. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  346. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  347. package/types/ThinEvent.d.ts +0 -36
  348. package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
  349. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
  350. package/types/V2/Billing/BillSettings.d.ts +0 -120
  351. package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
  352. package/types/V2/Billing/Cadences.d.ts +0 -360
  353. package/types/V2/Billing/CadencesResource.d.ts +0 -497
  354. package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -314
  355. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
  356. package/types/V2/Billing/CollectionSettings.d.ts +0 -337
  357. package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -675
  358. package/types/V2/Billing/CustomPricingUnits.d.ts +0 -56
  359. package/types/V2/Billing/CustomPricingUnitsResource.d.ts +0 -122
  360. package/types/V2/Billing/IntentActions.d.ts +0 -459
  361. package/types/V2/Billing/Intents/ActionsResource.d.ts +0 -58
  362. package/types/V2/Billing/Intents.d.ts +0 -117
  363. package/types/V2/Billing/IntentsResource.d.ts +0 -575
  364. package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +0 -64
  365. package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +0 -28
  366. package/types/V2/Billing/LicenseFeeVersions.d.ts +0 -106
  367. package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +0 -58
  368. package/types/V2/Billing/LicenseFees.d.ts +0 -163
  369. package/types/V2/Billing/LicenseFeesResource.d.ts +0 -290
  370. package/types/V2/Billing/LicensedItems.d.ts +0 -73
  371. package/types/V2/Billing/LicensedItemsResource.d.ts +0 -157
  372. package/types/V2/Billing/MeteredItems.d.ts +0 -101
  373. package/types/V2/Billing/MeteredItemsResource.d.ts +0 -189
  374. package/types/V2/Billing/PricingPlanComponents.d.ts +0 -109
  375. package/types/V2/Billing/PricingPlanSubscriptions.d.ts +0 -144
  376. package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +0 -93
  377. package/types/V2/Billing/PricingPlanVersions.d.ts +0 -49
  378. package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +0 -197
  379. package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +0 -58
  380. package/types/V2/Billing/PricingPlans.d.ts +0 -84
  381. package/types/V2/Billing/PricingPlansResource.d.ts +0 -151
  382. package/types/V2/Billing/Profiles.d.ts +0 -70
  383. package/types/V2/Billing/ProfilesResource.d.ts +0 -150
  384. package/types/V2/Billing/RateCardRates.d.ts +0 -138
  385. package/types/V2/Billing/RateCardSubscriptions.d.ts +0 -144
  386. package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +0 -157
  387. package/types/V2/Billing/RateCardVersions.d.ts +0 -39
  388. package/types/V2/Billing/RateCards/RatesResource.d.ts +0 -209
  389. package/types/V2/Billing/RateCards/VersionsResource.d.ts +0 -58
  390. package/types/V2/Billing/RateCards.d.ts +0 -98
  391. package/types/V2/Billing/RateCardsResource.d.ts +0 -162
  392. package/types/V2/Billing/ServiceActions.d.ts +0 -264
  393. package/types/V2/Billing/ServiceActionsResource.d.ts +0 -326
  394. package/types/V2/Core/AccountLinks.d.ts +0 -168
  395. package/types/V2/Core/AccountLinksResource.d.ts +0 -152
  396. package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3812
  397. package/types/V2/Core/Accounts.d.ts +0 -8862
  398. package/types/V2/Core/AccountsResource.d.ts +0 -10704
  399. package/types/V2/Core/ClaimableSandboxes.d.ts +0 -387
  400. package/types/V2/Core/ClaimableSandboxesResource.d.ts +0 -329
  401. package/types/V2/Core/Persons.d.ts +0 -1888
  402. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
  403. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
  404. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
  405. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
  406. package/types/V2/EventDestinations.d.ts +0 -164
  407. package/types/V2/EventTypes.d.ts +0 -4319
  408. package/types/V2/Events.d.ts +0 -82
  409. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  410. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  411. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  412. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  413. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -585
  414. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -331
  415. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
  416. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -289
  417. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
  418. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  419. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -168
  420. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  421. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
  422. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
  423. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  424. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
  425. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
  426. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
  427. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
  428. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  429. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
  430. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
  431. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -262
  432. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  433. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
  434. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  435. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
  436. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  437. package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
  438. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  439. package/types/V2/Payments/OffSessionPayments.d.ts +0 -179
  440. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -174
  441. package/types/V2/Reporting/ReportRuns.d.ts +0 -178
  442. package/types/V2/Reporting/ReportRunsResource.d.ts +0 -99
  443. package/types/V2/Reporting/Reports.d.ts +0 -120
  444. package/types/V2/Reporting/ReportsResource.d.ts +0 -30
  445. package/types/V2/Tax/AutomaticRules.d.ts +0 -53
  446. package/types/V2/Tax/AutomaticRulesResource.d.ts +0 -102
  447. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
@@ -106,15 +106,6 @@ declare module 'stripe' {
106
106
  */
107
107
  customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
108
108
 
109
- /**
110
- * ID of the Account this PaymentIntent belongs to, if one exists.
111
- *
112
- * Payment methods attached to other Accounts cannot be used with this PaymentIntent.
113
- *
114
- * If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
115
- */
116
- customer_account?: string | null;
117
-
118
109
  /**
119
110
  * An arbitrary string attached to the object. Often useful for displaying to users.
120
111
  */
@@ -127,13 +118,6 @@ declare module 'stripe' {
127
118
  PaymentIntent.ExcludedPaymentMethodType
128
119
  > | null;
129
120
 
130
- /**
131
- * The FX Quote used for the PaymentIntent.
132
- */
133
- fx_quote?: string | null;
134
-
135
- hooks?: PaymentIntent.Hooks;
136
-
137
121
  /**
138
122
  * The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
139
123
  */
@@ -164,8 +148,6 @@ declare module 'stripe' {
164
148
  */
165
149
  on_behalf_of: string | Stripe.Account | null;
166
150
 
167
- payment_details?: PaymentIntent.PaymentDetails;
168
-
169
151
  /**
170
152
  * ID of the payment method used in this PaymentIntent.
171
153
  */
@@ -203,11 +185,6 @@ declare module 'stripe' {
203
185
  */
204
186
  review: string | Stripe.Review | null;
205
187
 
206
- /**
207
- * Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
208
- */
209
- secret_key_confirmation?: PaymentIntent.SecretKeyConfirmation;
210
-
211
188
  /**
212
189
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
213
190
  *
@@ -263,48 +240,10 @@ declare module 'stripe' {
263
240
 
264
241
  namespace PaymentIntent {
265
242
  interface AmountDetails {
266
- /**
267
- * The amount an item was discounted for.
268
- */
269
- discount_amount?: number;
270
-
271
- /**
272
- * A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
273
- */
274
- line_items?: ApiList<Stripe.PaymentIntentAmountDetailsLineItem>;
275
-
276
- shipping?: AmountDetails.Shipping;
277
-
278
- tax?: AmountDetails.Tax;
279
-
280
243
  tip?: AmountDetails.Tip;
281
244
  }
282
245
 
283
246
  namespace AmountDetails {
284
- interface Shipping {
285
- /**
286
- * Portion of the amount that is for shipping.
287
- */
288
- amount: number | null;
289
-
290
- /**
291
- * The postal code that represents the shipping source.
292
- */
293
- from_postal_code: string | null;
294
-
295
- /**
296
- * The postal code that represents the shipping destination.
297
- */
298
- to_postal_code: string | null;
299
- }
300
-
301
- interface Tax {
302
- /**
303
- * Total portion of the amount that is for tax.
304
- */
305
- total_tax_amount: number | null;
306
- }
307
-
308
247
  interface Tip {
309
248
  /**
310
249
  * Portion of the amount that corresponds to a tip.
@@ -365,9 +304,7 @@ declare module 'stripe' {
365
304
  | 'eps'
366
305
  | 'fpx'
367
306
  | 'giropay'
368
- | 'gopay'
369
307
  | 'grabpay'
370
- | 'id_bank_transfer'
371
308
  | 'ideal'
372
309
  | 'kakao_pay'
373
310
  | 'klarna'
@@ -384,43 +321,19 @@ declare module 'stripe' {
384
321
  | 'payco'
385
322
  | 'paynow'
386
323
  | 'paypal'
387
- | 'payto'
388
324
  | 'pix'
389
325
  | 'promptpay'
390
- | 'qris'
391
- | 'rechnung'
392
326
  | 'revolut_pay'
393
327
  | 'samsung_pay'
394
328
  | 'satispay'
395
329
  | 'sepa_debit'
396
- | 'shopeepay'
397
330
  | 'sofort'
398
- | 'stripe_balance'
399
331
  | 'swish'
400
332
  | 'twint'
401
333
  | 'us_bank_account'
402
334
  | 'wechat_pay'
403
335
  | 'zip';
404
336
 
405
- interface Hooks {
406
- inputs?: Hooks.Inputs;
407
- }
408
-
409
- namespace Hooks {
410
- interface Inputs {
411
- tax?: Inputs.Tax;
412
- }
413
-
414
- namespace Inputs {
415
- interface Tax {
416
- /**
417
- * The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
418
- */
419
- calculation: string;
420
- }
421
- }
422
- }
423
-
424
337
  interface LastPaymentError {
425
338
  /**
426
339
  * For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.
@@ -585,7 +498,8 @@ declare module 'stripe' {
585
498
  | 'email_invalid'
586
499
  | 'expired_card'
587
500
  | 'financial_connections_account_inactive'
588
- | 'financial_connections_institution_unavailable'
501
+ | 'financial_connections_account_pending_account_numbers'
502
+ | 'financial_connections_account_unavailable_account_numbers'
589
503
  | 'financial_connections_no_successful_transaction_refresh'
590
504
  | 'forwarding_api_inactive'
591
505
  | 'forwarding_api_invalid_parameter'
@@ -683,7 +597,6 @@ declare module 'stripe' {
683
597
  | 'return_intent_already_processed'
684
598
  | 'routing_number_invalid'
685
599
  | 'secret_key_required'
686
- | 'sensitive_data_access_expired'
687
600
  | 'sepa_unsupported_account'
688
601
  | 'setup_attempt_failed'
689
602
  | 'setup_intent_authentication_failure'
@@ -703,7 +616,6 @@ declare module 'stripe' {
703
616
  | 'taxes_calculation_failed'
704
617
  | 'terminal_location_country_unsupported'
705
618
  | 'terminal_reader_busy'
706
- | 'terminal_reader_collected_data_invalid'
707
619
  | 'terminal_reader_hardware_fault'
708
620
  | 'terminal_reader_invalid_location_for_activation'
709
621
  | 'terminal_reader_invalid_location_for_payment'
@@ -716,9 +628,7 @@ declare module 'stripe' {
716
628
  | 'token_in_use'
717
629
  | 'transfer_source_balance_parameters_mismatch'
718
630
  | 'transfers_not_allowed'
719
- | 'url_invalid'
720
- | 'v2_account_disconnection_unsupported'
721
- | 'v2_account_missing_configuration';
631
+ | 'url_invalid';
722
632
 
723
633
  type Type =
724
634
  | 'api_error'
@@ -1482,338 +1392,6 @@ declare module 'stripe' {
1482
1392
  }
1483
1393
  }
1484
1394
 
1485
- interface PaymentDetails {
1486
- car_rental?: PaymentDetails.CarRental;
1487
-
1488
- /**
1489
- * Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
1490
- */
1491
- customer_reference?: string | null;
1492
-
1493
- event_details?: PaymentDetails.EventDetails;
1494
-
1495
- /**
1496
- * A unique value assigned by the business to identify the transaction.
1497
- */
1498
- order_reference?: string | null;
1499
-
1500
- subscription?: PaymentDetails.Subscription;
1501
- }
1502
-
1503
- namespace PaymentDetails {
1504
- interface CarRental {
1505
- affiliate?: CarRental.Affiliate;
1506
-
1507
- /**
1508
- * The booking number associated with the car rental.
1509
- */
1510
- booking_number: string;
1511
-
1512
- /**
1513
- * Class code of the car.
1514
- */
1515
- car_class_code?: string;
1516
-
1517
- /**
1518
- * Make of the car.
1519
- */
1520
- car_make?: string;
1521
-
1522
- /**
1523
- * Model of the car.
1524
- */
1525
- car_model?: string;
1526
-
1527
- /**
1528
- * The name of the rental car company.
1529
- */
1530
- company?: string;
1531
-
1532
- /**
1533
- * The customer service phone number of the car rental company.
1534
- */
1535
- customer_service_phone_number?: string;
1536
-
1537
- /**
1538
- * Number of days the car is being rented.
1539
- */
1540
- days_rented: number;
1541
-
1542
- delivery?: CarRental.Delivery;
1543
-
1544
- distance?: CarRental.Distance;
1545
-
1546
- /**
1547
- * The details of the drivers associated with the trip.
1548
- */
1549
- drivers?: Array<CarRental.Driver>;
1550
-
1551
- /**
1552
- * List of additional charges being billed.
1553
- */
1554
- extra_charges?: Array<CarRental.ExtraCharge>;
1555
-
1556
- /**
1557
- * Indicates if the customer did not keep nor cancel their booking.
1558
- */
1559
- no_show?: boolean;
1560
-
1561
- pickup_address?: Stripe.Address;
1562
-
1563
- /**
1564
- * Car pick-up time. Measured in seconds since the Unix epoch.
1565
- */
1566
- pickup_at: number;
1567
-
1568
- /**
1569
- * Name of the pickup location.
1570
- */
1571
- pickup_location_name?: string;
1572
-
1573
- /**
1574
- * Rental rate.
1575
- */
1576
- rate_amount?: number;
1577
-
1578
- /**
1579
- * The frequency at which the rate amount is applied. One of `day`, `week` or `month`
1580
- */
1581
- rate_interval?: CarRental.RateInterval;
1582
-
1583
- /**
1584
- * The full name of the person or entity renting the car.
1585
- */
1586
- renter_name?: string;
1587
-
1588
- return_address?: Stripe.Address;
1589
-
1590
- /**
1591
- * Car return time. Measured in seconds since the Unix epoch.
1592
- */
1593
- return_at: number;
1594
-
1595
- /**
1596
- * Name of the return location.
1597
- */
1598
- return_location_name?: string;
1599
-
1600
- /**
1601
- * Indicates whether the goods or services are tax-exempt or tax is not collected.
1602
- */
1603
- tax_exempt?: boolean;
1604
-
1605
- /**
1606
- * The vehicle identification number of the car.
1607
- */
1608
- vehicle_identification_number?: string;
1609
- }
1610
-
1611
- namespace CarRental {
1612
- interface Affiliate {
1613
- /**
1614
- * The name of the affiliate that originated the purchase.
1615
- */
1616
- name?: string;
1617
- }
1618
-
1619
- interface Delivery {
1620
- /**
1621
- * The delivery method for the payment
1622
- */
1623
- mode?: Delivery.Mode;
1624
-
1625
- recipient?: Delivery.Recipient;
1626
- }
1627
-
1628
- namespace Delivery {
1629
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
1630
-
1631
- interface Recipient {
1632
- /**
1633
- * The email of the recipient the ticket is delivered to.
1634
- */
1635
- email?: string;
1636
-
1637
- /**
1638
- * The name of the recipient the ticket is delivered to.
1639
- */
1640
- name?: string;
1641
-
1642
- /**
1643
- * The phone number of the recipient the ticket is delivered to.
1644
- */
1645
- phone?: string;
1646
- }
1647
- }
1648
-
1649
- interface Distance {
1650
- /**
1651
- * Distance traveled.
1652
- */
1653
- amount?: number;
1654
-
1655
- /**
1656
- * Unit of measurement for the distance traveled. One of `miles` or `kilometers`
1657
- */
1658
- unit?: string;
1659
- }
1660
-
1661
- interface Driver {
1662
- /**
1663
- * Driver's identification number.
1664
- */
1665
- driver_identification_number?: string;
1666
-
1667
- /**
1668
- * Driver's tax number.
1669
- */
1670
- driver_tax_number?: string;
1671
-
1672
- /**
1673
- * Full name of the driver on the reservation.
1674
- */
1675
- name?: string;
1676
- }
1677
-
1678
- type ExtraCharge =
1679
- | 'extra_mileage'
1680
- | 'gas'
1681
- | 'late_return'
1682
- | 'one_way_service'
1683
- | 'parking_violation';
1684
-
1685
- type RateInterval = 'day' | 'month' | 'week';
1686
- }
1687
-
1688
- interface EventDetails {
1689
- /**
1690
- * Indicates if the tickets are digitally checked when entering the venue.
1691
- */
1692
- access_controlled_venue?: boolean;
1693
-
1694
- address?: Stripe.Address;
1695
-
1696
- affiliate?: EventDetails.Affiliate;
1697
-
1698
- /**
1699
- * The name of the company
1700
- */
1701
- company?: string;
1702
-
1703
- delivery?: EventDetails.Delivery;
1704
-
1705
- /**
1706
- * Event end time. Measured in seconds since the Unix epoch.
1707
- */
1708
- ends_at?: number;
1709
-
1710
- /**
1711
- * Type of the event entertainment (concert, sports event etc)
1712
- */
1713
- genre?: string;
1714
-
1715
- /**
1716
- * The name of the event.
1717
- */
1718
- name?: string;
1719
-
1720
- /**
1721
- * Event start time. Measured in seconds since the Unix epoch.
1722
- */
1723
- starts_at?: number;
1724
- }
1725
-
1726
- namespace EventDetails {
1727
- interface Affiliate {
1728
- /**
1729
- * The name of the affiliate that originated the purchase.
1730
- */
1731
- name?: string;
1732
- }
1733
-
1734
- interface Delivery {
1735
- /**
1736
- * The delivery method for the payment
1737
- */
1738
- mode?: Delivery.Mode;
1739
-
1740
- recipient?: Delivery.Recipient;
1741
- }
1742
-
1743
- namespace Delivery {
1744
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
1745
-
1746
- interface Recipient {
1747
- /**
1748
- * The email of the recipient the ticket is delivered to.
1749
- */
1750
- email?: string;
1751
-
1752
- /**
1753
- * The name of the recipient the ticket is delivered to.
1754
- */
1755
- name?: string;
1756
-
1757
- /**
1758
- * The phone number of the recipient the ticket is delivered to.
1759
- */
1760
- phone?: string;
1761
- }
1762
- }
1763
- }
1764
-
1765
- interface Subscription {
1766
- affiliate?: Subscription.Affiliate;
1767
-
1768
- /**
1769
- * Info whether the subscription will be auto renewed upon expiry.
1770
- */
1771
- auto_renewal?: boolean;
1772
-
1773
- billing_interval?: Subscription.BillingInterval;
1774
-
1775
- /**
1776
- * Subscription end time. Measured in seconds since the Unix epoch.
1777
- */
1778
- ends_at?: number;
1779
-
1780
- /**
1781
- * Name of the product on subscription. e.g. Apple Music Subscription.
1782
- */
1783
- name?: string;
1784
-
1785
- /**
1786
- * Subscription start time. Measured in seconds since the Unix epoch.
1787
- */
1788
- starts_at?: number;
1789
- }
1790
-
1791
- namespace Subscription {
1792
- interface Affiliate {
1793
- /**
1794
- * The name of the affiliate that originated the purchase.
1795
- */
1796
- name?: string;
1797
- }
1798
-
1799
- interface BillingInterval {
1800
- /**
1801
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1802
- */
1803
- count?: number;
1804
-
1805
- /**
1806
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1807
- */
1808
- interval?: BillingInterval.Interval;
1809
- }
1810
-
1811
- namespace BillingInterval {
1812
- type Interval = 'day' | 'month' | 'week' | 'year';
1813
- }
1814
- }
1815
- }
1816
-
1817
1395
  interface PaymentMethodConfigurationDetails {
1818
1396
  /**
1819
1397
  * ID of the payment method configuration used.
@@ -1867,12 +1445,8 @@ declare module 'stripe' {
1867
1445
 
1868
1446
  giropay?: PaymentMethodOptions.Giropay;
1869
1447
 
1870
- gopay?: PaymentMethodOptions.Gopay;
1871
-
1872
1448
  grabpay?: PaymentMethodOptions.Grabpay;
1873
1449
 
1874
- id_bank_transfer?: PaymentMethodOptions.IdBankTransfer;
1875
-
1876
1450
  ideal?: PaymentMethodOptions.Ideal;
1877
1451
 
1878
1452
  interac_present?: PaymentMethodOptions.InteracPresent;
@@ -1909,16 +1483,10 @@ declare module 'stripe' {
1909
1483
 
1910
1484
  paypal?: PaymentMethodOptions.Paypal;
1911
1485
 
1912
- payto?: PaymentMethodOptions.Payto;
1913
-
1914
1486
  pix?: PaymentMethodOptions.Pix;
1915
1487
 
1916
1488
  promptpay?: PaymentMethodOptions.Promptpay;
1917
1489
 
1918
- qris?: PaymentMethodOptions.Qris;
1919
-
1920
- rechnung?: PaymentMethodOptions.Rechnung;
1921
-
1922
1490
  revolut_pay?: PaymentMethodOptions.RevolutPay;
1923
1491
 
1924
1492
  samsung_pay?: PaymentMethodOptions.SamsungPay;
@@ -1927,12 +1495,8 @@ declare module 'stripe' {
1927
1495
 
1928
1496
  sepa_debit?: PaymentMethodOptions.SepaDebit;
1929
1497
 
1930
- shopeepay?: PaymentMethodOptions.Shopeepay;
1931
-
1932
1498
  sofort?: PaymentMethodOptions.Sofort;
1933
1499
 
1934
- stripe_balance?: PaymentMethodOptions.StripeBalance;
1935
-
1936
1500
  swish?: PaymentMethodOptions.Swish;
1937
1501
 
1938
1502
  twint?: PaymentMethodOptions.Twint;
@@ -2239,11 +1803,6 @@ declare module 'stripe' {
2239
1803
  */
2240
1804
  network: Card.Network | null;
2241
1805
 
2242
- /**
2243
- * Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
2244
- */
2245
- request_decremental_authorization?: Card.RequestDecrementalAuthorization;
2246
-
2247
1806
  /**
2248
1807
  * Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
2249
1808
  */
@@ -2264,11 +1823,6 @@ declare module 'stripe' {
2264
1823
  */
2265
1824
  request_overcapture?: Card.RequestOvercapture;
2266
1825
 
2267
- /**
2268
- * Request partial authorization on this PaymentIntent.
2269
- */
2270
- request_partial_authorization?: Card.RequestPartialAuthorization;
2271
-
2272
1826
  /**
2273
1827
  * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
2274
1828
  */
@@ -2299,8 +1853,6 @@ declare module 'stripe' {
2299
1853
  * Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
2300
1854
  */
2301
1855
  statement_descriptor_suffix_kanji?: string;
2302
-
2303
- statement_details?: Card.StatementDetails;
2304
1856
  }
2305
1857
 
2306
1858
  namespace Card {
@@ -2435,8 +1987,6 @@ declare module 'stripe' {
2435
1987
  | 'unknown'
2436
1988
  | 'visa';
2437
1989
 
2438
- type RequestDecrementalAuthorization = 'if_available' | 'never';
2439
-
2440
1990
  type RequestExtendedAuthorization = 'if_available' | 'never';
2441
1991
 
2442
1992
  type RequestIncrementalAuthorization = 'if_available' | 'never';
@@ -2445,54 +1995,9 @@ declare module 'stripe' {
2445
1995
 
2446
1996
  type RequestOvercapture = 'if_available' | 'never';
2447
1997
 
2448
- type RequestPartialAuthorization = 'if_available' | 'never';
2449
-
2450
1998
  type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
2451
1999
 
2452
2000
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
2453
-
2454
- interface StatementDetails {
2455
- address?: StatementDetails.Address;
2456
-
2457
- /**
2458
- * Phone number
2459
- */
2460
- phone?: string;
2461
- }
2462
-
2463
- namespace StatementDetails {
2464
- interface Address {
2465
- /**
2466
- * City, district, suburb, town, or village.
2467
- */
2468
- city?: string;
2469
-
2470
- /**
2471
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2472
- */
2473
- country?: string;
2474
-
2475
- /**
2476
- * Address line 1 (e.g., street, PO Box, or company name).
2477
- */
2478
- line1?: string;
2479
-
2480
- /**
2481
- * Address line 2 (e.g., apartment, suite, unit, or building).
2482
- */
2483
- line2?: string;
2484
-
2485
- /**
2486
- * ZIP or postal code.
2487
- */
2488
- postal_code?: string;
2489
-
2490
- /**
2491
- * State, county, province, or region.
2492
- */
2493
- state?: string;
2494
- }
2495
- }
2496
2001
  }
2497
2002
 
2498
2003
  interface CardPresent {
@@ -2663,23 +2168,6 @@ declare module 'stripe' {
2663
2168
  setup_future_usage?: 'none';
2664
2169
  }
2665
2170
 
2666
- interface Gopay {
2667
- /**
2668
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2669
- *
2670
- * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2671
- *
2672
- * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2673
- *
2674
- * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
2675
- */
2676
- setup_future_usage?: Gopay.SetupFutureUsage;
2677
- }
2678
-
2679
- namespace Gopay {
2680
- type SetupFutureUsage = 'none' | 'off_session';
2681
- }
2682
-
2683
2171
  interface Grabpay {
2684
2172
  /**
2685
2173
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2693,29 +2181,6 @@ declare module 'stripe' {
2693
2181
  setup_future_usage?: 'none';
2694
2182
  }
2695
2183
 
2696
- interface IdBankTransfer {
2697
- /**
2698
- * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
2699
- */
2700
- expires_after?: number | null;
2701
-
2702
- /**
2703
- * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
2704
- */
2705
- expires_at: number | null;
2706
-
2707
- /**
2708
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2709
- *
2710
- * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2711
- *
2712
- * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2713
- *
2714
- * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
2715
- */
2716
- setup_future_usage?: 'none';
2717
- }
2718
-
2719
2184
  interface Ideal {
2720
2185
  /**
2721
2186
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -3014,11 +2479,6 @@ declare module 'stripe' {
3014
2479
  */
3015
2480
  capture_method?: 'manual';
3016
2481
 
3017
- /**
3018
- * The line items purchased by the customer.
3019
- */
3020
- line_items?: Array<Paypal.LineItem>;
3021
-
3022
2482
  /**
3023
2483
  * Preferred locale of the PayPal checkout page that the customer is redirected to.
3024
2484
  */
@@ -3029,11 +2489,6 @@ declare module 'stripe' {
3029
2489
  */
3030
2490
  reference: string | null;
3031
2491
 
3032
- /**
3033
- * A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
3034
- */
3035
- reference_id?: string | null;
3036
-
3037
2492
  /**
3038
2493
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3039
2494
  *
@@ -3044,151 +2499,9 @@ declare module 'stripe' {
3044
2499
  * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
3045
2500
  */
3046
2501
  setup_future_usage?: Paypal.SetupFutureUsage;
3047
-
3048
- /**
3049
- * The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
3050
- */
3051
- subsellers?: Array<string>;
3052
2502
  }
3053
2503
 
3054
2504
  namespace Paypal {
3055
- interface LineItem {
3056
- /**
3057
- * Type of the line item.
3058
- */
3059
- category?: LineItem.Category;
3060
-
3061
- /**
3062
- * Description of the line item.
3063
- */
3064
- description?: string;
3065
-
3066
- /**
3067
- * Descriptive name of the line item.
3068
- */
3069
- name: string;
3070
-
3071
- /**
3072
- * Quantity of the line item. Cannot be a negative number.
3073
- */
3074
- quantity: number;
3075
-
3076
- /**
3077
- * Client facing stock keeping unit, article number or similar.
3078
- */
3079
- sku?: string;
3080
-
3081
- /**
3082
- * The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
3083
- */
3084
- sold_by?: string;
3085
-
3086
- tax?: LineItem.Tax;
3087
-
3088
- /**
3089
- * Price for a single unit of the line item in minor units. Cannot be a negative number.
3090
- */
3091
- unit_amount: number;
3092
- }
3093
-
3094
- namespace LineItem {
3095
- type Category = 'digital_goods' | 'donation' | 'physical_goods';
3096
-
3097
- interface Tax {
3098
- /**
3099
- * The tax for a single unit of the line item in minor units. Cannot be a negative number.
3100
- */
3101
- amount: number;
3102
-
3103
- /**
3104
- * The tax behavior for the line item.
3105
- */
3106
- behavior: Tax.Behavior;
3107
- }
3108
-
3109
- namespace Tax {
3110
- type Behavior = 'exclusive' | 'inclusive';
3111
- }
3112
- }
3113
-
3114
- type SetupFutureUsage = 'none' | 'off_session';
3115
- }
3116
-
3117
- interface Payto {
3118
- mandate_options?: Payto.MandateOptions;
3119
-
3120
- /**
3121
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3122
- *
3123
- * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3124
- *
3125
- * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3126
- *
3127
- * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
3128
- */
3129
- setup_future_usage?: Payto.SetupFutureUsage;
3130
- }
3131
-
3132
- namespace Payto {
3133
- interface MandateOptions {
3134
- /**
3135
- * Amount that will be collected. It is required when `amount_type` is `fixed`.
3136
- */
3137
- amount: number | null;
3138
-
3139
- /**
3140
- * The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
3141
- */
3142
- amount_type: MandateOptions.AmountType | null;
3143
-
3144
- /**
3145
- * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
3146
- */
3147
- end_date: string | null;
3148
-
3149
- /**
3150
- * The periodicity at which payments will be collected.
3151
- */
3152
- payment_schedule: MandateOptions.PaymentSchedule | null;
3153
-
3154
- /**
3155
- * The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
3156
- */
3157
- payments_per_period: number | null;
3158
-
3159
- /**
3160
- * The purpose for which payments are made. Defaults to retail.
3161
- */
3162
- purpose: MandateOptions.Purpose | null;
3163
- }
3164
-
3165
- namespace MandateOptions {
3166
- type AmountType = 'fixed' | 'maximum';
3167
-
3168
- type PaymentSchedule =
3169
- | 'adhoc'
3170
- | 'annual'
3171
- | 'daily'
3172
- | 'fortnightly'
3173
- | 'monthly'
3174
- | 'quarterly'
3175
- | 'semi_annual'
3176
- | 'weekly';
3177
-
3178
- type Purpose =
3179
- | 'dependant_support'
3180
- | 'government'
3181
- | 'loan'
3182
- | 'mortgage'
3183
- | 'other'
3184
- | 'pension'
3185
- | 'personal'
3186
- | 'retail'
3187
- | 'salary'
3188
- | 'tax'
3189
- | 'utility';
3190
- }
3191
-
3192
2505
  type SetupFutureUsage = 'none' | 'off_session';
3193
2506
  }
3194
2507
 
@@ -3208,8 +2521,6 @@ declare module 'stripe' {
3208
2521
  */
3209
2522
  expires_at: number | null;
3210
2523
 
3211
- mandate_options?: Pix.MandateOptions;
3212
-
3213
2524
  /**
3214
2525
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3215
2526
  *
@@ -3219,68 +2530,11 @@ declare module 'stripe' {
3219
2530
  *
3220
2531
  * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
3221
2532
  */
3222
- setup_future_usage?: Pix.SetupFutureUsage;
2533
+ setup_future_usage?: 'none';
3223
2534
  }
3224
2535
 
3225
2536
  namespace Pix {
3226
2537
  type AmountIncludesIof = 'always' | 'never';
3227
-
3228
- interface MandateOptions {
3229
- /**
3230
- * Amount to be charged for future payments.
3231
- */
3232
- amount?: number;
3233
-
3234
- /**
3235
- * Determines if the amount includes the IOF tax.
3236
- */
3237
- amount_includes_iof?: MandateOptions.AmountIncludesIof;
3238
-
3239
- /**
3240
- * Type of amount.
3241
- */
3242
- amount_type?: MandateOptions.AmountType;
3243
-
3244
- /**
3245
- * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
3246
- */
3247
- currency?: string;
3248
-
3249
- /**
3250
- * Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
3251
- */
3252
- end_date?: string;
3253
-
3254
- /**
3255
- * Schedule at which the future payments will be charged.
3256
- */
3257
- payment_schedule?: MandateOptions.PaymentSchedule;
3258
-
3259
- /**
3260
- * Subscription name displayed to buyers in their bank app.
3261
- */
3262
- reference?: string;
3263
-
3264
- /**
3265
- * Start date of the mandate, in `YYYY-MM-DD`.
3266
- */
3267
- start_date?: string;
3268
- }
3269
-
3270
- namespace MandateOptions {
3271
- type AmountIncludesIof = 'always' | 'never';
3272
-
3273
- type AmountType = 'fixed' | 'maximum';
3274
-
3275
- type PaymentSchedule =
3276
- | 'halfyearly'
3277
- | 'monthly'
3278
- | 'quarterly'
3279
- | 'weekly'
3280
- | 'yearly';
3281
- }
3282
-
3283
- type SetupFutureUsage = 'none' | 'off_session';
3284
2538
  }
3285
2539
 
3286
2540
  interface Promptpay {
@@ -3296,21 +2550,6 @@ declare module 'stripe' {
3296
2550
  setup_future_usage?: 'none';
3297
2551
  }
3298
2552
 
3299
- interface Qris {
3300
- /**
3301
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3302
- *
3303
- * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3304
- *
3305
- * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3306
- *
3307
- * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
3308
- */
3309
- setup_future_usage?: 'none';
3310
- }
3311
-
3312
- interface Rechnung {}
3313
-
3314
2553
  interface RevolutPay {
3315
2554
  /**
3316
2555
  * Controls when the funds will be captured from the customer's account.
@@ -3378,19 +2617,6 @@ declare module 'stripe' {
3378
2617
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
3379
2618
  }
3380
2619
 
3381
- interface Shopeepay {
3382
- /**
3383
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3384
- *
3385
- * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3386
- *
3387
- * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3388
- *
3389
- * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
3390
- */
3391
- setup_future_usage?: 'none';
3392
- }
3393
-
3394
2620
  interface Sofort {
3395
2621
  /**
3396
2622
  * Preferred language of the SOFORT authorization page that the customer is redirected to.
@@ -3422,23 +2648,6 @@ declare module 'stripe' {
3422
2648
  type SetupFutureUsage = 'none' | 'off_session';
3423
2649
  }
3424
2650
 
3425
- interface StripeBalance {
3426
- /**
3427
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3428
- *
3429
- * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3430
- *
3431
- * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3432
- *
3433
- * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
3434
- */
3435
- setup_future_usage?: StripeBalance.SetupFutureUsage;
3436
- }
3437
-
3438
- namespace StripeBalance {
3439
- type SetupFutureUsage = 'none' | 'off_session';
3440
- }
3441
-
3442
2651
  interface Swish {
3443
2652
  /**
3444
2653
  * A reference for this payment to be displayed in the Swish app.
@@ -3506,8 +2715,6 @@ declare module 'stripe' {
3506
2715
  interface FinancialConnections {
3507
2716
  filters?: FinancialConnections.Filters;
3508
2717
 
3509
- manual_entry?: FinancialConnections.ManualEntry;
3510
-
3511
2718
  /**
3512
2719
  * The list of permissions to request. The `payment_method` permission must be included.
3513
2720
  */
@@ -3530,39 +2737,19 @@ declare module 'stripe' {
3530
2737
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
3531
2738
  */
3532
2739
  account_subcategories?: Array<Filters.AccountSubcategory>;
3533
-
3534
- /**
3535
- * The institution to use to filter for possible accounts to link.
3536
- */
3537
- institution?: string;
3538
2740
  }
3539
2741
 
3540
2742
  namespace Filters {
3541
2743
  type AccountSubcategory = 'checking' | 'savings';
3542
2744
  }
3543
2745
 
3544
- interface ManualEntry {
3545
- /**
3546
- * Settings for configuring manual entry of account details.
3547
- */
3548
- mode?: ManualEntry.Mode;
3549
- }
3550
-
3551
- namespace ManualEntry {
3552
- type Mode = 'automatic' | 'custom';
3553
- }
3554
-
3555
2746
  type Permission =
3556
2747
  | 'balances'
3557
2748
  | 'ownership'
3558
2749
  | 'payment_method'
3559
2750
  | 'transactions';
3560
2751
 
3561
- type Prefetch =
3562
- | 'balances'
3563
- | 'inferred_balances'
3564
- | 'ownership'
3565
- | 'transactions';
2752
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
3566
2753
  }
3567
2754
 
3568
2755
  interface MandateOptions {
@@ -3661,8 +2848,6 @@ declare module 'stripe' {
3661
2848
  }
3662
2849
  }
3663
2850
 
3664
- type SecretKeyConfirmation = 'optional' | 'required';
3665
-
3666
2851
  type SetupFutureUsage = 'off_session' | 'on_session';
3667
2852
 
3668
2853
  interface Shipping {