stripe 22.3.0 → 22.4.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 (797) hide show
  1. package/CHANGELOG.md +1798 -54
  2. package/README.md +42 -58
  3. package/VERSION +1 -1
  4. package/cjs/Error.d.ts +50 -0
  5. package/cjs/Error.js +125 -1
  6. package/cjs/Error.js.map +1 -1
  7. package/cjs/StripeEventNotificationHandler.d.ts +19 -0
  8. package/cjs/StripeEventNotificationHandler.js +150 -0
  9. package/cjs/StripeEventNotificationHandler.js.map +1 -0
  10. package/cjs/Types.d.ts +4 -2
  11. package/cjs/Types.js.map +1 -1
  12. package/cjs/apiVersion.d.ts +1 -2
  13. package/cjs/apiVersion.js +2 -3
  14. package/cjs/apiVersion.js.map +1 -1
  15. package/cjs/resources/AccountLinks.d.ts +1 -1
  16. package/cjs/resources/AccountNotices.d.ts +140 -0
  17. package/cjs/resources/AccountNotices.js +29 -0
  18. package/cjs/resources/AccountNotices.js.map +1 -0
  19. package/cjs/resources/AccountSessions.d.ts +262 -0
  20. package/cjs/resources/AccountSessions.js.map +1 -1
  21. package/cjs/resources/Accounts.d.ts +827 -3
  22. package/cjs/resources/Accounts.js +14 -0
  23. package/cjs/resources/Accounts.js.map +1 -1
  24. package/cjs/resources/Balance.d.ts +67 -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 +84 -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 +101 -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 +403 -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 +29 -0
  66. package/cjs/resources/Events.d.ts +547 -2
  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 +99 -0
  77. package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
  78. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
  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 +156 -7
  83. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  84. package/cjs/resources/FinancialConnections/index.d.ts +21 -6
  85. package/cjs/resources/FinancialConnections/index.js +4 -0
  86. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  87. package/cjs/resources/FxQuotes.d.ts +212 -0
  88. package/cjs/resources/FxQuotes.js +29 -0
  89. package/cjs/resources/FxQuotes.js.map +1 -0
  90. package/cjs/resources/InvoiceItems.d.ts +85 -0
  91. package/cjs/resources/InvoiceItems.js.map +1 -1
  92. package/cjs/resources/InvoiceLineItems.d.ts +40 -2
  93. package/cjs/resources/Invoices.d.ts +1388 -15
  94. package/cjs/resources/Invoices.js +41 -0
  95. package/cjs/resources/Invoices.js.map +1 -1
  96. package/cjs/resources/Issuing/Authorizations.d.ts +13 -0
  97. package/cjs/resources/Issuing/Cardholders.d.ts +15 -1
  98. package/cjs/resources/Issuing/Cards.d.ts +13 -0
  99. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
  100. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
  101. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  102. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  103. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  104. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  105. package/cjs/resources/Issuing/Disputes.d.ts +13 -0
  106. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  107. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  108. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  109. package/cjs/resources/Issuing/Settlements.d.ts +83 -0
  110. package/cjs/resources/Issuing/Settlements.js +4 -0
  111. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  112. package/cjs/resources/Issuing/Transactions.d.ts +22 -0
  113. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  114. package/cjs/resources/Issuing/index.d.ts +47 -22
  115. package/cjs/resources/Issuing/index.js +6 -0
  116. package/cjs/resources/Issuing/index.js.map +1 -1
  117. package/cjs/resources/LineItems.d.ts +29 -2
  118. package/cjs/resources/Mandates.d.ts +33 -1
  119. package/cjs/resources/Mandates.js +8 -0
  120. package/cjs/resources/Mandates.js.map +1 -1
  121. package/cjs/resources/Margins.d.ts +115 -0
  122. package/cjs/resources/Margins.js +35 -0
  123. package/cjs/resources/Margins.js.map +1 -0
  124. package/cjs/resources/Orders.d.ts +4693 -0
  125. package/cjs/resources/Orders.js +457 -0
  126. package/cjs/resources/Orders.js.map +1 -0
  127. package/cjs/resources/PaymentAttemptRecords.d.ts +82 -0
  128. package/cjs/resources/PaymentIntents.d.ts +13283 -2352
  129. package/cjs/resources/PaymentIntents.js +27 -0
  130. package/cjs/resources/PaymentIntents.js.map +1 -1
  131. package/cjs/resources/PaymentLinks.d.ts +19 -3
  132. package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
  133. package/cjs/resources/PaymentMethods.d.ts +164 -3
  134. package/cjs/resources/PaymentMethods.js.map +1 -1
  135. package/cjs/resources/PaymentRecords.d.ts +82 -0
  136. package/cjs/resources/Persons.d.ts +2 -2
  137. package/cjs/resources/Plans.d.ts +16 -0
  138. package/cjs/resources/Prices.d.ts +52 -0
  139. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -0
  140. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  141. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  142. package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
  143. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  144. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  145. package/cjs/resources/Privacy/index.d.ts +22 -0
  146. package/cjs/resources/Privacy/index.js +13 -0
  147. package/cjs/resources/Privacy/index.js.map +1 -0
  148. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +125 -0
  149. package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
  150. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
  151. package/cjs/resources/ProductCatalog/index.d.ts +12 -0
  152. package/cjs/resources/ProductCatalog/index.js +13 -0
  153. package/cjs/resources/ProductCatalog/index.js.map +1 -0
  154. package/cjs/resources/Products.d.ts +42 -0
  155. package/cjs/resources/PromotionCodes.d.ts +12 -0
  156. package/cjs/resources/PromotionCodes.js +27 -0
  157. package/cjs/resources/PromotionCodes.js.map +1 -1
  158. package/cjs/resources/QuoteLines.d.ts +507 -0
  159. package/cjs/resources/QuoteLines.js +4 -0
  160. package/cjs/resources/QuoteLines.js.map +1 -0
  161. package/cjs/resources/QuotePreviewInvoices.d.ts +1120 -0
  162. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  163. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  164. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +738 -0
  165. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  166. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  167. package/cjs/resources/Quotes.d.ts +2266 -57
  168. package/cjs/resources/Quotes.js +1184 -16
  169. package/cjs/resources/Quotes.js.map +1 -1
  170. package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
  171. package/cjs/resources/Radar/ValueListItems.d.ts +30 -0
  172. package/cjs/resources/Refunds.d.ts +11 -0
  173. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  174. package/cjs/resources/Reserve/Holds.js +19 -0
  175. package/cjs/resources/Reserve/Holds.js.map +1 -1
  176. package/cjs/resources/Reserve/Plans.d.ts +16 -0
  177. package/cjs/resources/Reserve/Plans.js +11 -0
  178. package/cjs/resources/Reserve/Plans.js.map +1 -1
  179. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  180. package/cjs/resources/Reserve/Releases.js +19 -0
  181. package/cjs/resources/Reserve/Releases.js.map +1 -1
  182. package/cjs/resources/Reserve/index.d.ts +17 -6
  183. package/cjs/resources/Reserve/index.js +9 -0
  184. package/cjs/resources/Reserve/index.js.map +1 -1
  185. package/cjs/resources/SetupAttempts.d.ts +26 -1
  186. package/cjs/resources/SetupIntents.d.ts +343 -11
  187. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1105 -0
  188. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  189. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  190. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +306 -0
  191. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  192. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  193. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  194. package/cjs/resources/SharedPayment/index.js +15 -0
  195. package/cjs/resources/SharedPayment/index.js.map +1 -0
  196. package/cjs/resources/Sources.d.ts +29 -1
  197. package/cjs/resources/SubscriptionItems.d.ts +143 -0
  198. package/cjs/resources/SubscriptionSchedules.d.ts +1152 -0
  199. package/cjs/resources/SubscriptionSchedules.js +6 -0
  200. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  201. package/cjs/resources/Subscriptions.d.ts +571 -6
  202. package/cjs/resources/Subscriptions.js +145 -0
  203. package/cjs/resources/Subscriptions.js.map +1 -1
  204. package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
  205. package/cjs/resources/Tax/Calculations.d.ts +7 -3
  206. package/cjs/resources/Tax/Forms.d.ts +228 -0
  207. package/cjs/resources/Tax/Forms.js +32 -0
  208. package/cjs/resources/Tax/Forms.js.map +1 -0
  209. package/cjs/resources/Tax/Locations.d.ts +108 -0
  210. package/cjs/resources/Tax/Locations.js +33 -0
  211. package/cjs/resources/Tax/Locations.js.map +1 -0
  212. package/cjs/resources/Tax/Registrations.d.ts +138 -2
  213. package/cjs/resources/Tax/Transactions.d.ts +2 -2
  214. package/cjs/resources/Tax/index.d.ts +27 -13
  215. package/cjs/resources/Tax/index.js +4 -0
  216. package/cjs/resources/Tax/index.js.map +1 -1
  217. package/cjs/resources/TaxCodes.d.ts +15 -0
  218. package/cjs/resources/Terminal/Configurations.d.ts +27 -0
  219. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  220. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  221. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  222. package/cjs/resources/Terminal/Readers.d.ts +17 -1
  223. package/cjs/resources/Terminal/index.d.ts +5 -0
  224. package/cjs/resources/Terminal/index.js +2 -0
  225. package/cjs/resources/Terminal/index.js.map +1 -1
  226. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
  227. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
  228. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  229. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  230. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  231. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  232. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  233. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  234. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  235. package/cjs/resources/TestHelpers/index.d.ts +3 -0
  236. package/cjs/resources/TestHelpers/index.js +6 -4
  237. package/cjs/resources/TestHelpers/index.js.map +1 -1
  238. package/cjs/resources/Tokens.d.ts +15 -0
  239. package/cjs/resources/Transfers.d.ts +8 -0
  240. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  241. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  242. package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
  243. package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
  244. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  245. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  246. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +71 -0
  247. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  248. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  249. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  250. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  251. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  252. package/cjs/resources/V2/Billing/BillSettings.d.ts +280 -0
  253. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  254. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  255. package/cjs/resources/V2/Billing/Cadences.d.ts +947 -0
  256. package/cjs/resources/V2/Billing/Cadences.js +198 -0
  257. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  258. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +236 -0
  259. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  260. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  261. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  262. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  263. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  264. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +775 -0
  265. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  266. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  267. package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
  268. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  269. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  270. package/cjs/resources/V2/Billing/index.d.ts +45 -6
  271. package/cjs/resources/V2/Billing/index.js +8 -0
  272. package/cjs/resources/V2/Billing/index.js.map +1 -1
  273. package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
  274. package/cjs/resources/V2/Core/AccountTokens.d.ts +10 -0
  275. package/cjs/resources/V2/Core/Accounts.d.ts +1565 -75
  276. package/cjs/resources/V2/Core/BatchJobs.d.ts +360 -0
  277. package/cjs/resources/V2/Core/BatchJobs.js +225 -0
  278. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  279. package/cjs/resources/V2/Core/Events.d.ts +1151 -4
  280. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +279 -0
  281. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
  282. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  283. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +249 -0
  284. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +63 -0
  285. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  286. package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
  287. package/cjs/resources/V2/Core/Vault/index.js +15 -0
  288. package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
  289. package/cjs/resources/V2/Core/index.d.ts +19 -9
  290. package/cjs/resources/V2/Core/index.js +4 -0
  291. package/cjs/resources/V2/Core/index.js.map +1 -1
  292. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +150 -0
  293. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  294. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  295. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  296. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  297. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  298. package/cjs/resources/V2/Data/index.d.ts +10 -0
  299. package/cjs/resources/V2/Data/index.js +13 -0
  300. package/cjs/resources/V2/Data/index.js.map +1 -0
  301. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  302. package/cjs/resources/V2/EventMisc.js +2 -0
  303. package/cjs/resources/V2/EventMisc.js.map +1 -0
  304. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +162 -0
  305. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  306. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  307. package/cjs/resources/V2/Extend/Workflows.d.ts +119 -0
  308. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  309. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  310. package/cjs/resources/V2/Extend/index.d.ts +20 -0
  311. package/cjs/resources/V2/Extend/index.js +15 -0
  312. package/cjs/resources/V2/Extend/index.js.map +1 -0
  313. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  314. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
  315. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  316. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  317. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
  318. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  319. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +210 -0
  320. package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
  321. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  322. package/cjs/resources/V2/Iam/index.d.ts +13 -0
  323. package/cjs/resources/V2/Iam/index.js +13 -0
  324. package/cjs/resources/V2/Iam/index.js.map +1 -0
  325. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +131 -0
  326. package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
  327. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  328. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +240 -0
  329. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +44 -0
  330. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  331. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +211 -0
  332. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
  333. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  334. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +250 -0
  335. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
  336. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  337. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +208 -0
  338. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
  339. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  340. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +394 -0
  341. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
  342. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  343. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +296 -0
  344. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
  345. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  346. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +336 -0
  347. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
  348. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  349. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +239 -0
  350. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
  351. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  352. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
  353. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
  354. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  355. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
  356. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
  357. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  358. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +157 -0
  359. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  360. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  361. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +161 -0
  362. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
  363. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  364. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +192 -0
  365. package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
  366. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  367. package/cjs/resources/V2/MoneyManagement/index.d.ts +104 -0
  368. package/cjs/resources/V2/MoneyManagement/index.js +39 -0
  369. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
  370. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  371. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  372. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  373. package/cjs/resources/V2/Network/index.d.ts +13 -0
  374. package/cjs/resources/V2/Network/index.js +13 -0
  375. package/cjs/resources/V2/Network/index.js.map +1 -0
  376. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  377. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  378. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  379. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  380. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  381. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  382. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  383. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
  384. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  385. package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
  386. package/cjs/resources/V2/TestHelpers/index.js +13 -0
  387. package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
  388. package/cjs/resources/V2/index.d.ts +27 -0
  389. package/cjs/resources/V2/index.js +14 -0
  390. package/cjs/resources/V2/index.js.map +1 -1
  391. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  392. package/cjs/resources.d.ts +10 -0
  393. package/cjs/resources.js +146 -10
  394. package/cjs/resources.js.map +1 -1
  395. package/cjs/stripe.cjs.node.d.ts +6536 -109
  396. package/cjs/stripe.cjs.node.js.map +1 -1
  397. package/cjs/stripe.core.d.ts +91 -26
  398. package/cjs/stripe.core.js +55 -32
  399. package/cjs/stripe.core.js.map +1 -1
  400. package/esm/Error.d.ts +50 -0
  401. package/esm/Error.js +109 -0
  402. package/esm/Error.js.map +1 -1
  403. package/esm/StripeEventNotificationHandler.d.ts +19 -0
  404. package/esm/StripeEventNotificationHandler.js +146 -0
  405. package/esm/StripeEventNotificationHandler.js.map +1 -0
  406. package/esm/Types.d.ts +4 -2
  407. package/esm/Types.js.map +1 -1
  408. package/esm/apiVersion.d.ts +1 -2
  409. package/esm/apiVersion.js +1 -2
  410. package/esm/apiVersion.js.map +1 -1
  411. package/esm/resources/AccountLinks.d.ts +1 -1
  412. package/esm/resources/AccountNotices.d.ts +140 -0
  413. package/esm/resources/AccountNotices.js +25 -0
  414. package/esm/resources/AccountNotices.js.map +1 -0
  415. package/esm/resources/AccountSessions.d.ts +262 -0
  416. package/esm/resources/AccountSessions.js.map +1 -1
  417. package/esm/resources/Accounts.d.ts +827 -3
  418. package/esm/resources/Accounts.js +14 -0
  419. package/esm/resources/Accounts.js.map +1 -1
  420. package/esm/resources/Balance.d.ts +67 -0
  421. package/esm/resources/BankAccounts.d.ts +2 -2
  422. package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
  423. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +84 -0
  424. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  425. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  426. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
  427. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  428. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  429. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  430. package/esm/resources/Billing/Analytics/index.js +9 -0
  431. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  432. package/esm/resources/Billing/index.d.ts +3 -0
  433. package/esm/resources/Billing/index.js +2 -0
  434. package/esm/resources/Billing/index.js.map +1 -1
  435. package/esm/resources/Capabilities.d.ts +2 -2
  436. package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
  437. package/esm/resources/Capital/FinancingOffers.js +26 -0
  438. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  439. package/esm/resources/Capital/FinancingSummary.d.ts +101 -0
  440. package/esm/resources/Capital/FinancingSummary.js +11 -0
  441. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  442. package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
  443. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  444. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  445. package/esm/resources/Capital/index.d.ts +25 -0
  446. package/esm/resources/Capital/index.js +13 -0
  447. package/esm/resources/Capital/index.js.map +1 -0
  448. package/esm/resources/Cards.d.ts +17 -0
  449. package/esm/resources/Charges.d.ts +3077 -70
  450. package/esm/resources/Checkout/Sessions.d.ts +403 -4
  451. package/esm/resources/ConfirmationTokens.d.ts +67 -1
  452. package/esm/resources/Coupons.d.ts +53 -0
  453. package/esm/resources/Coupons.js +13 -0
  454. package/esm/resources/Coupons.js.map +1 -1
  455. package/esm/resources/CreditNoteLineItems.d.ts +15 -1
  456. package/esm/resources/CreditNotes.d.ts +1 -1
  457. package/esm/resources/CustomerSessions.d.ts +68 -0
  458. package/esm/resources/Customers.d.ts +20 -1
  459. package/esm/resources/Customers.js +14 -0
  460. package/esm/resources/Customers.js.map +1 -1
  461. package/esm/resources/Disputes.d.ts +29 -0
  462. package/esm/resources/Events.d.ts +547 -2
  463. package/esm/resources/ExternalAccounts.d.ts +212 -1
  464. package/esm/resources/ExternalAccounts.js +42 -1
  465. package/esm/resources/ExternalAccounts.js.map +1 -1
  466. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  467. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  468. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  469. package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
  470. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  471. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  472. package/esm/resources/FinancialConnections/Authorizations.d.ts +99 -0
  473. package/esm/resources/FinancialConnections/Authorizations.js +11 -0
  474. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
  475. package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
  476. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  477. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  478. package/esm/resources/FinancialConnections/Sessions.d.ts +156 -7
  479. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  480. package/esm/resources/FinancialConnections/index.d.ts +21 -6
  481. package/esm/resources/FinancialConnections/index.js +4 -0
  482. package/esm/resources/FinancialConnections/index.js.map +1 -1
  483. package/esm/resources/FxQuotes.d.ts +212 -0
  484. package/esm/resources/FxQuotes.js +25 -0
  485. package/esm/resources/FxQuotes.js.map +1 -0
  486. package/esm/resources/InvoiceItems.d.ts +85 -0
  487. package/esm/resources/InvoiceItems.js.map +1 -1
  488. package/esm/resources/InvoiceLineItems.d.ts +40 -2
  489. package/esm/resources/Invoices.d.ts +1388 -15
  490. package/esm/resources/Invoices.js +41 -0
  491. package/esm/resources/Invoices.js.map +1 -1
  492. package/esm/resources/Issuing/Authorizations.d.ts +13 -0
  493. package/esm/resources/Issuing/Cardholders.d.ts +15 -1
  494. package/esm/resources/Issuing/Cards.d.ts +13 -0
  495. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
  496. package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
  497. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  498. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  499. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  500. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  501. package/esm/resources/Issuing/Disputes.d.ts +13 -0
  502. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  503. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  504. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  505. package/esm/resources/Issuing/Settlements.d.ts +83 -0
  506. package/esm/resources/Issuing/Settlements.js +3 -0
  507. package/esm/resources/Issuing/Settlements.js.map +1 -0
  508. package/esm/resources/Issuing/Transactions.d.ts +22 -0
  509. package/esm/resources/Issuing/Transactions.js.map +1 -1
  510. package/esm/resources/Issuing/index.d.ts +47 -22
  511. package/esm/resources/Issuing/index.js +6 -0
  512. package/esm/resources/Issuing/index.js.map +1 -1
  513. package/esm/resources/LineItems.d.ts +29 -2
  514. package/esm/resources/Mandates.d.ts +33 -1
  515. package/esm/resources/Mandates.js +8 -0
  516. package/esm/resources/Mandates.js.map +1 -1
  517. package/esm/resources/Margins.d.ts +115 -0
  518. package/esm/resources/Margins.js +31 -0
  519. package/esm/resources/Margins.js.map +1 -0
  520. package/esm/resources/Orders.d.ts +4693 -0
  521. package/esm/resources/Orders.js +453 -0
  522. package/esm/resources/Orders.js.map +1 -0
  523. package/esm/resources/PaymentAttemptRecords.d.ts +82 -0
  524. package/esm/resources/PaymentIntents.d.ts +13283 -2352
  525. package/esm/resources/PaymentIntents.js +27 -0
  526. package/esm/resources/PaymentIntents.js.map +1 -1
  527. package/esm/resources/PaymentLinks.d.ts +19 -3
  528. package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
  529. package/esm/resources/PaymentMethods.d.ts +164 -3
  530. package/esm/resources/PaymentMethods.js.map +1 -1
  531. package/esm/resources/PaymentRecords.d.ts +82 -0
  532. package/esm/resources/Persons.d.ts +2 -2
  533. package/esm/resources/Plans.d.ts +16 -0
  534. package/esm/resources/Prices.d.ts +52 -0
  535. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -0
  536. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  537. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  538. package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
  539. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  540. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  541. package/esm/resources/Privacy/index.d.ts +22 -0
  542. package/esm/resources/Privacy/index.js +9 -0
  543. package/esm/resources/Privacy/index.js.map +1 -0
  544. package/esm/resources/ProductCatalog/TrialOffers.d.ts +125 -0
  545. package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
  546. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
  547. package/esm/resources/ProductCatalog/index.d.ts +12 -0
  548. package/esm/resources/ProductCatalog/index.js +9 -0
  549. package/esm/resources/ProductCatalog/index.js.map +1 -0
  550. package/esm/resources/Products.d.ts +42 -0
  551. package/esm/resources/PromotionCodes.d.ts +12 -0
  552. package/esm/resources/PromotionCodes.js +27 -0
  553. package/esm/resources/PromotionCodes.js.map +1 -1
  554. package/esm/resources/QuoteLines.d.ts +507 -0
  555. package/esm/resources/QuoteLines.js +3 -0
  556. package/esm/resources/QuoteLines.js.map +1 -0
  557. package/esm/resources/QuotePreviewInvoices.d.ts +1120 -0
  558. package/esm/resources/QuotePreviewInvoices.js +3 -0
  559. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  560. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +738 -0
  561. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  562. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  563. package/esm/resources/Quotes.d.ts +2266 -57
  564. package/esm/resources/Quotes.js +1184 -16
  565. package/esm/resources/Quotes.js.map +1 -1
  566. package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
  567. package/esm/resources/Radar/ValueListItems.d.ts +30 -0
  568. package/esm/resources/Refunds.d.ts +11 -0
  569. package/esm/resources/Reserve/Holds.d.ts +53 -1
  570. package/esm/resources/Reserve/Holds.js +17 -1
  571. package/esm/resources/Reserve/Holds.js.map +1 -1
  572. package/esm/resources/Reserve/Plans.d.ts +16 -0
  573. package/esm/resources/Reserve/Plans.js +9 -1
  574. package/esm/resources/Reserve/Plans.js.map +1 -1
  575. package/esm/resources/Reserve/Releases.d.ts +41 -1
  576. package/esm/resources/Reserve/Releases.js +17 -1
  577. package/esm/resources/Reserve/Releases.js.map +1 -1
  578. package/esm/resources/Reserve/index.d.ts +17 -6
  579. package/esm/resources/Reserve/index.js +9 -0
  580. package/esm/resources/Reserve/index.js.map +1 -1
  581. package/esm/resources/SetupAttempts.d.ts +26 -1
  582. package/esm/resources/SetupIntents.d.ts +343 -11
  583. package/esm/resources/SharedPayment/GrantedTokens.d.ts +1105 -0
  584. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  585. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  586. package/esm/resources/SharedPayment/IssuedTokens.d.ts +306 -0
  587. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  588. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  589. package/esm/resources/SharedPayment/index.d.ts +19 -0
  590. package/esm/resources/SharedPayment/index.js +11 -0
  591. package/esm/resources/SharedPayment/index.js.map +1 -0
  592. package/esm/resources/Sources.d.ts +29 -1
  593. package/esm/resources/SubscriptionItems.d.ts +143 -0
  594. package/esm/resources/SubscriptionSchedules.d.ts +1152 -0
  595. package/esm/resources/SubscriptionSchedules.js +6 -0
  596. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  597. package/esm/resources/Subscriptions.d.ts +571 -6
  598. package/esm/resources/Subscriptions.js +145 -0
  599. package/esm/resources/Subscriptions.js.map +1 -1
  600. package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
  601. package/esm/resources/Tax/Calculations.d.ts +7 -3
  602. package/esm/resources/Tax/Forms.d.ts +228 -0
  603. package/esm/resources/Tax/Forms.js +28 -0
  604. package/esm/resources/Tax/Forms.js.map +1 -0
  605. package/esm/resources/Tax/Locations.d.ts +108 -0
  606. package/esm/resources/Tax/Locations.js +29 -0
  607. package/esm/resources/Tax/Locations.js.map +1 -0
  608. package/esm/resources/Tax/Registrations.d.ts +138 -2
  609. package/esm/resources/Tax/Transactions.d.ts +2 -2
  610. package/esm/resources/Tax/index.d.ts +27 -13
  611. package/esm/resources/Tax/index.js +4 -0
  612. package/esm/resources/Tax/index.js.map +1 -1
  613. package/esm/resources/TaxCodes.d.ts +15 -0
  614. package/esm/resources/Terminal/Configurations.d.ts +27 -0
  615. package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  616. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  617. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  618. package/esm/resources/Terminal/Readers.d.ts +17 -1
  619. package/esm/resources/Terminal/index.d.ts +5 -0
  620. package/esm/resources/Terminal/index.js +2 -0
  621. package/esm/resources/Terminal/index.js.map +1 -1
  622. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
  623. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
  624. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  625. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  626. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  627. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  628. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  629. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  630. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  631. package/esm/resources/TestHelpers/index.d.ts +3 -0
  632. package/esm/resources/TestHelpers/index.js +2 -0
  633. package/esm/resources/TestHelpers/index.js.map +1 -1
  634. package/esm/resources/Tokens.d.ts +15 -0
  635. package/esm/resources/Transfers.d.ts +8 -0
  636. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  637. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  638. package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
  639. package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
  640. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  641. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  642. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +71 -0
  643. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  644. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  645. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  646. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  647. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  648. package/esm/resources/V2/Billing/BillSettings.d.ts +280 -0
  649. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  650. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  651. package/esm/resources/V2/Billing/Cadences.d.ts +947 -0
  652. package/esm/resources/V2/Billing/Cadences.js +194 -0
  653. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  654. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +236 -0
  655. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  656. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  657. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  658. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  659. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  660. package/esm/resources/V2/Billing/CollectionSettings.d.ts +775 -0
  661. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  662. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  663. package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
  664. package/esm/resources/V2/Billing/Profiles.js +31 -0
  665. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  666. package/esm/resources/V2/Billing/index.d.ts +45 -6
  667. package/esm/resources/V2/Billing/index.js +8 -0
  668. package/esm/resources/V2/Billing/index.js.map +1 -1
  669. package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
  670. package/esm/resources/V2/Core/AccountTokens.d.ts +10 -0
  671. package/esm/resources/V2/Core/Accounts.d.ts +1565 -75
  672. package/esm/resources/V2/Core/BatchJobs.d.ts +360 -0
  673. package/esm/resources/V2/Core/BatchJobs.js +221 -0
  674. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  675. package/esm/resources/V2/Core/Events.d.ts +1151 -4
  676. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +279 -0
  677. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
  678. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  679. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +249 -0
  680. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +59 -0
  681. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  682. package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
  683. package/esm/resources/V2/Core/Vault/index.js +11 -0
  684. package/esm/resources/V2/Core/Vault/index.js.map +1 -0
  685. package/esm/resources/V2/Core/index.d.ts +19 -9
  686. package/esm/resources/V2/Core/index.js +4 -0
  687. package/esm/resources/V2/Core/index.js.map +1 -1
  688. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +150 -0
  689. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  690. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  691. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  692. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  693. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  694. package/esm/resources/V2/Data/index.d.ts +10 -0
  695. package/esm/resources/V2/Data/index.js +9 -0
  696. package/esm/resources/V2/Data/index.js.map +1 -0
  697. package/esm/resources/V2/EventMisc.d.ts +0 -0
  698. package/esm/resources/V2/EventMisc.js +2 -0
  699. package/esm/resources/V2/EventMisc.js.map +1 -0
  700. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +162 -0
  701. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  702. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  703. package/esm/resources/V2/Extend/Workflows.d.ts +119 -0
  704. package/esm/resources/V2/Extend/Workflows.js +26 -0
  705. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  706. package/esm/resources/V2/Extend/index.d.ts +20 -0
  707. package/esm/resources/V2/Extend/index.js +11 -0
  708. package/esm/resources/V2/Extend/index.js.map +1 -0
  709. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  710. package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
  711. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  712. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  713. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
  714. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  715. package/esm/resources/V2/Iam/ActivityLogs.d.ts +210 -0
  716. package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
  717. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  718. package/esm/resources/V2/Iam/index.d.ts +13 -0
  719. package/esm/resources/V2/Iam/index.js +9 -0
  720. package/esm/resources/V2/Iam/index.js.map +1 -0
  721. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +131 -0
  722. package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
  723. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  724. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +240 -0
  725. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +40 -0
  726. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  727. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +211 -0
  728. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
  729. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  730. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +250 -0
  731. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
  732. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  733. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +208 -0
  734. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
  735. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  736. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +394 -0
  737. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
  738. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  739. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +296 -0
  740. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
  741. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  742. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +336 -0
  743. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
  744. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  745. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +239 -0
  746. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
  747. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  748. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
  749. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
  750. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  751. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
  752. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
  753. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  754. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +157 -0
  755. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  756. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  757. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +161 -0
  758. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
  759. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  760. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +192 -0
  761. package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
  762. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  763. package/esm/resources/V2/MoneyManagement/index.d.ts +104 -0
  764. package/esm/resources/V2/MoneyManagement/index.js +35 -0
  765. package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
  766. package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  767. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  768. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  769. package/esm/resources/V2/Network/index.d.ts +13 -0
  770. package/esm/resources/V2/Network/index.js +9 -0
  771. package/esm/resources/V2/Network/index.js.map +1 -0
  772. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  773. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  774. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  775. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  776. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  777. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  778. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  779. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
  780. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  781. package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
  782. package/esm/resources/V2/TestHelpers/index.js +9 -0
  783. package/esm/resources/V2/TestHelpers/index.js.map +1 -0
  784. package/esm/resources/V2/index.d.ts +27 -0
  785. package/esm/resources/V2/index.js +14 -0
  786. package/esm/resources/V2/index.js.map +1 -1
  787. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  788. package/esm/resources.d.ts +10 -0
  789. package/esm/resources.js +131 -0
  790. package/esm/resources.js.map +1 -1
  791. package/esm/stripe.core.d.ts +91 -26
  792. package/esm/stripe.core.js +25 -2
  793. package/esm/stripe.core.js.map +1 -1
  794. package/esm/stripe.esm.node.d.ts +93 -27
  795. package/esm/stripe.esm.node.js +25 -2
  796. package/esm/stripe.esm.node.js.map +1 -1
  797. package/package.json +1 -1
