stripe 19.3.1 → 19.4.0-alpha.2

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