stripe 23.1.0 → 23.2.0-beta.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 (773) hide show
  1. package/CHANGELOG.md +1914 -4850
  2. package/README.md +42 -58
  3. package/VERSION +1 -1
  4. package/cjs/Error.d.ts +6 -0
  5. package/cjs/Error.js +17 -1
  6. package/cjs/Error.js.map +1 -1
  7. package/cjs/StripeEventNotificationHandler.js +54 -0
  8. package/cjs/StripeEventNotificationHandler.js.map +1 -1
  9. package/cjs/Types.d.ts +4 -2
  10. package/cjs/Types.js.map +1 -1
  11. package/cjs/apiVersion.d.ts +2 -2
  12. package/cjs/apiVersion.js +2 -2
  13. package/cjs/apiVersion.js.map +1 -1
  14. package/cjs/resources/AccountLinks.d.ts +1 -1
  15. package/cjs/resources/AccountNotices.d.ts +140 -0
  16. package/cjs/resources/AccountNotices.js +29 -0
  17. package/cjs/resources/AccountNotices.js.map +1 -0
  18. package/cjs/resources/AccountSessions.d.ts +226 -0
  19. package/cjs/resources/AccountSessions.js.map +1 -1
  20. package/cjs/resources/Accounts.d.ts +625 -3
  21. package/cjs/resources/Accounts.js +14 -0
  22. package/cjs/resources/Accounts.js.map +1 -1
  23. package/cjs/resources/Balance.d.ts +67 -0
  24. package/cjs/resources/BalanceSettings.d.ts +18 -0
  25. package/cjs/resources/BankAccounts.d.ts +2 -2
  26. package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
  27. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +85 -0
  28. package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
  29. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  30. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
  31. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
  32. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  33. package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
  34. package/cjs/resources/Billing/Analytics/index.js +13 -0
  35. package/cjs/resources/Billing/Analytics/index.js.map +1 -0
  36. package/cjs/resources/Billing/index.d.ts +3 -0
  37. package/cjs/resources/Billing/index.js +2 -0
  38. package/cjs/resources/Billing/index.js.map +1 -1
  39. package/cjs/resources/Capabilities.d.ts +2 -2
  40. package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
  41. package/cjs/resources/Capital/FinancingOffers.js +30 -0
  42. package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
  43. package/cjs/resources/Capital/FinancingSummary.d.ts +102 -0
  44. package/cjs/resources/Capital/FinancingSummary.js +15 -0
  45. package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
  46. package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
  47. package/cjs/resources/Capital/FinancingTransactions.js +24 -0
  48. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
  49. package/cjs/resources/Capital/index.d.ts +25 -0
  50. package/cjs/resources/Capital/index.js +17 -0
  51. package/cjs/resources/Capital/index.js.map +1 -0
  52. package/cjs/resources/Cards.d.ts +17 -0
  53. package/cjs/resources/Charges.d.ts +3077 -70
  54. package/cjs/resources/Checkout/Sessions.d.ts +351 -4
  55. package/cjs/resources/ConfirmationTokens.d.ts +67 -1
  56. package/cjs/resources/Coupons.d.ts +53 -0
  57. package/cjs/resources/Coupons.js +13 -0
  58. package/cjs/resources/Coupons.js.map +1 -1
  59. package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
  60. package/cjs/resources/CreditNotes.d.ts +1 -1
  61. package/cjs/resources/CustomerSessions.d.ts +68 -0
  62. package/cjs/resources/Customers.d.ts +20 -1
  63. package/cjs/resources/Customers.js +14 -0
  64. package/cjs/resources/Customers.js.map +1 -1
  65. package/cjs/resources/Disputes.d.ts +14 -0
  66. package/cjs/resources/Events.d.ts +614 -3
  67. package/cjs/resources/ExternalAccounts.d.ts +212 -1
  68. package/cjs/resources/ExternalAccounts.js +44 -0
  69. package/cjs/resources/ExternalAccounts.js.map +1 -1
  70. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  71. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
  72. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  73. package/cjs/resources/FinancialConnections/Accounts.d.ts +69 -4
  74. package/cjs/resources/FinancialConnections/Accounts.js +8 -0
  75. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  76. package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
  77. package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
  78. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  79. package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
  80. package/cjs/resources/FinancialConnections/Institutions.js +23 -0
  81. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
  82. package/cjs/resources/FinancialConnections/Sessions.d.ts +124 -9
  83. package/cjs/resources/FinancialConnections/index.d.ts +21 -9
  84. package/cjs/resources/FinancialConnections/index.js +4 -0
  85. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  86. package/cjs/resources/FxQuotes.d.ts +216 -0
  87. package/cjs/resources/FxQuotes.js +29 -0
  88. package/cjs/resources/FxQuotes.js.map +1 -0
  89. package/cjs/resources/InvoiceItems.d.ts +85 -0
  90. package/cjs/resources/InvoiceItems.js.map +1 -1
  91. package/cjs/resources/InvoiceLineItems.d.ts +40 -2
  92. package/cjs/resources/Invoices.d.ts +1257 -10
  93. package/cjs/resources/Invoices.js +41 -0
  94. package/cjs/resources/Invoices.js.map +1 -1
  95. package/cjs/resources/Issuing/Authorizations.d.ts +13 -0
  96. package/cjs/resources/Issuing/Cardholders.d.ts +19 -1
  97. package/cjs/resources/Issuing/Cards.d.ts +13 -0
  98. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
  99. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
  100. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  101. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  102. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  103. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  104. package/cjs/resources/Issuing/Disputes.d.ts +13 -0
  105. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  106. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  107. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  108. package/cjs/resources/Issuing/Settlements.d.ts +83 -0
  109. package/cjs/resources/Issuing/Settlements.js +4 -0
  110. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  111. package/cjs/resources/Issuing/Transactions.d.ts +22 -0
  112. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  113. package/cjs/resources/Issuing/index.d.ts +47 -22
  114. package/cjs/resources/Issuing/index.js +6 -0
  115. package/cjs/resources/Issuing/index.js.map +1 -1
  116. package/cjs/resources/LineItems.d.ts +29 -2
  117. package/cjs/resources/Mandates.d.ts +36 -2
  118. package/cjs/resources/Mandates.js +8 -0
  119. package/cjs/resources/Mandates.js.map +1 -1
  120. package/cjs/resources/Margins.d.ts +115 -0
  121. package/cjs/resources/Margins.js +35 -0
  122. package/cjs/resources/Margins.js.map +1 -0
  123. package/cjs/resources/Orders.d.ts +4696 -0
  124. package/cjs/resources/Orders.js +457 -0
  125. package/cjs/resources/Orders.js.map +1 -0
  126. package/cjs/resources/PaymentAttemptRecords.d.ts +82 -0
  127. package/cjs/resources/PaymentIntents.d.ts +13832 -2816
  128. package/cjs/resources/PaymentIntents.js +27 -0
  129. package/cjs/resources/PaymentIntents.js.map +1 -1
  130. package/cjs/resources/PaymentLinks.d.ts +3 -3
  131. package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
  132. package/cjs/resources/PaymentMethods.d.ts +181 -3
  133. package/cjs/resources/PaymentMethods.js.map +1 -1
  134. package/cjs/resources/PaymentPlans.d.ts +427 -0
  135. package/cjs/resources/PaymentPlans.js +35 -0
  136. package/cjs/resources/PaymentPlans.js.map +1 -0
  137. package/cjs/resources/PaymentRecords.d.ts +82 -0
  138. package/cjs/resources/Persons.d.ts +2 -2
  139. package/cjs/resources/Prices.d.ts +36 -0
  140. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
  141. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  142. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  143. package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
  144. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  145. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  146. package/cjs/resources/Privacy/index.d.ts +22 -0
  147. package/cjs/resources/Privacy/index.js +13 -0
  148. package/cjs/resources/Privacy/index.js.map +1 -0
  149. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
  150. package/cjs/resources/PromotionCodes.d.ts +12 -0
  151. package/cjs/resources/PromotionCodes.js +27 -0
  152. package/cjs/resources/PromotionCodes.js.map +1 -1
  153. package/cjs/resources/QuoteLines.d.ts +507 -0
  154. package/cjs/resources/QuoteLines.js +4 -0
  155. package/cjs/resources/QuoteLines.js.map +1 -0
  156. package/cjs/resources/QuotePreviewInvoices.d.ts +1170 -0
  157. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  158. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  159. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +924 -0
  160. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  161. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  162. package/cjs/resources/Quotes.d.ts +2266 -57
  163. package/cjs/resources/Quotes.js +1184 -16
  164. package/cjs/resources/Quotes.js.map +1 -1
  165. package/cjs/resources/Radar/BillingEvaluations.d.ts +374 -0
  166. package/cjs/resources/Radar/BillingEvaluations.js +15 -0
  167. package/cjs/resources/Radar/BillingEvaluations.js.map +1 -0
  168. package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
  169. package/cjs/resources/Radar/ValueListItems.d.ts +31 -1
  170. package/cjs/resources/Radar/index.d.ts +21 -16
  171. package/cjs/resources/Radar/index.js +2 -0
  172. package/cjs/resources/Radar/index.js.map +1 -1
  173. package/cjs/resources/Refunds.d.ts +11 -0
  174. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  175. package/cjs/resources/Reserve/Holds.js +19 -0
  176. package/cjs/resources/Reserve/Holds.js.map +1 -1
  177. package/cjs/resources/Reserve/Plans.d.ts +41 -1
  178. package/cjs/resources/Reserve/Plans.js +19 -0
  179. package/cjs/resources/Reserve/Plans.js.map +1 -1
  180. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  181. package/cjs/resources/Reserve/Releases.js +19 -0
  182. package/cjs/resources/Reserve/Releases.js.map +1 -1
  183. package/cjs/resources/Reserve/index.d.ts +18 -6
  184. package/cjs/resources/Reserve/index.js +9 -0
  185. package/cjs/resources/Reserve/index.js.map +1 -1
  186. package/cjs/resources/SetupAttempts.d.ts +26 -1
  187. package/cjs/resources/SetupIntents.d.ts +394 -11
  188. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +418 -0
  189. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  190. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  191. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +330 -0
  192. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  193. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  194. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  195. package/cjs/resources/SharedPayment/index.js +15 -0
  196. package/cjs/resources/SharedPayment/index.js.map +1 -0
  197. package/cjs/resources/Sources.d.ts +29 -1
  198. package/cjs/resources/SubscriptionItems.d.ts +114 -0
  199. package/cjs/resources/SubscriptionSchedules.d.ts +1157 -5
  200. package/cjs/resources/SubscriptionSchedules.js +6 -0
  201. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  202. package/cjs/resources/Subscriptions.d.ts +388 -6
  203. package/cjs/resources/Subscriptions.js +42 -0
  204. package/cjs/resources/Subscriptions.js.map +1 -1
  205. package/cjs/resources/Tax/Forms.d.ts +228 -0
  206. package/cjs/resources/Tax/Forms.js +32 -0
  207. package/cjs/resources/Tax/Forms.js.map +1 -0
  208. package/cjs/resources/Tax/Registrations.d.ts +25 -2
  209. package/cjs/resources/Tax/index.d.ts +24 -17
  210. package/cjs/resources/Tax/index.js +2 -0
  211. package/cjs/resources/Tax/index.js.map +1 -1
  212. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  213. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  214. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  215. package/cjs/resources/Terminal/Readers.d.ts +17 -1
  216. package/cjs/resources/Terminal/index.d.ts +5 -0
  217. package/cjs/resources/Terminal/index.js +2 -0
  218. package/cjs/resources/Terminal/index.js.map +1 -1
  219. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +95 -1
  220. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
  221. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  222. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  223. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  224. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  225. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  226. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  227. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  228. package/cjs/resources/TestHelpers/index.d.ts +3 -0
  229. package/cjs/resources/TestHelpers/index.js +6 -4
  230. package/cjs/resources/TestHelpers/index.js.map +1 -1
  231. package/cjs/resources/Tokens.d.ts +15 -0
  232. package/cjs/resources/Transfers.d.ts +8 -0
  233. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  234. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  235. package/cjs/resources/Treasury/OutboundPayments.d.ts +26 -0
  236. package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
  237. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  238. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  239. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
  240. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  241. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  242. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  243. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  244. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  245. package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
  246. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  247. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  248. package/cjs/resources/V2/Billing/Cadences.d.ts +958 -0
  249. package/cjs/resources/V2/Billing/Cadences.js +198 -0
  250. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  251. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
  252. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  253. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  254. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  255. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  256. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  257. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  258. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  259. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  260. package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
  261. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  262. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  263. package/cjs/resources/V2/Billing/index.d.ts +45 -6
  264. package/cjs/resources/V2/Billing/index.js +8 -0
  265. package/cjs/resources/V2/Billing/index.js.map +1 -1
  266. package/cjs/resources/V2/Core/AccountTokens.d.ts +28 -1
  267. package/cjs/resources/V2/Core/Accounts.d.ts +1465 -71
  268. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +378 -0
  269. package/cjs/resources/V2/Core/ApprovalRequests.js +39 -0
  270. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
  271. package/cjs/resources/V2/Core/BatchJobs.d.ts +392 -0
  272. package/cjs/resources/V2/Core/BatchJobs.js +252 -0
  273. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  274. package/cjs/resources/V2/Core/Events.d.ts +1009 -5
  275. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
  276. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  277. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
  278. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  279. package/cjs/resources/V2/Core/index.d.ts +24 -9
  280. package/cjs/resources/V2/Core/index.js +4 -0
  281. package/cjs/resources/V2/Core/index.js.map +1 -1
  282. package/cjs/resources/V2/Data/QueryRuns.d.ts +299 -0
  283. package/cjs/resources/V2/Data/QueryRuns.js +51 -0
  284. package/cjs/resources/V2/Data/QueryRuns.js.map +1 -0
  285. package/cjs/resources/V2/Data/ReportRuns.d.ts +303 -0
  286. package/cjs/resources/V2/Data/ReportRuns.js +53 -0
  287. package/cjs/resources/V2/Data/ReportRuns.js.map +1 -0
  288. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +152 -0
  289. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  290. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  291. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  292. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  293. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  294. package/cjs/resources/V2/Data/Reports.d.ts +140 -0
  295. package/cjs/resources/V2/Data/Reports.js +25 -0
  296. package/cjs/resources/V2/Data/Reports.js.map +1 -0
  297. package/cjs/resources/V2/Data/Schemas.d.ts +161 -0
  298. package/cjs/resources/V2/Data/Schemas.js +23 -0
  299. package/cjs/resources/V2/Data/Schemas.js.map +1 -0
  300. package/cjs/resources/V2/Data/index.d.ts +34 -0
  301. package/cjs/resources/V2/Data/index.js +21 -0
  302. package/cjs/resources/V2/Data/index.js.map +1 -0
  303. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  304. package/cjs/resources/V2/EventMisc.js +2 -0
  305. package/cjs/resources/V2/EventMisc.js.map +1 -0
  306. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
  307. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  308. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  309. package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
  310. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  311. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  312. package/cjs/resources/V2/Extend/index.d.ts +20 -0
  313. package/cjs/resources/V2/Extend/index.js +15 -0
  314. package/cjs/resources/V2/Extend/index.js.map +1 -0
  315. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +377 -0
  316. package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
  317. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  318. package/cjs/resources/V2/Iam/index.d.ts +13 -0
  319. package/cjs/resources/V2/Iam/index.js +13 -0
  320. package/cjs/resources/V2/Iam/index.js.map +1 -0
  321. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +6 -0
  322. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +102 -0
  323. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +15 -0
  324. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
  325. package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  326. package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +4 -0
  327. package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  328. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +4 -0
  329. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +356 -0
  330. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +23 -0
  331. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  332. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +79 -1
  333. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +96 -2
  334. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +418 -0
  335. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +40 -0
  336. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  337. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +2 -2
  338. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +66 -1
  339. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
  340. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  341. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +6 -2
  342. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +163 -0
  343. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  344. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  345. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
  346. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +15 -1
  347. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +7 -0
  348. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
  349. package/cjs/resources/V2/MoneyManagement/index.d.ts +63 -37
  350. package/cjs/resources/V2/MoneyManagement/index.js +6 -0
  351. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
  352. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  353. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  354. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  355. package/cjs/resources/V2/Network/index.d.ts +13 -0
  356. package/cjs/resources/V2/Network/index.js +13 -0
  357. package/cjs/resources/V2/Network/index.js.map +1 -0
  358. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  359. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  360. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  361. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  362. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  363. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  364. package/cjs/resources/V2/Signals/AccountActivities.d.ts +432 -0
  365. package/cjs/resources/V2/Signals/AccountActivities.js +27 -0
  366. package/cjs/resources/V2/Signals/AccountActivities.js.map +1 -0
  367. package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +405 -0
  368. package/cjs/resources/V2/Signals/AccountEvaluations.js +59 -0
  369. package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
  370. package/cjs/resources/V2/Signals/AccountSignals.d.ts +196 -0
  371. package/cjs/resources/V2/Signals/AccountSignals.js +66 -0
  372. package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
  373. package/cjs/resources/V2/Signals/index.d.ts +26 -0
  374. package/cjs/resources/V2/Signals/index.js +17 -0
  375. package/cjs/resources/V2/Signals/index.js.map +1 -0
  376. package/cjs/resources/V2/index.d.ts +18 -0
  377. package/cjs/resources/V2/index.js +16 -4
  378. package/cjs/resources/V2/index.js.map +1 -1
  379. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  380. package/cjs/resources.d.ts +10 -0
  381. package/cjs/resources.js +126 -8
  382. package/cjs/resources.js.map +1 -1
  383. package/cjs/stripe.cjs.node.d.ts +6674 -138
  384. package/cjs/stripe.cjs.node.js.map +1 -1
  385. package/cjs/stripe.core.d.ts +60 -26
  386. package/cjs/stripe.core.js +55 -36
  387. package/cjs/stripe.core.js.map +1 -1
  388. package/esm/Error.d.ts +6 -0
  389. package/esm/Error.js +14 -0
  390. package/esm/Error.js.map +1 -1
  391. package/esm/StripeEventNotificationHandler.js +54 -0
  392. package/esm/StripeEventNotificationHandler.js.map +1 -1
  393. package/esm/Types.d.ts +4 -2
  394. package/esm/Types.js.map +1 -1
  395. package/esm/apiVersion.d.ts +2 -2
  396. package/esm/apiVersion.js +2 -2
  397. package/esm/apiVersion.js.map +1 -1
  398. package/esm/resources/AccountLinks.d.ts +1 -1
  399. package/esm/resources/AccountNotices.d.ts +140 -0
  400. package/esm/resources/AccountNotices.js +25 -0
  401. package/esm/resources/AccountNotices.js.map +1 -0
  402. package/esm/resources/AccountSessions.d.ts +226 -0
  403. package/esm/resources/AccountSessions.js.map +1 -1
  404. package/esm/resources/Accounts.d.ts +625 -3
  405. package/esm/resources/Accounts.js +14 -0
  406. package/esm/resources/Accounts.js.map +1 -1
  407. package/esm/resources/Balance.d.ts +67 -0
  408. package/esm/resources/BalanceSettings.d.ts +18 -0
  409. package/esm/resources/BankAccounts.d.ts +2 -2
  410. package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
  411. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +85 -0
  412. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  413. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  414. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
  415. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  416. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  417. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  418. package/esm/resources/Billing/Analytics/index.js +9 -0
  419. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  420. package/esm/resources/Billing/index.d.ts +3 -0
  421. package/esm/resources/Billing/index.js +2 -0
  422. package/esm/resources/Billing/index.js.map +1 -1
  423. package/esm/resources/Capabilities.d.ts +2 -2
  424. package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
  425. package/esm/resources/Capital/FinancingOffers.js +26 -0
  426. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  427. package/esm/resources/Capital/FinancingSummary.d.ts +102 -0
  428. package/esm/resources/Capital/FinancingSummary.js +11 -0
  429. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  430. package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
  431. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  432. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  433. package/esm/resources/Capital/index.d.ts +25 -0
  434. package/esm/resources/Capital/index.js +13 -0
  435. package/esm/resources/Capital/index.js.map +1 -0
  436. package/esm/resources/Cards.d.ts +17 -0
  437. package/esm/resources/Charges.d.ts +3077 -70
  438. package/esm/resources/Checkout/Sessions.d.ts +351 -4
  439. package/esm/resources/ConfirmationTokens.d.ts +67 -1
  440. package/esm/resources/Coupons.d.ts +53 -0
  441. package/esm/resources/Coupons.js +13 -0
  442. package/esm/resources/Coupons.js.map +1 -1
  443. package/esm/resources/CreditNoteLineItems.d.ts +15 -1
  444. package/esm/resources/CreditNotes.d.ts +1 -1
  445. package/esm/resources/CustomerSessions.d.ts +68 -0
  446. package/esm/resources/Customers.d.ts +20 -1
  447. package/esm/resources/Customers.js +14 -0
  448. package/esm/resources/Customers.js.map +1 -1
  449. package/esm/resources/Disputes.d.ts +14 -0
  450. package/esm/resources/Events.d.ts +614 -3
  451. package/esm/resources/ExternalAccounts.d.ts +212 -1
  452. package/esm/resources/ExternalAccounts.js +42 -1
  453. package/esm/resources/ExternalAccounts.js.map +1 -1
  454. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  455. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  456. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  457. package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
  458. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  459. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  460. package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
  461. package/esm/resources/FinancialConnections/Authorizations.js +9 -1
  462. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  463. package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
  464. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  465. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  466. package/esm/resources/FinancialConnections/Sessions.d.ts +124 -9
  467. package/esm/resources/FinancialConnections/index.d.ts +21 -9
  468. package/esm/resources/FinancialConnections/index.js +4 -0
  469. package/esm/resources/FinancialConnections/index.js.map +1 -1
  470. package/esm/resources/FxQuotes.d.ts +216 -0
  471. package/esm/resources/FxQuotes.js +25 -0
  472. package/esm/resources/FxQuotes.js.map +1 -0
  473. package/esm/resources/InvoiceItems.d.ts +85 -0
  474. package/esm/resources/InvoiceItems.js.map +1 -1
  475. package/esm/resources/InvoiceLineItems.d.ts +40 -2
  476. package/esm/resources/Invoices.d.ts +1257 -10
  477. package/esm/resources/Invoices.js +41 -0
  478. package/esm/resources/Invoices.js.map +1 -1
  479. package/esm/resources/Issuing/Authorizations.d.ts +13 -0
  480. package/esm/resources/Issuing/Cardholders.d.ts +19 -1
  481. package/esm/resources/Issuing/Cards.d.ts +13 -0
  482. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
  483. package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
  484. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  485. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  486. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  487. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  488. package/esm/resources/Issuing/Disputes.d.ts +13 -0
  489. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  490. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  491. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  492. package/esm/resources/Issuing/Settlements.d.ts +83 -0
  493. package/esm/resources/Issuing/Settlements.js +3 -0
  494. package/esm/resources/Issuing/Settlements.js.map +1 -0
  495. package/esm/resources/Issuing/Transactions.d.ts +22 -0
  496. package/esm/resources/Issuing/Transactions.js.map +1 -1
  497. package/esm/resources/Issuing/index.d.ts +47 -22
  498. package/esm/resources/Issuing/index.js +6 -0
  499. package/esm/resources/Issuing/index.js.map +1 -1
  500. package/esm/resources/LineItems.d.ts +29 -2
  501. package/esm/resources/Mandates.d.ts +36 -2
  502. package/esm/resources/Mandates.js +8 -0
  503. package/esm/resources/Mandates.js.map +1 -1
  504. package/esm/resources/Margins.d.ts +115 -0
  505. package/esm/resources/Margins.js +31 -0
  506. package/esm/resources/Margins.js.map +1 -0
  507. package/esm/resources/Orders.d.ts +4696 -0
  508. package/esm/resources/Orders.js +453 -0
  509. package/esm/resources/Orders.js.map +1 -0
  510. package/esm/resources/PaymentAttemptRecords.d.ts +82 -0
  511. package/esm/resources/PaymentIntents.d.ts +13832 -2816
  512. package/esm/resources/PaymentIntents.js +27 -0
  513. package/esm/resources/PaymentIntents.js.map +1 -1
  514. package/esm/resources/PaymentLinks.d.ts +3 -3
  515. package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
  516. package/esm/resources/PaymentMethods.d.ts +181 -3
  517. package/esm/resources/PaymentMethods.js.map +1 -1
  518. package/esm/resources/PaymentPlans.d.ts +427 -0
  519. package/esm/resources/PaymentPlans.js +31 -0
  520. package/esm/resources/PaymentPlans.js.map +1 -0
  521. package/esm/resources/PaymentRecords.d.ts +82 -0
  522. package/esm/resources/Persons.d.ts +2 -2
  523. package/esm/resources/Prices.d.ts +36 -0
  524. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
  525. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  526. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  527. package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
  528. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  529. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  530. package/esm/resources/Privacy/index.d.ts +22 -0
  531. package/esm/resources/Privacy/index.js +9 -0
  532. package/esm/resources/Privacy/index.js.map +1 -0
  533. package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
  534. package/esm/resources/PromotionCodes.d.ts +12 -0
  535. package/esm/resources/PromotionCodes.js +27 -0
  536. package/esm/resources/PromotionCodes.js.map +1 -1
  537. package/esm/resources/QuoteLines.d.ts +507 -0
  538. package/esm/resources/QuoteLines.js +3 -0
  539. package/esm/resources/QuoteLines.js.map +1 -0
  540. package/esm/resources/QuotePreviewInvoices.d.ts +1170 -0
  541. package/esm/resources/QuotePreviewInvoices.js +3 -0
  542. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  543. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +924 -0
  544. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  545. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  546. package/esm/resources/Quotes.d.ts +2266 -57
  547. package/esm/resources/Quotes.js +1184 -16
  548. package/esm/resources/Quotes.js.map +1 -1
  549. package/esm/resources/Radar/BillingEvaluations.d.ts +374 -0
  550. package/esm/resources/Radar/BillingEvaluations.js +11 -0
  551. package/esm/resources/Radar/BillingEvaluations.js.map +1 -0
  552. package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
  553. package/esm/resources/Radar/ValueListItems.d.ts +31 -1
  554. package/esm/resources/Radar/index.d.ts +21 -16
  555. package/esm/resources/Radar/index.js +2 -0
  556. package/esm/resources/Radar/index.js.map +1 -1
  557. package/esm/resources/Refunds.d.ts +11 -0
  558. package/esm/resources/Reserve/Holds.d.ts +53 -1
  559. package/esm/resources/Reserve/Holds.js +17 -1
  560. package/esm/resources/Reserve/Holds.js.map +1 -1
  561. package/esm/resources/Reserve/Plans.d.ts +41 -1
  562. package/esm/resources/Reserve/Plans.js +17 -1
  563. package/esm/resources/Reserve/Plans.js.map +1 -1
  564. package/esm/resources/Reserve/Releases.d.ts +41 -1
  565. package/esm/resources/Reserve/Releases.js +17 -1
  566. package/esm/resources/Reserve/Releases.js.map +1 -1
  567. package/esm/resources/Reserve/index.d.ts +18 -6
  568. package/esm/resources/Reserve/index.js +9 -0
  569. package/esm/resources/Reserve/index.js.map +1 -1
  570. package/esm/resources/SetupAttempts.d.ts +26 -1
  571. package/esm/resources/SetupIntents.d.ts +394 -11
  572. package/esm/resources/SharedPayment/GrantedTokens.d.ts +418 -0
  573. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  574. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  575. package/esm/resources/SharedPayment/IssuedTokens.d.ts +330 -0
  576. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  577. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  578. package/esm/resources/SharedPayment/index.d.ts +19 -0
  579. package/esm/resources/SharedPayment/index.js +11 -0
  580. package/esm/resources/SharedPayment/index.js.map +1 -0
  581. package/esm/resources/Sources.d.ts +29 -1
  582. package/esm/resources/SubscriptionItems.d.ts +114 -0
  583. package/esm/resources/SubscriptionSchedules.d.ts +1157 -5
  584. package/esm/resources/SubscriptionSchedules.js +6 -0
  585. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  586. package/esm/resources/Subscriptions.d.ts +388 -6
  587. package/esm/resources/Subscriptions.js +42 -0
  588. package/esm/resources/Subscriptions.js.map +1 -1
  589. package/esm/resources/Tax/Forms.d.ts +228 -0
  590. package/esm/resources/Tax/Forms.js +28 -0
  591. package/esm/resources/Tax/Forms.js.map +1 -0
  592. package/esm/resources/Tax/Registrations.d.ts +25 -2
  593. package/esm/resources/Tax/index.d.ts +24 -17
  594. package/esm/resources/Tax/index.js +2 -0
  595. package/esm/resources/Tax/index.js.map +1 -1
  596. package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  597. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  598. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  599. package/esm/resources/Terminal/Readers.d.ts +17 -1
  600. package/esm/resources/Terminal/index.d.ts +5 -0
  601. package/esm/resources/Terminal/index.js +2 -0
  602. package/esm/resources/Terminal/index.js.map +1 -1
  603. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +95 -1
  604. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
  605. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  606. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  607. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  608. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  609. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  610. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  611. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  612. package/esm/resources/TestHelpers/index.d.ts +3 -0
  613. package/esm/resources/TestHelpers/index.js +2 -0
  614. package/esm/resources/TestHelpers/index.js.map +1 -1
  615. package/esm/resources/Tokens.d.ts +15 -0
  616. package/esm/resources/Transfers.d.ts +8 -0
  617. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  618. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  619. package/esm/resources/Treasury/OutboundPayments.d.ts +26 -0
  620. package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
  621. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  622. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  623. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
  624. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  625. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  626. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  627. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  628. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  629. package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
  630. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  631. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  632. package/esm/resources/V2/Billing/Cadences.d.ts +958 -0
  633. package/esm/resources/V2/Billing/Cadences.js +194 -0
  634. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  635. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
  636. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  637. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  638. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  639. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  640. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  641. package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  642. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  643. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  644. package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
  645. package/esm/resources/V2/Billing/Profiles.js +31 -0
  646. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  647. package/esm/resources/V2/Billing/index.d.ts +45 -6
  648. package/esm/resources/V2/Billing/index.js +8 -0
  649. package/esm/resources/V2/Billing/index.js.map +1 -1
  650. package/esm/resources/V2/Core/AccountTokens.d.ts +28 -1
  651. package/esm/resources/V2/Core/Accounts.d.ts +1465 -71
  652. package/esm/resources/V2/Core/ApprovalRequests.d.ts +378 -0
  653. package/esm/resources/V2/Core/ApprovalRequests.js +35 -0
  654. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
  655. package/esm/resources/V2/Core/BatchJobs.d.ts +392 -0
  656. package/esm/resources/V2/Core/BatchJobs.js +248 -0
  657. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  658. package/esm/resources/V2/Core/Events.d.ts +1009 -5
  659. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
  660. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  661. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
  662. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  663. package/esm/resources/V2/Core/index.d.ts +24 -9
  664. package/esm/resources/V2/Core/index.js +4 -0
  665. package/esm/resources/V2/Core/index.js.map +1 -1
  666. package/esm/resources/V2/Data/QueryRuns.d.ts +299 -0
  667. package/esm/resources/V2/Data/QueryRuns.js +47 -0
  668. package/esm/resources/V2/Data/QueryRuns.js.map +1 -0
  669. package/esm/resources/V2/Data/ReportRuns.d.ts +303 -0
  670. package/esm/resources/V2/Data/ReportRuns.js +49 -0
  671. package/esm/resources/V2/Data/ReportRuns.js.map +1 -0
  672. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +152 -0
  673. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  674. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  675. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  676. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  677. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  678. package/esm/resources/V2/Data/Reports.d.ts +140 -0
  679. package/esm/resources/V2/Data/Reports.js +21 -0
  680. package/esm/resources/V2/Data/Reports.js.map +1 -0
  681. package/esm/resources/V2/Data/Schemas.d.ts +161 -0
  682. package/esm/resources/V2/Data/Schemas.js +19 -0
  683. package/esm/resources/V2/Data/Schemas.js.map +1 -0
  684. package/esm/resources/V2/Data/index.d.ts +34 -0
  685. package/esm/resources/V2/Data/index.js +17 -0
  686. package/esm/resources/V2/Data/index.js.map +1 -0
  687. package/esm/resources/V2/EventMisc.d.ts +0 -0
  688. package/esm/resources/V2/EventMisc.js +2 -0
  689. package/esm/resources/V2/EventMisc.js.map +1 -0
  690. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
  691. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  692. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  693. package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
  694. package/esm/resources/V2/Extend/Workflows.js +26 -0
  695. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  696. package/esm/resources/V2/Extend/index.d.ts +20 -0
  697. package/esm/resources/V2/Extend/index.js +11 -0
  698. package/esm/resources/V2/Extend/index.js.map +1 -0
  699. package/esm/resources/V2/Iam/ActivityLogs.d.ts +377 -0
  700. package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
  701. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  702. package/esm/resources/V2/Iam/index.d.ts +13 -0
  703. package/esm/resources/V2/Iam/index.js +9 -0
  704. package/esm/resources/V2/Iam/index.js.map +1 -0
  705. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +6 -0
  706. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +102 -0
  707. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +15 -0
  708. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
  709. package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  710. package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +3 -0
  711. package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  712. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +4 -0
  713. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +356 -0
  714. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +19 -0
  715. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  716. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +79 -1
  717. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +96 -2
  718. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +418 -0
  719. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +36 -0
  720. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  721. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +2 -2
  722. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +66 -1
  723. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
  724. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  725. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +6 -2
  726. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +163 -0
  727. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  728. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  729. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
  730. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +15 -1
  731. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +7 -0
  732. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
  733. package/esm/resources/V2/MoneyManagement/index.d.ts +63 -37
  734. package/esm/resources/V2/MoneyManagement/index.js +6 -0
  735. package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
  736. package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  737. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  738. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  739. package/esm/resources/V2/Network/index.d.ts +13 -0
  740. package/esm/resources/V2/Network/index.js +9 -0
  741. package/esm/resources/V2/Network/index.js.map +1 -0
  742. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  743. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  744. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  745. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  746. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  747. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  748. package/esm/resources/V2/Signals/AccountActivities.d.ts +432 -0
  749. package/esm/resources/V2/Signals/AccountActivities.js +23 -0
  750. package/esm/resources/V2/Signals/AccountActivities.js.map +1 -0
  751. package/esm/resources/V2/Signals/AccountEvaluations.d.ts +405 -0
  752. package/esm/resources/V2/Signals/AccountEvaluations.js +55 -0
  753. package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
  754. package/esm/resources/V2/Signals/AccountSignals.d.ts +196 -0
  755. package/esm/resources/V2/Signals/AccountSignals.js +62 -0
  756. package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
  757. package/esm/resources/V2/Signals/index.d.ts +26 -0
  758. package/esm/resources/V2/Signals/index.js +13 -0
  759. package/esm/resources/V2/Signals/index.js.map +1 -0
  760. package/esm/resources/V2/index.d.ts +18 -0
  761. package/esm/resources/V2/index.js +12 -0
  762. package/esm/resources/V2/index.js.map +1 -1
  763. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  764. package/esm/resources.d.ts +10 -0
  765. package/esm/resources.js +112 -0
  766. package/esm/resources.js.map +1 -1
  767. package/esm/stripe.core.d.ts +60 -26
  768. package/esm/stripe.core.js +21 -2
  769. package/esm/stripe.core.js.map +1 -1
  770. package/esm/stripe.esm.node.d.ts +60 -26
  771. package/esm/stripe.esm.node.js +21 -2
  772. package/esm/stripe.esm.node.js.map +1 -1
  773. package/package.json +1 -1