@@ -169,6 +169,10 @@ export interface SetupIntent {
169
169
  * 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).
170
170
  */
171
171
  payment_method_types: Array<string>;
172
+ /**
173
+ * Redaction status of this SetupIntent. If the SetupIntent isn't redacted, this field is null.
174
+ */
175
+ redaction?: SetupIntent.Redaction | null;
172
176
  /**
173
177
  * ID of the single_use Mandate generated by the SetupIntent.
174
178
  */
@@ -198,7 +202,7 @@ export declare namespace SetupIntent {
198
202
  enabled: boolean | null;
199
203
  }
200
204
  type CancellationReason = 'abandoned' | 'duplicate' | 'requested_by_customer';
201
- 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' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
205
+ 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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
202
206
  type FlowDirection = 'inbound' | 'outbound';
203
207
  interface LastSetupError {
204
208
  /**
@@ -345,12 +349,18 @@ export declare namespace SetupIntent {
345
349
  upi?: PaymentMethodOptions.Upi;
346
350
  us_bank_account?: PaymentMethodOptions.UsBankAccount;
347
351
  }
352
+ interface Redaction {
353
+ /**
354
+ * Indicates whether this object and its related objects have been redacted or not.
355
+ */
356
+ status: Redaction.Status;
357
+ }
348
358
  type Status = 'canceled' | 'processing' | 'requires_action' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded';
