stripe 19.3.0-alpha.2 → 19.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (434) hide show
  1. package/CHANGELOG.md +18 -1685
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +0 -1
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +1 -115
  6. package/cjs/RequestSender.js +1 -1
  7. package/cjs/apiVersion.js +3 -2
  8. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  9. package/cjs/resources/Mandates.js +0 -5
  10. package/cjs/resources/PaymentIntents.js +0 -8
  11. package/cjs/resources/PaymentMethods.js +0 -4
  12. package/cjs/resources/Quotes.js +0 -32
  13. package/cjs/resources/SubscriptionSchedules.js +0 -4
  14. package/cjs/resources/Subscriptions.js +0 -4
  15. package/cjs/resources.js +8 -142
  16. package/cjs/stripe.core.js +1 -1
  17. package/esm/Error.js +0 -100
  18. package/esm/RequestSender.js +1 -1
  19. package/esm/apiVersion.js +2 -1
  20. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  21. package/esm/resources/Mandates.js +0 -5
  22. package/esm/resources/PaymentIntents.js +0 -8
  23. package/esm/resources/PaymentMethods.js +0 -4
  24. package/esm/resources/Quotes.js +0 -32
  25. package/esm/resources/SubscriptionSchedules.js +0 -4
  26. package/esm/resources/Subscriptions.js +0 -4
  27. package/esm/resources.js +0 -129
  28. package/esm/stripe.core.js +1 -1
  29. package/package.json +1 -1
  30. package/types/AccountLinksResource.d.ts +1 -5
  31. package/types/AccountSessions.d.ts +0 -45
  32. package/types/AccountSessionsResource.d.ts +0 -264
  33. package/types/Accounts.d.ts +2 -215
  34. package/types/AccountsResource.d.ts +2 -546
  35. package/types/ApplicationFees.d.ts +1 -6
  36. package/types/Balance.d.ts +0 -82
  37. package/types/BalanceTransactions.d.ts +1 -2
  38. package/types/BankAccounts.d.ts +0 -2
  39. package/types/Billing/AlertTriggereds.d.ts +1 -16
  40. package/types/Billing/Alerts.d.ts +1 -116
  41. package/types/Billing/AlertsResource.d.ts +2 -149
  42. package/types/Billing/CreditBalanceSummary.d.ts +2 -123
  43. package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -20
  44. package/types/Billing/CreditBalanceTransactions.d.ts +2 -118
  45. package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
  46. package/types/Billing/CreditGrants.d.ts +1 -76
  47. package/types/Billing/CreditGrantsResource.d.ts +4 -45
  48. package/types/Billing/MeterEventSummaries.d.ts +0 -7
  49. package/types/Billing/Meters.d.ts +0 -5
  50. package/types/Billing/MetersResource.d.ts +0 -17
  51. package/types/BillingPortal/Sessions.d.ts +0 -5
  52. package/types/BillingPortal/SessionsResource.d.ts +4 -12
  53. package/types/Capabilities.d.ts +0 -2
  54. package/types/Cards.d.ts +0 -19
  55. package/types/CashBalances.d.ts +0 -5
  56. package/types/Charges.d.ts +0 -185
  57. package/types/ChargesResource.d.ts +0 -1406
  58. package/types/Checkout/Sessions.d.ts +2 -427
  59. package/types/Checkout/SessionsResource.d.ts +2 -682
  60. package/types/ConfirmationTokens.d.ts +0 -139
  61. package/types/Coupons.d.ts +0 -33
  62. package/types/CouponsResource.d.ts +0 -21
  63. package/types/CreditNoteLineItems.d.ts +0 -17
  64. package/types/CreditNotes.d.ts +0 -5
  65. package/types/CreditNotesResource.d.ts +0 -5
  66. package/types/CustomerBalanceTransactions.d.ts +0 -2
  67. package/types/CustomerCashBalanceTransactions.d.ts +0 -2
  68. package/types/CustomerSessions.d.ts +0 -46
  69. package/types/CustomerSessionsResource.d.ts +2 -48
  70. package/types/Customers.d.ts +0 -2
  71. package/types/CustomersResource.d.ts +0 -8
  72. package/types/Discounts.d.ts +0 -10
  73. package/types/Disputes.d.ts +0 -40
  74. package/types/DisputesResource.d.ts +0 -11
  75. package/types/Errors.d.ts +0 -85
  76. package/types/EventTypes.d.ts +0 -630
  77. package/types/Events.d.ts +0 -95
  78. package/types/FinancialConnections/Accounts.d.ts +1 -36
  79. package/types/FinancialConnections/AccountsResource.d.ts +3 -40
  80. package/types/FinancialConnections/Sessions.d.ts +1 -51
  81. package/types/FinancialConnections/SessionsResource.d.ts +1 -43
  82. package/types/Identity/VerificationReports.d.ts +0 -10
  83. package/types/Identity/VerificationReportsResource.d.ts +0 -5
  84. package/types/Identity/VerificationSessions.d.ts +0 -5
  85. package/types/Identity/VerificationSessionsResource.d.ts +0 -7
  86. package/types/InvoiceItems.d.ts +2 -114
  87. package/types/InvoiceItemsResource.d.ts +6 -117
  88. package/types/InvoiceLineItems.d.ts +3 -158
  89. package/types/InvoicePayments.d.ts +1 -1
  90. package/types/Invoices.d.ts +5 -204
  91. package/types/InvoicesResource.d.ts +4 -1627
  92. package/types/Issuing/CardholdersResource.d.ts +1 -2
  93. package/types/Issuing/Transactions.d.ts +0 -5
  94. package/types/Issuing/TransactionsResource.d.ts +0 -5
  95. package/types/LineItems.d.ts +0 -49
  96. package/types/Mandates.d.ts +1 -135
  97. package/types/MandatesResource.d.ts +0 -31
  98. package/types/PaymentAttemptRecords.d.ts +0 -141
  99. package/types/PaymentIntentAmountDetailsLineItems.d.ts +13 -7
  100. package/types/PaymentIntents.d.ts +30 -808
  101. package/types/PaymentIntentsResource.d.ts +4604 -9377
  102. package/types/PaymentLinks.d.ts +0 -6
  103. package/types/PaymentLinksResource.d.ts +0 -12
  104. package/types/PaymentMethodConfigurations.d.ts +0 -216
  105. package/types/PaymentMethodConfigurationsResource.d.ts +0 -300
  106. package/types/PaymentMethods.d.ts +0 -144
  107. package/types/PaymentMethodsResource.d.ts +2 -187
  108. package/types/PaymentRecords.d.ts +0 -141
  109. package/types/Persons.d.ts +0 -2
  110. package/types/Prices.d.ts +0 -22
  111. package/types/PricesResource.d.ts +0 -22
  112. package/types/PromotionCodes.d.ts +0 -5
  113. package/types/PromotionCodesResource.d.ts +0 -10
  114. package/types/Quotes.d.ts +1 -594
  115. package/types/QuotesResource.d.ts +290 -2635
  116. package/types/Refunds.d.ts +0 -14
  117. package/types/SetupAttempts.d.ts +1 -51
  118. package/types/SetupIntents.d.ts +5 -240
  119. package/types/SetupIntentsResource.d.ts +4 -1044
  120. package/types/Sources.d.ts +0 -29
  121. package/types/SubscriptionItems.d.ts +0 -26
  122. package/types/SubscriptionItemsResource.d.ts +0 -109
  123. package/types/SubscriptionSchedules.d.ts +0 -205
  124. package/types/SubscriptionSchedulesResource.d.ts +4 -1232
  125. package/types/Subscriptions.d.ts +1 -262
  126. package/types/SubscriptionsResource.d.ts +8 -745
  127. package/types/TaxIds.d.ts +0 -10
  128. package/types/TaxIdsResource.d.ts +0 -10
  129. package/types/Terminal/Configurations.d.ts +0 -9
  130. package/types/Terminal/ConfigurationsResource.d.ts +18 -46
  131. package/types/Terminal/Readers.d.ts +0 -20
  132. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
  133. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  134. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  135. package/types/Transfers.d.ts +0 -9
  136. package/types/TransfersResource.d.ts +0 -7
  137. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  138. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  139. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  140. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  141. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  142. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  143. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  144. package/types/V2/Billing/MeterEvents.d.ts +2 -1
  145. package/types/V2/Core/EventTypes.d.ts +10 -8589
  146. package/types/V2/Core/Events.d.ts +0 -12
  147. package/types/WebhookEndpointsResource.d.ts +0 -74
  148. package/types/Webhooks.d.ts +0 -2
  149. package/types/apiVersion.d.ts +2 -1
  150. package/types/index.d.ts +0 -222
  151. package/types/lib.d.ts +0 -10
  152. package/cjs/resources/AccountNotices.js +0 -21
  153. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
  154. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  155. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  156. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  157. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +0 -28
  158. package/cjs/resources/ExternalAccounts.js +0 -23
  159. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  160. package/cjs/resources/FxQuotes.js +0 -15
  161. package/cjs/resources/Identity/BlocklistEntries.js +0 -25
  162. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  163. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  164. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  165. package/cjs/resources/Margins.js +0 -22
  166. package/cjs/resources/Orders.js +0 -24
  167. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  168. package/cjs/resources/Tax/Associations.js +0 -9
  169. package/cjs/resources/Tax/Forms.js +0 -20
  170. package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
  171. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  172. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
  173. package/cjs/resources/V2/Billing/BillSettings.js +0 -27
  174. package/cjs/resources/V2/Billing/Cadences.js +0 -23
  175. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
  176. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
  177. package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -25
  178. package/cjs/resources/V2/Billing/Intents/Actions.js +0 -17
  179. package/cjs/resources/V2/Billing/Intents.js +0 -36
  180. package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -12
  181. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -17
  182. package/cjs/resources/V2/Billing/LicenseFees.js +0 -27
  183. package/cjs/resources/V2/Billing/LicensedItems.js +0 -25
  184. package/cjs/resources/V2/Billing/MeteredItems.js +0 -22
  185. package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +0 -12
  186. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -26
  187. package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -29
  188. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -17
  189. package/cjs/resources/V2/Billing/PricingPlans.js +0 -29
  190. package/cjs/resources/V2/Billing/Profiles.js +0 -19
  191. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -29
  192. package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -25
  193. package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -17
  194. package/cjs/resources/V2/Billing/RateCards.js +0 -29
  195. package/cjs/resources/V2/Billing/ServiceActions.js +0 -20
  196. package/cjs/resources/V2/Core/AccountLinks.js +0 -9
  197. package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
  198. package/cjs/resources/V2/Core/Accounts.js +0 -25
  199. package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -16
  200. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -33
  201. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -37
  202. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  203. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -29
  204. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  205. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  206. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  207. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  208. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  209. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  210. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  211. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  212. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  213. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  214. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -20
  215. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  216. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  217. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -29
  218. package/cjs/resources/V2/Tax/AutomaticRules.js +0 -22
  219. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  220. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -12
  221. package/esm/resources/AccountNotices.js +0 -18
  222. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
  223. package/esm/resources/Capital/FinancingOffers.js +0 -18
  224. package/esm/resources/Capital/FinancingSummary.js +0 -9
  225. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  226. package/esm/resources/DelegatedCheckout/RequestedSessions.js +0 -25
  227. package/esm/resources/ExternalAccounts.js +0 -20
  228. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  229. package/esm/resources/FxQuotes.js +0 -12
  230. package/esm/resources/Identity/BlocklistEntries.js +0 -22
  231. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  232. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  233. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  234. package/esm/resources/Margins.js +0 -19
  235. package/esm/resources/Orders.js +0 -21
  236. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  237. package/esm/resources/Tax/Associations.js +0 -6
  238. package/esm/resources/Tax/Forms.js +0 -17
  239. package/esm/resources/Terminal/OnboardingLinks.js +0 -9
  240. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  241. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
  242. package/esm/resources/V2/Billing/BillSettings.js +0 -24
  243. package/esm/resources/V2/Billing/Cadences.js +0 -20
  244. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
  245. package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
  246. package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -22
  247. package/esm/resources/V2/Billing/Intents/Actions.js +0 -14
  248. package/esm/resources/V2/Billing/Intents.js +0 -33
  249. package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -9
  250. package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -14
  251. package/esm/resources/V2/Billing/LicenseFees.js +0 -24
  252. package/esm/resources/V2/Billing/LicensedItems.js +0 -22
  253. package/esm/resources/V2/Billing/MeteredItems.js +0 -19
  254. package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +0 -9
  255. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -23
  256. package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -26
  257. package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -14
  258. package/esm/resources/V2/Billing/PricingPlans.js +0 -26
  259. package/esm/resources/V2/Billing/Profiles.js +0 -16
  260. package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -26
  261. package/esm/resources/V2/Billing/RateCards/Rates.js +0 -22
  262. package/esm/resources/V2/Billing/RateCards/Versions.js +0 -14
  263. package/esm/resources/V2/Billing/RateCards.js +0 -26
  264. package/esm/resources/V2/Billing/ServiceActions.js +0 -17
  265. package/esm/resources/V2/Core/AccountLinks.js +0 -6
  266. package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
  267. package/esm/resources/V2/Core/Accounts.js +0 -22
  268. package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -13
  269. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -30
  270. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -34
  271. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  272. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -26
  273. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  274. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  275. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  276. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  277. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  278. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  279. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  280. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  281. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  282. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  283. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -17
  284. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  285. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  286. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -26
  287. package/esm/resources/V2/Tax/AutomaticRules.js +0 -19
  288. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  289. package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -9
  290. package/types/AccountNotices.d.ts +0 -113
  291. package/types/AccountNoticesResource.d.ts +0 -98
  292. package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
  293. package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -694
  294. package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -58
  295. package/types/Capital/FinancingOffers.d.ts +0 -188
  296. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  297. package/types/Capital/FinancingSummary.d.ts +0 -106
  298. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  299. package/types/Capital/FinancingTransactions.d.ts +0 -135
  300. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  301. package/types/DelegatedCheckout/RequestedSessions.d.ts +0 -360
  302. package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +0 -593
  303. package/types/ExternalAccountsResource.d.ts +0 -304
  304. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  305. package/types/FinancialConnections/Institutions.d.ts +0 -98
  306. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  307. package/types/FxQuotes.d.ts +0 -155
  308. package/types/FxQuotesResource.d.ts +0 -130
  309. package/types/Identity/BlocklistEntries.d.ts +0 -78
  310. package/types/Identity/BlocklistEntriesResource.d.ts +0 -146
  311. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  312. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  313. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  314. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  315. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  316. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  317. package/types/Issuing/Settlements.d.ts +0 -113
  318. package/types/Margins.d.ts +0 -56
  319. package/types/MarginsResource.d.ts +0 -114
  320. package/types/Orders.d.ts +0 -1163
  321. package/types/OrdersResource.d.ts +0 -3139
  322. package/types/PaymentMethodBalances.d.ts +0 -63
  323. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
  324. package/types/Privacy/RedactionJobs.d.ts +0 -111
  325. package/types/Privacy/RedactionJobsResource.d.ts +0 -230
  326. package/types/QuoteLines.d.ts +0 -634
  327. package/types/QuotePreviewInvoices.d.ts +0 -1771
  328. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
  329. package/types/Tax/Associations.d.ts +0 -82
  330. package/types/Tax/AssociationsResource.d.ts +0 -29
  331. package/types/Tax/Forms.d.ts +0 -220
  332. package/types/Tax/FormsResource.d.ts +0 -107
  333. package/types/Terminal/OnboardingLinks.d.ts +0 -57
  334. package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
  335. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  336. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  337. package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
  338. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
  339. package/types/V2/Billing/BillSettings.d.ts +0 -120
  340. package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
  341. package/types/V2/Billing/Cadences.d.ts +0 -731
  342. package/types/V2/Billing/CadencesResource.d.ts +0 -516
  343. package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -314
  344. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
  345. package/types/V2/Billing/CollectionSettings.d.ts +0 -337
  346. package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -675
  347. package/types/V2/Billing/CustomPricingUnits.d.ts +0 -56
  348. package/types/V2/Billing/CustomPricingUnitsResource.d.ts +0 -122
  349. package/types/V2/Billing/IntentActions.d.ts +0 -459
  350. package/types/V2/Billing/Intents/ActionsResource.d.ts +0 -58
  351. package/types/V2/Billing/Intents.d.ts +0 -117
  352. package/types/V2/Billing/IntentsResource.d.ts +0 -575
  353. package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +0 -64
  354. package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +0 -28
  355. package/types/V2/Billing/LicenseFeeVersions.d.ts +0 -106
  356. package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +0 -58
  357. package/types/V2/Billing/LicenseFees.d.ts +0 -164
  358. package/types/V2/Billing/LicenseFeesResource.d.ts +0 -290
  359. package/types/V2/Billing/LicensedItems.d.ts +0 -73
  360. package/types/V2/Billing/LicensedItemsResource.d.ts +0 -157
  361. package/types/V2/Billing/MeteredItems.d.ts +0 -101
  362. package/types/V2/Billing/MeteredItemsResource.d.ts +0 -189
  363. package/types/V2/Billing/PricingPlanComponents.d.ts +0 -109
  364. package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +0 -57
  365. package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +0 -40
  366. package/types/V2/Billing/PricingPlanSubscriptions.d.ts +0 -144
  367. package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +0 -120
  368. package/types/V2/Billing/PricingPlanVersions.d.ts +0 -49
  369. package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +0 -197
  370. package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +0 -58
  371. package/types/V2/Billing/PricingPlans.d.ts +0 -84
  372. package/types/V2/Billing/PricingPlansResource.d.ts +0 -151
  373. package/types/V2/Billing/Profiles.d.ts +0 -70
  374. package/types/V2/Billing/ProfilesResource.d.ts +0 -150
  375. package/types/V2/Billing/RateCardRates.d.ts +0 -144
  376. package/types/V2/Billing/RateCardSubscriptions.d.ts +0 -144
  377. package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +0 -157
  378. package/types/V2/Billing/RateCardVersions.d.ts +0 -39
  379. package/types/V2/Billing/RateCards/RatesResource.d.ts +0 -203
  380. package/types/V2/Billing/RateCards/VersionsResource.d.ts +0 -58
  381. package/types/V2/Billing/RateCards.d.ts +0 -98
  382. package/types/V2/Billing/RateCardsResource.d.ts +0 -162
  383. package/types/V2/Billing/ServiceActions.d.ts +0 -274
  384. package/types/V2/Billing/ServiceActionsResource.d.ts +0 -370
  385. package/types/V2/Core/AccountLinks.d.ts +0 -168
  386. package/types/V2/Core/AccountLinksResource.d.ts +0 -152
  387. package/types/V2/Core/AccountPersons.d.ts +0 -615
  388. package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -1153
  389. package/types/V2/Core/Accounts.d.ts +0 -7478
  390. package/types/V2/Core/AccountsResource.d.ts +0 -6723
  391. package/types/V2/Core/ClaimableSandboxes.d.ts +0 -132
  392. package/types/V2/Core/ClaimableSandboxesResource.d.ts +0 -74
  393. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
  394. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -194
  395. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -116
  396. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -198
  397. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  398. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  399. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  400. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  401. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -148
  402. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -172
  403. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -178
  404. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -126
  405. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
  406. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  407. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
  408. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  409. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -283
  410. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -247
  411. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  412. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -330
  413. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -256
  414. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -213
  415. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -201
  416. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
  417. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  418. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
  419. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -307
  420. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  421. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -186
  422. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  423. package/types/V2/MoneyManagement/RecipientVerifications.d.ts +0 -112
  424. package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +0 -77
  425. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
  426. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  427. package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
  428. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  429. package/types/V2/Payments/OffSessionPayments.d.ts +0 -326
  430. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -401
  431. package/types/V2/Tax/AutomaticRules.d.ts +0 -53
  432. package/types/V2/Tax/AutomaticRulesResource.d.ts +0 -102
  433. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -73
  434. package/types/V2/TestHelpers/MoneyManagementResource.d.ts +0 -49