@@ -173,6 +173,10 @@ export interface SetupIntent {
173
173
  * The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
174
174
  */
175
175
  payment_method_types: Array<string>;
176
+ /**
177
+ * Redaction status of this SetupIntent. If the SetupIntent isn't redacted, this field is null.
178
+ */
179
+ redaction?: SetupIntent.Redaction | null;
176
180
  /**
177
181
  * ID of the single_use Mandate generated by the SetupIntent.
178
182
  */
@@ -203,7 +207,7 @@ export declare namespace SetupIntent {
203
207
  enabled: boolean | null;
204
208
  }
205
209
  type CancellationReason = 'abandoned' | 'duplicate' | 'requested_by_customer' | OtherString;
206
- type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
210
+ type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
207
211
  type FlowDirection = 'inbound' | 'outbound' | OtherString;
208
212
  interface LastSetupError {
209
213
  /**
@@ -351,12 +355,18 @@ export declare namespace SetupIntent {
351
355
  upi?: PaymentMethodOptions.Upi;
352
356
  us_bank_account?: PaymentMethodOptions.UsBankAccount;
353
357
  }
358
+ interface Redaction {
359
+ /**
360
+ * Indicates whether this object and its related objects have been redacted or not.
361
+ */
362
+ status: Redaction.Status;
363
+ }
354
364
  type Status = 'canceled' | 'processing' | 'requires_action' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded' | OtherString;
355
365
  namespace AutomaticPaymentMethods {
356
366
  type AllowRedirects = 'always' | 'never' | OtherString;
357
367
  }
358
368
  namespace LastSetupError {
359
- type Code = 'account_closed' | 'account_country_invalid_address' | 'account_error_country_change_requires_additional_steps' | 'account_information_mismatch' | 'account_invalid' | 'account_number_invalid' | 'account_token_required_for_v2_account' | 'acss_debit_session_incomplete' | 'action_blocked' | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' | 'authentication_failure' | 'authentication_required' | 'balance_insufficient' | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' | 'bank_account_restricted' | 'bank_account_unusable' | 'bank_account_unverified' | 'bank_account_verification_failed' | 'billing_invalid_mandate' | 'bitcoin_upgrade_required' | 'capability_not_active' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'card_declined' | 'cardholder_phone_number_required' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_exceeds_transaction_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'clearing_code_unsupported' | 'country_code_invalid' | 'country_unsupported' | 'coupon_expired' | 'customer_max_payment_methods' | 'customer_max_subscriptions' | 'customer_session_expired' | 'customer_tax_location_invalid' | 'debit_not_authorized' | 'dispute_evidence_page_limit_exceeded' | 'email_invalid' | 'expired_card' | 'expired_payment_method' | 'failed_tax_calculation' | 'financial_account_balance_does_not_support_currency' | 'financial_account_capability_not_enabled' | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' | 'financial_connections_consent_locale_invalid' | 'financial_connections_consent_locale_unsupported' | 'financial_connections_no_successful_transaction_refresh' | 'forwarding_api_inactive' | 'forwarding_api_invalid_parameter' | 'forwarding_api_retryable_upstream_error' | 'forwarding_api_upstream_connection_error' | 'forwarding_api_upstream_connection_timeout' | 'forwarding_api_upstream_error' | 'idempotency_key_in_use' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_number' | 'incorrect_postal_code' | 'incorrect_zip' | 'india_recurring_payment_mandate_canceled' | 'instant_payouts_config_disabled' | 'instant_payouts_currency_disabled' | 'instant_payouts_limit_exceeded' | 'instant_payouts_unsupported' | 'insufficient_funds' | 'intent_invalid_state' | 'intent_verification_method_missing' | 'invalid_canceled_subscription_fields' | 'invalid_card_type' | 'invalid_characters' | 'invalid_charge_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_mandate_reference_prefix_format' | 'invalid_number' | 'invalid_source_usage' | 'invalid_tax_location' | 'invoice_no_customer_line_items' | 'invoice_no_payment_method_types' | 'invoice_no_subscription_line_items' | 'invoice_not_editable' | 'invoice_on_behalf_of_not_editable' | 'invoice_payment_intent_requires_action' | 'invoice_upcoming_none' | 'livemode_mismatch' | 'lock_timeout' | 'missing' | 'no_account' | 'not_allowed_on_standard_account' | 'out_of_inventory' | 'ownership_declaration_not_allowed' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_evaluation_on_api_version_not_supported' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_invalid_parameter' | 'payment_intent_konbini_rejected_confirmation_number' | 'payment_intent_mandate_invalid' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_rate_limit_exceeded' | 'payment_intent_unexpected_state' | 'payment_method_bank_account_already_verified' | 'payment_method_bank_account_blocked' | 'payment_method_billing_details_address_missing' | 'payment_method_configuration_failures' | 'payment_method_currency_mismatch' | 'payment_method_customer_decline' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_microdeposit_failed' | 'payment_method_microdeposit_processing_error' | 'payment_method_microdeposit_verification_amounts_invalid' | 'payment_method_microdeposit_verification_amounts_mismatch' | 'payment_method_microdeposit_verification_attempts_exceeded' | 'payment_method_microdeposit_verification_descriptor_code_mismatch' | 'payment_method_microdeposit_verification_timeout' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_restricted' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' | 'platform_api_key_expired' | 'postal_code_invalid' | 'processing_error' | 'product_inactive' | 'progressive_onboarding_limit_exceeded' | 'rate_limit' | 'refer_to_customer' | 'refund_disputed_payment' | 'request_blocked' | 'resource_already_exists' | 'resource_missing' | 'return_intent_already_processed' | 'routing_number_invalid' | 'secret_key_required' | 'sepa_unsupported_account' | 'service_period_coupon_with_metered_tiered_item_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_mandate_invalid' | 'setup_intent_mobile_wallet_unsupported' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state' | 'shipping_address_invalid' | 'shipping_calculation_failed' | 'siret_invalid' | 'sku_inactive' | 'smart_disputes_not_available' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | 'subscription_update_trial_after_billing_cycle_anchor' | 'tax_id_invalid' | 'tax_id_prohibited' | 'taxes_calculation_failed' | 'terminal_location_country_unsupported' | 'terminal_reader_busy' | 'terminal_reader_hardware_fault' | 'terminal_reader_invalid_location_for_activation' | 'terminal_reader_invalid_location_for_payment' | 'terminal_reader_offline' | 'terminal_reader_timeout' | 'testmode_charges_only' | 'three_d_secure_authentication_not_supported' | 'three_d_secure_authentication_upstream_error' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid' | OtherString;
369
+ type Code = 'account_closed' | 'account_country_invalid_address' | 'account_error_country_change_requires_additional_steps' | 'account_information_mismatch' | 'account_invalid' | 'account_number_invalid' | 'account_token_required_for_v2_account' | 'acss_debit_session_incomplete' | 'action_blocked' | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' | 'authentication_failure' | 'authentication_required' | 'balance_insufficient' | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' | 'bank_account_restricted' | 'bank_account_unusable' | 'bank_account_unverified' | 'bank_account_verification_failed' | 'billing_invalid_mandate' | 'bitcoin_upgrade_required' | 'capability_not_active' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'card_declined' | 'cardholder_phone_number_required' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_exceeds_transaction_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'clearing_code_unsupported' | 'country_code_invalid' | 'country_unsupported' | 'coupon_expired' | 'customer_max_payment_methods' | 'customer_max_subscriptions' | 'customer_session_expired' | 'customer_tax_location_invalid' | 'debit_not_authorized' | 'dispute_evidence_page_limit_exceeded' | 'email_invalid' | 'expired_card' | 'expired_payment_method' | 'failed_tax_calculation' | 'financial_account_balance_does_not_support_currency' | 'financial_account_capability_not_enabled' | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' | 'financial_connections_consent_locale_invalid' | 'financial_connections_consent_locale_unsupported' | 'financial_connections_institution_unavailable' | 'financial_connections_no_successful_transaction_refresh' | 'forwarding_api_inactive' | 'forwarding_api_invalid_parameter' | 'forwarding_api_retryable_upstream_error' | 'forwarding_api_upstream_connection_error' | 'forwarding_api_upstream_connection_timeout' | 'forwarding_api_upstream_error' | 'idempotency_key_in_use' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_number' | 'incorrect_postal_code' | 'incorrect_zip' | 'india_recurring_payment_mandate_canceled' | 'instant_payouts_config_disabled' | 'instant_payouts_currency_disabled' | 'instant_payouts_limit_exceeded' | 'instant_payouts_unsupported' | 'insufficient_funds' | 'intent_invalid_state' | 'intent_verification_method_missing' | 'invalid_canceled_subscription_fields' | 'invalid_card_type' | 'invalid_characters' | 'invalid_charge_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_mandate_reference_prefix_format' | 'invalid_number' | 'invalid_source_usage' | 'invalid_tax_location' | 'invoice_no_customer_line_items' | 'invoice_no_payment_method_types' | 'invoice_no_subscription_line_items' | 'invoice_not_editable' | 'invoice_on_behalf_of_not_editable' | 'invoice_payment_intent_requires_action' | 'invoice_upcoming_none' | 'livemode_mismatch' | 'lock_timeout' | 'missing' | 'no_account' | 'not_allowed_on_standard_account' | 'out_of_inventory' | 'ownership_declaration_not_allowed' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_evaluation_on_api_version_not_supported' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_invalid_parameter' | 'payment_intent_konbini_rejected_confirmation_number' | 'payment_intent_mandate_invalid' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_rate_limit_exceeded' | 'payment_intent_unexpected_state' | 'payment_method_bank_account_already_verified' | 'payment_method_bank_account_blocked' | 'payment_method_billing_details_address_missing' | 'payment_method_configuration_failures' | 'payment_method_currency_mismatch' | 'payment_method_customer_decline' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_microdeposit_failed' | 'payment_method_microdeposit_processing_error' | 'payment_method_microdeposit_verification_amounts_invalid' | 'payment_method_microdeposit_verification_amounts_mismatch' | 'payment_method_microdeposit_verification_attempts_exceeded' | 'payment_method_microdeposit_verification_descriptor_code_mismatch' | 'payment_method_microdeposit_verification_timeout' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_restricted' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' | 'platform_api_key_expired' | 'postal_code_invalid' | 'processing_error' | 'product_inactive' | 'progressive_onboarding_limit_exceeded' | 'rate_limit' | 'refer_to_customer' | 'refund_disputed_payment' | 'request_blocked' | 'resource_already_exists' | 'resource_missing' | 'return_intent_already_processed' | 'routing_number_invalid' | 'secret_key_required' | 'sensitive_data_access_expired' | 'sepa_unsupported_account' | 'service_period_coupon_with_metered_tiered_item_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_mandate_invalid' | 'setup_intent_mobile_wallet_unsupported' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state' | 'shipping_address_invalid' | 'shipping_calculation_failed' | 'siret_invalid' | 'sku_inactive' | 'smart_disputes_not_available' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | 'subscription_update_trial_after_billing_cycle_anchor' | 'tax_id_invalid' | 'tax_id_prohibited' | 'taxes_calculation_failed' | 'terminal_location_country_unsupported' | 'terminal_reader_busy' | 'terminal_reader_collected_data_invalid' | 'terminal_reader_hardware_fault' | 'terminal_reader_invalid_location_for_activation' | 'terminal_reader_invalid_location_for_payment' | 'terminal_reader_offline' | 'terminal_reader_timeout' | 'testmode_charges_only' | 'three_d_secure_authentication_not_supported' | 'three_d_secure_authentication_upstream_error' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid' | 'v2_account_disconnection_unsupported' | 'v2_account_missing_configuration' | OtherString;
360
370
  type Type = 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | OtherString;
361
371
  }
362
372
  namespace NextAction {
@@ -529,6 +539,14 @@ export declare namespace SetupIntent {
529
539
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
530
540
  */
531
541
  billing_agreement_id: string | null;
542
+ /**
543
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
544
+ */
545
+ currency?: string | null;
546
+ /**
547
+ * 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.
548
+ */
549
+ subsellers?: Array<string>;
532
550
  }
533
551
  interface Payto {
534
552
  mandate_options?: Payto.MandateOptions;
@@ -764,6 +782,7 @@ export declare namespace SetupIntent {
764
782
  namespace UsBankAccount {
765
783
  interface FinancialConnections {
766
784
  filters?: FinancialConnections.Filters;
785
+ manual_entry?: FinancialConnections.ManualEntry;
767
786
  /**
768
787
  * The list of permissions to request. The `payment_method` permission must be included.
769
788
  */
@@ -790,15 +809,31 @@ export declare namespace SetupIntent {
790
809
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
791
810
  */
792
811
  account_subcategories?: Array<Filters.AccountSubcategory>;
812
+ /**
813
+ * The institution to use to filter for possible accounts to link.
814
+ */
815
+ institution?: string;
816
+ }
817
+ interface ManualEntry {
818
+ /**
819
+ * Settings for configuring manual entry of account details.
820
+ */
821
+ mode?: ManualEntry.Mode;
793
822
  }
794
823
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
795
- type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
824
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
796
825
  namespace Filters {
797
826
  type AccountSubcategory = 'checking' | 'savings' | OtherString;
798
827
  }
828
+ namespace ManualEntry {
829
+ type Mode = 'automatic' | 'custom' | OtherString;
830
+ }
799
831
  }
800
832
  }
801
833
  }
834
+ namespace Redaction {
835
+ type Status = 'processing' | 'redacted' | 'validated' | OtherString;
836
+ }
802
837
  }
803
838
  export interface SetupIntentCreateParams {
804
839
  /**
@@ -917,7 +952,7 @@ export declare namespace SetupIntentCreateParams {
917
952
  */
918
953
  enabled: boolean;
919
954
  }
920
- type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
955
+ type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
921
956
  type FlowDirection = 'inbound' | 'outbound' | OtherString;
922
957
  interface MandateData {
923
958
  /**
@@ -1010,10 +1045,18 @@ export declare namespace SetupIntentCreateParams {
1010
1045
  * If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
1011
1046
  */
1012
1047
  giropay?: PaymentMethodData.Giropay;
1048
+ /**
1049
+ * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1050
+ */
1051
+ gopay?: PaymentMethodData.Gopay;
1013
1052
  /**
1014
1053
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1015
1054
  */
1016
1055
  grabpay?: PaymentMethodData.Grabpay;
1056
+ /**
1057
+ * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1058
+ */
1059
+ id_bank_transfer?: PaymentMethodData.IdBankTransfer;
1017
1060
  /**
1018
1061
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1019
1062
  */
@@ -1106,10 +1149,18 @@ export declare namespace SetupIntentCreateParams {
1106
1149
  * If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
1107
1150
  */
1108
1151
  promptpay?: PaymentMethodData.Promptpay;
1152
+ /**
1153
+ * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
1154
+ */
1155
+ qris?: PaymentMethodData.Qris;
1109
1156
  /**
1110
1157
  * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
1111
1158
  */
1112
1159
  radar_options?: PaymentMethodData.RadarOptions;
1160
+ /**
1161
+ * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
1162
+ */
1163
+ rechnung?: PaymentMethodData.Rechnung;
1113
1164
  /**
1114
1165
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1115
1166
  */
@@ -1134,10 +1185,22 @@ export declare namespace SetupIntentCreateParams {
1134
1185
  * If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method.
1135
1186
  */
1136
1187
  sequra?: PaymentMethodData.Sequra;
1188
+ /**
1189
+ * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
1190
+ */
1191
+ shared_payment_granted_token?: string;
1192
+ /**
1193
+ * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
1194
+ */
1195
+ shopeepay?: PaymentMethodData.Shopeepay;
1137
1196
  /**
1138
1197
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1139
1198
  */
1140
1199
  sofort?: PaymentMethodData.Sofort;
1200
+ /**
1201
+ * This hash contains details about the Stripe balance payment method.
1202
+ */
1203
+ stripe_balance?: PaymentMethodData.StripeBalance;
1141
1204
  /**
1142
1205
  * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
1143
1206
  */
@@ -1166,6 +1229,10 @@ export declare namespace SetupIntentCreateParams {
1166
1229
  * If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
1167
1230
  */
1168
1231
  wechat_pay?: PaymentMethodData.WechatPay;
1232
+ /**
1233
+ * If this is a Wero PaymentMethod, this hash contains details about the Wero payment method.
1234
+ */
1235
+ wero?: PaymentMethodData.Wero;
1169
1236
  /**
1170
1237
  * If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
1171
1238
  */
@@ -1388,8 +1455,16 @@ export declare namespace SetupIntentCreateParams {
1388
1455
  }
1389
1456
  interface Giropay {
1390
1457
  }
1458
+ interface Gopay {
1459
+ }
1391
1460
  interface Grabpay {
1392
1461
  }
1462
+ interface IdBankTransfer {
1463
+ /**
1464
+ * Bank where the account is held.
1465
+ */
1466
+ bank?: IdBankTransfer.Bank;
1467
+ }
1393
1468
  interface Ideal {
1394
1469
  /**
1395
1470
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -1483,12 +1558,20 @@ export declare namespace SetupIntentCreateParams {
1483
1558
  }
1484
1559
  interface Promptpay {
1485
1560
  }
1561
+ interface Qris {
1562
+ }
1486
1563
  interface RadarOptions {
1487
1564
  /**
1488
1565
  * A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
1489
1566
  */
1490
1567
  session?: string;
1491
1568
  }
1569
+ interface Rechnung {
1570
+ /**
1571
+ * Customer's date of birth
1572
+ */
1573
+ dob: Rechnung.Dob;
1574
+ }
1492
1575
  interface RevolutPay {
1493
1576
  }
1494
1577
  interface SamsungPay {
@@ -1505,19 +1588,27 @@ export declare namespace SetupIntentCreateParams {
1505
1588
  }
1506
1589
  interface Sequra {
1507
1590
  }
1591
+ interface Shopeepay {
1592
+ }
1508
1593
  interface Sofort {
1509
1594
  /**
1510
1595
  * Two-letter ISO code representing the country the bank account is located in.
1511
1596
  */
1512
1597
  country: Sofort.Country;
1513
1598
  }
1599
+ interface StripeBalance {
1600
+ /**
1601
+ * The connected account ID whose Stripe balance to use as the source of payment
1602
+ */
1603
+ account?: string;
1604
+ }
1514
1605
  interface Sunbit {
1515
1606
  }
1516
1607
  interface Swish {
1517
1608
  }
1518
1609
  interface Twint {
1519
1610
  }
1520
- type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
1611
+ type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
1521
1612
  interface Upi {
1522
1613
  /**
1523
1614
  * Configuration options for setting up an eMandate
@@ -1537,6 +1628,10 @@ export declare namespace SetupIntentCreateParams {
1537
1628
  * Account type: checkings or savings. Defaults to checking if omitted.
1538
1629
  */
1539
1630
  account_type?: UsBankAccount.AccountType;
1631
+ /**
1632
+ * An external token used to create a payment method.
1633
+ */
1634
+ external_token?: UsBankAccount.ExternalToken;
1540
1635
  /**
1541
1636
  * The ID of a Financial Connections Account to use as a payment method.
1542
1637
  */
@@ -1548,6 +1643,8 @@ export declare namespace SetupIntentCreateParams {
1548
1643
  }
1549
1644
  interface WechatPay {
1550
1645
  }
1646
+ interface Wero {
1647
+ }
1551
1648
  interface Zip {
1552
1649
  }
1553
1650
  namespace Eps {
@@ -1557,6 +1654,9 @@ export declare namespace SetupIntentCreateParams {
1557
1654
  type AccountHolderType = 'company' | 'individual' | OtherString;
1558
1655
  type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bnp_paribas' | 'bsn' | 'cimb' | 'citibank' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'mbsb_bank' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob' | OtherString;
1559
1656
  }
1657
+ namespace IdBankTransfer {
1658
+ type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'mandiri' | 'permata' | OtherString;
1659
+ }
1560
1660
  namespace Ideal {
1561
1661
  type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe' | OtherString;
1562
1662
  }
@@ -1582,6 +1682,22 @@ export declare namespace SetupIntentCreateParams {
1582
1682
  namespace P24 {
1583
1683
  type Bank = 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank' | OtherString;
1584
1684
  }
1685
+ namespace Rechnung {
1686
+ interface Dob {
1687
+ /**
1688
+ * The day of birth, between 1 and 31.
1689
+ */
1690
+ day: number;
1691
+ /**
1692
+ * The month of birth, between 1 and 12.
1693
+ */
1694
+ month: number;
1695
+ /**
1696
+ * The four-digit year of birth.
1697
+ */
1698
+ year: number;
1699
+ }
1700
+ }
1585
1701
  namespace Sofort {
1586
1702
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL' | OtherString;
1587
1703
  }
@@ -1611,6 +1727,19 @@ export declare namespace SetupIntentCreateParams {
1611
1727
  namespace UsBankAccount {
1612
1728
  type AccountHolderType = 'company' | 'individual' | OtherString;
1613
1729
  type AccountType = 'checking' | 'savings' | OtherString;
1730
+ interface ExternalToken {
1731
+ /**
1732
+ * The Plaid processor token to use for this bank account.
1733
+ */
1734
+ plaid_processor_token?: string;
1735
+ /**
1736
+ * The type of external token.
1737
+ */
1738
+ type: ExternalToken.Type;
1739
+ }
1740
+ namespace ExternalToken {
1741
+ type Type = 'plaid_processor_token' | OtherString;
1742
+ }
1614
1743
  }
1615
1744
  }
1616
1745
  namespace PaymentMethodOptions {
@@ -1709,6 +1838,11 @@ export declare namespace SetupIntentCreateParams {
1709
1838
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1710
1839
  */
1711
1840
  billing_agreement_id?: string;
1841
+ currency?: string;
1842
+ /**
1843
+ * 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.
1844
+ */
1845
+ subsellers?: Array<string>;
1712
1846
  }
1713
1847
  interface Payto {
1714
1848
  /**
@@ -2106,6 +2240,10 @@ export declare namespace SetupIntentCreateParams {
2106
2240
  * Provide filters for the linked accounts that the customer can select for the payment method.
2107
2241
  */
2108
2242
  filters?: FinancialConnections.Filters;
2243
+ /**
2244
+ * Customize manual entry behavior
2245
+ */
2246
+ manual_entry?: FinancialConnections.ManualEntry;
2109
2247
  /**
2110
2248
  * The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
2111
2249
  */
@@ -2138,12 +2276,25 @@ export declare namespace SetupIntentCreateParams {
2138
2276
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2139
2277
  */
2140
2278
  account_subcategories?: Array<Filters.AccountSubcategory>;
2279
+ /**
2280
+ * ID of the institution to use to filter for selectable accounts.
2281
+ */
2282
+ institution?: string;
2283
+ }
2284
+ interface ManualEntry {
2285
+ /**
2286
+ * Settings for configuring manual entry of account details.
2287
+ */
2288
+ mode: ManualEntry.Mode;
2141
2289
  }
2142
2290
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
2143
- type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
2291
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
2144
2292
  namespace Filters {
2145
2293
  type AccountSubcategory = 'checking' | 'savings' | OtherString;
2146
2294
  }
2295
+ namespace ManualEntry {
2296
+ type Mode = 'automatic' | 'custom' | OtherString;
2297
+ }
2147
2298
  }
2148
2299
  namespace Networks {
2149
2300
  type Requested = 'ach' | 'us_domestic_wire' | OtherString;
@@ -2226,7 +2377,7 @@ export interface SetupIntentUpdateParams {
2226
2377
  }
2227
2378
  export declare namespace SetupIntentUpdateParams {
2228
2379
  type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
2229
- type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
2380
+ type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
2230
2381
  type FlowDirection = 'inbound' | 'outbound' | OtherString;
2231
2382
  interface PaymentMethodData {
2232
2383
  /**
@@ -2313,10 +2464,18 @@ export declare namespace SetupIntentUpdateParams {
2313
2464
  * If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
2314
2465
  */
2315
2466
  giropay?: PaymentMethodData.Giropay;
2467
+ /**
2468
+ * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2469
+ */
2470
+ gopay?: PaymentMethodData.Gopay;
2316
2471
  /**
2317
2472
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2318
2473
  */
2319
2474
  grabpay?: PaymentMethodData.Grabpay;
2475
+ /**
2476
+ * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2477
+ */
2478
+ id_bank_transfer?: PaymentMethodData.IdBankTransfer;
2320
2479
  /**
2321
2480
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2322
2481
  */
@@ -2409,10 +2568,18 @@ export declare namespace SetupIntentUpdateParams {
2409
2568
  * If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2410
2569
  */
2411
2570
  promptpay?: PaymentMethodData.Promptpay;
2571
+ /**
2572
+ * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2573
+ */
2574
+ qris?: PaymentMethodData.Qris;
2412
2575
  /**
2413
2576
  * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
2414
2577
  */
2415
2578
  radar_options?: PaymentMethodData.RadarOptions;
2579
+ /**
2580
+ * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2581
+ */
2582
+ rechnung?: PaymentMethodData.Rechnung;
2416
2583
  /**
2417
2584
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2418
2585
  */
@@ -2437,10 +2604,22 @@ export declare namespace SetupIntentUpdateParams {
2437
2604
  * If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method.
2438
2605
  */
2439
2606
  sequra?: PaymentMethodData.Sequra;
2607
+ /**
2608
+ * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
2609
+ */
2610
+ shared_payment_granted_token?: string;
2611
+ /**
2612
+ * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2613
+ */
2614
+ shopeepay?: PaymentMethodData.Shopeepay;
2440
2615
  /**
2441
2616
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2442
2617
  */
2443
2618
  sofort?: PaymentMethodData.Sofort;
2619
+ /**
2620
+ * This hash contains details about the Stripe balance payment method.
2621
+ */
2622
+ stripe_balance?: PaymentMethodData.StripeBalance;
2444
2623
  /**
2445
2624
  * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
2446
2625
  */
@@ -2469,6 +2648,10 @@ export declare namespace SetupIntentUpdateParams {
2469
2648
  * If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
2470
2649
  */
2471
2650
  wechat_pay?: PaymentMethodData.WechatPay;
2651
+ /**
2652
+ * If this is a Wero PaymentMethod, this hash contains details about the Wero payment method.
2653
+ */
2654
+ wero?: PaymentMethodData.Wero;
2472
2655
  /**
2473
2656
  * If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
2474
2657
  */
@@ -2642,8 +2825,16 @@ export declare namespace SetupIntentUpdateParams {
2642
2825
  }
2643
2826
  interface Giropay {
2644
2827
  }
2828
+ interface Gopay {
2829
+ }
2645
2830
  interface Grabpay {
2646
2831
  }
2832
+ interface IdBankTransfer {
2833
+ /**
2834
+ * Bank where the account is held.
2835
+ */
2836
+ bank?: IdBankTransfer.Bank;
2837
+ }
2647
2838
  interface Ideal {
2648
2839
  /**
2649
2840
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -2737,12 +2928,20 @@ export declare namespace SetupIntentUpdateParams {
2737
2928
  }
2738
2929
  interface Promptpay {
2739
2930
  }
2931
+ interface Qris {
2932
+ }
2740
2933
  interface RadarOptions {
2741
2934
  /**
2742
2935
  * A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
2743
2936
  */
2744
2937
  session?: string;
2745
2938
  }
2939
+ interface Rechnung {
2940
+ /**
2941
+ * Customer's date of birth
2942
+ */
2943
+ dob: Rechnung.Dob;
2944
+ }
2746
2945
  interface RevolutPay {
2747
2946
  }
2748
2947
  interface SamsungPay {
@@ -2759,19 +2958,27 @@ export declare namespace SetupIntentUpdateParams {
2759
2958
  }
2760
2959
  interface Sequra {
2761
2960
  }
2961
+ interface Shopeepay {
2962
+ }
2762
2963
  interface Sofort {
2763
2964
  /**
2764
2965
  * Two-letter ISO code representing the country the bank account is located in.
2765
2966
  */
2766
2967
  country: Sofort.Country;
2767
2968
  }
2969
+ interface StripeBalance {
2970
+ /**
2971
+ * The connected account ID whose Stripe balance to use as the source of payment
2972
+ */
2973
+ account?: string;
2974
+ }
2768
2975
  interface Sunbit {
2769
2976
  }
2770
2977
  interface Swish {
2771
2978
  }
2772
2979
  interface Twint {
2773
2980
  }
2774
- type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
2981
+ type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
2775
2982
  interface Upi {
2776
2983
  /**
2777
2984
  * Configuration options for setting up an eMandate
@@ -2791,6 +2998,10 @@ export declare namespace SetupIntentUpdateParams {
2791
2998
  * Account type: checkings or savings. Defaults to checking if omitted.
2792
2999
  */
2793
3000
  account_type?: UsBankAccount.AccountType;
3001
+ /**
3002
+ * An external token used to create a payment method.
3003
+ */
3004
+ external_token?: UsBankAccount.ExternalToken;
2794
3005
  /**
2795
3006
  * The ID of a Financial Connections Account to use as a payment method.
2796
3007
  */
@@ -2802,6 +3013,8 @@ export declare namespace SetupIntentUpdateParams {
2802
3013
  }
2803
3014
  interface WechatPay {
2804
3015
  }
3016
+ interface Wero {
3017
+ }
2805
3018
  interface Zip {
2806
3019
  }
2807
3020
  namespace Eps {
@@ -2811,6 +3024,9 @@ export declare namespace SetupIntentUpdateParams {
2811
3024
  type AccountHolderType = 'company' | 'individual' | OtherString;
2812
3025
  type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bnp_paribas' | 'bsn' | 'cimb' | 'citibank' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'mbsb_bank' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob' | OtherString;
2813
3026
  }
3027
+ namespace IdBankTransfer {
3028
+ type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'mandiri' | 'permata' | OtherString;
3029
+ }
2814
3030
  namespace Ideal {
2815
3031
  type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe' | OtherString;
2816
3032
  }
@@ -2836,6 +3052,22 @@ export declare namespace SetupIntentUpdateParams {
2836
3052
  namespace P24 {
2837
3053
  type Bank = 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank' | OtherString;
2838
3054
  }
3055
+ namespace Rechnung {
3056
+ interface Dob {
3057
+ /**
3058
+ * The day of birth, between 1 and 31.
3059
+ */
3060
+ day: number;
3061
+ /**
3062
+ * The month of birth, between 1 and 12.
3063
+ */
3064
+ month: number;
3065
+ /**
3066
+ * The four-digit year of birth.
3067
+ */
3068
+ year: number;
3069
+ }
3070
+ }
2839
3071
  namespace Sofort {
2840
3072
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL' | OtherString;
2841
3073
  }
@@ -2865,6 +3097,19 @@ export declare namespace SetupIntentUpdateParams {
2865
3097
  namespace UsBankAccount {
2866
3098
  type AccountHolderType = 'company' | 'individual' | OtherString;
2867
3099
  type AccountType = 'checking' | 'savings' | OtherString;
3100
+ interface ExternalToken {
3101
+ /**
3102
+ * The Plaid processor token to use for this bank account.
3103
+ */
3104
+ plaid_processor_token?: string;
3105
+ /**
3106
+ * The type of external token.
3107
+ */
3108
+ type: ExternalToken.Type;
3109
+ }
3110
+ namespace ExternalToken {
3111
+ type Type = 'plaid_processor_token' | OtherString;
3112
+ }
2868
3113
  }
2869
3114
  }
2870
3115
  namespace PaymentMethodOptions {
@@ -2963,6 +3208,11 @@ export declare namespace SetupIntentUpdateParams {
2963
3208
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
2964
3209
  */
2965
3210
  billing_agreement_id?: string;
3211
+ currency?: string;
3212
+ /**
3213
+ * 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.
3214
+ */
3215
+ subsellers?: Array<string>;
2966
3216
  }
2967
3217
  interface Payto {
2968
3218
  /**
@@ -3360,6 +3610,10 @@ export declare namespace SetupIntentUpdateParams {
3360
3610
  * Provide filters for the linked accounts that the customer can select for the payment method.
3361
3611
  */
3362
3612
  filters?: FinancialConnections.Filters;
3613
+ /**
3614
+ * Customize manual entry behavior
3615
+ */
3616
+ manual_entry?: FinancialConnections.ManualEntry;
3363
3617
  /**
3364
3618
  * The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
3365
3619
  */
@@ -3392,12 +3646,25 @@ export declare namespace SetupIntentUpdateParams {
3392
3646
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3393
3647
  */
3394
3648
  account_subcategories?: Array<Filters.AccountSubcategory>;
3649
+ /**
3650
+ * ID of the institution to use to filter for selectable accounts.
3651
+ */
3652
+ institution?: string;
3653
+ }
3654
+ interface ManualEntry {
3655
+ /**
3656
+ * Settings for configuring manual entry of account details.
3657
+ */
3658
+ mode: ManualEntry.Mode;
3395
3659
  }
3396
3660
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
3397
- type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
3661
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
3398
3662
  namespace Filters {
3399
3663
  type AccountSubcategory = 'checking' | 'savings' | OtherString;
3400
3664
  }
3665
+ namespace ManualEntry {
3666
+ type Mode = 'automatic' | 'custom' | OtherString;
3667
+ }
3401
3668
  }
3402
3669
  namespace Networks {
3403
3670
  type Requested = 'ach' | 'us_domestic_wire' | OtherString;
@@ -3579,10 +3846,18 @@ export declare namespace SetupIntentConfirmParams {
3579
3846
  * If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
3580
3847
  */
3581
3848
  giropay?: PaymentMethodData.Giropay;
3849
+ /**
3850
+ * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
3851
+ */
3852
+ gopay?: PaymentMethodData.Gopay;
3582
3853
  /**
3583
3854
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
3584
3855
  */
3585
3856
  grabpay?: PaymentMethodData.Grabpay;
3857
+ /**
3858
+ * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
3859
+ */
3860
+ id_bank_transfer?: PaymentMethodData.IdBankTransfer;
3586
3861
  /**
3587
3862
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
3588
3863
  */
@@ -3675,10 +3950,18 @@ export declare namespace SetupIntentConfirmParams {
3675
3950
  * If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
3676
3951
  */
3677
3952
  promptpay?: PaymentMethodData.Promptpay;
3953
+ /**
3954
+ * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
3955
+ */
3956
+ qris?: PaymentMethodData.Qris;
3678
3957
  /**
3679
3958
  * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
3680
3959
  */
3681
3960
  radar_options?: PaymentMethodData.RadarOptions;
3961
+ /**
3962
+ * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
3963
+ */
3964
+ rechnung?: PaymentMethodData.Rechnung;
3682
3965
  /**
3683
3966
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
3684
3967
  */
@@ -3703,10 +3986,22 @@ export declare namespace SetupIntentConfirmParams {
3703
3986
  * If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method.
3704
3987
  */
3705
3988
  sequra?: PaymentMethodData.Sequra;
3989
+ /**
3990
+ * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
3991
+ */
3992
+ shared_payment_granted_token?: string;
3993
+ /**
3994
+ * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
3995
+ */
3996
+ shopeepay?: PaymentMethodData.Shopeepay;
3706
3997
  /**
3707
3998
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
3708
3999
  */
3709
4000
  sofort?: PaymentMethodData.Sofort;
4001
+ /**
4002
+ * This hash contains details about the Stripe balance payment method.
4003
+ */
4004
+ stripe_balance?: PaymentMethodData.StripeBalance;
3710
4005
  /**
3711
4006
  * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
3712
4007
  */
@@ -3735,6 +4030,10 @@ export declare namespace SetupIntentConfirmParams {
3735
4030
  * If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
3736
4031
  */
3737
4032
  wechat_pay?: PaymentMethodData.WechatPay;
4033
+ /**
4034
+ * If this is a Wero PaymentMethod, this hash contains details about the Wero payment method.
4035
+ */
4036
+ wero?: PaymentMethodData.Wero;
3738
4037
  /**
3739
4038
  * If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
3740
4039
  */
@@ -3943,8 +4242,16 @@ export declare namespace SetupIntentConfirmParams {
3943
4242
  }
3944
4243
  interface Giropay {
3945
4244
  }
4245
+ interface Gopay {
4246
+ }
3946
4247
  interface Grabpay {
3947
4248
  }
4249
+ interface IdBankTransfer {
4250
+ /**
4251
+ * Bank where the account is held.
4252
+ */
4253
+ bank?: IdBankTransfer.Bank;
4254
+ }
3948
4255
  interface Ideal {
3949
4256
  /**
3950
4257
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -4038,12 +4345,20 @@ export declare namespace SetupIntentConfirmParams {
4038
4345
  }
4039
4346
  interface Promptpay {
4040
4347
  }
4348
+ interface Qris {
4349
+ }
4041
4350
  interface RadarOptions {
4042
4351
  /**
4043
4352
  * A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
4044
4353
  */
4045
4354
  session?: string;
4046
4355
  }
4356
+ interface Rechnung {
4357
+ /**
4358
+ * Customer's date of birth
4359
+ */
4360
+ dob: Rechnung.Dob;
4361
+ }
4047
4362
  interface RevolutPay {
4048
4363
  }
4049
4364
  interface SamsungPay {
@@ -4060,19 +4375,27 @@ export declare namespace SetupIntentConfirmParams {
4060
4375
  }
4061
4376
  interface Sequra {
4062
4377
  }
4378
+ interface Shopeepay {
4379
+ }
4063
4380
  interface Sofort {
4064
4381
  /**
4065
4382
  * Two-letter ISO code representing the country the bank account is located in.
4066
4383
  */
4067
4384
  country: Sofort.Country;
4068
4385
  }
4386
+ interface StripeBalance {
4387
+ /**
4388
+ * The connected account ID whose Stripe balance to use as the source of payment
4389
+ */
4390
+ account?: string;
4391
+ }
4069
4392
  interface Sunbit {
4070
4393
  }
4071
4394
  interface Swish {
4072
4395
  }
4073
4396
  interface Twint {
4074
4397
  }
4075
- type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
4398
+ type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
4076
4399
  interface Upi {
4077
4400
  /**
4078
4401
  * Configuration options for setting up an eMandate
@@ -4092,6 +4415,10 @@ export declare namespace SetupIntentConfirmParams {
4092
4415
  * Account type: checkings or savings. Defaults to checking if omitted.
4093
4416
  */
4094
4417
  account_type?: UsBankAccount.AccountType;
4418
+ /**
4419
+ * An external token used to create a payment method.
4420
+ */
4421
+ external_token?: UsBankAccount.ExternalToken;
4095
4422
  /**
4096
4423
  * The ID of a Financial Connections Account to use as a payment method.
4097
4424
  */
@@ -4103,6 +4430,8 @@ export declare namespace SetupIntentConfirmParams {
4103
4430
  }
4104
4431
  interface WechatPay {
4105
4432
  }
4433
+ interface Wero {
4434
+ }
4106
4435
  interface Zip {
4107
4436
  }
4108
4437
  namespace Eps {
@@ -4112,6 +4441,9 @@ export declare namespace SetupIntentConfirmParams {
4112
4441
  type AccountHolderType = 'company' | 'individual' | OtherString;
4113
4442
  type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bnp_paribas' | 'bsn' | 'cimb' | 'citibank' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'mbsb_bank' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob' | OtherString;
4114
4443
  }
4444
+ namespace IdBankTransfer {
4445
+ type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'mandiri' | 'permata' | OtherString;
4446
+ }
4115
4447
  namespace Ideal {
4116
4448
  type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe' | OtherString;
4117
4449
  }
@@ -4137,6 +4469,22 @@ export declare namespace SetupIntentConfirmParams {
4137
4469
  namespace P24 {
4138
4470
  type Bank = 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank' | OtherString;
4139
4471
  }
4472
+ namespace Rechnung {
4473
+ interface Dob {
4474
+ /**
4475
+ * The day of birth, between 1 and 31.
4476
+ */
4477
+ day: number;
4478
+ /**
4479
+ * The month of birth, between 1 and 12.
4480
+ */
4481
+ month: number;
4482
+ /**
4483
+ * The four-digit year of birth.
4484
+ */
4485
+ year: number;
4486
+ }
4487
+ }
4140
4488
  namespace Sofort {
4141
4489
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL' | OtherString;
4142
4490
  }
@@ -4166,6 +4514,19 @@ export declare namespace SetupIntentConfirmParams {
4166
4514
  namespace UsBankAccount {
4167
4515
  type AccountHolderType = 'company' | 'individual' | OtherString;
4168
4516
  type AccountType = 'checking' | 'savings' | OtherString;
4517
+ interface ExternalToken {
4518
+ /**
4519
+ * The Plaid processor token to use for this bank account.
4520
+ */
4521
+ plaid_processor_token?: string;
4522
+ /**
4523
+ * The type of external token.
4524
+ */
4525
+ type: ExternalToken.Type;
4526
+ }
4527
+ namespace ExternalToken {
4528
+ type Type = 'plaid_processor_token' | OtherString;
4529
+ }
4169
4530
  }
4170
4531
  }
4171
4532
  namespace PaymentMethodOptions {
@@ -4264,6 +4625,11 @@ export declare namespace SetupIntentConfirmParams {
4264
4625
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
4265
4626
  */
4266
4627
  billing_agreement_id?: string;
4628
+ currency?: string;
4629
+ /**
4630
+ * 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.
4631
+ */
4632
+ subsellers?: Array<string>;
4267
4633
  }
4268
4634
  interface Payto {
4269
4635
  /**
@@ -4661,6 +5027,10 @@ export declare namespace SetupIntentConfirmParams {
4661
5027
  * Provide filters for the linked accounts that the customer can select for the payment method.
4662
5028
  */
4663
5029
  filters?: FinancialConnections.Filters;
5030
+ /**
5031
+ * Customize manual entry behavior
5032
+ */
5033
+ manual_entry?: FinancialConnections.ManualEntry;
4664
5034
  /**
4665
5035
  * The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
4666
5036
  */
@@ -4693,12 +5063,25 @@ export declare namespace SetupIntentConfirmParams {
4693
5063
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
4694
5064
  */
4695
5065
  account_subcategories?: Array<Filters.AccountSubcategory>;
5066
+ /**
5067
+ * ID of the institution to use to filter for selectable accounts.
5068
+ */
5069
+ institution?: string;
5070
+ }
5071
+ interface ManualEntry {
5072
+ /**
5073
+ * Settings for configuring manual entry of account details.
5074
+ */
5075
+ mode: ManualEntry.Mode;
4696
5076
  }
4697
5077
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
4698
- type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
5078
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
4699
5079
  namespace Filters {
4700
5080
  type AccountSubcategory = 'checking' | 'savings' | OtherString;
4701
5081
  }
5082
+ namespace ManualEntry {
5083
+ type Mode = 'automatic' | 'custom' | OtherString;
5084
+ }
4702
5085
  }
4703
5086
  namespace Networks {
4704
5087
  type Requested = 'ach' | 'us_domestic_wire' | OtherString;