stripe 19.1.0 → 19.2.0-alpha.1

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