stripe 19.1.0-beta.1 → 19.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/CHANGELOG.md +21 -1433
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +2 -3
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +1 -115
  6. package/cjs/apiVersion.js +3 -2
  7. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  8. package/cjs/resources/Mandates.js +0 -5
  9. package/cjs/resources/PaymentIntents.js +0 -13
  10. package/cjs/resources/Quotes.js +0 -32
  11. package/cjs/resources/SubscriptionSchedules.js +0 -4
  12. package/cjs/resources/Subscriptions.js +0 -4
  13. package/cjs/resources.js +8 -110
  14. package/cjs/stripe.core.js +9 -8
  15. package/esm/Error.js +0 -100
  16. package/esm/apiVersion.js +2 -1
  17. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  18. package/esm/resources/Mandates.js +0 -5
  19. package/esm/resources/PaymentIntents.js +0 -13
  20. package/esm/resources/Quotes.js +0 -32
  21. package/esm/resources/SubscriptionSchedules.js +0 -4
  22. package/esm/resources/Subscriptions.js +0 -4
  23. package/esm/resources.js +0 -95
  24. package/esm/stripe.core.js +9 -8
  25. package/package.json +1 -1
  26. package/types/AccountLinksResource.d.ts +1 -5
  27. package/types/AccountSessions.d.ts +0 -45
  28. package/types/AccountSessionsResource.d.ts +0 -264
  29. package/types/Accounts.d.ts +1 -212
  30. package/types/AccountsResource.d.ts +0 -544
  31. package/types/Billing/AlertTriggereds.d.ts +1 -1
  32. package/types/Billing/CreditBalanceSummary.d.ts +0 -5
  33. package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
  34. package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
  35. package/types/Billing/CreditGrants.d.ts +0 -5
  36. package/types/Billing/CreditGrantsResource.d.ts +1 -11
  37. package/types/BillingPortal/Sessions.d.ts +0 -5
  38. package/types/BillingPortal/SessionsResource.d.ts +4 -12
  39. package/types/Cards.d.ts +0 -5
  40. package/types/CashBalances.d.ts +0 -5
  41. package/types/Charges.d.ts +0 -171
  42. package/types/ChargesResource.d.ts +0 -1406
  43. package/types/Checkout/Sessions.d.ts +2 -369
  44. package/types/Checkout/SessionsResource.d.ts +2 -634
  45. package/types/ConfirmationTokens.d.ts +0 -125
  46. package/types/Coupons.d.ts +0 -33
  47. package/types/CouponsResource.d.ts +0 -21
  48. package/types/CreditNoteLineItems.d.ts +0 -17
  49. package/types/CreditNotes.d.ts +0 -5
  50. package/types/CreditNotesResource.d.ts +0 -5
  51. package/types/CustomerBalanceTransactions.d.ts +0 -2
  52. package/types/CustomerCashBalanceTransactions.d.ts +0 -2
  53. package/types/CustomerSessions.d.ts +0 -5
  54. package/types/CustomerSessionsResource.d.ts +1 -6
  55. package/types/Customers.d.ts +0 -2
  56. package/types/CustomersResource.d.ts +0 -8
  57. package/types/Discounts.d.ts +0 -10
  58. package/types/Disputes.d.ts +0 -40
  59. package/types/DisputesResource.d.ts +0 -11
  60. package/types/Errors.d.ts +0 -85
  61. package/types/EventTypes.d.ts +0 -664
  62. package/types/Events.d.ts +0 -97
  63. package/types/FinancialConnections/Accounts.d.ts +1 -36
  64. package/types/FinancialConnections/AccountsResource.d.ts +3 -40
  65. package/types/FinancialConnections/Sessions.d.ts +1 -51
  66. package/types/FinancialConnections/SessionsResource.d.ts +1 -43
  67. package/types/Identity/VerificationSessions.d.ts +0 -5
  68. package/types/Identity/VerificationSessionsResource.d.ts +0 -7
  69. package/types/InvoiceItems.d.ts +0 -10
  70. package/types/InvoiceItemsResource.d.ts +6 -117
  71. package/types/InvoiceLineItems.d.ts +1 -45
  72. package/types/InvoicePayments.d.ts +0 -5
  73. package/types/InvoicePaymentsResource.d.ts +1 -10
  74. package/types/Invoices.d.ts +4 -204
  75. package/types/InvoicesResource.d.ts +22 -1647
  76. package/types/Issuing/CardholdersResource.d.ts +1 -2
  77. package/types/Issuing/Transactions.d.ts +0 -5
  78. package/types/Issuing/TransactionsResource.d.ts +0 -5
  79. package/types/LineItems.d.ts +0 -49
  80. package/types/Mandates.d.ts +1 -135
  81. package/types/MandatesResource.d.ts +0 -31
  82. package/types/PaymentIntents.d.ts +3 -825
  83. package/types/PaymentIntentsResource.d.ts +5597 -11436
  84. package/types/PaymentLinks.d.ts +0 -7
  85. package/types/PaymentLinksResource.d.ts +0 -14
  86. package/types/PaymentMethodConfigurations.d.ts +0 -216
  87. package/types/PaymentMethodConfigurationsResource.d.ts +0 -300
  88. package/types/PaymentMethods.d.ts +0 -130
  89. package/types/PaymentMethodsResource.d.ts +2 -167
  90. package/types/Prices.d.ts +0 -22
  91. package/types/PricesResource.d.ts +0 -22
  92. package/types/PromotionCodes.d.ts +0 -5
  93. package/types/PromotionCodesResource.d.ts +0 -10
  94. package/types/Quotes.d.ts +1 -594
  95. package/types/QuotesResource.d.ts +290 -2635
  96. package/types/Refunds.d.ts +0 -14
  97. package/types/SetupAttempts.d.ts +1 -51
  98. package/types/SetupIntents.d.ts +2 -210
  99. package/types/SetupIntentsResource.d.ts +3 -937
  100. package/types/Sources.d.ts +0 -29
  101. package/types/SubscriptionItems.d.ts +0 -26
  102. package/types/SubscriptionItemsResource.d.ts +0 -109
  103. package/types/SubscriptionSchedules.d.ts +0 -205
  104. package/types/SubscriptionSchedulesResource.d.ts +4 -1232
  105. package/types/Subscriptions.d.ts +1 -263
  106. package/types/SubscriptionsResource.d.ts +8 -747
  107. package/types/TaxIds.d.ts +0 -10
  108. package/types/TaxIdsResource.d.ts +0 -10
  109. package/types/Terminal/Configurations.d.ts +0 -9
  110. package/types/Terminal/ConfigurationsResource.d.ts +0 -28
  111. package/types/Terminal/Readers.d.ts +0 -20
  112. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
  113. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  114. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  115. package/types/Transfers.d.ts +0 -5
  116. package/types/TransfersResource.d.ts +0 -5
  117. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  118. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  119. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  120. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  121. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  122. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  123. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  124. package/types/V2/Core/EventTypes.d.ts +10 -1647
  125. package/types/V2/EventMisc.d.ts +8 -0
  126. package/types/WebhookEndpointsResource.d.ts +0 -78
  127. package/types/apiVersion.d.ts +2 -1
  128. package/types/index.d.ts +0 -160
  129. package/types/lib.d.ts +0 -10
  130. package/types/test/typescriptTest.ts +7 -0
  131. package/cjs/resources/AccountNotices.js +0 -21
  132. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
  133. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  134. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  135. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  136. package/cjs/resources/ExternalAccounts.js +0 -23
  137. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  138. package/cjs/resources/FxQuotes.js +0 -15
  139. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  140. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  141. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  142. package/cjs/resources/Margins.js +0 -22
  143. package/cjs/resources/Orders.js +0 -24
  144. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  145. package/cjs/resources/PaymentRecords.js +0 -33
  146. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  147. package/cjs/resources/Tax/Associations.js +0 -9
  148. package/cjs/resources/Tax/Forms.js +0 -20
  149. package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
  150. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  151. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
  152. package/cjs/resources/V2/Billing/BillSettings.js +0 -27
  153. package/cjs/resources/V2/Billing/Cadences.js +0 -23
  154. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
  155. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
  156. package/cjs/resources/V2/Billing/Profiles.js +0 -19
  157. package/cjs/resources/V2/Core/AccountLinks.js +0 -9
  158. package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
  159. package/cjs/resources/V2/Core/Accounts.js +0 -25
  160. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
  161. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
  162. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  163. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -25
  164. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  165. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  166. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  167. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  168. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  169. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  170. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  171. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  172. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  173. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  174. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  175. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  176. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -29
  177. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  178. package/esm/resources/AccountNotices.js +0 -18
  179. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
  180. package/esm/resources/Capital/FinancingOffers.js +0 -18
  181. package/esm/resources/Capital/FinancingSummary.js +0 -9
  182. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  183. package/esm/resources/ExternalAccounts.js +0 -20
  184. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  185. package/esm/resources/FxQuotes.js +0 -12
  186. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  187. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  188. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  189. package/esm/resources/Margins.js +0 -19
  190. package/esm/resources/Orders.js +0 -21
  191. package/esm/resources/PaymentAttemptRecords.js +0 -14
  192. package/esm/resources/PaymentRecords.js +0 -30
  193. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  194. package/esm/resources/Tax/Associations.js +0 -6
  195. package/esm/resources/Tax/Forms.js +0 -17
  196. package/esm/resources/Terminal/OnboardingLinks.js +0 -9
  197. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  198. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
  199. package/esm/resources/V2/Billing/BillSettings.js +0 -24
  200. package/esm/resources/V2/Billing/Cadences.js +0 -20
  201. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
  202. package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
  203. package/esm/resources/V2/Billing/Profiles.js +0 -16
  204. package/esm/resources/V2/Core/AccountLinks.js +0 -6
  205. package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
  206. package/esm/resources/V2/Core/Accounts.js +0 -22
  207. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
  208. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
  209. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  210. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -22
  211. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  212. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  213. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  214. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  215. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  216. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  217. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  218. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  219. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  220. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  221. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  222. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  223. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -26
  224. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  225. package/types/AccountNotices.d.ts +0 -113
  226. package/types/AccountNoticesResource.d.ts +0 -98
  227. package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
  228. package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
  229. package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
  230. package/types/Capital/FinancingOffers.d.ts +0 -188
  231. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  232. package/types/Capital/FinancingSummary.d.ts +0 -106
  233. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  234. package/types/Capital/FinancingTransactions.d.ts +0 -135
  235. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  236. package/types/ExternalAccountsResource.d.ts +0 -304
  237. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  238. package/types/FinancialConnections/Institutions.d.ts +0 -98
  239. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  240. package/types/FxQuotes.d.ts +0 -155
  241. package/types/FxQuotesResource.d.ts +0 -130
  242. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  243. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  244. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  245. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  246. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  247. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  248. package/types/Issuing/Settlements.d.ts +0 -113
  249. package/types/Margins.d.ts +0 -56
  250. package/types/MarginsResource.d.ts +0 -114
  251. package/types/Orders.d.ts +0 -1163
  252. package/types/OrdersResource.d.ts +0 -3139
  253. package/types/PaymentAttemptRecords.d.ts +0 -2360
  254. package/types/PaymentAttemptRecordsResource.d.ts +0 -52
  255. package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
  256. package/types/PaymentRecords.d.ts +0 -2353
  257. package/types/PaymentRecordsResource.d.ts +0 -559
  258. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
  259. package/types/Privacy/RedactionJobs.d.ts +0 -111
  260. package/types/Privacy/RedactionJobsResource.d.ts +0 -230
  261. package/types/QuoteLines.d.ts +0 -634
  262. package/types/QuotePreviewInvoices.d.ts +0 -1770
  263. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
  264. package/types/Tax/Associations.d.ts +0 -82
  265. package/types/Tax/AssociationsResource.d.ts +0 -29
  266. package/types/Tax/Forms.d.ts +0 -220
  267. package/types/Tax/FormsResource.d.ts +0 -107
  268. package/types/Terminal/OnboardingLinks.d.ts +0 -57
  269. package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
  270. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  271. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  272. package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
  273. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
  274. package/types/V2/Billing/BillSettings.d.ts +0 -120
  275. package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
  276. package/types/V2/Billing/Cadences.d.ts +0 -686
  277. package/types/V2/Billing/CadencesResource.d.ts +0 -487
  278. package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -314
  279. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
  280. package/types/V2/Billing/CollectionSettings.d.ts +0 -337
  281. package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -675
  282. package/types/V2/Billing/Profiles.d.ts +0 -70
  283. package/types/V2/Billing/ProfilesResource.d.ts +0 -150
  284. package/types/V2/Core/AccountLinks.d.ts +0 -168
  285. package/types/V2/Core/AccountLinksResource.d.ts +0 -152
  286. package/types/V2/Core/AccountPersons.d.ts +0 -615
  287. package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -1153
  288. package/types/V2/Core/Accounts.d.ts +0 -5919
  289. package/types/V2/Core/AccountsResource.d.ts +0 -4999
  290. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
  291. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
  292. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
  293. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
  294. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  295. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  296. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  297. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  298. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -148
  299. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -147
  300. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -178
  301. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -112
  302. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
  303. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  304. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
  305. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  306. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
  307. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
  308. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  309. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
  310. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
  311. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
  312. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
  313. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
  314. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  315. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
  316. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -302
  317. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  318. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
  319. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  320. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
  321. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  322. package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
  323. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  324. package/types/V2/Payments/OffSessionPayments.d.ts +0 -326
  325. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -401
  326. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