@@ -26,11 +26,6 @@ declare module 'stripe' {
26
26
  */
27
27
  object: 'payment_intent';
28
28
 
29
- /**
30
- * Allocated Funds configuration for this PaymentIntent.
31
- */
32
- allocated_funds?: PaymentIntent.AllocatedFunds | null;
33
-
34
29
  /**
35
30
  * Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
36
31
  */
@@ -111,15 +106,6 @@ declare module 'stripe' {
111
106
  */
112
107
  customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
113
108
 
114
- /**
115
- * ID of the Account this PaymentIntent belongs to, if one exists.
116
- *
117
- * Payment methods attached to other Accounts cannot be used with this PaymentIntent.
118
- *
119
- * 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.
120
- */
121
- customer_account?: string | null;
122
-
123
109
  /**
124
110
  * An arbitrary string attached to the object. Often useful for displaying to users.
125
111
  */
@@ -132,13 +118,6 @@ declare module 'stripe' {
132
118
  PaymentIntent.ExcludedPaymentMethodType
133
119
  > | null;
134
120
 
135
- /**
136
- * The FX Quote used for the PaymentIntent.
137
- */
138
- fx_quote?: string | null;
139
-
140
- hooks?: PaymentIntent.Hooks;
141
-
142
121
  /**
143
122
  * The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
144
123
  */
@@ -208,11 +187,6 @@ declare module 'stripe' {
208
187
  */
209
188
  review: string | Stripe.Review | null;
210
189
 
211
- /**
212
- * Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
213
- */
214
- secret_key_confirmation?: PaymentIntent.SecretKeyConfirmation;
215
-
216
190
  /**
217
191
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
218
192
  *
@@ -267,16 +241,11 @@ declare module 'stripe' {
267
241
  }
268
242
 
269
243
  namespace PaymentIntent {
270
- interface AllocatedFunds {
271
- /**
272
- * Allocated Funds configuration for this PaymentIntent.
273
- */
274
- enabled: boolean | null;
275
- }
276
-
277
244
  interface AmountDetails {
278
245
  /**
279
- * The total discount applied on the transaction.
246
+ * The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
247
+ *
248
+ * This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
280
249
  */
281
250
  discount_amount?: number;
282
251
 
@@ -295,24 +264,26 @@ declare module 'stripe' {
295
264
  namespace AmountDetails {
296
265
  interface Shipping {
297
266
  /**
298
- * Portion of the amount that is for shipping.
267
+ * If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0.
299
268
  */
300
269
  amount: number | null;
301
270
 
302
271
  /**
303
- * The postal code that represents the shipping source.
272
+ * If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
304
273
  */
305
274
  from_postal_code: string | null;
306
275
 
307
276
  /**
308
- * The postal code that represents the shipping destination.
277
+ * If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
309
278
  */
310
279
  to_postal_code: string | null;
311
280
  }
312
281
 
313
282
  interface Tax {
314
283
  /**
315
- * Total portion of the amount that is for tax.
284
+ * The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
285
+ *
286
+ * This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
316
287
  */
317
288
  total_tax_amount: number | null;
318
289
  }
@@ -377,9 +348,7 @@ declare module 'stripe' {
377
348
  | 'eps'
378
349
  | 'fpx'
379
350
  | 'giropay'
380
- | 'gopay'
381
351
  | 'grabpay'
382
- | 'id_bank_transfer'
383
352
  | 'ideal'
384
353
  | 'kakao_pay'
385
354
  | 'klarna'
@@ -396,44 +365,19 @@ declare module 'stripe' {
396
365
  | 'payco'
397
366
  | 'paynow'
398
367
  | 'paypal'
399
- | 'paypay'
400
- | 'payto'
401
368
  | 'pix'
402
369
  | 'promptpay'
403
- | 'qris'
404
- | 'rechnung'
405
370
  | 'revolut_pay'
406
371
  | 'samsung_pay'
407
372
  | 'satispay'
408
373
  | 'sepa_debit'
409
- | 'shopeepay'
410
374
  | 'sofort'
411
- | 'stripe_balance'
412
375
  | 'swish'
413
376
  | 'twint'
414
377
  | 'us_bank_account'
415
378
  | 'wechat_pay'
416
379
  | 'zip';
417
380
 
418
- interface Hooks {
419
- inputs?: Hooks.Inputs;
420
- }
421
-
422
- namespace Hooks {
423
- interface Inputs {
424
- tax?: Inputs.Tax;
425
- }
426
-
427
- namespace Inputs {
428
- interface Tax {
429
- /**
430
- * The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
431
- */
432
- calculation: string;
433
- }
434
- }
435
- }
436
-
437
381
  interface LastPaymentError {
438
382
  /**
439
383
  * 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.
@@ -600,7 +544,6 @@ declare module 'stripe' {
600
544
  | 'financial_connections_account_inactive'
601
545
  | 'financial_connections_account_pending_account_numbers'
602
546
  | 'financial_connections_account_unavailable_account_numbers'
603
- | 'financial_connections_institution_unavailable'
604
547
  | 'financial_connections_no_successful_transaction_refresh'
605
548
  | 'forwarding_api_inactive'
606
549
  | 'forwarding_api_invalid_parameter'
@@ -699,7 +642,6 @@ declare module 'stripe' {
699
642
  | 'return_intent_already_processed'
700
643
  | 'routing_number_invalid'
701
644
  | 'secret_key_required'
702
- | 'sensitive_data_access_expired'
703
645
  | 'sepa_unsupported_account'
704
646
  | 'setup_attempt_failed'
705
647
  | 'setup_intent_authentication_failure'
@@ -719,7 +661,6 @@ declare module 'stripe' {
719
661
  | 'taxes_calculation_failed'
720
662
  | 'terminal_location_country_unsupported'
721
663
  | 'terminal_reader_busy'
722
- | 'terminal_reader_collected_data_invalid'
723
664
  | 'terminal_reader_hardware_fault'
724
665
  | 'terminal_reader_invalid_location_for_activation'
725
666
  | 'terminal_reader_invalid_location_for_payment'
@@ -732,9 +673,7 @@ declare module 'stripe' {
732
673
  | 'token_in_use'
733
674
  | 'transfer_source_balance_parameters_mismatch'
734
675
  | 'transfers_not_allowed'
735
- | 'url_invalid'
736
- | 'v2_account_disconnection_unsupported'
737
- | 'v2_account_missing_configuration';
676
+ | 'url_invalid';
738
677
 
739
678
  type Type =
740
679
  | 'api_error'
@@ -1403,7 +1342,9 @@ declare module 'stripe' {
1403
1342
  }
1404
1343
  }
1405
1344
 
1406
- interface UseStripeSdk {}
1345
+ type UseStripeSdk = {
1346
+ [key: string]: unknown;
1347
+ };
1407
1348
 
1408
1349
  interface VerifyWithMicrodeposits {
1409
1350
  /**
@@ -1499,350 +1440,21 @@ declare module 'stripe' {
1499
1440
  }
1500
1441
 
1501
1442
  interface PaymentDetails {
1502
- benefit?: PaymentDetails.Benefit;
1503
-
1504
- car_rental?: PaymentDetails.CarRental;
1505
-
1506
1443
  /**
1507
- * 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.
1444
+ * A unique value to identify the customer. This field is available only for card payments.
1445
+ *
1446
+ * This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
1508
1447
  */
1509
1448
  customer_reference: string | null;
1510
1449
 
1511
- event_details?: PaymentDetails.EventDetails;
1512
-
1513
1450
  /**
1514
- * A unique value assigned by the business to identify the transaction.
1451
+ * A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
1452
+ *
1453
+ * Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
1454
+ *
1455
+ * For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
1515
1456
  */
1516
1457
  order_reference: string | null;
1517
-
1518
- subscription?: PaymentDetails.Subscription;
1519
- }
1520
-
1521
- namespace PaymentDetails {
1522
- interface Benefit {
1523
- fr_meal_voucher?: Benefit.FrMealVoucher;
1524
- }
1525
-
1526
- namespace Benefit {
1527
- interface FrMealVoucher {
1528
- /**
1529
- * The 14-digit SIRET of the meal voucher acceptor.
1530
- */
1531
- siret?: string;
1532
- }
1533
- }
1534
-
1535
- interface CarRental {
1536
- affiliate?: CarRental.Affiliate;
1537
-
1538
- /**
1539
- * The booking number associated with the car rental.
1540
- */
1541
- booking_number: string;
1542
-
1543
- /**
1544
- * Class code of the car.
1545
- */
1546
- car_class_code?: string;
1547
-
1548
- /**
1549
- * Make of the car.
1550
- */
1551
- car_make?: string;
1552
-
1553
- /**
1554
- * Model of the car.
1555
- */
1556
- car_model?: string;
1557
-
1558
- /**
1559
- * The name of the rental car company.
1560
- */
1561
- company?: string;
1562
-
1563
- /**
1564
- * The customer service phone number of the car rental company.
1565
- */
1566
- customer_service_phone_number?: string;
1567
-
1568
- /**
1569
- * Number of days the car is being rented.
1570
- */
1571
- days_rented: number;
1572
-
1573
- delivery?: CarRental.Delivery;
1574
-
1575
- distance?: CarRental.Distance;
1576
-
1577
- /**
1578
- * The details of the drivers associated with the trip.
1579
- */
1580
- drivers?: Array<CarRental.Driver>;
1581
-
1582
- /**
1583
- * List of additional charges being billed.
1584
- */
1585
- extra_charges?: Array<CarRental.ExtraCharge>;
1586
-
1587
- /**
1588
- * Indicates if the customer did not keep nor cancel their booking.
1589
- */
1590
- no_show?: boolean;
1591
-
1592
- pickup_address?: Stripe.Address;
1593
-
1594
- /**
1595
- * Car pick-up time. Measured in seconds since the Unix epoch.
1596
- */
1597
- pickup_at: number;
1598
-
1599
- /**
1600
- * Name of the pickup location.
1601
- */
1602
- pickup_location_name?: string;
1603
-
1604
- /**
1605
- * Rental rate.
1606
- */
1607
- rate_amount?: number;
1608
-
1609
- /**
1610
- * The frequency at which the rate amount is applied. One of `day`, `week` or `month`
1611
- */
1612
- rate_interval?: CarRental.RateInterval;
1613
-
1614
- /**
1615
- * The full name of the person or entity renting the car.
1616
- */
1617
- renter_name?: string;
1618
-
1619
- return_address?: Stripe.Address;
1620
-
1621
- /**
1622
- * Car return time. Measured in seconds since the Unix epoch.
1623
- */
1624
- return_at: number;
1625
-
1626
- /**
1627
- * Name of the return location.
1628
- */
1629
- return_location_name?: string;
1630
-
1631
- /**
1632
- * Indicates whether the goods or services are tax-exempt or tax is not collected.
1633
- */
1634
- tax_exempt?: boolean;
1635
-
1636
- /**
1637
- * The vehicle identification number of the car.
1638
- */
1639
- vehicle_identification_number?: string;
1640
- }
1641
-
1642
- namespace CarRental {
1643
- interface Affiliate {
1644
- /**
1645
- * The name of the affiliate that originated the purchase.
1646
- */
1647
- name?: string;
1648
- }
1649
-
1650
- interface Delivery {
1651
- /**
1652
- * The delivery method for the payment
1653
- */
1654
- mode?: Delivery.Mode;
1655
-
1656
- recipient?: Delivery.Recipient;
1657
- }
1658
-
1659
- namespace Delivery {
1660
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
1661
-
1662
- interface Recipient {
1663
- /**
1664
- * The email of the recipient the ticket is delivered to.
1665
- */
1666
- email?: string;
1667
-
1668
- /**
1669
- * The name of the recipient the ticket is delivered to.
1670
- */
1671
- name?: string;
1672
-
1673
- /**
1674
- * The phone number of the recipient the ticket is delivered to.
1675
- */
1676
- phone?: string;
1677
- }
1678
- }
1679
-
1680
- interface Distance {
1681
- /**
1682
- * Distance traveled.
1683
- */
1684
- amount?: number;
1685
-
1686
- /**
1687
- * Unit of measurement for the distance traveled. One of `miles` or `kilometers`
1688
- */
1689
- unit?: string;
1690
- }
1691
-
1692
- interface Driver {
1693
- /**
1694
- * Driver's identification number.
1695
- */
1696
- driver_identification_number?: string;
1697
-
1698
- /**
1699
- * Driver's tax number.
1700
- */
1701
- driver_tax_number?: string;
1702
-
1703
- /**
1704
- * Full name of the driver on the reservation.
1705
- */
1706
- name?: string;
1707
- }
1708
-
1709
- type ExtraCharge =
1710
- | 'extra_mileage'
1711
- | 'gas'
1712
- | 'late_return'
1713
- | 'one_way_service'
1714
- | 'parking_violation';
1715
-
1716
- type RateInterval = 'day' | 'month' | 'week';
1717
- }
1718
-
1719
- interface EventDetails {
1720
- /**
1721
- * Indicates if the tickets are digitally checked when entering the venue.
1722
- */
1723
- access_controlled_venue?: boolean;
1724
-
1725
- address?: Stripe.Address;
1726
-
1727
- affiliate?: EventDetails.Affiliate;
1728
-
1729
- /**
1730
- * The name of the company
1731
- */
1732
- company?: string;
1733
-
1734
- delivery?: EventDetails.Delivery;
1735
-
1736
- /**
1737
- * Event end time. Measured in seconds since the Unix epoch.
1738
- */
1739
- ends_at?: number;
1740
-
1741
- /**
1742
- * Type of the event entertainment (concert, sports event etc)
1743
- */
1744
- genre?: string;
1745
-
1746
- /**
1747
- * The name of the event.
1748
- */
1749
- name?: string;
1750
-
1751
- /**
1752
- * Event start time. Measured in seconds since the Unix epoch.
1753
- */
1754
- starts_at?: number;
1755
- }
1756
-
1757
- namespace EventDetails {
1758
- interface Affiliate {
1759
- /**
1760
- * The name of the affiliate that originated the purchase.
1761
- */
1762
- name?: string;
1763
- }
1764
-
1765
- interface Delivery {
1766
- /**
1767
- * The delivery method for the payment
1768
- */
1769
- mode?: Delivery.Mode;
1770
-
1771
- recipient?: Delivery.Recipient;
1772
- }
1773
-
1774
- namespace Delivery {
1775
- type Mode = 'email' | 'phone' | 'pickup' | 'post';
1776
-
1777
- interface Recipient {
1778
- /**
1779
- * The email of the recipient the ticket is delivered to.
1780
- */
1781
- email?: string;
1782
-
1783
- /**
1784
- * The name of the recipient the ticket is delivered to.
1785
- */
1786
- name?: string;
1787
-
1788
- /**
1789
- * The phone number of the recipient the ticket is delivered to.
1790
- */
1791
- phone?: string;
1792
- }
1793
- }
1794
- }
1795
-
1796
- interface Subscription {
1797
- affiliate?: Subscription.Affiliate;
1798
-
1799
- /**
1800
- * Info whether the subscription will be auto renewed upon expiry.
1801
- */
1802
- auto_renewal?: boolean;
1803
-
1804
- billing_interval?: Subscription.BillingInterval;
1805
-
1806
- /**
1807
- * Subscription end time. Measured in seconds since the Unix epoch.
1808
- */
1809
- ends_at?: number;
1810
-
1811
- /**
1812
- * Name of the product on subscription. e.g. Apple Music Subscription.
1813
- */
1814
- name?: string;
1815
-
1816
- /**
1817
- * Subscription start time. Measured in seconds since the Unix epoch.
1818
- */
1819
- starts_at?: number;
1820
- }
1821
-
1822
- namespace Subscription {
1823
- interface Affiliate {
1824
- /**
1825
- * The name of the affiliate that originated the purchase.
1826
- */
1827
- name?: string;
1828
- }
1829
-
1830
- interface BillingInterval {
1831
- /**
1832
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1833
- */
1834
- count?: number;
1835
-
1836
- /**
1837
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1838
- */
1839
- interval?: BillingInterval.Interval;
1840
- }
1841
-
1842
- namespace BillingInterval {
1843
- type Interval = 'day' | 'month' | 'week' | 'year';
1844
- }
1845
- }
1846
1458
  }
1847
1459
 
1848
1460
  interface PaymentMethodConfigurationDetails {
@@ -1898,12 +1510,8 @@ declare module 'stripe' {
1898
1510
 
1899
1511
  giropay?: PaymentMethodOptions.Giropay;
1900
1512
 
1901
- gopay?: PaymentMethodOptions.Gopay;
1902
-
1903
1513
  grabpay?: PaymentMethodOptions.Grabpay;
1904
1514
 
1905
- id_bank_transfer?: PaymentMethodOptions.IdBankTransfer;
1906
-
1907
1515
  ideal?: PaymentMethodOptions.Ideal;
1908
1516
 
1909
1517
  interac_present?: PaymentMethodOptions.InteracPresent;
@@ -1940,18 +1548,10 @@ declare module 'stripe' {
1940
1548
 
1941
1549
  paypal?: PaymentMethodOptions.Paypal;
1942
1550
 
1943
- paypay?: PaymentMethodOptions.Paypay;
1944
-
1945
- payto?: PaymentMethodOptions.Payto;
1946
-
1947
1551
  pix?: PaymentMethodOptions.Pix;
1948
1552
 
1949
1553
  promptpay?: PaymentMethodOptions.Promptpay;
1950
1554
 
1951
- qris?: PaymentMethodOptions.Qris;
1952
-
1953
- rechnung?: PaymentMethodOptions.Rechnung;
1954
-
1955
1555
  revolut_pay?: PaymentMethodOptions.RevolutPay;
1956
1556
 
1957
1557
  samsung_pay?: PaymentMethodOptions.SamsungPay;
@@ -1960,12 +1560,8 @@ declare module 'stripe' {
1960
1560
 
1961
1561
  sepa_debit?: PaymentMethodOptions.SepaDebit;
1962
1562
 
1963
- shopeepay?: PaymentMethodOptions.Shopeepay;
1964
-
1965
1563
  sofort?: PaymentMethodOptions.Sofort;
1966
1564
 
1967
- stripe_balance?: PaymentMethodOptions.StripeBalance;
1968
-
1969
1565
  swish?: PaymentMethodOptions.Swish;
1970
1566
 
1971
1567
  twint?: PaymentMethodOptions.Twint;
@@ -2272,11 +1868,6 @@ declare module 'stripe' {
2272
1868
  */
2273
1869
  network: Card.Network | null;
2274
1870
 
2275
- /**
2276
- * Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
2277
- */
2278
- request_decremental_authorization?: Card.RequestDecrementalAuthorization;
2279
-
2280
1871
  /**
2281
1872
  * Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
2282
1873
  */
@@ -2297,11 +1888,6 @@ declare module 'stripe' {
2297
1888
  */
2298
1889
  request_overcapture?: Card.RequestOvercapture;
2299
1890
 
2300
- /**
2301
- * Request partial authorization on this PaymentIntent.
2302
- */
2303
- request_partial_authorization?: Card.RequestPartialAuthorization;
2304
-
2305
1891
  /**
2306
1892
  * 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.
2307
1893
  */
@@ -2332,8 +1918,6 @@ declare module 'stripe' {
2332
1918
  * 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.
2333
1919
  */
2334
1920
  statement_descriptor_suffix_kanji?: string;
2335
-
2336
- statement_details?: Card.StatementDetails;
2337
1921
  }
2338
1922
 
2339
1923
  namespace Card {
@@ -2468,8 +2052,6 @@ declare module 'stripe' {
2468
2052
  | 'unknown'
2469
2053
  | 'visa';
2470
2054
 
2471
- type RequestDecrementalAuthorization = 'if_available' | 'never';
2472
-
2473
2055
  type RequestExtendedAuthorization = 'if_available' | 'never';
2474
2056
 
2475
2057
  type RequestIncrementalAuthorization = 'if_available' | 'never';
@@ -2478,57 +2060,17 @@ declare module 'stripe' {
2478
2060
 
2479
2061
  type RequestOvercapture = 'if_available' | 'never';
2480
2062
 
2481
- type RequestPartialAuthorization = 'if_available' | 'never';
2482
-
2483
2063
  type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
2484
2064
 
2485
2065
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
2486
-
2487
- interface StatementDetails {
2488
- address?: StatementDetails.Address;
2489
-
2490
- /**
2491
- * Phone number
2492
- */
2493
- phone?: string;
2494
- }
2495
-
2496
- namespace StatementDetails {
2497
- interface Address {
2498
- /**
2499
- * City, district, suburb, town, or village.
2500
- */
2501
- city?: string;
2502
-
2503
- /**
2504
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2505
- */
2506
- country?: string;
2507
-
2508
- /**
2509
- * Address line 1, such as the street, PO Box, or company name.
2510
- */
2511
- line1?: string;
2512
-
2513
- /**
2514
- * Address line 2, such as the apartment, suite, unit, or building.
2515
- */
2516
- line2?: string;
2517
-
2518
- /**
2519
- * ZIP or postal code.
2520
- */
2521
- postal_code?: string;
2522
-
2523
- /**
2524
- * State, county, province, or region.
2525
- */
2526
- state?: string;
2527
- }
2528
- }
2529
2066
  }
2530
2067
 
2531
2068
  interface CardPresent {
2069
+ /**
2070
+ * Controls when the funds will be captured from the customer's account.
2071
+ */
2072
+ capture_method?: CardPresent.CaptureMethod;
2073
+
2532
2074
  /**
2533
2075
  * Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
2534
2076
  */
@@ -2543,6 +2085,8 @@ declare module 'stripe' {
2543
2085
  }
2544
2086
 
2545
2087
  namespace CardPresent {
2088
+ type CaptureMethod = 'manual' | 'manual_preferred';
2089
+
2546
2090
  interface Routing {
2547
2091
  /**
2548
2092
  * Requested routing priority
@@ -2696,23 +2240,6 @@ declare module 'stripe' {
2696
2240
  setup_future_usage?: 'none';
2697
2241
  }
2698
2242
 
2699
- interface Gopay {
2700
- /**
2701
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2702
- *
2703
- * 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.
2704
- *
2705
- * 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.
2706
- *
2707
- * 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).
2708
- */
2709
- setup_future_usage?: Gopay.SetupFutureUsage;
2710
- }
2711
-
2712
- namespace Gopay {
2713
- type SetupFutureUsage = 'none' | 'off_session';
2714
- }
2715
-
2716
2243
  interface Grabpay {
2717
2244
  /**
2718
2245
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2726,29 +2253,6 @@ declare module 'stripe' {
2726
2253
  setup_future_usage?: 'none';
2727
2254
  }
2728
2255
 
2729
- interface IdBankTransfer {
2730
- /**
2731
- * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
2732
- */
2733
- expires_after?: number | null;
2734
-
2735
- /**
2736
- * 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.
2737
- */
2738
- expires_at: number | null;
2739
-
2740
- /**
2741
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2742
- *
2743
- * 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.
2744
- *
2745
- * 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.
2746
- *
2747
- * 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).
2748
- */
2749
- setup_future_usage?: 'none';
2750
- }
2751
-
2752
2256
  interface Ideal {
2753
2257
  /**
2754
2258
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -3047,11 +2551,6 @@ declare module 'stripe' {
3047
2551
  */
3048
2552
  capture_method?: 'manual';
3049
2553
 
3050
- /**
3051
- * The line items purchased by the customer.
3052
- */
3053
- line_items?: Array<Paypal.LineItem>;
3054
-
3055
2554
  /**
3056
2555
  * Preferred locale of the PayPal checkout page that the customer is redirected to.
3057
2556
  */
@@ -3062,11 +2561,6 @@ declare module 'stripe' {
3062
2561
  */
3063
2562
  reference: string | null;
3064
2563
 
3065
- /**
3066
- * 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.
3067
- */
3068
- reference_id?: string | null;
3069
-
3070
2564
  /**
3071
2565
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3072
2566
  *
@@ -3077,153 +2571,9 @@ declare module 'stripe' {
3077
2571
  * 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).
3078
2572
  */
3079
2573
  setup_future_usage?: Paypal.SetupFutureUsage;
3080
-
3081
- /**
3082
- * 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.
3083
- */
3084
- subsellers?: Array<string>;
3085
2574
  }
3086
2575
 
3087
2576
  namespace Paypal {
3088
- interface LineItem {
3089
- /**
3090
- * Type of the line item.
3091
- */
3092
- category?: LineItem.Category;
3093
-
3094
- /**
3095
- * Description of the line item.
3096
- */
3097
- description?: string;
3098
-
3099
- /**
3100
- * Descriptive name of the line item.
3101
- */
3102
- name: string;
3103
-
3104
- /**
3105
- * Quantity of the line item. Cannot be a negative number.
3106
- */
3107
- quantity: number;
3108
-
3109
- /**
3110
- * Client facing stock keeping unit, article number or similar.
3111
- */
3112
- sku?: string;
3113
-
3114
- /**
3115
- * 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).
3116
- */
3117
- sold_by?: string;
3118
-
3119
- tax?: LineItem.Tax;
3120
-
3121
- /**
3122
- * Price for a single unit of the line item in minor units. Cannot be a negative number.
3123
- */
3124
- unit_amount: number;
3125
- }
3126
-
3127
- namespace LineItem {
3128
- type Category = 'digital_goods' | 'donation' | 'physical_goods';
3129
-
3130
- interface Tax {
3131
- /**
3132
- * The tax for a single unit of the line item in minor units. Cannot be a negative number.
3133
- */
3134
- amount: number;
3135
-
3136
- /**
3137
- * The tax behavior for the line item.
3138
- */
3139
- behavior: Tax.Behavior;
3140
- }
3141
-
3142
- namespace Tax {
3143
- type Behavior = 'exclusive' | 'inclusive';
3144
- }
3145
- }
3146
-
3147
- type SetupFutureUsage = 'none' | 'off_session';
3148
- }
3149
-
3150
- interface Paypay {}
3151
-
3152
- interface Payto {
3153
- mandate_options?: Payto.MandateOptions;
3154
-
3155
- /**
3156
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3157
- *
3158
- * 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.
3159
- *
3160
- * 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.
3161
- *
3162
- * 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).
3163
- */
3164
- setup_future_usage?: Payto.SetupFutureUsage;
3165
- }
3166
-
3167
- namespace Payto {
3168
- interface MandateOptions {
3169
- /**
3170
- * Amount that will be collected. It is required when `amount_type` is `fixed`.
3171
- */
3172
- amount: number | null;
3173
-
3174
- /**
3175
- * 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.
3176
- */
3177
- amount_type: MandateOptions.AmountType | null;
3178
-
3179
- /**
3180
- * Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
3181
- */
3182
- end_date: string | null;
3183
-
3184
- /**
3185
- * The periodicity at which payments will be collected.
3186
- */
3187
- payment_schedule: MandateOptions.PaymentSchedule | null;
3188
-
3189
- /**
3190
- * 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.
3191
- */
3192
- payments_per_period: number | null;
3193
-
3194
- /**
3195
- * The purpose for which payments are made. Defaults to retail.
3196
- */
3197
- purpose: MandateOptions.Purpose | null;
3198
- }
3199
-
3200
- namespace MandateOptions {
3201
- type AmountType = 'fixed' | 'maximum';
3202
-
3203
- type PaymentSchedule =
3204
- | 'adhoc'
3205
- | 'annual'
3206
- | 'daily'
3207
- | 'fortnightly'
3208
- | 'monthly'
3209
- | 'quarterly'
3210
- | 'semi_annual'
3211
- | 'weekly';
3212
-
3213
- type Purpose =
3214
- | 'dependant_support'
3215
- | 'government'
3216
- | 'loan'
3217
- | 'mortgage'
3218
- | 'other'
3219
- | 'pension'
3220
- | 'personal'
3221
- | 'retail'
3222
- | 'salary'
3223
- | 'tax'
3224
- | 'utility';
3225
- }
3226
-
3227
2577
  type SetupFutureUsage = 'none' | 'off_session';
3228
2578
  }
3229
2579
 
@@ -3243,8 +2593,6 @@ declare module 'stripe' {
3243
2593
  */
3244
2594
  expires_at: number | null;
3245
2595
 
3246
- mandate_options?: Pix.MandateOptions;
3247
-
3248
2596
  /**
3249
2597
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3250
2598
  *
@@ -3254,68 +2602,11 @@ declare module 'stripe' {
3254
2602
  *
3255
2603
  * 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).
3256
2604
  */
3257
- setup_future_usage?: Pix.SetupFutureUsage;
2605
+ setup_future_usage?: 'none';
3258
2606
  }
3259
2607
 
3260
2608
  namespace Pix {
3261
2609
  type AmountIncludesIof = 'always' | 'never';
3262
-
3263
- interface MandateOptions {
3264
- /**
3265
- * Amount to be charged for future payments.
3266
- */
3267
- amount?: number;
3268
-
3269
- /**
3270
- * Determines if the amount includes the IOF tax.
3271
- */
3272
- amount_includes_iof?: MandateOptions.AmountIncludesIof;
3273
-
3274
- /**
3275
- * Type of amount.
3276
- */
3277
- amount_type?: MandateOptions.AmountType;
3278
-
3279
- /**
3280
- * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
3281
- */
3282
- currency?: string;
3283
-
3284
- /**
3285
- * Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
3286
- */
3287
- end_date?: string;
3288
-
3289
- /**
3290
- * Schedule at which the future payments will be charged.
3291
- */
3292
- payment_schedule?: MandateOptions.PaymentSchedule;
3293
-
3294
- /**
3295
- * Subscription name displayed to buyers in their bank app.
3296
- */
3297
- reference?: string;
3298
-
3299
- /**
3300
- * Start date of the mandate, in `YYYY-MM-DD`.
3301
- */
3302
- start_date?: string;
3303
- }
3304
-
3305
- namespace MandateOptions {
3306
- type AmountIncludesIof = 'always' | 'never';
3307
-
3308
- type AmountType = 'fixed' | 'maximum';
3309
-
3310
- type PaymentSchedule =
3311
- | 'halfyearly'
3312
- | 'monthly'
3313
- | 'quarterly'
3314
- | 'weekly'
3315
- | 'yearly';
3316
- }
3317
-
3318
- type SetupFutureUsage = 'none' | 'off_session';
3319
2610
  }
3320
2611
 
3321
2612
  interface Promptpay {
@@ -3331,21 +2622,6 @@ declare module 'stripe' {
3331
2622
  setup_future_usage?: 'none';
3332
2623
  }
3333
2624
 
3334
- interface Qris {
3335
- /**
3336
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3337
- *
3338
- * 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.
3339
- *
3340
- * 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.
3341
- *
3342
- * 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).
3343
- */
3344
- setup_future_usage?: 'none';
3345
- }
3346
-
3347
- interface Rechnung {}
3348
-
3349
2625
  interface RevolutPay {
3350
2626
  /**
3351
2627
  * Controls when the funds will be captured from the customer's account.
@@ -3413,19 +2689,6 @@ declare module 'stripe' {
3413
2689
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
3414
2690
  }
3415
2691
 
3416
- interface Shopeepay {
3417
- /**
3418
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3419
- *
3420
- * 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.
3421
- *
3422
- * 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.
3423
- *
3424
- * 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).
3425
- */
3426
- setup_future_usage?: 'none';
3427
- }
3428
-
3429
2692
  interface Sofort {
3430
2693
  /**
3431
2694
  * Preferred language of the SOFORT authorization page that the customer is redirected to.
@@ -3457,23 +2720,6 @@ declare module 'stripe' {
3457
2720
  type SetupFutureUsage = 'none' | 'off_session';
3458
2721
  }
3459
2722
 
3460
- interface StripeBalance {
3461
- /**
3462
- * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3463
- *
3464
- * 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.
3465
- *
3466
- * 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.
3467
- *
3468
- * 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).
3469
- */
3470
- setup_future_usage?: StripeBalance.SetupFutureUsage;
3471
- }
3472
-
3473
- namespace StripeBalance {
3474
- type SetupFutureUsage = 'none' | 'off_session';
3475
- }
3476
-
3477
2723
  interface Swish {
3478
2724
  /**
3479
2725
  * A reference for this payment to be displayed in the Swish app.
@@ -3541,8 +2787,6 @@ declare module 'stripe' {
3541
2787
  interface FinancialConnections {
3542
2788
  filters?: FinancialConnections.Filters;
3543
2789
 
3544
- manual_entry?: FinancialConnections.ManualEntry;
3545
-
3546
2790
  /**
3547
2791
  * The list of permissions to request. The `payment_method` permission must be included.
3548
2792
  */
@@ -3565,39 +2809,19 @@ declare module 'stripe' {
3565
2809
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
3566
2810
  */
3567
2811
  account_subcategories?: Array<Filters.AccountSubcategory>;
3568
-
3569
- /**
3570
- * The institution to use to filter for possible accounts to link.
3571
- */
3572
- institution?: string;
3573
2812
  }
3574
2813
 
3575
2814
  namespace Filters {
3576
2815
  type AccountSubcategory = 'checking' | 'savings';
3577
2816
  }
3578
2817
 
3579
- interface ManualEntry {
3580
- /**
3581
- * Settings for configuring manual entry of account details.
3582
- */
3583
- mode?: ManualEntry.Mode;
3584
- }
3585
-
3586
- namespace ManualEntry {
3587
- type Mode = 'automatic' | 'custom';
3588
- }
3589
-
3590
2818
  type Permission =
3591
2819
  | 'balances'
3592
2820
  | 'ownership'
3593
2821
  | 'payment_method'
3594
2822
  | 'transactions';
3595
2823
 
3596
- type Prefetch =
3597
- | 'balances'
3598
- | 'inferred_balances'
3599
- | 'ownership'
3600
- | 'transactions';
2824
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
3601
2825
  }
3602
2826
 
3603
2827
  interface MandateOptions {
@@ -3696,8 +2920,6 @@ declare module 'stripe' {
3696
2920
  }
3697
2921
  }
3698
2922
 
3699
- type SecretKeyConfirmation = 'optional' | 'required';
3700
-
3701
2923
  type SetupFutureUsage = 'off_session' | 'on_session';
3702
2924
 
3703
2925
  interface Shipping {