349
359
  namespace AutomaticPaymentMethods {
350
360
  type AllowRedirects = 'always' | 'never';
351
361
  }
352
362
  namespace LastSetupError {
353
- 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_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' | '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' | 'email_invalid' | 'expired_card' | '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_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_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_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_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_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' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | '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' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid';
363
+ 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_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' | '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' | 'email_invalid' | 'expired_card' | '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_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_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_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_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_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' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | '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' | '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';
354
364
  type Type = 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error';
355
365
  }
356
366
  namespace NextAction {
@@ -516,6 +526,14 @@ export declare namespace SetupIntent {
516
526
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
517
527
  */
518
528
  billing_agreement_id: string | null;
529
+ /**
530
+ * 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).
531
+ */
532
+ currency?: string | null;
533
+ /**
534
+ * 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.
535
+ */
536
+ subsellers?: Array<string>;
519
537
  }
520
538
  interface Payto {
521
539
  mandate_options?: Payto.MandateOptions;
@@ -738,6 +756,7 @@ export declare namespace SetupIntent {
738
756
  namespace UsBankAccount {
739
757
  interface FinancialConnections {
740
758
  filters?: FinancialConnections.Filters;
759
+ manual_entry?: FinancialConnections.ManualEntry;
741
760
  /**
742
761
  * The list of permissions to request. The `payment_method` permission must be included.
743
762
  */
@@ -764,15 +783,31 @@ export declare namespace SetupIntent {
764
783
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
765
784
  */
766
785
  account_subcategories?: Array<Filters.AccountSubcategory>;
786
+ /**
787
+ * The institution to use to filter for possible accounts to link.
788
+ */
789
+ institution?: string;
790
+ }
791
+ interface ManualEntry {
792
+ /**
793
+ * Settings for configuring manual entry of account details.
794
+ */
795
+ mode?: ManualEntry.Mode;
767
796
  }
768
797
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
769
- type Prefetch = 'balances' | 'ownership' | 'transactions';
798
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
770
799
  namespace Filters {
771
800
  type AccountSubcategory = 'checking' | 'savings';
772
801
  }
802
+ namespace ManualEntry {
803
+ type Mode = 'automatic' | 'custom';
804
+ }
773
805
  }
774
806
  }
775
807
  }
808
+ namespace Redaction {
809
+ type Status = 'processing' | 'redacted' | 'validated';
810
+ }
776
811
  }
777
812
  export interface SetupIntentCreateParams {
778
813
  /**
@@ -890,7 +925,7 @@ export declare namespace SetupIntentCreateParams {
890
925
  */
891
926
  enabled: boolean;
892
927
  }
893
- 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' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
928
+ 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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
894
929
  type FlowDirection = 'inbound' | 'outbound';
895
930
  interface MandateData {
896
931
  /**
@@ -983,10 +1018,18 @@ export declare namespace SetupIntentCreateParams {
983
1018
  * If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
984
1019
  */
985
1020
  giropay?: PaymentMethodData.Giropay;
1021
+ /**
1022
+ * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1023
+ */
1024
+ gopay?: PaymentMethodData.Gopay;
986
1025
  /**
987
1026
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
988
1027
  */
989
1028
  grabpay?: PaymentMethodData.Grabpay;
1029
+ /**
1030
+ * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1031
+ */
1032
+ id_bank_transfer?: PaymentMethodData.IdBankTransfer;
990
1033
  /**
991
1034
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
992
1035
  */
@@ -1063,6 +1106,10 @@ export declare namespace SetupIntentCreateParams {
1063
1106
  * If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
1064
1107
  */
1065
1108
  paypal?: PaymentMethodData.Paypal;
1109
+ /**
1110
+ * If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
1111
+ */
1112
+ paypay?: PaymentMethodData.Paypay;
1066
1113
  /**
1067
1114
  * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
1068
1115
  */
@@ -1075,10 +1122,18 @@ export declare namespace SetupIntentCreateParams {
1075
1122
  * If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
1076
1123
  */
1077
1124
  promptpay?: PaymentMethodData.Promptpay;
1125
+ /**
1126
+ * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
1127
+ */
1128
+ qris?: PaymentMethodData.Qris;
1078
1129
  /**
1079
1130
  * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
1080
1131
  */
1081
1132
  radar_options?: PaymentMethodData.RadarOptions;
1133
+ /**
1134
+ * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
1135
+ */
1136
+ rechnung?: PaymentMethodData.Rechnung;
1082
1137
  /**
1083
1138
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1084
1139
  */
@@ -1099,10 +1154,22 @@ export declare namespace SetupIntentCreateParams {
1099
1154
  * If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
1100
1155
  */
1101
1156
  sepa_debit?: PaymentMethodData.SepaDebit;
1157
+ /**
1158
+ * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
1159
+ */
1160
+ shared_payment_granted_token?: string;
1161
+ /**
1162
+ * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
1163
+ */
1164
+ shopeepay?: PaymentMethodData.Shopeepay;
1102
1165
  /**
1103
1166
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1104
1167
  */
1105
1168
  sofort?: PaymentMethodData.Sofort;
1169
+ /**
1170
+ * This hash contains details about the Stripe balance payment method.
1171
+ */
1172
+ stripe_balance?: PaymentMethodData.StripeBalance;
1106
1173
  /**
1107
1174
  * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
1108
1175
  */
@@ -1349,8 +1416,16 @@ export declare namespace SetupIntentCreateParams {
1349
1416
  }
1350
1417
  interface Giropay {
1351
1418
  }
1419
+ interface Gopay {
1420
+ }
1352
1421
  interface Grabpay {
1353
1422
  }
1423
+ interface IdBankTransfer {
1424
+ /**
1425
+ * Bank where the account is held.
1426
+ */
1427
+ bank?: IdBankTransfer.Bank;
1428
+ }
1354
1429
  interface Ideal {
1355
1430
  /**
1356
1431
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -1424,6 +1499,8 @@ export declare namespace SetupIntentCreateParams {
1424
1499
  }
1425
1500
  interface Paypal {
1426
1501
  }
1502
+ interface Paypay {
1503
+ }
1427
1504
  interface Payto {
1428
1505
  /**
1429
1506
  * The account number for the bank account.
@@ -1442,12 +1519,20 @@ export declare namespace SetupIntentCreateParams {
1442
1519
  }
1443
1520
  interface Promptpay {
1444
1521
  }
1522
+ interface Qris {
1523
+ }
1445
1524
  interface RadarOptions {
1446
1525
  /**
1447
1526
  * 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.
1448
1527
  */
1449
1528
  session?: string;
1450
1529
  }
1530
+ interface Rechnung {
1531
+ /**
1532
+ * Customer's date of birth
1533
+ */
1534
+ dob: Rechnung.Dob;
1535
+ }
1451
1536
  interface RevolutPay {
1452
1537
  }
1453
1538
  interface SamsungPay {
@@ -1462,19 +1547,27 @@ export declare namespace SetupIntentCreateParams {
1462
1547
  */
1463
1548
  iban: string;
1464
1549
  }
1550
+ interface Shopeepay {
1551
+ }
1465
1552
  interface Sofort {
1466
1553
  /**
1467
1554
  * Two-letter ISO code representing the country the bank account is located in.
1468
1555
  */
1469
1556
  country: Sofort.Country;
1470
1557
  }
1558
+ interface StripeBalance {
1559
+ /**
1560
+ * The connected account ID whose Stripe balance to use as the source of payment
1561
+ */
1562
+ account?: string;
1563
+ }
1471
1564
  interface Sunbit {
1472
1565
  }
1473
1566
  interface Swish {
1474
1567
  }
1475
1568
  interface Twint {
1476
1569
  }
1477
- 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' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
1570
+ 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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
1478
1571
  interface Upi {
1479
1572
  /**
1480
1573
  * Configuration options for setting up an eMandate
@@ -1514,6 +1607,9 @@ export declare namespace SetupIntentCreateParams {
1514
1607
  type AccountHolderType = 'company' | 'individual';
1515
1608
  type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
1516
1609
  }
1610
+ namespace IdBankTransfer {
1611
+ type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
1612
+ }
1517
1613
  namespace Ideal {
1518
1614
  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';
1519
1615
  }
@@ -1539,6 +1635,22 @@ export declare namespace SetupIntentCreateParams {
1539
1635
  namespace P24 {
1540
1636
  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';
1541
1637
  }
1638
+ namespace Rechnung {
1639
+ interface Dob {
1640
+ /**
1641
+ * The day of birth, between 1 and 31.
1642
+ */
1643
+ day: number;
1644
+ /**
1645
+ * The month of birth, between 1 and 12.
1646
+ */
1647
+ month: number;
1648
+ /**
1649
+ * The four-digit year of birth.
1650
+ */
1651
+ year: number;
1652
+ }
1653
+ }
1542
1654
  namespace Sofort {
1543
1655
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
1544
1656
  }
@@ -1652,6 +1764,11 @@ export declare namespace SetupIntentCreateParams {
1652
1764
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1653
1765
  */
1654
1766
  billing_agreement_id?: string;
1767
+ currency?: string;
1768
+ /**
1769
+ * 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.
1770
+ */
1771
+ subsellers?: Array<string>;
1655
1772
  }
1656
1773
  interface Payto {
1657
1774
  /**
@@ -2040,6 +2157,10 @@ export declare namespace SetupIntentCreateParams {
2040
2157
  * Provide filters for the linked accounts that the customer can select for the payment method.
2041
2158
  */
2042
2159
  filters?: FinancialConnections.Filters;
2160
+ /**
2161
+ * Customize manual entry behavior
2162
+ */
2163
+ manual_entry?: FinancialConnections.ManualEntry;
2043
2164
  /**
2044
2165
  * 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`.
2045
2166
  */
@@ -2072,12 +2193,25 @@ export declare namespace SetupIntentCreateParams {
2072
2193
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2073
2194
  */
2074
2195
  account_subcategories?: Array<Filters.AccountSubcategory>;
2196
+ /**
2197
+ * ID of the institution to use to filter for selectable accounts.
2198
+ */
2199
+ institution?: string;
2200
+ }
2201
+ interface ManualEntry {
2202
+ /**
2203
+ * Settings for configuring manual entry of account details.
2204
+ */
2205
+ mode: ManualEntry.Mode;
2075
2206
  }
2076
2207
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
2077
- type Prefetch = 'balances' | 'ownership' | 'transactions';
2208
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
2078
2209
  namespace Filters {
2079
2210
  type AccountSubcategory = 'checking' | 'savings';
2080
2211
  }
2212
+ namespace ManualEntry {
2213
+ type Mode = 'automatic' | 'custom';
2214
+ }
2081
2215
  }
2082
2216
  namespace Networks {
2083
2217
  type Requested = 'ach' | 'us_domestic_wire';
@@ -2159,7 +2293,7 @@ export interface SetupIntentUpdateParams {
2159
2293
  payment_method_types?: Array<string>;
2160
2294
  }
2161
2295
  export declare namespace SetupIntentUpdateParams {
2162
- 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' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
2296
+ 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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
2163
2297
  type FlowDirection = 'inbound' | 'outbound';
2164
2298
  interface PaymentMethodData {
2165
2299
  /**
@@ -2246,10 +2380,18 @@ export declare namespace SetupIntentUpdateParams {
2246
2380
  * If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
2247
2381
  */
2248
2382
  giropay?: PaymentMethodData.Giropay;
2383
+ /**
2384
+ * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2385
+ */
2386
+ gopay?: PaymentMethodData.Gopay;
2249
2387
  /**
2250
2388
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2251
2389
  */
2252
2390
  grabpay?: PaymentMethodData.Grabpay;
2391
+ /**
2392
+ * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2393
+ */
2394
+ id_bank_transfer?: PaymentMethodData.IdBankTransfer;
2253
2395
  /**
2254
2396
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2255
2397
  */
@@ -2326,6 +2468,10 @@ export declare namespace SetupIntentUpdateParams {
2326
2468
  * If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
2327
2469
  */
2328
2470
  paypal?: PaymentMethodData.Paypal;
2471
+ /**
2472
+ * If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
2473
+ */
2474
+ paypay?: PaymentMethodData.Paypay;
2329
2475
  /**
2330
2476
  * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2331
2477
  */
@@ -2338,10 +2484,18 @@ export declare namespace SetupIntentUpdateParams {
2338
2484
  * If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2339
2485
  */
2340
2486
  promptpay?: PaymentMethodData.Promptpay;
2487
+ /**
2488
+ * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2489
+ */
2490
+ qris?: PaymentMethodData.Qris;
2341
2491
  /**
2342
2492
  * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
2343
2493
  */
2344
2494
  radar_options?: PaymentMethodData.RadarOptions;
2495
+ /**
2496
+ * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2497
+ */
2498
+ rechnung?: PaymentMethodData.Rechnung;
2345
2499
  /**
2346
2500
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2347
2501
  */
@@ -2362,10 +2516,22 @@ export declare namespace SetupIntentUpdateParams {
2362
2516
  * If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
2363
2517
  */
2364
2518
  sepa_debit?: PaymentMethodData.SepaDebit;
2519
+ /**
2520
+ * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
2521
+ */
2522
+ shared_payment_granted_token?: string;
2523
+ /**
2524
+ * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2525
+ */
2526
+ shopeepay?: PaymentMethodData.Shopeepay;
2365
2527
  /**
2366
2528
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2367
2529
  */
2368
2530
  sofort?: PaymentMethodData.Sofort;
2531
+ /**
2532
+ * This hash contains details about the Stripe balance payment method.
2533
+ */
2534
+ stripe_balance?: PaymentMethodData.StripeBalance;
2369
2535
  /**
2370
2536
  * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
2371
2537
  */
@@ -2563,8 +2729,16 @@ export declare namespace SetupIntentUpdateParams {
2563
2729
  }
2564
2730
  interface Giropay {
2565
2731
  }
2732
+ interface Gopay {
2733
+ }
2566
2734
  interface Grabpay {
2567
2735
  }
2736
+ interface IdBankTransfer {
2737
+ /**
2738
+ * Bank where the account is held.
2739
+ */
2740
+ bank?: IdBankTransfer.Bank;
2741
+ }
2568
2742
  interface Ideal {
2569
2743
  /**
2570
2744
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -2638,6 +2812,8 @@ export declare namespace SetupIntentUpdateParams {
2638
2812
  }
2639
2813
  interface Paypal {
2640
2814
  }
2815
+ interface Paypay {
2816
+ }
2641
2817
  interface Payto {
2642
2818
  /**
2643
2819
  * The account number for the bank account.
@@ -2656,12 +2832,20 @@ export declare namespace SetupIntentUpdateParams {
2656
2832
  }
2657
2833
  interface Promptpay {
2658
2834
  }
2835
+ interface Qris {
2836
+ }
2659
2837
  interface RadarOptions {
2660
2838
  /**
2661
2839
  * 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.
2662
2840
  */
2663
2841
  session?: string;
2664
2842
  }
2843
+ interface Rechnung {
2844
+ /**
2845
+ * Customer's date of birth
2846
+ */
2847
+ dob: Rechnung.Dob;
2848
+ }
2665
2849
  interface RevolutPay {
2666
2850
  }
2667
2851
  interface SamsungPay {
@@ -2676,19 +2860,27 @@ export declare namespace SetupIntentUpdateParams {
2676
2860
  */
2677
2861
  iban: string;
2678
2862
  }
2863
+ interface Shopeepay {
2864
+ }
2679
2865
  interface Sofort {
2680
2866
  /**
2681
2867
  * Two-letter ISO code representing the country the bank account is located in.
2682
2868
  */
2683
2869
  country: Sofort.Country;
2684
2870
  }
2871
+ interface StripeBalance {
2872
+ /**
2873
+ * The connected account ID whose Stripe balance to use as the source of payment
2874
+ */
2875
+ account?: string;
2876
+ }
2685
2877
  interface Sunbit {
2686
2878
  }
2687
2879
  interface Swish {
2688
2880
  }
2689
2881
  interface Twint {
2690
2882
  }
2691
- 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' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
2883
+ 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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
2692
2884
  interface Upi {
2693
2885
  /**
2694
2886
  * Configuration options for setting up an eMandate
@@ -2728,6 +2920,9 @@ export declare namespace SetupIntentUpdateParams {
2728
2920
  type AccountHolderType = 'company' | 'individual';
2729
2921
  type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
2730
2922
  }
2923
+ namespace IdBankTransfer {
2924
+ type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
2925
+ }
2731
2926
  namespace Ideal {
2732
2927
  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';
2733
2928
  }
@@ -2753,6 +2948,22 @@ export declare namespace SetupIntentUpdateParams {
2753
2948
  namespace P24 {
2754
2949
  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';
2755
2950
  }
2951
+ namespace Rechnung {
2952
+ interface Dob {
2953
+ /**
2954
+ * The day of birth, between 1 and 31.
2955
+ */
2956
+ day: number;
2957
+ /**
2958
+ * The month of birth, between 1 and 12.
2959
+ */
2960
+ month: number;
2961
+ /**
2962
+ * The four-digit year of birth.
2963
+ */
2964
+ year: number;
2965
+ }
2966
+ }
2756
2967
  namespace Sofort {
2757
2968
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
2758
2969
  }
@@ -2866,6 +3077,11 @@ export declare namespace SetupIntentUpdateParams {
2866
3077
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
2867
3078
  */
2868
3079
  billing_agreement_id?: string;
3080
+ currency?: string;
3081
+ /**
3082
+ * The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
3083
+ */
3084
+ subsellers?: Array<string>;
2869
3085
  }
2870
3086
  interface Payto {
2871
3087
  /**
@@ -3254,6 +3470,10 @@ export declare namespace SetupIntentUpdateParams {
3254
3470
  * Provide filters for the linked accounts that the customer can select for the payment method.
3255
3471
  */
3256
3472
  filters?: FinancialConnections.Filters;
3473
+ /**
3474
+ * Customize manual entry behavior
3475
+ */
3476
+ manual_entry?: FinancialConnections.ManualEntry;
3257
3477
  /**
3258
3478
  * 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`.
3259
3479
  */
@@ -3286,12 +3506,25 @@ export declare namespace SetupIntentUpdateParams {
3286
3506
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3287
3507
  */
3288
3508
  account_subcategories?: Array<Filters.AccountSubcategory>;
3509
+ /**
3510
+ * ID of the institution to use to filter for selectable accounts.
3511
+ */
3512
+ institution?: string;
3513
+ }
3514
+ interface ManualEntry {
3515
+ /**
3516
+ * Settings for configuring manual entry of account details.
3517
+ */
3518
+ mode: ManualEntry.Mode;
3289
3519
  }
3290
3520
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
3291
- type Prefetch = 'balances' | 'ownership' | 'transactions';
3521
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
3292
3522
  namespace Filters {
3293
3523
  type AccountSubcategory = 'checking' | 'savings';
3294
3524
  }
3525
+ namespace ManualEntry {
3526
+ type Mode = 'automatic' | 'custom';
3527
+ }
3295
3528
  }
3296
3529
  namespace Networks {
3297
3530
  type Requested = 'ach' | 'us_domestic_wire';
@@ -3468,10 +3701,18 @@ export declare namespace SetupIntentConfirmParams {
3468
3701
  * If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
3469
3702
  */
3470
3703
  giropay?: PaymentMethodData.Giropay;
3704
+ /**
3705
+ * If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
3706
+ */
3707
+ gopay?: PaymentMethodData.Gopay;
3471
3708
  /**
3472
3709
  * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
3473
3710
  */
3474
3711
  grabpay?: PaymentMethodData.Grabpay;
3712
+ /**
3713
+ * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
3714
+ */
3715
+ id_bank_transfer?: PaymentMethodData.IdBankTransfer;
3475
3716
  /**
3476
3717
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
3477
3718
  */
@@ -3548,6 +3789,10 @@ export declare namespace SetupIntentConfirmParams {
3548
3789
  * If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
3549
3790
  */
3550
3791
  paypal?: PaymentMethodData.Paypal;
3792
+ /**
3793
+ * If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
3794
+ */
3795
+ paypay?: PaymentMethodData.Paypay;
3551
3796
  /**
3552
3797
  * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
3553
3798
  */
@@ -3560,10 +3805,18 @@ export declare namespace SetupIntentConfirmParams {
3560
3805
  * If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
3561
3806
  */
3562
3807
  promptpay?: PaymentMethodData.Promptpay;
3808
+ /**
3809
+ * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
3810
+ */
3811
+ qris?: PaymentMethodData.Qris;
3563
3812
  /**
3564
3813
  * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
3565
3814
  */
3566
3815
  radar_options?: PaymentMethodData.RadarOptions;
3816
+ /**
3817
+ * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
3818
+ */
3819
+ rechnung?: PaymentMethodData.Rechnung;
3567
3820
  /**
3568
3821
  * If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
3569
3822
  */
@@ -3584,10 +3837,22 @@ export declare namespace SetupIntentConfirmParams {
3584
3837
  * If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
3585
3838
  */
3586
3839
  sepa_debit?: PaymentMethodData.SepaDebit;
3840
+ /**
3841
+ * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
3842
+ */
3843
+ shared_payment_granted_token?: string;
3844
+ /**
3845
+ * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
3846
+ */
3847
+ shopeepay?: PaymentMethodData.Shopeepay;
3587
3848
  /**
3588
3849
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
3589
3850
  */
3590
3851
  sofort?: PaymentMethodData.Sofort;
3852
+ /**
3853
+ * This hash contains details about the Stripe balance payment method.
3854
+ */
3855
+ stripe_balance?: PaymentMethodData.StripeBalance;
3591
3856
  /**
3592
3857
  * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
3593
3858
  */
@@ -3820,8 +4085,16 @@ export declare namespace SetupIntentConfirmParams {
3820
4085
  }
3821
4086
  interface Giropay {
3822
4087
  }
4088
+ interface Gopay {
4089
+ }
3823
4090
  interface Grabpay {
3824
4091
  }
4092
+ interface IdBankTransfer {
4093
+ /**
4094
+ * Bank where the account is held.
4095
+ */
4096
+ bank?: IdBankTransfer.Bank;
4097
+ }
3825
4098
  interface Ideal {
3826
4099
  /**
3827
4100
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -3895,6 +4168,8 @@ export declare namespace SetupIntentConfirmParams {
3895
4168
  }
3896
4169
  interface Paypal {
3897
4170
  }
4171
+ interface Paypay {
4172
+ }
3898
4173
  interface Payto {
3899
4174
  /**
3900
4175
  * The account number for the bank account.
@@ -3913,12 +4188,20 @@ export declare namespace SetupIntentConfirmParams {
3913
4188
  }
3914
4189
  interface Promptpay {
3915
4190
  }
4191
+ interface Qris {
4192
+ }
3916
4193
  interface RadarOptions {
3917
4194
  /**
3918
4195
  * 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.
3919
4196
  */
3920
4197
  session?: string;
3921
4198
  }
4199
+ interface Rechnung {
4200
+ /**
4201
+ * Customer's date of birth
4202
+ */
4203
+ dob: Rechnung.Dob;
4204
+ }
3922
4205
  interface RevolutPay {
3923
4206
  }
3924
4207
  interface SamsungPay {
@@ -3933,19 +4216,27 @@ export declare namespace SetupIntentConfirmParams {
3933
4216
  */
3934
4217
  iban: string;
3935
4218
  }
4219
+ interface Shopeepay {
4220
+ }
3936
4221
  interface Sofort {
3937
4222
  /**
3938
4223
  * Two-letter ISO code representing the country the bank account is located in.
3939
4224
  */
3940
4225
  country: Sofort.Country;
3941
4226
  }
4227
+ interface StripeBalance {
4228
+ /**
4229
+ * The connected account ID whose Stripe balance to use as the source of payment
4230
+ */
4231
+ account?: string;
4232
+ }
3942
4233
  interface Sunbit {
3943
4234
  }
3944
4235
  interface Swish {
3945
4236
  }
3946
4237
  interface Twint {
3947
4238
  }
3948
- 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' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
4239
+ 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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
3949
4240
  interface Upi {
3950
4241
  /**
3951
4242
  * Configuration options for setting up an eMandate
@@ -3985,6 +4276,9 @@ export declare namespace SetupIntentConfirmParams {
3985
4276
  type AccountHolderType = 'company' | 'individual';
3986
4277
  type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
3987
4278
  }
4279
+ namespace IdBankTransfer {
4280
+ type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
4281
+ }
3988
4282
  namespace Ideal {
3989
4283
  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';
3990
4284
  }
@@ -4010,6 +4304,22 @@ export declare namespace SetupIntentConfirmParams {
4010
4304
  namespace P24 {
4011
4305
  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';
4012
4306
  }
4307
+ namespace Rechnung {
4308
+ interface Dob {
4309
+ /**
4310
+ * The day of birth, between 1 and 31.
4311
+ */
4312
+ day: number;
4313
+ /**
4314
+ * The month of birth, between 1 and 12.
4315
+ */
4316
+ month: number;
4317
+ /**
4318
+ * The four-digit year of birth.
4319
+ */
4320
+ year: number;
4321
+ }
4322
+ }
4013
4323
  namespace Sofort {
4014
4324
  type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
4015
4325
  }
@@ -4123,6 +4433,11 @@ export declare namespace SetupIntentConfirmParams {
4123
4433
  * The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
4124
4434
  */
4125
4435
  billing_agreement_id?: string;
4436
+ currency?: string;
4437
+ /**
4438
+ * 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.
4439
+ */
4440
+ subsellers?: Array<string>;
4126
4441
  }
4127
4442
  interface Payto {
4128
4443
  /**
@@ -4511,6 +4826,10 @@ export declare namespace SetupIntentConfirmParams {
4511
4826
  * Provide filters for the linked accounts that the customer can select for the payment method.
4512
4827
  */
4513
4828
  filters?: FinancialConnections.Filters;
4829
+ /**
4830
+ * Customize manual entry behavior
4831
+ */
4832
+ manual_entry?: FinancialConnections.ManualEntry;
4514
4833
  /**
4515
4834
  * 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`.
4516
4835
  */
@@ -4543,12 +4862,25 @@ export declare namespace SetupIntentConfirmParams {
4543
4862
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
4544
4863
  */
4545
4864
  account_subcategories?: Array<Filters.AccountSubcategory>;
4865
+ /**
4866
+ * ID of the institution to use to filter for selectable accounts.
4867
+ */
4868
+ institution?: string;
4869
+ }
4870
+ interface ManualEntry {
4871
+ /**
4872
+ * Settings for configuring manual entry of account details.
4873
+ */
4874
+ mode: ManualEntry.Mode;
4546
4875
  }
4547
4876
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
4548
- type Prefetch = 'balances' | 'ownership' | 'transactions';
4877
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
4549
4878
  namespace Filters {
4550
4879
  type AccountSubcategory = 'checking' | 'savings';
4551
4880
  }
4881
+ namespace ManualEntry {
4882
+ type Mode = 'automatic' | 'custom';
4883
+ }
4552
4884
  }
4553
4885
  namespace Networks {
4554
4886
  type Requested = 'ach' | 'us_domestic_wire';