@@ -106,15 +106,6 @@ declare module 'stripe' {
106
106
  */
107
107
  customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
108
108
 
109
- /**
110
- * ID of the Account this PaymentIntent belongs to, if one exists.
111
- *
112
- * Payment methods attached to other Accounts cannot be used with this PaymentIntent.
113
- *
114
- * If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
115
- */
116
- customer_account?: string | null;
117
-
118
109
  /**
119
110
  * An arbitrary string attached to the object. Often useful for displaying to users.
120
111
  */
@@ -127,13 +118,6 @@ declare module 'stripe' {
127
118
  PaymentIntent.ExcludedPaymentMethodType
128
119
  > | null;
129
120
 
130
- /**
131
- * The FX Quote used for the PaymentIntent.
132
- */
133
- fx_quote?: string | null;
134
-
135
- hooks?: PaymentIntent.Hooks;
136
-
137
121
  /**
138
122
  * The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
139
123
  */
@@ -164,8 +148,6 @@ declare module 'stripe' {
164
148
  */
165
149
  on_behalf_of: string | Stripe.Account | null;
166
150
 
167
- payment_details?: PaymentIntent.PaymentDetails;
168
-
169
151
  /**
170
152
  * ID of the payment method used in this PaymentIntent.
171
153
  */
@@ -203,11 +185,6 @@ declare module 'stripe' {
203
185
  */
204
186
  review: string | Stripe.Review | null;
205
187
 
206
- /**
207
- * Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
208
- */
209
- secret_key_confirmation?: PaymentIntent.SecretKeyConfirmation;
210
-
211
188
  /**
212
189
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
213
190
  *
@@ -263,48 +240,10 @@ declare module 'stripe' {
263
240
 
264
241
  namespace PaymentIntent {
265
242
  interface AmountDetails {
266
- /**
267
- * The 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
-
280
243
  tip?: AmountDetails.Tip;
281
244
  }
282
245
 
283
246
  namespace AmountDetails {
284
- interface Shipping {
285
- /**
286
- * Portion of the amount that is for shipping.
287
- */
288
- amount: number | null;
289
-
290
- /**
291
- * The postal code that represents the shipping source.
292
- */
293
- from_postal_code: string | null;
294
-
295
- /**
296
- * The postal code that represents the shipping destination.
297
- */
298
- to_postal_code: string | null;
299
- }
300
-
301
- interface Tax {
302
- /**
303
- * Total portion of the amount that is for tax.
304
- */
305
- total_tax_amount: number | null;
306
- }
307
-
308
247
  interface Tip {
309
248
  /**
310
249
  * Portion of the amount that corresponds to a tip.
@@ -365,9 +304,7 @@ declare module 'stripe' {
365
304
  | 'eps'
366
305
  | 'fpx'
367
306
  | 'giropay'
368
- | 'gopay'
369
307
  | 'grabpay'
370
- | 'id_bank_transfer'
371
308
  | 'ideal'
372
309
  | 'kakao_pay'
373
310
  | 'klarna'
@@ -384,44 +321,19 @@ declare module 'stripe' {
384
321
  | 'payco'
385
322
  | 'paynow'
386
323
  | 'paypal'
387
- | 'paypay'
388
- | 'payto'
389
324
  | 'pix'
390
325
  | 'promptpay'
391
- | 'qris'
392
- | 'rechnung'
393
326
  | 'revolut_pay'
394
327
  | 'samsung_pay'
395
328
  | 'satispay'
396
329
  | 'sepa_debit'
397
- | 'shopeepay'
398
330
  | 'sofort'
399
- | 'stripe_balance'
400
331
  | 'swish'
401
332
  | 'twint'
402
333
  | 'us_bank_account'
403
334
  | 'wechat_pay'
404
335
  | 'zip';
405
336
 
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
-
425
337
  interface LastPaymentError {
426
338
  /**
427
339
  * For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.
@@ -588,7 +500,6 @@ declare module 'stripe' {
588
500
  | 'financial_connections_account_inactive'
589
501
  | 'financial_connections_account_pending_account_numbers'
590
502
  | 'financial_connections_account_unavailable_account_numbers'
591
- | 'financial_connections_institution_unavailable'
592
503
  | 'financial_connections_no_successful_transaction_refresh'
593
504
  | 'forwarding_api_inactive'
594
505
  | 'forwarding_api_invalid_parameter'
@@ -686,7 +597,6 @@ declare module 'stripe' {
686
597
  | 'return_intent_already_processed'
687
598
  | 'routing_number_invalid'
688
599
  | 'secret_key_required'
689
- | 'sensitive_data_access_expired'
690
600
  | 'sepa_unsupported_account'
691
601
  | 'setup_attempt_failed'
692
602
  | 'setup_intent_authentication_failure'
@@ -706,7 +616,6 @@ declare module 'stripe' {
706
616
  | 'taxes_calculation_failed'
707
617
  | 'terminal_location_country_unsupported'
708
618
  | 'terminal_reader_busy'
709
- | 'terminal_reader_collected_data_invalid'
710
619
  | 'terminal_reader_hardware_fault'
711
620
  | 'terminal_reader_invalid_location_for_activation'
712
621
  | 'terminal_reader_invalid_location_for_payment'
@@ -719,9 +628,7 @@ declare module 'stripe' {
719
628
  | 'token_in_use'
720
629
  | 'transfer_source_balance_parameters_mismatch'
721
630
  | 'transfers_not_allowed'
722
- | 'url_invalid'
723
- | 'v2_account_disconnection_unsupported'
724
- | 'v2_account_missing_configuration';
631
+ | 'url_invalid';
725
632
 
726
633
  type Type =
727
634
  | 'api_error'
@@ -1485,338 +1392,6 @@ declare module 'stripe' {
1485
1392
  }
1486
1393
  }
1487
1394
 
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
-
1820
1395
  interface PaymentMethodConfigurationDetails {
1821
1396
  /**
1822
1397
  * ID of the payment method configuration used.
@@ -1870,12 +1445,8 @@ declare module 'stripe' {
1870
1445
 
1871
1446
  giropay?: PaymentMethodOptions.Giropay;
1872
1447
 
1873
- gopay?: PaymentMethodOptions.Gopay;
1874
-
1875
1448
  grabpay?: PaymentMethodOptions.Grabpay;
1876
1449
 
1877
- id_bank_transfer?: PaymentMethodOptions.IdBankTransfer;
1878
-
1879
1450
  ideal?: PaymentMethodOptions.Ideal;
1880
1451
 
1881
1452
  interac_present?: PaymentMethodOptions.InteracPresent;
@@ -1912,18 +1483,10 @@ declare module 'stripe' {
1912
1483
 
1913
1484
  paypal?: PaymentMethodOptions.Paypal;
1914
1485
 
1915
- paypay?: PaymentMethodOptions.Paypay;
1916
-
1917
- payto?: PaymentMethodOptions.Payto;
1918
-
1919
1486
  pix?: PaymentMethodOptions.Pix;
1920
1487
 
1921
1488
  promptpay?: PaymentMethodOptions.Promptpay;
1922
1489
 
1923
- qris?: PaymentMethodOptions.Qris;
1924
-
1925
- rechnung?: PaymentMethodOptions.Rechnung;
1926
-
1927
1490
  revolut_pay?: PaymentMethodOptions.RevolutPay;
1928
1491
 
1929
1492
  samsung_pay?: PaymentMethodOptions.SamsungPay;
@@ -1932,12 +1495,8 @@ declare module 'stripe' {
1932
1495
 
1933
1496
  sepa_debit?: PaymentMethodOptions.SepaDebit;
1934
1497
 
1935
- shopeepay?: PaymentMethodOptions.Shopeepay;
1936
-
1937
1498
  sofort?: PaymentMethodOptions.Sofort;
1938
1499
 
1939
- stripe_balance?: PaymentMethodOptions.StripeBalance;
1940
-
1941
1500
  swish?: PaymentMethodOptions.Swish;
1942
1501
 
1943
1502
  twint?: PaymentMethodOptions.Twint;
@@ -2244,11 +1803,6 @@ declare module 'stripe' {
2244
1803
  */
2245
1804
  network: Card.Network | null;
2246
1805
 
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
-
2252
1806
  /**
2253
1807
  * Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
2254
1808
  */
@@ -2269,11 +1823,6 @@ declare module 'stripe' {
2269
1823
  */
2270
1824
  request_overcapture?: Card.RequestOvercapture;
2271
1825
 
2272
- /**
2273
- * Request partial authorization on this PaymentIntent.
2274
- */
2275
- request_partial_authorization?: Card.RequestPartialAuthorization;
2276
-
2277
1826
  /**
2278
1827
  * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
2279
1828
  */
@@ -2304,8 +1853,6 @@ declare module 'stripe' {
2304
1853
  * Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
2305
1854
  */
2306
1855
  statement_descriptor_suffix_kanji?: string;
2307
-
2308
- statement_details?: Card.StatementDetails;
2309
1856
  }
2310
1857
 
2311
1858
  namespace Card {
@@ -2440,8 +1987,6 @@ declare module 'stripe' {
2440
1987
  | 'unknown'
2441
1988
  | 'visa';
2442
1989
 
2443
- type RequestDecrementalAuthorization = 'if_available' | 'never';
2444
-
2445
1990
  type RequestExtendedAuthorization = 'if_available' | 'never';
2446
1991
 
2447
1992
  type RequestIncrementalAuthorization = 'if_available' | 'never';
@@ -2450,54 +1995,9 @@ declare module 'stripe' {
2450
1995
 
2451
1996
  type RequestOvercapture = 'if_available' | 'never';
2452
1997
 
2453
- type RequestPartialAuthorization = 'if_available' | 'never';
2454
-
2455
1998
  type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
2456
1999
 
2457
2000
  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
- }
2501
2001
  }
2502
2002
 
2503
2003
  interface CardPresent {
@@ -2668,23 +2168,6 @@ declare module 'stripe' {
2668
2168
  setup_future_usage?: 'none';
2669
2169
  }
2670
2170
 
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
-
2688
2171
  interface Grabpay {
2689
2172
  /**
2690
2173
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2698,29 +2181,6 @@ declare module 'stripe' {
2698
2181
  setup_future_usage?: 'none';
2699
2182
  }
2700
2183
 
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
-
2724
2184
  interface Ideal {
2725
2185
  /**
2726
2186
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -3019,11 +2479,6 @@ declare module 'stripe' {
3019
2479
  */
3020
2480
  capture_method?: 'manual';
3021
2481
 
3022
- /**
3023
- * The line items purchased by the customer.
3024
- */
3025
- line_items?: Array<Paypal.LineItem>;
3026
-
3027
2482
  /**
3028
2483
  * Preferred locale of the PayPal checkout page that the customer is redirected to.
3029
2484
  */
@@ -3034,11 +2489,6 @@ declare module 'stripe' {
3034
2489
  */
3035
2490
  reference: string | null;
3036
2491
 
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
-
3042
2492
  /**
3043
2493
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3044
2494
  *
@@ -3049,153 +2499,9 @@ declare module 'stripe' {
3049
2499
  * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
3050
2500
  */
3051
2501
  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>;
3057
2502
  }
3058
2503
 
3059
2504
  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
-
3199
2505
  type SetupFutureUsage = 'none' | 'off_session';
3200
2506
  }
3201
2507
 
@@ -3215,8 +2521,6 @@ declare module 'stripe' {
3215
2521
  */
3216
2522
  expires_at: number | null;
3217
2523
 
3218
- mandate_options?: Pix.MandateOptions;
3219
-
3220
2524
  /**
3221
2525
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
3222
2526
  *
@@ -3226,68 +2530,11 @@ declare module 'stripe' {
3226
2530
  *
3227
2531
  * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
3228
2532
  */
3229
- setup_future_usage?: Pix.SetupFutureUsage;
2533
+ setup_future_usage?: 'none';
3230
2534
  }
3231
2535
 
3232
2536
  namespace Pix {
3233
2537
  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';
3291
2538
  }
3292
2539
 
3293
2540
  interface Promptpay {
@@ -3303,21 +2550,6 @@ declare module 'stripe' {
3303
2550
  setup_future_usage?: 'none';
3304
2551
  }
3305
2552
 
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
-
3321
2553
  interface RevolutPay {
3322
2554
  /**
3323
2555
  * Controls when the funds will be captured from the customer's account.
@@ -3385,19 +2617,6 @@ declare module 'stripe' {
3385
2617
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
3386
2618
  }
3387
2619
 
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
-
3401
2620
  interface Sofort {
3402
2621
  /**
3403
2622
  * Preferred language of the SOFORT authorization page that the customer is redirected to.
@@ -3429,23 +2648,6 @@ declare module 'stripe' {
3429
2648
  type SetupFutureUsage = 'none' | 'off_session';
3430
2649
  }
3431
2650
 
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
-
3449
2651
  interface Swish {
3450
2652
  /**
3451
2653
  * A reference for this payment to be displayed in the Swish app.
@@ -3513,8 +2715,6 @@ declare module 'stripe' {
3513
2715
  interface FinancialConnections {
3514
2716
  filters?: FinancialConnections.Filters;
3515
2717
 
3516
- manual_entry?: FinancialConnections.ManualEntry;
3517
-
3518
2718
  /**
3519
2719
  * The list of permissions to request. The `payment_method` permission must be included.
3520
2720
  */
@@ -3537,39 +2737,19 @@ declare module 'stripe' {
3537
2737
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
3538
2738
  */
3539
2739
  account_subcategories?: Array<Filters.AccountSubcategory>;
3540
-
3541
- /**
3542
- * The institution to use to filter for possible accounts to link.
3543
- */
3544
- institution?: string;
3545
2740
  }
3546
2741
 
3547
2742
  namespace Filters {
3548
2743
  type AccountSubcategory = 'checking' | 'savings';
3549
2744
  }
3550
2745
 
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
-
3562
2746
  type Permission =
3563
2747
  | 'balances'
3564
2748
  | 'ownership'
3565
2749
  | 'payment_method'
3566
2750
  | 'transactions';
3567
2751
 
3568
- type Prefetch =
3569
- | 'balances'
3570
- | 'inferred_balances'
3571
- | 'ownership'
3572
- | 'transactions';
2752
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
3573
2753
  }
3574
2754
 
3575
2755
  interface MandateOptions {
@@ -3668,8 +2848,6 @@ declare module 'stripe' {
3668
2848
  }
3669
2849
  }
3670
2850
 
3671
- type SecretKeyConfirmation = 'optional' | 'required';
3672
-
3673
2851
  type SetupFutureUsage = 'off_session' | 'on_session';
3674
2852
 
3675
2853
  interface Shipping {