stripe 22.1.0 → 22.2.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1310) hide show
  1. package/CHANGELOG.md +2637 -11
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +57 -65
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +53 -0
  6. package/cjs/Error.js +134 -1
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/Types.d.ts +4 -2
  9. package/cjs/apiVersion.d.ts +1 -2
  10. package/cjs/apiVersion.js +2 -3
  11. package/cjs/apiVersion.js.map +1 -1
  12. package/cjs/resources/AccountLinks.d.ts +5 -1
  13. package/cjs/resources/AccountNotices.d.ts +140 -0
  14. package/cjs/resources/AccountNotices.js +29 -0
  15. package/cjs/resources/AccountNotices.js.map +1 -0
  16. package/cjs/resources/AccountSessions.d.ts +463 -0
  17. package/cjs/resources/AccountSessions.js.map +1 -1
  18. package/cjs/resources/AccountSignals.d.ts +110 -0
  19. package/cjs/resources/AccountSignals.js +4 -0
  20. package/cjs/resources/AccountSignals.js.map +1 -0
  21. package/cjs/resources/Accounts.d.ts +955 -3
  22. package/cjs/resources/Accounts.js +21 -0
  23. package/cjs/resources/Accounts.js.map +1 -1
  24. package/cjs/resources/ApplicationFees.d.ts +28 -1
  25. package/cjs/resources/Balance.d.ts +134 -0
  26. package/cjs/resources/BalanceSettings.d.ts +18 -0
  27. package/cjs/resources/BalanceTransactions.d.ts +1 -1
  28. package/cjs/resources/BalanceTransfers.d.ts +160 -0
  29. package/cjs/resources/BalanceTransfers.js +15 -0
  30. package/cjs/resources/BalanceTransfers.js.map +1 -0
  31. package/cjs/resources/BankAccounts.d.ts +2 -2
  32. package/cjs/resources/Billing/AlertRecovereds.d.ts +40 -0
  33. package/cjs/resources/Billing/AlertRecovereds.js +4 -0
  34. package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
  35. package/cjs/resources/Billing/AlertTriggereds.d.ts +57 -1
  36. package/cjs/resources/Billing/Alerts.d.ts +406 -5
  37. package/cjs/resources/Billing/Alerts.js +321 -5
  38. package/cjs/resources/Billing/Alerts.js.map +1 -1
  39. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
  40. package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
  41. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  42. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  43. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
  44. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  45. package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
  46. package/cjs/resources/Billing/Analytics/index.js +13 -0
  47. package/cjs/resources/Billing/Analytics/index.js.map +1 -0
  48. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +126 -2
  49. package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
  50. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  51. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  52. package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
  53. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  54. package/cjs/resources/Billing/CreditGrants.d.ts +85 -3
  55. package/cjs/resources/Billing/CreditGrants.js +134 -5
  56. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  57. package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
  58. package/cjs/resources/Billing/Meters.d.ts +31 -0
  59. package/cjs/resources/Billing/index.d.ts +6 -0
  60. package/cjs/resources/Billing/index.js +2 -0
  61. package/cjs/resources/Billing/index.js.map +1 -1
  62. package/cjs/resources/Capabilities.d.ts +2 -2
  63. package/cjs/resources/Capital/FinancingOffers.d.ts +191 -0
  64. package/cjs/resources/Capital/FinancingOffers.js +30 -0
  65. package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
  66. package/cjs/resources/Capital/FinancingSummary.d.ts +98 -0
  67. package/cjs/resources/Capital/FinancingSummary.js +15 -0
  68. package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
  69. package/cjs/resources/Capital/FinancingTransactions.d.ts +143 -0
  70. package/cjs/resources/Capital/FinancingTransactions.js +24 -0
  71. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
  72. package/cjs/resources/Capital/index.d.ts +25 -0
  73. package/cjs/resources/Capital/index.js +17 -0
  74. package/cjs/resources/Capital/index.js.map +1 -0
  75. package/cjs/resources/Cards.d.ts +15 -0
  76. package/cjs/resources/Charges.d.ts +3513 -70
  77. package/cjs/resources/Charges.js.map +1 -1
  78. package/cjs/resources/Checkout/Sessions.d.ts +792 -9
  79. package/cjs/resources/Checkout/Sessions.js +88 -0
  80. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  81. package/cjs/resources/Checkout/index.d.ts +1 -0
  82. package/cjs/resources/ConfirmationTokens.d.ts +100 -1
  83. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  84. package/cjs/resources/Coupons.d.ts +110 -2
  85. package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
  86. package/cjs/resources/CreditNotes.d.ts +7 -1
  87. package/cjs/resources/CreditNotes.js +14 -0
  88. package/cjs/resources/CreditNotes.js.map +1 -1
  89. package/cjs/resources/CustomerSessions.d.ts +68 -0
  90. package/cjs/resources/Customers.d.ts +7 -1
  91. package/cjs/resources/Customers.js +15 -0
  92. package/cjs/resources/Customers.js.map +1 -1
  93. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1280 -0
  94. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +39 -0
  95. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  96. package/cjs/resources/DelegatedCheckout/index.d.ts +16 -0
  97. package/cjs/resources/DelegatedCheckout/index.js +13 -0
  98. package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
  99. package/cjs/resources/Discounts.d.ts +19 -0
  100. package/cjs/resources/Disputes.d.ts +37 -0
  101. package/cjs/resources/Events.d.ts +560 -2
  102. package/cjs/resources/ExternalAccounts.d.ts +212 -1
  103. package/cjs/resources/ExternalAccounts.js +44 -0
  104. package/cjs/resources/ExternalAccounts.js.map +1 -1
  105. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  106. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
  107. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  108. package/cjs/resources/FinancialConnections/Accounts.d.ts +74 -4
  109. package/cjs/resources/FinancialConnections/Accounts.js +8 -0
  110. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  111. package/cjs/resources/FinancialConnections/Authorizations.d.ts +87 -0
  112. package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
  113. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
  114. package/cjs/resources/FinancialConnections/Institutions.d.ts +101 -0
  115. package/cjs/resources/FinancialConnections/Institutions.js +23 -0
  116. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
  117. package/cjs/resources/FinancialConnections/Sessions.d.ts +155 -7
  118. package/cjs/resources/FinancialConnections/index.d.ts +21 -6
  119. package/cjs/resources/FinancialConnections/index.js +4 -0
  120. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  121. package/cjs/resources/FrMealVouchersOnboardings.d.ts +173 -0
  122. package/cjs/resources/FrMealVouchersOnboardings.js +42 -0
  123. package/cjs/resources/FrMealVouchersOnboardings.js.map +1 -0
  124. package/cjs/resources/FxQuotes.d.ts +212 -0
  125. package/cjs/resources/FxQuotes.js +29 -0
  126. package/cjs/resources/FxQuotes.js.map +1 -0
  127. package/cjs/resources/Identity/BlocklistEntries.d.ts +157 -0
  128. package/cjs/resources/Identity/BlocklistEntries.js +54 -0
  129. package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
  130. package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
  131. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  132. package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
  133. package/cjs/resources/Identity/index.d.ts +18 -10
  134. package/cjs/resources/Identity/index.js +2 -0
  135. package/cjs/resources/Identity/index.js.map +1 -1
  136. package/cjs/resources/InvoiceItems.d.ts +185 -2
  137. package/cjs/resources/InvoiceItems.js.map +1 -1
  138. package/cjs/resources/InvoiceLineItems.d.ts +174 -4
  139. package/cjs/resources/Invoices.d.ts +2024 -35
  140. package/cjs/resources/Invoices.js +70 -0
  141. package/cjs/resources/Invoices.js.map +1 -1
  142. package/cjs/resources/Issuing/Authorizations.d.ts +255 -0
  143. package/cjs/resources/Issuing/Cardholders.d.ts +5 -4
  144. package/cjs/resources/Issuing/Cards.d.ts +36 -0
  145. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
  146. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
  147. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  148. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
  149. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  150. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  151. package/cjs/resources/Issuing/Disputes.d.ts +140 -0
  152. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  153. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  154. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  155. package/cjs/resources/Issuing/Programs.d.ts +95 -0
  156. package/cjs/resources/Issuing/Programs.js +35 -0
  157. package/cjs/resources/Issuing/Programs.js.map +1 -0
  158. package/cjs/resources/Issuing/Settlements.d.ts +85 -0
  159. package/cjs/resources/Issuing/Settlements.js +4 -0
  160. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  161. package/cjs/resources/Issuing/Transactions.d.ts +157 -0
  162. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  163. package/cjs/resources/Issuing/index.d.ts +55 -22
  164. package/cjs/resources/Issuing/index.js +8 -0
  165. package/cjs/resources/Issuing/index.js.map +1 -1
  166. package/cjs/resources/LineItems.d.ts +29 -2
  167. package/cjs/resources/Mandates.d.ts +33 -1
  168. package/cjs/resources/Mandates.js +8 -0
  169. package/cjs/resources/Mandates.js.map +1 -1
  170. package/cjs/resources/Margins.d.ts +115 -0
  171. package/cjs/resources/Margins.js +35 -0
  172. package/cjs/resources/Margins.js.map +1 -0
  173. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  174. package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
  175. package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
  176. package/cjs/resources/Orchestration/index.d.ts +12 -0
  177. package/cjs/resources/Orchestration/index.js +13 -0
  178. package/cjs/resources/Orchestration/index.js.map +1 -0
  179. package/cjs/resources/Orders.d.ts +4761 -0
  180. package/cjs/resources/Orders.js +457 -0
  181. package/cjs/resources/Orders.js.map +1 -0
  182. package/cjs/resources/PaymentAttemptRecords.d.ts +441 -1
  183. package/cjs/resources/PaymentAttemptRecords.js +42 -0
  184. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  185. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
  186. package/cjs/resources/PaymentIntents.d.ts +16370 -3527
  187. package/cjs/resources/PaymentIntents.js +40 -0
  188. package/cjs/resources/PaymentIntents.js.map +1 -1
  189. package/cjs/resources/PaymentLinks.d.ts +74 -12
  190. package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
  191. package/cjs/resources/PaymentMethodBalances.js +4 -0
  192. package/cjs/resources/PaymentMethodBalances.js.map +1 -0
  193. package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
  194. package/cjs/resources/PaymentMethods.d.ts +216 -3
  195. package/cjs/resources/PaymentMethods.js +6 -0
  196. package/cjs/resources/PaymentMethods.js.map +1 -1
  197. package/cjs/resources/PaymentRecords.d.ts +323 -21
  198. package/cjs/resources/PaymentRecords.js.map +1 -1
  199. package/cjs/resources/Persons.d.ts +24 -2
  200. package/cjs/resources/Plans.d.ts +16 -0
  201. package/cjs/resources/Prices.d.ts +64 -0
  202. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
  203. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  204. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  205. package/cjs/resources/Privacy/RedactionJobs.d.ts +229 -0
  206. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  207. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  208. package/cjs/resources/Privacy/index.d.ts +22 -0
  209. package/cjs/resources/Privacy/index.js +13 -0
  210. package/cjs/resources/Privacy/index.js.map +1 -0
  211. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +127 -0
  212. package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
  213. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
  214. package/cjs/resources/ProductCatalog/index.d.ts +12 -0
  215. package/cjs/resources/ProductCatalog/index.js +13 -0
  216. package/cjs/resources/ProductCatalog/index.js.map +1 -0
  217. package/cjs/resources/Products.d.ts +141 -0
  218. package/cjs/resources/Profiles.d.ts +26 -0
  219. package/cjs/resources/Profiles.js +4 -0
  220. package/cjs/resources/Profiles.js.map +1 -0
  221. package/cjs/resources/PromotionCodes.d.ts +12 -0
  222. package/cjs/resources/PromotionCodes.js +28 -0
  223. package/cjs/resources/PromotionCodes.js.map +1 -1
  224. package/cjs/resources/QuoteLines.d.ts +684 -0
  225. package/cjs/resources/QuoteLines.js +4 -0
  226. package/cjs/resources/QuoteLines.js.map +1 -0
  227. package/cjs/resources/QuotePreviewInvoices.d.ts +1153 -0
  228. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  229. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  230. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +897 -0
  231. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  232. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  233. package/cjs/resources/Quotes.d.ts +3548 -254
  234. package/cjs/resources/Quotes.js +1184 -16
  235. package/cjs/resources/Quotes.js.map +1 -1
  236. package/cjs/resources/Radar/AccountEvaluations.d.ts +270 -0
  237. package/cjs/resources/Radar/AccountEvaluations.js +27 -0
  238. package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
  239. package/cjs/resources/Radar/CustomerEvaluations.d.ts +242 -0
  240. package/cjs/resources/Radar/CustomerEvaluations.js +21 -0
  241. package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
  242. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
  243. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
  244. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  245. package/cjs/resources/Radar/PaymentEvaluations.d.ts +63 -1
  246. package/cjs/resources/Radar/index.d.ts +34 -16
  247. package/cjs/resources/Radar/index.js +6 -0
  248. package/cjs/resources/Radar/index.js.map +1 -1
  249. package/cjs/resources/Refunds.d.ts +11 -0
  250. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  251. package/cjs/resources/Reserve/Holds.js +19 -0
  252. package/cjs/resources/Reserve/Holds.js.map +1 -1
  253. package/cjs/resources/Reserve/Plans.d.ts +16 -0
  254. package/cjs/resources/Reserve/Plans.js +11 -0
  255. package/cjs/resources/Reserve/Plans.js.map +1 -1
  256. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  257. package/cjs/resources/Reserve/Releases.js +19 -0
  258. package/cjs/resources/Reserve/Releases.js.map +1 -1
  259. package/cjs/resources/Reserve/index.d.ts +14 -3
  260. package/cjs/resources/Reserve/index.js +10 -2
  261. package/cjs/resources/Reserve/index.js.map +1 -1
  262. package/cjs/resources/RiskSignals.d.ts +10 -0
  263. package/cjs/resources/RiskSignals.js +4 -0
  264. package/cjs/resources/RiskSignals.js.map +1 -0
  265. package/cjs/resources/SetupAttempts.d.ts +26 -1
  266. package/cjs/resources/SetupIntents.d.ts +491 -11
  267. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1101 -0
  268. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  269. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  270. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +322 -0
  271. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  272. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  273. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  274. package/cjs/resources/SharedPayment/index.js +15 -0
  275. package/cjs/resources/SharedPayment/index.js.map +1 -0
  276. package/cjs/resources/Sources.d.ts +16 -1
  277. package/cjs/resources/SubscriptionItems.d.ts +251 -0
  278. package/cjs/resources/SubscriptionSchedules.d.ts +1943 -19
  279. package/cjs/resources/SubscriptionSchedules.js +48 -0
  280. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  281. package/cjs/resources/Subscriptions.d.ts +1040 -16
  282. package/cjs/resources/Subscriptions.js +236 -1
  283. package/cjs/resources/Subscriptions.js.map +1 -1
  284. package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
  285. package/cjs/resources/Tax/Calculations.d.ts +7 -3
  286. package/cjs/resources/Tax/Forms.d.ts +230 -0
  287. package/cjs/resources/Tax/Forms.js +32 -0
  288. package/cjs/resources/Tax/Forms.js.map +1 -0
  289. package/cjs/resources/Tax/Locations.d.ts +108 -0
  290. package/cjs/resources/Tax/Locations.js +33 -0
  291. package/cjs/resources/Tax/Locations.js.map +1 -0
  292. package/cjs/resources/Tax/Registrations.d.ts +155 -2
  293. package/cjs/resources/Tax/Transactions.d.ts +2 -2
  294. package/cjs/resources/Tax/index.d.ts +27 -13
  295. package/cjs/resources/Tax/index.js +4 -0
  296. package/cjs/resources/Tax/index.js.map +1 -1
  297. package/cjs/resources/TaxCodes.d.ts +15 -0
  298. package/cjs/resources/Terminal/Configurations.d.ts +27 -0
  299. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +52 -0
  300. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  301. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  302. package/cjs/resources/Terminal/Readers.d.ts +51 -1
  303. package/cjs/resources/Terminal/index.d.ts +5 -0
  304. package/cjs/resources/Terminal/index.js +2 -0
  305. package/cjs/resources/Terminal/index.js.map +1 -1
  306. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
  307. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
  308. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  309. package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
  310. package/cjs/resources/TestHelpers/Capital/index.js +13 -0
  311. package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
  312. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
  313. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
  314. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
  315. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +36 -0
  316. package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
  317. package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
  318. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
  319. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  320. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  321. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  322. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  323. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  324. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  325. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  326. package/cjs/resources/TestHelpers/index.d.ts +14 -6
  327. package/cjs/resources/TestHelpers/index.js +12 -6
  328. package/cjs/resources/TestHelpers/index.js.map +1 -1
  329. package/cjs/resources/Tokens.d.ts +56 -0
  330. package/cjs/resources/Transfers.d.ts +12 -0
  331. package/cjs/resources/Transfers.js.map +1 -1
  332. package/cjs/resources/TransitBalances.d.ts +25 -0
  333. package/cjs/resources/TransitBalances.js +4 -0
  334. package/cjs/resources/TransitBalances.js.map +1 -0
  335. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  336. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  337. package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
  338. package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
  339. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  340. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  341. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
  342. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  343. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  344. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  345. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  346. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  347. package/cjs/resources/V2/Billing/BillSettings.d.ts +284 -0
  348. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  349. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  350. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
  351. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
  352. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  353. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  354. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
  355. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  356. package/cjs/resources/V2/Billing/Cadences.d.ts +1015 -0
  357. package/cjs/resources/V2/Billing/Cadences.js +264 -0
  358. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  359. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
  360. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  361. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  362. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  363. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  364. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  365. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  366. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  367. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  368. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  369. package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
  370. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  371. package/cjs/resources/V2/Billing/IntentActions.d.ts +607 -0
  372. package/cjs/resources/V2/Billing/IntentActions.js +4 -0
  373. package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
  374. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  375. package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
  376. package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
  377. package/cjs/resources/V2/Billing/Intents.d.ts +1257 -0
  378. package/cjs/resources/V2/Billing/Intents.js +87 -0
  379. package/cjs/resources/V2/Billing/Intents.js.map +1 -0
  380. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
  381. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
  382. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  383. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  384. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
  385. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  386. package/cjs/resources/V2/Billing/LicenseFees.d.ts +378 -0
  387. package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
  388. package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
  389. package/cjs/resources/V2/Billing/LicensedItems.d.ts +174 -0
  390. package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
  391. package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
  392. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +5 -5
  393. package/cjs/resources/V2/Billing/MeterEventSession.d.ts +4 -4
  394. package/cjs/resources/V2/Billing/MeterEventSession.js +1 -1
  395. package/cjs/resources/V2/Billing/MeteredItems.d.ts +222 -0
  396. package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
  397. package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
  398. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +174 -0
  399. package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
  400. package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
  401. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
  402. package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
  403. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  404. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
  405. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
  406. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  407. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  408. package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
  409. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  410. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  411. package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
  412. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  413. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  414. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
  415. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  416. package/cjs/resources/V2/Billing/PricingPlans.d.ts +177 -0
  417. package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
  418. package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
  419. package/cjs/resources/V2/Billing/Profiles.d.ts +166 -0
  420. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  421. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  422. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  423. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
  424. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  425. package/cjs/resources/V2/Billing/RateCardRates.d.ts +115 -0
  426. package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
  427. package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
  428. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
  429. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
  430. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  431. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  432. package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
  433. package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
  434. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  435. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
  436. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  437. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  438. package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
  439. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  440. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  441. package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
  442. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  443. package/cjs/resources/V2/Billing/RateCards.d.ts +357 -0
  444. package/cjs/resources/V2/Billing/RateCards.js +76 -0
  445. package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
  446. package/cjs/resources/V2/Billing/ServiceActions.d.ts +514 -0
  447. package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
  448. package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
  449. package/cjs/resources/V2/Billing/index.d.ts +161 -6
  450. package/cjs/resources/V2/Billing/index.js +30 -0
  451. package/cjs/resources/V2/Billing/index.js.map +1 -1
  452. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +99 -0
  453. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +156 -0
  454. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -0
  455. package/cjs/resources/V2/Commerce/ProductCatalog/index.d.ts +8 -0
  456. package/cjs/resources/V2/Commerce/ProductCatalog/index.js +13 -0
  457. package/cjs/resources/V2/Commerce/ProductCatalog/index.js.map +1 -0
  458. package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +183 -0
  459. package/cjs/resources/V2/Commerce/ProductCatalogImports.js +4 -0
  460. package/cjs/resources/V2/Commerce/ProductCatalogImports.js.map +1 -0
  461. package/cjs/resources/V2/Commerce/index.d.ts +13 -0
  462. package/cjs/resources/V2/Commerce/index.js +13 -0
  463. package/cjs/resources/V2/Commerce/index.js.map +1 -0
  464. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +160 -0
  465. package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
  466. package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
  467. package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
  468. package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
  469. package/cjs/resources/V2/Core/AccountTokens.d.ts +222 -4
  470. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +3 -2
  471. package/cjs/resources/V2/Core/Accounts/PersonTokens.js +2 -1
  472. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  473. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  474. package/cjs/resources/V2/Core/Accounts.d.ts +5319 -75
  475. package/cjs/resources/V2/Core/Accounts.js +1 -1
  476. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +334 -0
  477. package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
  478. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
  479. package/cjs/resources/V2/Core/BatchJobs.d.ts +373 -0
  480. package/cjs/resources/V2/Core/BatchJobs.js +225 -0
  481. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  482. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
  483. package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
  484. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  485. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +90 -0
  486. package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
  487. package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
  488. package/cjs/resources/V2/Core/EventDestinations.d.ts +50 -3
  489. package/cjs/resources/V2/Core/Events.d.ts +7325 -204
  490. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
  491. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
  492. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  493. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
  494. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +62 -0
  495. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  496. package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
  497. package/cjs/resources/V2/Core/Vault/index.js +15 -0
  498. package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
  499. package/cjs/resources/V2/Core/index.d.ts +51 -14
  500. package/cjs/resources/V2/Core/index.js +12 -0
  501. package/cjs/resources/V2/Core/index.js.map +1 -1
  502. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
  503. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
  504. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  505. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
  506. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
  507. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  508. package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
  509. package/cjs/resources/V2/Data/Analytics/index.js +13 -0
  510. package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
  511. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -0
  512. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  513. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  514. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  515. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  516. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  517. package/cjs/resources/V2/Data/index.d.ts +13 -0
  518. package/cjs/resources/V2/Data/index.js +15 -0
  519. package/cjs/resources/V2/Data/index.js.map +1 -0
  520. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
  521. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  522. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  523. package/cjs/resources/V2/Extend/Workflows.d.ts +123 -0
  524. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  525. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  526. package/cjs/resources/V2/Extend/index.d.ts +20 -0
  527. package/cjs/resources/V2/Extend/index.js +15 -0
  528. package/cjs/resources/V2/Extend/index.js.map +1 -0
  529. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  530. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
  531. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  532. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  533. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
  534. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  535. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +204 -0
  536. package/cjs/resources/V2/Iam/ActivityLogs.js +17 -0
  537. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  538. package/cjs/resources/V2/Iam/ApiKeys.d.ts +280 -0
  539. package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
  540. package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
  541. package/cjs/resources/V2/Iam/index.d.ts +22 -0
  542. package/cjs/resources/V2/Iam/index.js +15 -0
  543. package/cjs/resources/V2/Iam/index.js.map +1 -0
  544. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
  545. package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
  546. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  547. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
  548. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
  549. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  550. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +412 -0
  551. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +44 -0
  552. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  553. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
  554. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
  555. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  556. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
  557. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
  558. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  559. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
  560. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
  561. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  562. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
  563. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
  564. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  565. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +320 -0
  566. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
  567. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  568. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
  569. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
  570. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  571. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
  572. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
  573. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  574. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
  575. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
  576. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  577. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +451 -0
  578. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
  579. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  580. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +237 -0
  581. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  582. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  583. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -0
  584. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
  585. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  586. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +245 -0
  587. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
  588. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  589. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +276 -0
  590. package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
  591. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  592. package/cjs/resources/V2/MoneyManagement/index.d.ts +118 -0
  593. package/cjs/resources/V2/MoneyManagement/index.js +43 -0
  594. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
  595. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +96 -0
  596. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  597. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  598. package/cjs/resources/V2/Network/index.d.ts +13 -0
  599. package/cjs/resources/V2/Network/index.js +13 -0
  600. package/cjs/resources/V2/Network/index.js.map +1 -0
  601. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
  602. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  603. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  604. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  605. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  606. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  607. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
  608. package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
  609. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  610. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
  611. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
  612. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  613. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  614. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
  615. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  616. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
  617. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
  618. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  619. package/cjs/resources/V2/Payments/index.d.ts +31 -0
  620. package/cjs/resources/V2/Payments/index.js +15 -0
  621. package/cjs/resources/V2/Payments/index.js.map +1 -0
  622. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +173 -0
  623. package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
  624. package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
  625. package/cjs/resources/V2/Reporting/Reports.d.ts +110 -0
  626. package/cjs/resources/V2/Reporting/Reports.js +17 -0
  627. package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
  628. package/cjs/resources/V2/Reporting/index.d.ts +18 -0
  629. package/cjs/resources/V2/Reporting/index.js +15 -0
  630. package/cjs/resources/V2/Reporting/index.js.map +1 -0
  631. package/cjs/resources/V2/Tax/ManualRules.d.ts +335 -0
  632. package/cjs/resources/V2/Tax/ManualRules.js +193 -0
  633. package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
  634. package/cjs/resources/V2/Tax/index.d.ts +16 -0
  635. package/cjs/resources/V2/Tax/index.js +13 -0
  636. package/cjs/resources/V2/Tax/index.js.map +1 -0
  637. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  638. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
  639. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  640. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  641. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
  642. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  643. package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
  644. package/cjs/resources/V2/TestHelpers/index.js +15 -0
  645. package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
  646. package/cjs/resources/V2/index.d.ts +39 -0
  647. package/cjs/resources/V2/index.js +24 -2
  648. package/cjs/resources/V2/index.js.map +1 -1
  649. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  650. package/cjs/resources.d.ts +14 -0
  651. package/cjs/resources.js +240 -12
  652. package/cjs/resources.js.map +1 -1
  653. package/cjs/stripe.core.d.ts +84 -28
  654. package/cjs/stripe.core.js +59 -31
  655. package/cjs/stripe.core.js.map +1 -1
  656. package/esm/Error.d.ts +53 -0
  657. package/esm/Error.js +117 -0
  658. package/esm/Error.js.map +1 -1
  659. package/esm/Types.d.ts +4 -2
  660. package/esm/apiVersion.d.ts +1 -2
  661. package/esm/apiVersion.js +1 -2
  662. package/esm/apiVersion.js.map +1 -1
  663. package/esm/resources/AccountLinks.d.ts +5 -1
  664. package/esm/resources/AccountNotices.d.ts +140 -0
  665. package/esm/resources/AccountNotices.js +25 -0
  666. package/esm/resources/AccountNotices.js.map +1 -0
  667. package/esm/resources/AccountSessions.d.ts +463 -0
  668. package/esm/resources/AccountSessions.js.map +1 -1
  669. package/esm/resources/AccountSignals.d.ts +110 -0
  670. package/esm/resources/AccountSignals.js +3 -0
  671. package/esm/resources/AccountSignals.js.map +1 -0
  672. package/esm/resources/Accounts.d.ts +955 -3
  673. package/esm/resources/Accounts.js +21 -0
  674. package/esm/resources/Accounts.js.map +1 -1
  675. package/esm/resources/ApplicationFees.d.ts +28 -1
  676. package/esm/resources/Balance.d.ts +134 -0
  677. package/esm/resources/BalanceSettings.d.ts +18 -0
  678. package/esm/resources/BalanceTransactions.d.ts +1 -1
  679. package/esm/resources/BalanceTransfers.d.ts +160 -0
  680. package/esm/resources/BalanceTransfers.js +11 -0
  681. package/esm/resources/BalanceTransfers.js.map +1 -0
  682. package/esm/resources/BankAccounts.d.ts +2 -2
  683. package/esm/resources/Billing/AlertRecovereds.d.ts +40 -0
  684. package/esm/resources/Billing/AlertRecovereds.js +3 -0
  685. package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
  686. package/esm/resources/Billing/AlertTriggereds.d.ts +57 -1
  687. package/esm/resources/Billing/Alerts.d.ts +406 -5
  688. package/esm/resources/Billing/Alerts.js +321 -5
  689. package/esm/resources/Billing/Alerts.js.map +1 -1
  690. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
  691. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  692. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  693. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  694. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  695. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  696. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  697. package/esm/resources/Billing/Analytics/index.js +9 -0
  698. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  699. package/esm/resources/Billing/CreditBalanceSummary.d.ts +126 -2
  700. package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
  701. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  702. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  703. package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
  704. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  705. package/esm/resources/Billing/CreditGrants.d.ts +85 -3
  706. package/esm/resources/Billing/CreditGrants.js +134 -5
  707. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  708. package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
  709. package/esm/resources/Billing/Meters.d.ts +31 -0
  710. package/esm/resources/Billing/index.d.ts +6 -0
  711. package/esm/resources/Billing/index.js +2 -0
  712. package/esm/resources/Billing/index.js.map +1 -1
  713. package/esm/resources/Capabilities.d.ts +2 -2
  714. package/esm/resources/Capital/FinancingOffers.d.ts +191 -0
  715. package/esm/resources/Capital/FinancingOffers.js +26 -0
  716. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  717. package/esm/resources/Capital/FinancingSummary.d.ts +98 -0
  718. package/esm/resources/Capital/FinancingSummary.js +11 -0
  719. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  720. package/esm/resources/Capital/FinancingTransactions.d.ts +143 -0
  721. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  722. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  723. package/esm/resources/Capital/index.d.ts +25 -0
  724. package/esm/resources/Capital/index.js +13 -0
  725. package/esm/resources/Capital/index.js.map +1 -0
  726. package/esm/resources/Cards.d.ts +15 -0
  727. package/esm/resources/Charges.d.ts +3513 -70
  728. package/esm/resources/Charges.js.map +1 -1
  729. package/esm/resources/Checkout/Sessions.d.ts +792 -9
  730. package/esm/resources/Checkout/Sessions.js +88 -0
  731. package/esm/resources/Checkout/Sessions.js.map +1 -1
  732. package/esm/resources/Checkout/index.d.ts +1 -0
  733. package/esm/resources/ConfirmationTokens.d.ts +100 -1
  734. package/esm/resources/ConfirmationTokens.js.map +1 -1
  735. package/esm/resources/Coupons.d.ts +110 -2
  736. package/esm/resources/CreditNoteLineItems.d.ts +15 -1
  737. package/esm/resources/CreditNotes.d.ts +7 -1
  738. package/esm/resources/CreditNotes.js +14 -0
  739. package/esm/resources/CreditNotes.js.map +1 -1
  740. package/esm/resources/CustomerSessions.d.ts +68 -0
  741. package/esm/resources/Customers.d.ts +7 -1
  742. package/esm/resources/Customers.js +15 -0
  743. package/esm/resources/Customers.js.map +1 -1
  744. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1280 -0
  745. package/esm/resources/DelegatedCheckout/RequestedSessions.js +35 -0
  746. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  747. package/esm/resources/DelegatedCheckout/index.d.ts +16 -0
  748. package/esm/resources/DelegatedCheckout/index.js +9 -0
  749. package/esm/resources/DelegatedCheckout/index.js.map +1 -0
  750. package/esm/resources/Discounts.d.ts +19 -0
  751. package/esm/resources/Disputes.d.ts +37 -0
  752. package/esm/resources/Events.d.ts +560 -2
  753. package/esm/resources/ExternalAccounts.d.ts +212 -1
  754. package/esm/resources/ExternalAccounts.js +42 -1
  755. package/esm/resources/ExternalAccounts.js.map +1 -1
  756. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  757. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  758. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  759. package/esm/resources/FinancialConnections/Accounts.d.ts +74 -4
  760. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  761. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  762. package/esm/resources/FinancialConnections/Authorizations.d.ts +87 -0
  763. package/esm/resources/FinancialConnections/Authorizations.js +11 -0
  764. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
  765. package/esm/resources/FinancialConnections/Institutions.d.ts +101 -0
  766. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  767. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  768. package/esm/resources/FinancialConnections/Sessions.d.ts +155 -7
  769. package/esm/resources/FinancialConnections/index.d.ts +21 -6
  770. package/esm/resources/FinancialConnections/index.js +4 -0
  771. package/esm/resources/FinancialConnections/index.js.map +1 -1
  772. package/esm/resources/FrMealVouchersOnboardings.d.ts +173 -0
  773. package/esm/resources/FrMealVouchersOnboardings.js +38 -0
  774. package/esm/resources/FrMealVouchersOnboardings.js.map +1 -0
  775. package/esm/resources/FxQuotes.d.ts +212 -0
  776. package/esm/resources/FxQuotes.js +25 -0
  777. package/esm/resources/FxQuotes.js.map +1 -0
  778. package/esm/resources/Identity/BlocklistEntries.d.ts +157 -0
  779. package/esm/resources/Identity/BlocklistEntries.js +50 -0
  780. package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
  781. package/esm/resources/Identity/VerificationReports.d.ts +33 -2
  782. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  783. package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
  784. package/esm/resources/Identity/index.d.ts +18 -10
  785. package/esm/resources/Identity/index.js +2 -0
  786. package/esm/resources/Identity/index.js.map +1 -1
  787. package/esm/resources/InvoiceItems.d.ts +185 -2
  788. package/esm/resources/InvoiceItems.js.map +1 -1
  789. package/esm/resources/InvoiceLineItems.d.ts +174 -4
  790. package/esm/resources/Invoices.d.ts +2024 -35
  791. package/esm/resources/Invoices.js +70 -0
  792. package/esm/resources/Invoices.js.map +1 -1
  793. package/esm/resources/Issuing/Authorizations.d.ts +255 -0
  794. package/esm/resources/Issuing/Cardholders.d.ts +5 -4
  795. package/esm/resources/Issuing/Cards.d.ts +36 -0
  796. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
  797. package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
  798. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  799. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
  800. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  801. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  802. package/esm/resources/Issuing/Disputes.d.ts +140 -0
  803. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  804. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  805. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  806. package/esm/resources/Issuing/Programs.d.ts +95 -0
  807. package/esm/resources/Issuing/Programs.js +31 -0
  808. package/esm/resources/Issuing/Programs.js.map +1 -0
  809. package/esm/resources/Issuing/Settlements.d.ts +85 -0
  810. package/esm/resources/Issuing/Settlements.js +3 -0
  811. package/esm/resources/Issuing/Settlements.js.map +1 -0
  812. package/esm/resources/Issuing/Transactions.d.ts +157 -0
  813. package/esm/resources/Issuing/Transactions.js.map +1 -1
  814. package/esm/resources/Issuing/index.d.ts +55 -22
  815. package/esm/resources/Issuing/index.js +8 -0
  816. package/esm/resources/Issuing/index.js.map +1 -1
  817. package/esm/resources/LineItems.d.ts +29 -2
  818. package/esm/resources/Mandates.d.ts +33 -1
  819. package/esm/resources/Mandates.js +8 -0
  820. package/esm/resources/Mandates.js.map +1 -1
  821. package/esm/resources/Margins.d.ts +115 -0
  822. package/esm/resources/Margins.js +31 -0
  823. package/esm/resources/Margins.js.map +1 -0
  824. package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  825. package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
  826. package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
  827. package/esm/resources/Orchestration/index.d.ts +12 -0
  828. package/esm/resources/Orchestration/index.js +9 -0
  829. package/esm/resources/Orchestration/index.js.map +1 -0
  830. package/esm/resources/Orders.d.ts +4761 -0
  831. package/esm/resources/Orders.js +453 -0
  832. package/esm/resources/Orders.js.map +1 -0
  833. package/esm/resources/PaymentAttemptRecords.d.ts +441 -1
  834. package/esm/resources/PaymentAttemptRecords.js +42 -0
  835. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  836. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
  837. package/esm/resources/PaymentIntents.d.ts +16370 -3527
  838. package/esm/resources/PaymentIntents.js +40 -0
  839. package/esm/resources/PaymentIntents.js.map +1 -1
  840. package/esm/resources/PaymentLinks.d.ts +74 -12
  841. package/esm/resources/PaymentMethodBalances.d.ts +46 -0
  842. package/esm/resources/PaymentMethodBalances.js +3 -0
  843. package/esm/resources/PaymentMethodBalances.js.map +1 -0
  844. package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
  845. package/esm/resources/PaymentMethods.d.ts +216 -3
  846. package/esm/resources/PaymentMethods.js +6 -0
  847. package/esm/resources/PaymentMethods.js.map +1 -1
  848. package/esm/resources/PaymentRecords.d.ts +323 -21
  849. package/esm/resources/PaymentRecords.js.map +1 -1
  850. package/esm/resources/Persons.d.ts +24 -2
  851. package/esm/resources/Plans.d.ts +16 -0
  852. package/esm/resources/Prices.d.ts +64 -0
  853. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
  854. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  855. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  856. package/esm/resources/Privacy/RedactionJobs.d.ts +229 -0
  857. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  858. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  859. package/esm/resources/Privacy/index.d.ts +22 -0
  860. package/esm/resources/Privacy/index.js +9 -0
  861. package/esm/resources/Privacy/index.js.map +1 -0
  862. package/esm/resources/ProductCatalog/TrialOffers.d.ts +127 -0
  863. package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
  864. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
  865. package/esm/resources/ProductCatalog/index.d.ts +12 -0
  866. package/esm/resources/ProductCatalog/index.js +9 -0
  867. package/esm/resources/ProductCatalog/index.js.map +1 -0
  868. package/esm/resources/Products.d.ts +141 -0
  869. package/esm/resources/Profiles.d.ts +26 -0
  870. package/esm/resources/Profiles.js +3 -0
  871. package/esm/resources/Profiles.js.map +1 -0
  872. package/esm/resources/PromotionCodes.d.ts +12 -0
  873. package/esm/resources/PromotionCodes.js +28 -0
  874. package/esm/resources/PromotionCodes.js.map +1 -1
  875. package/esm/resources/QuoteLines.d.ts +684 -0
  876. package/esm/resources/QuoteLines.js +3 -0
  877. package/esm/resources/QuoteLines.js.map +1 -0
  878. package/esm/resources/QuotePreviewInvoices.d.ts +1153 -0
  879. package/esm/resources/QuotePreviewInvoices.js +3 -0
  880. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  881. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +897 -0
  882. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  883. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  884. package/esm/resources/Quotes.d.ts +3548 -254
  885. package/esm/resources/Quotes.js +1184 -16
  886. package/esm/resources/Quotes.js.map +1 -1
  887. package/esm/resources/Radar/AccountEvaluations.d.ts +270 -0
  888. package/esm/resources/Radar/AccountEvaluations.js +23 -0
  889. package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
  890. package/esm/resources/Radar/CustomerEvaluations.d.ts +242 -0
  891. package/esm/resources/Radar/CustomerEvaluations.js +17 -0
  892. package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
  893. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
  894. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
  895. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  896. package/esm/resources/Radar/PaymentEvaluations.d.ts +63 -1
  897. package/esm/resources/Radar/index.d.ts +34 -16
  898. package/esm/resources/Radar/index.js +6 -0
  899. package/esm/resources/Radar/index.js.map +1 -1
  900. package/esm/resources/Refunds.d.ts +11 -0
  901. package/esm/resources/Reserve/Holds.d.ts +53 -1
  902. package/esm/resources/Reserve/Holds.js +17 -1
  903. package/esm/resources/Reserve/Holds.js.map +1 -1
  904. package/esm/resources/Reserve/Plans.d.ts +16 -0
  905. package/esm/resources/Reserve/Plans.js +9 -1
  906. package/esm/resources/Reserve/Plans.js.map +1 -1
  907. package/esm/resources/Reserve/Releases.d.ts +41 -1
  908. package/esm/resources/Reserve/Releases.js +17 -1
  909. package/esm/resources/Reserve/Releases.js.map +1 -1
  910. package/esm/resources/Reserve/index.d.ts +14 -3
  911. package/esm/resources/Reserve/index.js +10 -2
  912. package/esm/resources/Reserve/index.js.map +1 -1
  913. package/esm/resources/RiskSignals.d.ts +10 -0
  914. package/esm/resources/RiskSignals.js +3 -0
  915. package/esm/resources/RiskSignals.js.map +1 -0
  916. package/esm/resources/SetupAttempts.d.ts +26 -1
  917. package/esm/resources/SetupIntents.d.ts +491 -11
  918. package/esm/resources/SharedPayment/GrantedTokens.d.ts +1101 -0
  919. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  920. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  921. package/esm/resources/SharedPayment/IssuedTokens.d.ts +322 -0
  922. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  923. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  924. package/esm/resources/SharedPayment/index.d.ts +19 -0
  925. package/esm/resources/SharedPayment/index.js +11 -0
  926. package/esm/resources/SharedPayment/index.js.map +1 -0
  927. package/esm/resources/Sources.d.ts +16 -1
  928. package/esm/resources/SubscriptionItems.d.ts +251 -0
  929. package/esm/resources/SubscriptionSchedules.d.ts +1943 -19
  930. package/esm/resources/SubscriptionSchedules.js +48 -0
  931. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  932. package/esm/resources/Subscriptions.d.ts +1040 -16
  933. package/esm/resources/Subscriptions.js +236 -1
  934. package/esm/resources/Subscriptions.js.map +1 -1
  935. package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
  936. package/esm/resources/Tax/Calculations.d.ts +7 -3
  937. package/esm/resources/Tax/Forms.d.ts +230 -0
  938. package/esm/resources/Tax/Forms.js +28 -0
  939. package/esm/resources/Tax/Forms.js.map +1 -0
  940. package/esm/resources/Tax/Locations.d.ts +108 -0
  941. package/esm/resources/Tax/Locations.js +29 -0
  942. package/esm/resources/Tax/Locations.js.map +1 -0
  943. package/esm/resources/Tax/Registrations.d.ts +155 -2
  944. package/esm/resources/Tax/Transactions.d.ts +2 -2
  945. package/esm/resources/Tax/index.d.ts +27 -13
  946. package/esm/resources/Tax/index.js +4 -0
  947. package/esm/resources/Tax/index.js.map +1 -1
  948. package/esm/resources/TaxCodes.d.ts +15 -0
  949. package/esm/resources/Terminal/Configurations.d.ts +27 -0
  950. package/esm/resources/Terminal/ReaderCollectedData.d.ts +52 -0
  951. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  952. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  953. package/esm/resources/Terminal/Readers.d.ts +51 -1
  954. package/esm/resources/Terminal/index.d.ts +5 -0
  955. package/esm/resources/Terminal/index.js +2 -0
  956. package/esm/resources/Terminal/index.js.map +1 -1
  957. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
  958. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
  959. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  960. package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
  961. package/esm/resources/TestHelpers/Capital/index.js +9 -0
  962. package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
  963. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
  964. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
  965. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
  966. package/esm/resources/TestHelpers/PaymentIntents.d.ts +36 -0
  967. package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
  968. package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
  969. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
  970. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  971. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  972. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  973. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  974. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  975. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  976. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  977. package/esm/resources/TestHelpers/index.d.ts +14 -6
  978. package/esm/resources/TestHelpers/index.js +6 -0
  979. package/esm/resources/TestHelpers/index.js.map +1 -1
  980. package/esm/resources/Tokens.d.ts +56 -0
  981. package/esm/resources/Transfers.d.ts +12 -0
  982. package/esm/resources/Transfers.js.map +1 -1
  983. package/esm/resources/TransitBalances.d.ts +25 -0
  984. package/esm/resources/TransitBalances.js +3 -0
  985. package/esm/resources/TransitBalances.js.map +1 -0
  986. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  987. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  988. package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
  989. package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
  990. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  991. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  992. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
  993. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  994. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  995. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  996. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  997. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  998. package/esm/resources/V2/Billing/BillSettings.d.ts +284 -0
  999. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  1000. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  1001. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
  1002. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
  1003. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  1004. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  1005. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
  1006. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  1007. package/esm/resources/V2/Billing/Cadences.d.ts +1015 -0
  1008. package/esm/resources/V2/Billing/Cadences.js +260 -0
  1009. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  1010. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
  1011. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  1012. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  1013. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  1014. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  1015. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  1016. package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  1017. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  1018. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  1019. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  1020. package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
  1021. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  1022. package/esm/resources/V2/Billing/IntentActions.d.ts +607 -0
  1023. package/esm/resources/V2/Billing/IntentActions.js +3 -0
  1024. package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
  1025. package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  1026. package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
  1027. package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
  1028. package/esm/resources/V2/Billing/Intents.d.ts +1257 -0
  1029. package/esm/resources/V2/Billing/Intents.js +83 -0
  1030. package/esm/resources/V2/Billing/Intents.js.map +1 -0
  1031. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
  1032. package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
  1033. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  1034. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  1035. package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
  1036. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  1037. package/esm/resources/V2/Billing/LicenseFees.d.ts +378 -0
  1038. package/esm/resources/V2/Billing/LicenseFees.js +144 -0
  1039. package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
  1040. package/esm/resources/V2/Billing/LicensedItems.d.ts +174 -0
  1041. package/esm/resources/V2/Billing/LicensedItems.js +31 -0
  1042. package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
  1043. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +5 -5
  1044. package/esm/resources/V2/Billing/MeterEventSession.d.ts +4 -4
  1045. package/esm/resources/V2/Billing/MeterEventSession.js +1 -1
  1046. package/esm/resources/V2/Billing/MeteredItems.d.ts +222 -0
  1047. package/esm/resources/V2/Billing/MeteredItems.js +31 -0
  1048. package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
  1049. package/esm/resources/V2/Billing/OneTimeItems.d.ts +174 -0
  1050. package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
  1051. package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
  1052. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
  1053. package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
  1054. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  1055. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
  1056. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
  1057. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  1058. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  1059. package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
  1060. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  1061. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  1062. package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
  1063. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  1064. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  1065. package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
  1066. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  1067. package/esm/resources/V2/Billing/PricingPlans.d.ts +177 -0
  1068. package/esm/resources/V2/Billing/PricingPlans.js +39 -0
  1069. package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
  1070. package/esm/resources/V2/Billing/Profiles.d.ts +166 -0
  1071. package/esm/resources/V2/Billing/Profiles.js +31 -0
  1072. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  1073. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  1074. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
  1075. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  1076. package/esm/resources/V2/Billing/RateCardRates.d.ts +115 -0
  1077. package/esm/resources/V2/Billing/RateCardRates.js +3 -0
  1078. package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
  1079. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
  1080. package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
  1081. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  1082. package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  1083. package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
  1084. package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
  1085. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  1086. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
  1087. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  1088. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  1089. package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
  1090. package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  1091. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  1092. package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
  1093. package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  1094. package/esm/resources/V2/Billing/RateCards.d.ts +357 -0
  1095. package/esm/resources/V2/Billing/RateCards.js +72 -0
  1096. package/esm/resources/V2/Billing/RateCards.js.map +1 -0
  1097. package/esm/resources/V2/Billing/ServiceActions.d.ts +514 -0
  1098. package/esm/resources/V2/Billing/ServiceActions.js +158 -0
  1099. package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
  1100. package/esm/resources/V2/Billing/index.d.ts +161 -6
  1101. package/esm/resources/V2/Billing/index.js +30 -0
  1102. package/esm/resources/V2/Billing/index.js.map +1 -1
  1103. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +99 -0
  1104. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +152 -0
  1105. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -0
  1106. package/esm/resources/V2/Commerce/ProductCatalog/index.d.ts +8 -0
  1107. package/esm/resources/V2/Commerce/ProductCatalog/index.js +9 -0
  1108. package/esm/resources/V2/Commerce/ProductCatalog/index.js.map +1 -0
  1109. package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +183 -0
  1110. package/esm/resources/V2/Commerce/ProductCatalogImports.js +3 -0
  1111. package/esm/resources/V2/Commerce/ProductCatalogImports.js.map +1 -0
  1112. package/esm/resources/V2/Commerce/index.d.ts +13 -0
  1113. package/esm/resources/V2/Commerce/index.js +9 -0
  1114. package/esm/resources/V2/Commerce/index.js.map +1 -0
  1115. package/esm/resources/V2/Core/AccountEvaluations.d.ts +160 -0
  1116. package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
  1117. package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
  1118. package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
  1119. package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
  1120. package/esm/resources/V2/Core/AccountTokens.d.ts +222 -4
  1121. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +3 -2
  1122. package/esm/resources/V2/Core/Accounts/PersonTokens.js +2 -1
  1123. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  1124. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  1125. package/esm/resources/V2/Core/Accounts.d.ts +5319 -75
  1126. package/esm/resources/V2/Core/Accounts.js +1 -1
  1127. package/esm/resources/V2/Core/ApprovalRequests.d.ts +334 -0
  1128. package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
  1129. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
  1130. package/esm/resources/V2/Core/BatchJobs.d.ts +373 -0
  1131. package/esm/resources/V2/Core/BatchJobs.js +221 -0
  1132. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  1133. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
  1134. package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
  1135. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  1136. package/esm/resources/V2/Core/ConnectionSessions.d.ts +90 -0
  1137. package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
  1138. package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
  1139. package/esm/resources/V2/Core/EventDestinations.d.ts +50 -3
  1140. package/esm/resources/V2/Core/Events.d.ts +7325 -204
  1141. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
  1142. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
  1143. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  1144. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
  1145. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +58 -0
  1146. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  1147. package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
  1148. package/esm/resources/V2/Core/Vault/index.js +11 -0
  1149. package/esm/resources/V2/Core/Vault/index.js.map +1 -0
  1150. package/esm/resources/V2/Core/index.d.ts +51 -14
  1151. package/esm/resources/V2/Core/index.js +12 -0
  1152. package/esm/resources/V2/Core/index.js.map +1 -1
  1153. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
  1154. package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
  1155. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  1156. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
  1157. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
  1158. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  1159. package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
  1160. package/esm/resources/V2/Data/Analytics/index.js +9 -0
  1161. package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
  1162. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -0
  1163. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  1164. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  1165. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  1166. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  1167. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  1168. package/esm/resources/V2/Data/index.d.ts +13 -0
  1169. package/esm/resources/V2/Data/index.js +11 -0
  1170. package/esm/resources/V2/Data/index.js.map +1 -0
  1171. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
  1172. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  1173. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  1174. package/esm/resources/V2/Extend/Workflows.d.ts +123 -0
  1175. package/esm/resources/V2/Extend/Workflows.js +26 -0
  1176. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  1177. package/esm/resources/V2/Extend/index.d.ts +20 -0
  1178. package/esm/resources/V2/Extend/index.js +11 -0
  1179. package/esm/resources/V2/Extend/index.js.map +1 -0
  1180. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  1181. package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
  1182. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  1183. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  1184. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
  1185. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  1186. package/esm/resources/V2/Iam/ActivityLogs.d.ts +204 -0
  1187. package/esm/resources/V2/Iam/ActivityLogs.js +13 -0
  1188. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  1189. package/esm/resources/V2/Iam/ApiKeys.d.ts +280 -0
  1190. package/esm/resources/V2/Iam/ApiKeys.js +43 -0
  1191. package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
  1192. package/esm/resources/V2/Iam/index.d.ts +22 -0
  1193. package/esm/resources/V2/Iam/index.js +11 -0
  1194. package/esm/resources/V2/Iam/index.js.map +1 -0
  1195. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
  1196. package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
  1197. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  1198. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
  1199. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
  1200. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  1201. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +412 -0
  1202. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +40 -0
  1203. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  1204. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
  1205. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
  1206. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  1207. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
  1208. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
  1209. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  1210. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
  1211. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
  1212. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  1213. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
  1214. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
  1215. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  1216. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +320 -0
  1217. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
  1218. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  1219. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
  1220. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
  1221. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  1222. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
  1223. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
  1224. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  1225. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
  1226. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
  1227. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  1228. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +451 -0
  1229. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
  1230. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  1231. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +237 -0
  1232. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  1233. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  1234. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -0
  1235. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
  1236. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  1237. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +245 -0
  1238. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
  1239. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  1240. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +276 -0
  1241. package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
  1242. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  1243. package/esm/resources/V2/MoneyManagement/index.d.ts +118 -0
  1244. package/esm/resources/V2/MoneyManagement/index.js +39 -0
  1245. package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
  1246. package/esm/resources/V2/Network/BusinessProfiles.d.ts +96 -0
  1247. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  1248. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  1249. package/esm/resources/V2/Network/index.d.ts +13 -0
  1250. package/esm/resources/V2/Network/index.js +9 -0
  1251. package/esm/resources/V2/Network/index.js.map +1 -0
  1252. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
  1253. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  1254. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  1255. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  1256. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  1257. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  1258. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
  1259. package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
  1260. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  1261. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
  1262. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
  1263. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  1264. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  1265. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
  1266. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  1267. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
  1268. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
  1269. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  1270. package/esm/resources/V2/Payments/index.d.ts +31 -0
  1271. package/esm/resources/V2/Payments/index.js +11 -0
  1272. package/esm/resources/V2/Payments/index.js.map +1 -0
  1273. package/esm/resources/V2/Reporting/ReportRuns.d.ts +173 -0
  1274. package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
  1275. package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
  1276. package/esm/resources/V2/Reporting/Reports.d.ts +110 -0
  1277. package/esm/resources/V2/Reporting/Reports.js +13 -0
  1278. package/esm/resources/V2/Reporting/Reports.js.map +1 -0
  1279. package/esm/resources/V2/Reporting/index.d.ts +18 -0
  1280. package/esm/resources/V2/Reporting/index.js +11 -0
  1281. package/esm/resources/V2/Reporting/index.js.map +1 -0
  1282. package/esm/resources/V2/Tax/ManualRules.d.ts +335 -0
  1283. package/esm/resources/V2/Tax/ManualRules.js +189 -0
  1284. package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
  1285. package/esm/resources/V2/Tax/index.d.ts +16 -0
  1286. package/esm/resources/V2/Tax/index.js +9 -0
  1287. package/esm/resources/V2/Tax/index.js.map +1 -0
  1288. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  1289. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
  1290. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  1291. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  1292. package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
  1293. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  1294. package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
  1295. package/esm/resources/V2/TestHelpers/index.js +11 -0
  1296. package/esm/resources/V2/TestHelpers/index.js.map +1 -0
  1297. package/esm/resources/V2/index.d.ts +39 -0
  1298. package/esm/resources/V2/index.js +22 -0
  1299. package/esm/resources/V2/index.js.map +1 -1
  1300. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  1301. package/esm/resources.d.ts +14 -0
  1302. package/esm/resources.js +221 -0
  1303. package/esm/resources.js.map +1 -1
  1304. package/esm/stripe.core.d.ts +84 -28
  1305. package/esm/stripe.core.js +29 -1
  1306. package/esm/stripe.core.js.map +1 -1
  1307. package/esm/stripe.esm.node.d.ts +84 -28
  1308. package/esm/stripe.esm.node.js +29 -1
  1309. package/esm/stripe.esm.node.js.map +1 -1
  1310. package/package.json +1 -1
@@ -10,9 +10,10 @@ import { Invoice } from './Invoices.js';
10
10
  import { Account } from './Accounts.js';
11
11
  import { SetupIntent } from './SetupIntents.js';
12
12
  import { SubscriptionSchedule } from './SubscriptionSchedules.js';
13
+ import { Price } from './Prices.js';
13
14
  import { TaxId, DeletedTaxId } from './TaxIds.js';
14
15
  import * as TestHelpers from './TestHelpers/index.js';
15
- import { Emptyable, MetadataParam, Decimal, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
16
+ import { Emptyable, MetadataParam, Decimal, AddressParam, PaginationParams, RangeQueryParam, Metadata, Address } from '../shared.js';
16
17
  import { RequestOptions, Response, ApiListPromise, ApiList, ApiSearchResultPromise } from '../lib.js';
17
18
  export declare class SubscriptionResource extends StripeResource {
18
19
  /**
@@ -76,14 +77,30 @@ export declare class SubscriptionResource extends StripeResource {
76
77
  * to an hour behind during outages. Search functionality is not available to merchants in India.
77
78
  */
78
79
  search(params: SubscriptionSearchParams, options?: RequestOptions): ApiSearchResultPromise<Subscription>;
80
+ /**
81
+ * Attach a Billing Cadence to an existing subscription. When attached, the subscription is billed by the Billing Cadence, potentially sharing invoices with the other subscriptions linked to the Billing Cadence.
82
+ */
83
+ attachCadence(id: string, params: SubscriptionAttachCadenceParams, options?: RequestOptions): Promise<Response<Subscription>>;
79
84
  /**
80
85
  * Upgrade the billing_mode of an existing subscription.
81
86
  */
82
87
  migrate(id: string, params: SubscriptionMigrateParams, options?: RequestOptions): Promise<Response<Subscription>>;
83
88
  /**
84
- * Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If no resumption invoice is generated, the subscription becomes active immediately. If a resumption invoice is generated, the subscription remains paused until the invoice is paid or marked uncollectible. If the invoice isn't paid by the expiration date, it is voided and the subscription remains paused. You can only resume subscriptions with collection_method set to charge_automatically. send_invoice subscriptions are not supported.
89
+ * Pauses a subscription by transitioning it to the paused status. A paused subscription does not generate invoices and will not advance to new billing periods. The subscription can be resumed later using the resume endpoint. Cannot pause subscriptions with attached schedules.
90
+ */
91
+ pause(id: string, params: SubscriptionPauseParams, options?: RequestOptions): Promise<Response<Subscription>>;
92
+ /**
93
+ * Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date.
85
94
  */
86
95
  resume(id: string, params?: SubscriptionResumeParams, options?: RequestOptions): Promise<Response<Subscription>>;
96
+ serializeBatchUpdate(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
97
+ apiVersion?: string;
98
+ stripeContext?: string;
99
+ }): string;
100
+ serializeBatchMigrate(subscription: string, params?: Record<string, unknown>, options?: {
101
+ apiVersion?: string;
102
+ stripeContext?: string;
103
+ }): string;
87
104
  }
88
105
  export interface Subscription {
89
106
  /**
@@ -103,6 +120,10 @@ export interface Subscription {
103
120
  */
104
121
  application_fee_percent: number | null;
105
122
  automatic_tax: Subscription.AutomaticTax;
123
+ /**
124
+ * The Billing Cadence which controls the timing of recurring invoice generation for this subscription.If unset, the subscription will bill according to its own configured schedule and create its own invoices.If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
125
+ */
126
+ billing_cadence?: string;
106
127
  /**
107
128
  * The reference point that aligns future [billing cycle](https://docs.stripe.com/subscriptions/billing-cycle) dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals. The timestamp is in UTC format.
108
129
  */
@@ -115,6 +136,10 @@ export interface Subscription {
115
136
  * The billing mode of the subscription.
116
137
  */
117
138
  billing_mode: Subscription.BillingMode;
139
+ /**
140
+ * Billing schedules for this subscription.
141
+ */
142
+ billing_schedules?: Array<Subscription.BillingSchedule>;
118
143
  /**
119
144
  * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
120
145
  */
@@ -188,6 +213,10 @@ export interface Subscription {
188
213
  * List of subscription items, each with an attached price.
189
214
  */
190
215
  items: ApiList<SubscriptionItem>;
216
+ /**
217
+ * Details of the most recent price migration that failed for the subscription.
218
+ */
219
+ last_price_migration_error?: Subscription.LastPriceMigrationError | null;
191
220
  /**
192
221
  * The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
193
222
  */
@@ -232,6 +261,10 @@ export interface Subscription {
232
261
  * If specified, [pending updates](https://docs.stripe.com/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid.
233
262
  */
234
263
  pending_update: Subscription.PendingUpdate | null;
264
+ /**
265
+ * Time period and invoice for a Subscription billed in advance.
266
+ */
267
+ prebilling?: Subscription.Prebilling | null;
235
268
  presentment_details?: Subscription.PresentmentDetails;
236
269
  /**
237
270
  * The schedule attached to the subscription
@@ -327,6 +360,20 @@ export declare namespace Subscription {
327
360
  */
328
361
  updated_at?: number;
329
362
  }
363
+ interface BillingSchedule {
364
+ /**
365
+ * Specifies which subscription items the billing schedule applies to.
366
+ */
367
+ applies_to: Array<BillingSchedule.AppliesTo> | null;
368
+ /**
369
+ * Specifies the end of billing period.
370
+ */
371
+ bill_until: BillingSchedule.BillUntil;
372
+ /**
373
+ * Unique identifier for the billing schedule.
374
+ */
375
+ key: string;
376
+ }
330
377
  interface BillingThresholds {
331
378
  /**
332
379
  * Monetary threshold that triggers the subscription to create an invoice
@@ -359,6 +406,20 @@ export declare namespace Subscription {
359
406
  account_tax_ids: Array<string | TaxId | DeletedTaxId> | null;
360
407
  issuer: InvoiceSettings.Issuer;
361
408
  }
409
+ interface LastPriceMigrationError {
410
+ /**
411
+ * The time at which the price migration encountered an error.
412
+ */
413
+ errored_at: number;
414
+ /**
415
+ * The involved price pairs in each failed transition.
416
+ */
417
+ failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
418
+ /**
419
+ * The type of error encountered by the price migration.
420
+ */
421
+ type: 'price_uniqueness_violation';
422
+ }
362
423
  interface ManagedPayments {
363
424
  /**
364
425
  * Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
@@ -408,6 +469,10 @@ export declare namespace Subscription {
408
469
  * The point after which the changes reflected by this update will be discarded and no longer applied.
409
470
  */
410
471
  expires_at: number;
472
+ /**
473
+ * The number of iterations of prebilling to apply.
474
+ */
475
+ prebilling_iterations?: number | null;
411
476
  /**
412
477
  * List of subscription items, each with an attached plan, that will be set if the update is applied.
413
478
  */
@@ -421,6 +486,24 @@ export declare namespace Subscription {
421
486
  */
422
487
  trial_from_plan: boolean | null;
423
488
  }
489
+ interface Prebilling {
490
+ /**
491
+ * ID of the prebilling invoice.
492
+ */
493
+ invoice: string | Invoice;
494
+ /**
495
+ * The end of the last period for which the invoice pre-bills.
496
+ */
497
+ period_end: number;
498
+ /**
499
+ * The start of the first period for which the invoice pre-bills.
500
+ */
501
+ period_start: number;
502
+ /**
503
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
504
+ */
505
+ update_behavior?: Prebilling.UpdateBehavior;
506
+ }
424
507
  interface PresentmentDetails {
425
508
  /**
426
509
  * Currency used for customer payments.
@@ -456,7 +539,7 @@ export declare namespace Subscription {
456
539
  type: Liability.Type;
457
540
  }
458
541
  namespace Liability {
459
- type Type = 'account' | 'self';
542
+ type Type = 'account' | 'application' | 'self';
460
543
  }
461
544
  }
462
545
  namespace BillingMode {
@@ -471,6 +554,52 @@ export declare namespace Subscription {
471
554
  type ProrationDiscounts = 'included' | 'itemized';
472
555
  }
473
556
  }
557
+ namespace BillingSchedule {
558
+ interface AppliesTo {
559
+ /**
560
+ * The billing schedule will apply to the subscription item with the given price ID.
561
+ */
562
+ price: string | Price | null;
563
+ /**
564
+ * Controls which subscription items the billing schedule applies to.
565
+ */
566
+ type: 'price';
567
+ }
568
+ interface BillUntil {
569
+ /**
570
+ * The timestamp the billing schedule will apply until.
571
+ */
572
+ computed_timestamp: number;
573
+ /**
574
+ * Specifies the billing period.
575
+ */
576
+ duration: BillUntil.Duration | null;
577
+ /**
578
+ * If specified, the billing schedule will apply until the specified timestamp.
579
+ */
580
+ timestamp: number | null;
581
+ /**
582
+ * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
583
+ */
584
+ type: BillUntil.Type;
585
+ }
586
+ namespace BillUntil {
587
+ interface Duration {
588
+ /**
589
+ * Specifies billing duration. Either `day`, `week`, `month` or `year`.
590
+ */
591
+ interval: Duration.Interval;
592
+ /**
593
+ * The multiplier applied to the interval.
594
+ */
595
+ interval_count: number | null;
596
+ }
597
+ type Type = 'duration' | 'timestamp';
598
+ namespace Duration {
599
+ type Interval = 'day' | 'month' | 'week' | 'year';
600
+ }
601
+ }
602
+ }
474
603
  namespace CancellationDetails {
475
604
  type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
476
605
  type Reason = 'canceled_by_retention_policy' | 'cancellation_requested' | 'payment_disputed' | 'payment_failed';
@@ -487,7 +616,19 @@ export declare namespace Subscription {
487
616
  type: Issuer.Type;
488
617
  }
489
618
  namespace Issuer {
490
- type Type = 'account' | 'self';
619
+ type Type = 'account' | 'application' | 'self';
620
+ }
621
+ }
622
+ namespace LastPriceMigrationError {
623
+ interface FailedTransition {
624
+ /**
625
+ * The original price to be migrated.
626
+ */
627
+ source_price: string;
628
+ /**
629
+ * The intended resulting price of the migration.
630
+ */
631
+ target_price: string;
491
632
  }
492
633
  }
493
634
  namespace PauseCollection {
@@ -503,14 +644,30 @@ export declare namespace Subscription {
503
644
  * This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
504
645
  */
505
646
  bancontact: PaymentMethodOptions.Bancontact | null;
647
+ /**
648
+ * This sub-hash contains details about the Bizum payment method options to pass to invoices created by the subscription.
649
+ */
650
+ bizum?: PaymentMethodOptions.Bizum | null;
651
+ /**
652
+ * This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
653
+ */
654
+ blik?: PaymentMethodOptions.Blik | null;
506
655
  /**
507
656
  * This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
508
657
  */
509
658
  card: PaymentMethodOptions.Card | null;
659
+ /**
660
+ * This sub-hash contains details about the Check Scan payment method options to pass to invoices created by the subscription.
661
+ */
662
+ check_scan?: PaymentMethodOptions.CheckScan | null;
510
663
  /**
511
664
  * This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
512
665
  */
513
666
  customer_balance: PaymentMethodOptions.CustomerBalance | null;
667
+ /**
668
+ * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
669
+ */
670
+ id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
514
671
  /**
515
672
  * This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
516
673
  */
@@ -536,7 +693,7 @@ export declare namespace Subscription {
536
693
  */
537
694
  us_bank_account: PaymentMethodOptions.UsBankAccount | null;
538
695
  }
539
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'upi' | 'us_bank_account' | 'wechat_pay';
696
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'check_scan' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'upi' | 'us_bank_account' | 'wechat_pay';
540
697
  type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
541
698
  namespace PaymentMethodOptions {
542
699
  interface AcssDebit {
@@ -552,6 +709,12 @@ export declare namespace Subscription {
552
709
  */
553
710
  preferred_language: Bancontact.PreferredLanguage;
554
711
  }
712
+ interface Bizum {
713
+ mandate_options?: Bizum.MandateOptions;
714
+ }
715
+ interface Blik {
716
+ mandate_options?: Blik.MandateOptions;
717
+ }
555
718
  interface Card {
556
719
  mandate_options?: Card.MandateOptions;
557
720
  /**
@@ -563,6 +726,9 @@ export declare namespace Subscription {
563
726
  */
564
727
  request_three_d_secure: Card.RequestThreeDSecure | null;
565
728
  }
729
+ interface CheckScan {
730
+ check_deposit_address?: Address;
731
+ }
566
732
  interface CustomerBalance {
567
733
  bank_transfer?: CustomerBalance.BankTransfer;
568
734
  /**
@@ -570,6 +736,8 @@ export declare namespace Subscription {
570
736
  */
571
737
  funding_type: 'bank_transfer' | null;
572
738
  }
739
+ interface IdBankTransfer {
740
+ }
573
741
  interface Konbini {
574
742
  }
575
743
  interface Payto {
@@ -609,6 +777,26 @@ export declare namespace Subscription {
609
777
  namespace Bancontact {
610
778
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
611
779
  }
780
+ namespace Bizum {
781
+ interface MandateOptions {
782
+ /**
783
+ * Amount to be charged for future payments. Required when `amount_type=fixed`.
784
+ */
785
+ amount?: number;
786
+ /**
787
+ * Indicates the mandate amount type.
788
+ */
789
+ amount_type?: 'fixed';
790
+ }
791
+ }
792
+ namespace Blik {
793
+ interface MandateOptions {
794
+ /**
795
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
796
+ */
797
+ expires_after: number | null;
798
+ }
799
+ }
612
800
  namespace Card {
613
801
  interface MandateOptions {
614
802
  /**
@@ -736,9 +924,13 @@ export declare namespace Subscription {
736
924
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
737
925
  */
738
926
  account_subcategories?: Array<Filters.AccountSubcategory>;
927
+ /**
928
+ * The institution to use to filter for possible accounts to link.
929
+ */
930
+ institution?: string;
739
931
  }
740
932
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
741
- type Prefetch = 'balances' | 'ownership' | 'transactions';
933
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
742
934
  namespace Filters {
743
935
  type AccountSubcategory = 'checking' | 'savings';
744
936
  }
@@ -749,14 +941,22 @@ export declare namespace Subscription {
749
941
  namespace PendingInvoiceItemInterval {
750
942
  type Interval = 'day' | 'month' | 'week' | 'year';
751
943
  }
944
+ namespace Prebilling {
945
+ type UpdateBehavior = 'prebill' | 'reset';
946
+ }
752
947
  namespace TrialSettings {
753
948
  interface EndBehavior {
949
+ /**
950
+ * Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
951
+ */
952
+ billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
754
953
  /**
755
954
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
756
955
  */
757
956
  missing_payment_method: EndBehavior.MissingPaymentMethod;
758
957
  }
759
958
  namespace EndBehavior {
959
+ type BillingCycleAnchor = 'now' | 'unchanged';
760
960
  type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
761
961
  }
762
962
  }
@@ -778,6 +978,10 @@ export interface SubscriptionCreateParams {
778
978
  * A past timestamp to backdate the subscription's start date to. If set, the first invoice will contain line items for the timespan between the start date and the current time. Can be combined with trials and the billing cycle anchor.
779
979
  */
780
980
  backdate_start_date?: number;
981
+ /**
982
+ * The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
983
+ */
984
+ billing_cadence?: string;
781
985
  /**
782
986
  * A future timestamp in UTC format to anchor the subscription's [billing cycle](https://docs.stripe.com/subscriptions/billing-cycle). The anchor is the reference point that aligns future billing cycle dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals.
783
987
  */
@@ -790,6 +994,10 @@ export interface SubscriptionCreateParams {
790
994
  * Controls how prorations and invoices for subscriptions are calculated and orchestrated.
791
995
  */
792
996
  billing_mode?: SubscriptionCreateParams.BillingMode;
997
+ /**
998
+ * Sets the billing schedules for the subscription.
999
+ */
1000
+ billing_schedules?: Array<SubscriptionCreateParams.BillingSchedule>;
793
1001
  /**
794
1002
  * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds.
795
1003
  */
@@ -888,6 +1096,10 @@ export interface SubscriptionCreateParams {
888
1096
  * Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api/invoices/create) for the given subscription at the specified interval.
889
1097
  */
890
1098
  pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
1099
+ /**
1100
+ * If specified, the invoicing for the given billing cycle iterations will be processed now.
1101
+ */
1102
+ prebilling?: SubscriptionCreateParams.Prebilling;
891
1103
  /**
892
1104
  * Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
893
1105
  */
@@ -986,6 +1198,20 @@ export declare namespace SubscriptionCreateParams {
986
1198
  */
987
1199
  type: BillingMode.Type;
988
1200
  }
1201
+ interface BillingSchedule {
1202
+ /**
1203
+ * Configure billing schedule differently for individual subscription items.
1204
+ */
1205
+ applies_to?: Array<BillingSchedule.AppliesTo>;
1206
+ /**
1207
+ * The end date for the billing schedule.
1208
+ */
1209
+ bill_until: BillingSchedule.BillUntil;
1210
+ /**
1211
+ * Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated.
1212
+ */
1213
+ key?: string;
1214
+ }
989
1215
  interface BillingThresholds {
990
1216
  /**
991
1217
  * Monetary threshold that triggers the subscription to advance to a new billing period
@@ -1007,10 +1233,18 @@ export declare namespace SubscriptionCreateParams {
1007
1233
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1008
1234
  */
1009
1235
  discount?: string;
1236
+ /**
1237
+ * Details to determine how long the discount should be applied for.
1238
+ */
1239
+ discount_end?: Discount.DiscountEnd;
1010
1240
  /**
1011
1241
  * ID of the promotion code to create a new discount for.
1012
1242
  */
1013
1243
  promotion_code?: string;
1244
+ /**
1245
+ * Settings for discount application including service period anchoring.
1246
+ */
1247
+ settings?: Discount.Settings;
1014
1248
  }
1015
1249
  interface InvoiceSettings {
1016
1250
  /**
@@ -1027,6 +1261,10 @@ export declare namespace SubscriptionCreateParams {
1027
1261
  * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
1028
1262
  */
1029
1263
  billing_thresholds?: Emptyable<Item.BillingThresholds>;
1264
+ /**
1265
+ * The trial offer to apply to this subscription item.
1266
+ */
1267
+ current_trial?: Item.CurrentTrial;
1030
1268
  /**
1031
1269
  * The coupons to redeem into discounts for the subscription item.
1032
1270
  */
@@ -1055,6 +1293,10 @@ export declare namespace SubscriptionCreateParams {
1055
1293
  * A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
1056
1294
  */
1057
1295
  tax_rates?: Emptyable<Array<string>>;
1296
+ /**
1297
+ * Define options to configure the trial on the subscription item.
1298
+ */
1299
+ trial?: Item.Trial;
1058
1300
  }
1059
1301
  type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
1060
1302
  interface PaymentSettings {
@@ -1081,6 +1323,16 @@ export declare namespace SubscriptionCreateParams {
1081
1323
  */
1082
1324
  interval_count?: number;
1083
1325
  }
1326
+ interface Prebilling {
1327
+ /**
1328
+ * This is used to determine the number of billing cycles to prebill.
1329
+ */
1330
+ iterations: number;
1331
+ /**
1332
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
1333
+ */
1334
+ update_behavior?: Prebilling.UpdateBehavior;
1335
+ }
1084
1336
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
1085
1337
  interface TransferData {
1086
1338
  /**
@@ -1108,6 +1360,10 @@ export declare namespace SubscriptionCreateParams {
1108
1360
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1109
1361
  */
1110
1362
  discount?: string;
1363
+ /**
1364
+ * Details to determine how long the discount should be applied for.
1365
+ */
1366
+ discount_end?: Discount.DiscountEnd;
1111
1367
  /**
1112
1368
  * ID of the promotion code to create a new discount for.
1113
1369
  */
@@ -1145,6 +1401,38 @@ export declare namespace SubscriptionCreateParams {
1145
1401
  */
1146
1402
  unit_amount_decimal?: Decimal;
1147
1403
  }
1404
+ namespace Discount {
1405
+ interface DiscountEnd {
1406
+ /**
1407
+ * Time span for the redeemed discount.
1408
+ */
1409
+ duration?: DiscountEnd.Duration;
1410
+ /**
1411
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1412
+ */
1413
+ timestamp?: number;
1414
+ /**
1415
+ * The type of calculation made to determine when the discount ends.
1416
+ */
1417
+ type: DiscountEnd.Type;
1418
+ }
1419
+ namespace DiscountEnd {
1420
+ interface Duration {
1421
+ /**
1422
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1423
+ */
1424
+ interval: Duration.Interval;
1425
+ /**
1426
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1427
+ */
1428
+ interval_count: number;
1429
+ }
1430
+ type Type = 'duration' | 'timestamp';
1431
+ namespace Duration {
1432
+ type Interval = 'day' | 'month' | 'week' | 'year';
1433
+ }
1434
+ }
1435
+ }
1148
1436
  namespace Period {
1149
1437
  interface End {
1150
1438
  /**
@@ -1189,7 +1477,7 @@ export declare namespace SubscriptionCreateParams {
1189
1477
  type: Liability.Type;
1190
1478
  }
1191
1479
  namespace Liability {
1192
- type Type = 'account' | 'self';
1480
+ type Type = 'account' | 'application' | 'self';
1193
1481
  }
1194
1482
  }
1195
1483
  namespace BillingMode {
@@ -1204,6 +1492,128 @@ export declare namespace SubscriptionCreateParams {
1204
1492
  type ProrationDiscounts = 'included' | 'itemized';
1205
1493
  }
1206
1494
  }
1495
+ namespace BillingSchedule {
1496
+ interface AppliesTo {
1497
+ /**
1498
+ * The ID of the price object.
1499
+ */
1500
+ price?: string;
1501
+ /**
1502
+ * Controls which subscription items the billing schedule applies to.
1503
+ */
1504
+ type: 'price';
1505
+ }
1506
+ interface BillUntil {
1507
+ /**
1508
+ * Specifies the billing period.
1509
+ */
1510
+ duration?: BillUntil.Duration;
1511
+ /**
1512
+ * The end date of the billing schedule.
1513
+ */
1514
+ timestamp?: number;
1515
+ /**
1516
+ * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
1517
+ */
1518
+ type: BillUntil.Type;
1519
+ }
1520
+ namespace BillUntil {
1521
+ interface Duration {
1522
+ /**
1523
+ * Specifies billing duration. Either `day`, `week`, `month` or `year`.
1524
+ */
1525
+ interval: Duration.Interval;
1526
+ /**
1527
+ * The multiplier applied to the interval.
1528
+ */
1529
+ interval_count?: number;
1530
+ }
1531
+ type Type = 'duration' | 'timestamp';
1532
+ namespace Duration {
1533
+ type Interval = 'day' | 'month' | 'week' | 'year';
1534
+ }
1535
+ }
1536
+ }
1537
+ namespace Discount {
1538
+ interface DiscountEnd {
1539
+ /**
1540
+ * Time span for the redeemed discount.
1541
+ */
1542
+ duration?: DiscountEnd.Duration;
1543
+ /**
1544
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1545
+ */
1546
+ timestamp?: number;
1547
+ /**
1548
+ * The type of calculation made to determine when the discount ends.
1549
+ */
1550
+ type: DiscountEnd.Type;
1551
+ }
1552
+ interface Settings {
1553
+ /**
1554
+ * Configures service period cycle anchoring.
1555
+ */
1556
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
1557
+ /**
1558
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
1559
+ */
1560
+ start_date?: Settings.StartDate;
1561
+ }
1562
+ namespace DiscountEnd {
1563
+ interface Duration {
1564
+ /**
1565
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1566
+ */
1567
+ interval: Duration.Interval;
1568
+ /**
1569
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1570
+ */
1571
+ interval_count: number;
1572
+ }
1573
+ type Type = 'duration' | 'timestamp';
1574
+ namespace Duration {
1575
+ type Interval = 'day' | 'month' | 'week' | 'year';
1576
+ }
1577
+ }
1578
+ namespace Settings {
1579
+ interface ServicePeriodAnchorConfig {
1580
+ /**
1581
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
1582
+ */
1583
+ custom?: ServicePeriodAnchorConfig.Custom;
1584
+ /**
1585
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
1586
+ */
1587
+ type?: ServicePeriodAnchorConfig.Type;
1588
+ }
1589
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
1590
+ namespace ServicePeriodAnchorConfig {
1591
+ interface Custom {
1592
+ /**
1593
+ * The day of the month the anchor should be. Ranges from 1 to 31.
1594
+ */
1595
+ day_of_month: number;
1596
+ /**
1597
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
1598
+ */
1599
+ hour?: number;
1600
+ /**
1601
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
1602
+ */
1603
+ minute?: number;
1604
+ /**
1605
+ * The month to start full cycle periods. Ranges from 1 to 12.
1606
+ */
1607
+ month?: number;
1608
+ /**
1609
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
1610
+ */
1611
+ second?: number;
1612
+ }
1613
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
1614
+ }
1615
+ }
1616
+ }
1207
1617
  namespace InvoiceSettings {
1208
1618
  interface Issuer {
1209
1619
  /**
@@ -1216,7 +1626,7 @@ export declare namespace SubscriptionCreateParams {
1216
1626
  type: Issuer.Type;
1217
1627
  }
1218
1628
  namespace Issuer {
1219
- type Type = 'account' | 'self';
1629
+ type Type = 'account' | 'application' | 'self';
1220
1630
  }
1221
1631
  }
1222
1632
  namespace Item {
@@ -1226,6 +1636,16 @@ export declare namespace SubscriptionCreateParams {
1226
1636
  */
1227
1637
  usage_gte: number;
1228
1638
  }
1639
+ interface CurrentTrial {
1640
+ /**
1641
+ * Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
1642
+ */
1643
+ trial_end?: number;
1644
+ /**
1645
+ * The ID of the trial offer to apply to the subscription item.
1646
+ */
1647
+ trial_offer: string;
1648
+ }
1229
1649
  interface Discount {
1230
1650
  /**
1231
1651
  * ID of the coupon to create a new discount for.
@@ -1235,10 +1655,18 @@ export declare namespace SubscriptionCreateParams {
1235
1655
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1236
1656
  */
1237
1657
  discount?: string;
1658
+ /**
1659
+ * Details to determine how long the discount should be applied for.
1660
+ */
1661
+ discount_end?: Discount.DiscountEnd;
1238
1662
  /**
1239
1663
  * ID of the promotion code to create a new discount for.
1240
1664
  */
1241
1665
  promotion_code?: string;
1666
+ /**
1667
+ * Settings for discount application including service period anchoring.
1668
+ */
1669
+ settings?: Discount.Settings;
1242
1670
  }
1243
1671
  interface PriceData {
1244
1672
  /**
@@ -1266,6 +1694,96 @@ export declare namespace SubscriptionCreateParams {
1266
1694
  */
1267
1695
  unit_amount_decimal?: Decimal;
1268
1696
  }
1697
+ interface Trial {
1698
+ /**
1699
+ * List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
1700
+ */
1701
+ converts_to?: Array<string>;
1702
+ /**
1703
+ * Determines the type of trial for this item.
1704
+ */
1705
+ type: Trial.Type;
1706
+ }
1707
+ namespace Discount {
1708
+ interface DiscountEnd {
1709
+ /**
1710
+ * Time span for the redeemed discount.
1711
+ */
1712
+ duration?: DiscountEnd.Duration;
1713
+ /**
1714
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1715
+ */
1716
+ timestamp?: number;
1717
+ /**
1718
+ * The type of calculation made to determine when the discount ends.
1719
+ */
1720
+ type: DiscountEnd.Type;
1721
+ }
1722
+ interface Settings {
1723
+ /**
1724
+ * Configures service period cycle anchoring.
1725
+ */
1726
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
1727
+ /**
1728
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
1729
+ */
1730
+ start_date?: Settings.StartDate;
1731
+ }
1732
+ namespace DiscountEnd {
1733
+ interface Duration {
1734
+ /**
1735
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1736
+ */
1737
+ interval: Duration.Interval;
1738
+ /**
1739
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1740
+ */
1741
+ interval_count: number;
1742
+ }
1743
+ type Type = 'duration' | 'timestamp';
1744
+ namespace Duration {
1745
+ type Interval = 'day' | 'month' | 'week' | 'year';
1746
+ }
1747
+ }
1748
+ namespace Settings {
1749
+ interface ServicePeriodAnchorConfig {
1750
+ /**
1751
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
1752
+ */
1753
+ custom?: ServicePeriodAnchorConfig.Custom;
1754
+ /**
1755
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
1756
+ */
1757
+ type?: ServicePeriodAnchorConfig.Type;
1758
+ }
1759
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
1760
+ namespace ServicePeriodAnchorConfig {
1761
+ interface Custom {
1762
+ /**
1763
+ * The day of the month the anchor should be. Ranges from 1 to 31.
1764
+ */
1765
+ day_of_month: number;
1766
+ /**
1767
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
1768
+ */
1769
+ hour?: number;
1770
+ /**
1771
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
1772
+ */
1773
+ minute?: number;
1774
+ /**
1775
+ * The month to start full cycle periods. Ranges from 1 to 12.
1776
+ */
1777
+ month?: number;
1778
+ /**
1779
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
1780
+ */
1781
+ second?: number;
1782
+ }
1783
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
1784
+ }
1785
+ }
1786
+ }
1269
1787
  namespace PriceData {
1270
1788
  interface Recurring {
1271
1789
  /**
@@ -1282,6 +1800,9 @@ export declare namespace SubscriptionCreateParams {
1282
1800
  type Interval = 'day' | 'month' | 'week' | 'year';
1283
1801
  }
1284
1802
  }
1803
+ namespace Trial {
1804
+ type Type = 'free' | 'paid';
1805
+ }
1285
1806
  }
1286
1807
  namespace PaymentSettings {
1287
1808
  interface PaymentMethodOptions {
@@ -1290,17 +1811,33 @@ export declare namespace SubscriptionCreateParams {
1290
1811
  */
1291
1812
  acss_debit?: Emptyable<PaymentMethodOptions.AcssDebit>;
1292
1813
  /**
1293
- * This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
1814
+ * This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
1815
+ */
1816
+ bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
1817
+ /**
1818
+ * This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
1819
+ */
1820
+ bizum?: Emptyable<PaymentMethodOptions.Bizum>;
1821
+ /**
1822
+ * This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
1294
1823
  */
1295
- bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
1824
+ blik?: Emptyable<PaymentMethodOptions.Blik>;
1296
1825
  /**
1297
1826
  * This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
1298
1827
  */
1299
1828
  card?: Emptyable<PaymentMethodOptions.Card>;
1829
+ /**
1830
+ * This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
1831
+ */
1832
+ check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
1300
1833
  /**
1301
1834
  * This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
1302
1835
  */
1303
1836
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
1837
+ /**
1838
+ * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
1839
+ */
1840
+ id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
1304
1841
  /**
1305
1842
  * This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
1306
1843
  */
@@ -1326,7 +1863,7 @@ export declare namespace SubscriptionCreateParams {
1326
1863
  */
1327
1864
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
1328
1865
  }
1329
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'upi' | 'us_bank_account' | 'wechat_pay';
1866
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'check_scan' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'upi' | 'us_bank_account' | 'wechat_pay';
1330
1867
  type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
1331
1868
  namespace PaymentMethodOptions {
1332
1869
  interface AcssDebit {
@@ -1345,6 +1882,18 @@ export declare namespace SubscriptionCreateParams {
1345
1882
  */
1346
1883
  preferred_language?: Bancontact.PreferredLanguage;
1347
1884
  }
1885
+ interface Bizum {
1886
+ /**
1887
+ * Configuration options for setting up a mandate
1888
+ */
1889
+ mandate_options?: Bizum.MandateOptions;
1890
+ }
1891
+ interface Blik {
1892
+ /**
1893
+ * Configuration options for setting up a mandate
1894
+ */
1895
+ mandate_options?: Blik.MandateOptions;
1896
+ }
1348
1897
  interface Card {
1349
1898
  /**
1350
1899
  * Configuration options for setting up an eMandate for cards issued in India.
@@ -1359,6 +1908,9 @@ export declare namespace SubscriptionCreateParams {
1359
1908
  */
1360
1909
  request_three_d_secure?: Card.RequestThreeDSecure;
1361
1910
  }
1911
+ interface CheckScan {
1912
+ check_deposit_address?: AddressParam;
1913
+ }
1362
1914
  interface CustomerBalance {
1363
1915
  /**
1364
1916
  * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
@@ -1369,6 +1921,8 @@ export declare namespace SubscriptionCreateParams {
1369
1921
  */
1370
1922
  funding_type?: string;
1371
1923
  }
1924
+ interface IdBankTransfer {
1925
+ }
1372
1926
  interface Konbini {
1373
1927
  }
1374
1928
  interface Payto {
@@ -1420,6 +1974,26 @@ export declare namespace SubscriptionCreateParams {
1420
1974
  namespace Bancontact {
1421
1975
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
1422
1976
  }
1977
+ namespace Bizum {
1978
+ interface MandateOptions {
1979
+ /**
1980
+ * Amount to be charged for future payments. Required when `amount_type=fixed`.
1981
+ */
1982
+ amount: number;
1983
+ /**
1984
+ * Indicates the mandate amount type.
1985
+ */
1986
+ amount_type: 'fixed';
1987
+ }
1988
+ }
1989
+ namespace Blik {
1990
+ interface MandateOptions {
1991
+ /**
1992
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
1993
+ */
1994
+ expires_after?: number;
1995
+ }
1996
+ }
1423
1997
  namespace Card {
1424
1998
  interface MandateOptions {
1425
1999
  /**
@@ -1545,9 +2119,13 @@ export declare namespace SubscriptionCreateParams {
1545
2119
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1546
2120
  */
1547
2121
  account_subcategories?: Array<Filters.AccountSubcategory>;
2122
+ /**
2123
+ * ID of the institution to use to filter for selectable accounts.
2124
+ */
2125
+ institution?: string;
1548
2126
  }
1549
2127
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
1550
- type Prefetch = 'balances' | 'ownership' | 'transactions';
2128
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
1551
2129
  namespace Filters {
1552
2130
  type AccountSubcategory = 'checking' | 'savings';
1553
2131
  }
@@ -1558,14 +2136,22 @@ export declare namespace SubscriptionCreateParams {
1558
2136
  namespace PendingInvoiceItemInterval {
1559
2137
  type Interval = 'day' | 'month' | 'week' | 'year';
1560
2138
  }
2139
+ namespace Prebilling {
2140
+ type UpdateBehavior = 'prebill' | 'reset';
2141
+ }
1561
2142
  namespace TrialSettings {
1562
2143
  interface EndBehavior {
2144
+ /**
2145
+ * Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
2146
+ */
2147
+ billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
1563
2148
  /**
1564
2149
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
1565
2150
  */
1566
2151
  missing_payment_method: EndBehavior.MissingPaymentMethod;
1567
2152
  }
1568
2153
  namespace EndBehavior {
2154
+ type BillingCycleAnchor = 'now' | 'unchanged';
1569
2155
  type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
1570
2156
  }
1571
2157
  }
@@ -1589,10 +2175,18 @@ export interface SubscriptionUpdateParams {
1589
2175
  * Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
1590
2176
  */
1591
2177
  automatic_tax?: SubscriptionUpdateParams.AutomaticTax;
2178
+ /**
2179
+ * The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
2180
+ */
2181
+ billing_cadence?: string;
1592
2182
  /**
1593
2183
  * Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time (in UTC). For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
1594
2184
  */
1595
2185
  billing_cycle_anchor?: SubscriptionUpdateParams.BillingCycleAnchor;
2186
+ /**
2187
+ * Sets the billing schedules for the subscription.
2188
+ */
2189
+ billing_schedules?: Emptyable<Array<SubscriptionUpdateParams.BillingSchedule>>;
1596
2190
  /**
1597
2191
  * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds.
1598
2192
  */
@@ -1683,6 +2277,10 @@ export interface SubscriptionUpdateParams {
1683
2277
  * Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api/invoices/create) for the given subscription at the specified interval.
1684
2278
  */
1685
2279
  pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
2280
+ /**
2281
+ * If specified, the invoicing for the given billing cycle iterations will be processed now.
2282
+ */
2283
+ prebilling?: SubscriptionUpdateParams.Prebilling;
1686
2284
  /**
1687
2285
  * Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
1688
2286
  */
@@ -1750,6 +2348,20 @@ export declare namespace SubscriptionUpdateParams {
1750
2348
  liability?: AutomaticTax.Liability;
1751
2349
  }
1752
2350
  type BillingCycleAnchor = 'now' | 'unchanged';
2351
+ interface BillingSchedule {
2352
+ /**
2353
+ * Configure billing schedule differently for individual subscription items.
2354
+ */
2355
+ applies_to?: Array<BillingSchedule.AppliesTo>;
2356
+ /**
2357
+ * The end date for the billing schedule.
2358
+ */
2359
+ bill_until?: BillingSchedule.BillUntil;
2360
+ /**
2361
+ * Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated.
2362
+ */
2363
+ key?: string;
2364
+ }
1753
2365
  interface BillingThresholds {
1754
2366
  /**
1755
2367
  * Monetary threshold that triggers the subscription to advance to a new billing period
@@ -1781,10 +2393,18 @@ export declare namespace SubscriptionUpdateParams {
1781
2393
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1782
2394
  */
1783
2395
  discount?: string;
2396
+ /**
2397
+ * Details to determine how long the discount should be applied for.
2398
+ */
2399
+ discount_end?: Discount.DiscountEnd;
1784
2400
  /**
1785
2401
  * ID of the promotion code to create a new discount for.
1786
2402
  */
1787
2403
  promotion_code?: string;
2404
+ /**
2405
+ * Settings for discount application including service period anchoring.
2406
+ */
2407
+ settings?: Discount.Settings;
1788
2408
  }
1789
2409
  interface InvoiceSettings {
1790
2410
  /**
@@ -1805,6 +2425,10 @@ export declare namespace SubscriptionUpdateParams {
1805
2425
  * Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
1806
2426
  */
1807
2427
  clear_usage?: boolean;
2428
+ /**
2429
+ * The trial offer to apply to this subscription item.
2430
+ */
2431
+ current_trial?: Item.CurrentTrial;
1808
2432
  /**
1809
2433
  * A flag that, if set to `true`, will delete the specified item.
1810
2434
  */
@@ -1877,6 +2501,16 @@ export declare namespace SubscriptionUpdateParams {
1877
2501
  */
1878
2502
  interval_count?: number;
1879
2503
  }
2504
+ interface Prebilling {
2505
+ /**
2506
+ * This is used to determine the number of billing cycles to prebill.
2507
+ */
2508
+ iterations: number;
2509
+ /**
2510
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
2511
+ */
2512
+ update_behavior?: Prebilling.UpdateBehavior;
2513
+ }
1880
2514
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
1881
2515
  interface TransferData {
1882
2516
  /**
@@ -1904,6 +2538,10 @@ export declare namespace SubscriptionUpdateParams {
1904
2538
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1905
2539
  */
1906
2540
  discount?: string;
2541
+ /**
2542
+ * Details to determine how long the discount should be applied for.
2543
+ */
2544
+ discount_end?: Discount.DiscountEnd;
1907
2545
  /**
1908
2546
  * ID of the promotion code to create a new discount for.
1909
2547
  */
@@ -1941,6 +2579,38 @@ export declare namespace SubscriptionUpdateParams {
1941
2579
  */
1942
2580
  unit_amount_decimal?: Decimal;
1943
2581
  }
2582
+ namespace Discount {
2583
+ interface DiscountEnd {
2584
+ /**
2585
+ * Time span for the redeemed discount.
2586
+ */
2587
+ duration?: DiscountEnd.Duration;
2588
+ /**
2589
+ * A precise Unix timestamp for the discount to end. Must be in the future.
2590
+ */
2591
+ timestamp?: number;
2592
+ /**
2593
+ * The type of calculation made to determine when the discount ends.
2594
+ */
2595
+ type: DiscountEnd.Type;
2596
+ }
2597
+ namespace DiscountEnd {
2598
+ interface Duration {
2599
+ /**
2600
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2601
+ */
2602
+ interval: Duration.Interval;
2603
+ /**
2604
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2605
+ */
2606
+ interval_count: number;
2607
+ }
2608
+ type Type = 'duration' | 'timestamp';
2609
+ namespace Duration {
2610
+ type Interval = 'day' | 'month' | 'week' | 'year';
2611
+ }
2612
+ }
2613
+ }
1944
2614
  namespace Period {
1945
2615
  interface End {
1946
2616
  /**
@@ -1985,12 +2655,134 @@ export declare namespace SubscriptionUpdateParams {
1985
2655
  type: Liability.Type;
1986
2656
  }
1987
2657
  namespace Liability {
1988
- type Type = 'account' | 'self';
2658
+ type Type = 'account' | 'application' | 'self';
2659
+ }
2660
+ }
2661
+ namespace BillingSchedule {
2662
+ interface AppliesTo {
2663
+ /**
2664
+ * The ID of the price object.
2665
+ */
2666
+ price?: string;
2667
+ /**
2668
+ * Controls which subscription items the billing schedule applies to.
2669
+ */
2670
+ type: 'price';
2671
+ }
2672
+ interface BillUntil {
2673
+ /**
2674
+ * Specifies the billing period.
2675
+ */
2676
+ duration?: BillUntil.Duration;
2677
+ /**
2678
+ * The end date of the billing schedule.
2679
+ */
2680
+ timestamp?: number;
2681
+ /**
2682
+ * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
2683
+ */
2684
+ type: BillUntil.Type;
2685
+ }
2686
+ namespace BillUntil {
2687
+ interface Duration {
2688
+ /**
2689
+ * Specifies billing duration. Either `day`, `week`, `month` or `year`.
2690
+ */
2691
+ interval: Duration.Interval;
2692
+ /**
2693
+ * The multiplier applied to the interval.
2694
+ */
2695
+ interval_count?: number;
2696
+ }
2697
+ type Type = 'duration' | 'timestamp';
2698
+ namespace Duration {
2699
+ type Interval = 'day' | 'month' | 'week' | 'year';
2700
+ }
1989
2701
  }
1990
2702
  }
1991
2703
  namespace CancellationDetails {
1992
2704
  type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
1993
2705
  }
2706
+ namespace Discount {
2707
+ interface DiscountEnd {
2708
+ /**
2709
+ * Time span for the redeemed discount.
2710
+ */
2711
+ duration?: DiscountEnd.Duration;
2712
+ /**
2713
+ * A precise Unix timestamp for the discount to end. Must be in the future.
2714
+ */
2715
+ timestamp?: number;
2716
+ /**
2717
+ * The type of calculation made to determine when the discount ends.
2718
+ */
2719
+ type: DiscountEnd.Type;
2720
+ }
2721
+ interface Settings {
2722
+ /**
2723
+ * Configures service period cycle anchoring.
2724
+ */
2725
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
2726
+ /**
2727
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
2728
+ */
2729
+ start_date?: Settings.StartDate;
2730
+ }
2731
+ namespace DiscountEnd {
2732
+ interface Duration {
2733
+ /**
2734
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2735
+ */
2736
+ interval: Duration.Interval;
2737
+ /**
2738
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2739
+ */
2740
+ interval_count: number;
2741
+ }
2742
+ type Type = 'duration' | 'timestamp';
2743
+ namespace Duration {
2744
+ type Interval = 'day' | 'month' | 'week' | 'year';
2745
+ }
2746
+ }
2747
+ namespace Settings {
2748
+ interface ServicePeriodAnchorConfig {
2749
+ /**
2750
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
2751
+ */
2752
+ custom?: ServicePeriodAnchorConfig.Custom;
2753
+ /**
2754
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
2755
+ */
2756
+ type?: ServicePeriodAnchorConfig.Type;
2757
+ }
2758
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
2759
+ namespace ServicePeriodAnchorConfig {
2760
+ interface Custom {
2761
+ /**
2762
+ * The day of the month the anchor should be. Ranges from 1 to 31.
2763
+ */
2764
+ day_of_month: number;
2765
+ /**
2766
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
2767
+ */
2768
+ hour?: number;
2769
+ /**
2770
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
2771
+ */
2772
+ minute?: number;
2773
+ /**
2774
+ * The month to start full cycle periods. Ranges from 1 to 12.
2775
+ */
2776
+ month?: number;
2777
+ /**
2778
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
2779
+ */
2780
+ second?: number;
2781
+ }
2782
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
2783
+ }
2784
+ }
2785
+ }
1994
2786
  namespace InvoiceSettings {
1995
2787
  interface Issuer {
1996
2788
  /**
@@ -2003,7 +2795,7 @@ export declare namespace SubscriptionUpdateParams {
2003
2795
  type: Issuer.Type;
2004
2796
  }
2005
2797
  namespace Issuer {
2006
- type Type = 'account' | 'self';
2798
+ type Type = 'account' | 'application' | 'self';
2007
2799
  }
2008
2800
  }
2009
2801
  namespace Item {
@@ -2013,6 +2805,16 @@ export declare namespace SubscriptionUpdateParams {
2013
2805
  */
2014
2806
  usage_gte: number;
2015
2807
  }
2808
+ interface CurrentTrial {
2809
+ /**
2810
+ * Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
2811
+ */
2812
+ trial_end?: number;
2813
+ /**
2814
+ * The ID of the trial offer to apply to the subscription item.
2815
+ */
2816
+ trial_offer: string;
2817
+ }
2016
2818
  interface Discount {
2017
2819
  /**
2018
2820
  * ID of the coupon to create a new discount for.
@@ -2022,10 +2824,18 @@ export declare namespace SubscriptionUpdateParams {
2022
2824
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2023
2825
  */
2024
2826
  discount?: string;
2827
+ /**
2828
+ * Details to determine how long the discount should be applied for.
2829
+ */
2830
+ discount_end?: Discount.DiscountEnd;
2025
2831
  /**
2026
2832
  * ID of the promotion code to create a new discount for.
2027
2833
  */
2028
2834
  promotion_code?: string;
2835
+ /**
2836
+ * Settings for discount application including service period anchoring.
2837
+ */
2838
+ settings?: Discount.Settings;
2029
2839
  }
2030
2840
  interface PriceData {
2031
2841
  /**
@@ -2053,6 +2863,86 @@ export declare namespace SubscriptionUpdateParams {
2053
2863
  */
2054
2864
  unit_amount_decimal?: Decimal;
2055
2865
  }
2866
+ namespace Discount {
2867
+ interface DiscountEnd {
2868
+ /**
2869
+ * Time span for the redeemed discount.
2870
+ */
2871
+ duration?: DiscountEnd.Duration;
2872
+ /**
2873
+ * A precise Unix timestamp for the discount to end. Must be in the future.
2874
+ */
2875
+ timestamp?: number;
2876
+ /**
2877
+ * The type of calculation made to determine when the discount ends.
2878
+ */
2879
+ type: DiscountEnd.Type;
2880
+ }
2881
+ interface Settings {
2882
+ /**
2883
+ * Configures service period cycle anchoring.
2884
+ */
2885
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
2886
+ /**
2887
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
2888
+ */
2889
+ start_date?: Settings.StartDate;
2890
+ }
2891
+ namespace DiscountEnd {
2892
+ interface Duration {
2893
+ /**
2894
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2895
+ */
2896
+ interval: Duration.Interval;
2897
+ /**
2898
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2899
+ */
2900
+ interval_count: number;
2901
+ }
2902
+ type Type = 'duration' | 'timestamp';
2903
+ namespace Duration {
2904
+ type Interval = 'day' | 'month' | 'week' | 'year';
2905
+ }
2906
+ }
2907
+ namespace Settings {
2908
+ interface ServicePeriodAnchorConfig {
2909
+ /**
2910
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
2911
+ */
2912
+ custom?: ServicePeriodAnchorConfig.Custom;
2913
+ /**
2914
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
2915
+ */
2916
+ type?: ServicePeriodAnchorConfig.Type;
2917
+ }
2918
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
2919
+ namespace ServicePeriodAnchorConfig {
2920
+ interface Custom {
2921
+ /**
2922
+ * The day of the month the anchor should be. Ranges from 1 to 31.
2923
+ */
2924
+ day_of_month: number;
2925
+ /**
2926
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
2927
+ */
2928
+ hour?: number;
2929
+ /**
2930
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
2931
+ */
2932
+ minute?: number;
2933
+ /**
2934
+ * The month to start full cycle periods. Ranges from 1 to 12.
2935
+ */
2936
+ month?: number;
2937
+ /**
2938
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
2939
+ */
2940
+ second?: number;
2941
+ }
2942
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
2943
+ }
2944
+ }
2945
+ }
2056
2946
  namespace PriceData {
2057
2947
  interface Recurring {
2058
2948
  /**
@@ -2083,14 +2973,30 @@ export declare namespace SubscriptionUpdateParams {
2083
2973
  * This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
2084
2974
  */
2085
2975
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
2976
+ /**
2977
+ * This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
2978
+ */
2979
+ bizum?: Emptyable<PaymentMethodOptions.Bizum>;
2980
+ /**
2981
+ * This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
2982
+ */
2983
+ blik?: Emptyable<PaymentMethodOptions.Blik>;
2086
2984
  /**
2087
2985
  * This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
2088
2986
  */
2089
2987
  card?: Emptyable<PaymentMethodOptions.Card>;
2988
+ /**
2989
+ * This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
2990
+ */
2991
+ check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
2090
2992
  /**
2091
2993
  * This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
2092
2994
  */
2093
2995
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
2996
+ /**
2997
+ * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
2998
+ */
2999
+ id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
2094
3000
  /**
2095
3001
  * This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
2096
3002
  */
@@ -2116,7 +3022,7 @@ export declare namespace SubscriptionUpdateParams {
2116
3022
  */
2117
3023
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
2118
3024
  }
2119
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'upi' | 'us_bank_account' | 'wechat_pay';
3025
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'check_scan' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'upi' | 'us_bank_account' | 'wechat_pay';
2120
3026
  type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
2121
3027
  namespace PaymentMethodOptions {
2122
3028
  interface AcssDebit {
@@ -2135,6 +3041,18 @@ export declare namespace SubscriptionUpdateParams {
2135
3041
  */
2136
3042
  preferred_language?: Bancontact.PreferredLanguage;
2137
3043
  }
3044
+ interface Bizum {
3045
+ /**
3046
+ * Configuration options for setting up a mandate
3047
+ */
3048
+ mandate_options?: Bizum.MandateOptions;
3049
+ }
3050
+ interface Blik {
3051
+ /**
3052
+ * Configuration options for setting up a mandate
3053
+ */
3054
+ mandate_options?: Blik.MandateOptions;
3055
+ }
2138
3056
  interface Card {
2139
3057
  /**
2140
3058
  * Configuration options for setting up an eMandate for cards issued in India.
@@ -2149,6 +3067,9 @@ export declare namespace SubscriptionUpdateParams {
2149
3067
  */
2150
3068
  request_three_d_secure?: Card.RequestThreeDSecure;
2151
3069
  }
3070
+ interface CheckScan {
3071
+ check_deposit_address?: AddressParam;
3072
+ }
2152
3073
  interface CustomerBalance {
2153
3074
  /**
2154
3075
  * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
@@ -2159,6 +3080,8 @@ export declare namespace SubscriptionUpdateParams {
2159
3080
  */
2160
3081
  funding_type?: string;
2161
3082
  }
3083
+ interface IdBankTransfer {
3084
+ }
2162
3085
  interface Konbini {
2163
3086
  }
2164
3087
  interface Payto {
@@ -2210,6 +3133,26 @@ export declare namespace SubscriptionUpdateParams {
2210
3133
  namespace Bancontact {
2211
3134
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
2212
3135
  }
3136
+ namespace Bizum {
3137
+ interface MandateOptions {
3138
+ /**
3139
+ * Amount to be charged for future payments. Required when `amount_type=fixed`.
3140
+ */
3141
+ amount: number;
3142
+ /**
3143
+ * Indicates the mandate amount type.
3144
+ */
3145
+ amount_type: 'fixed';
3146
+ }
3147
+ }
3148
+ namespace Blik {
3149
+ interface MandateOptions {
3150
+ /**
3151
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
3152
+ */
3153
+ expires_after?: number;
3154
+ }
3155
+ }
2213
3156
  namespace Card {
2214
3157
  interface MandateOptions {
2215
3158
  /**
@@ -2335,9 +3278,13 @@ export declare namespace SubscriptionUpdateParams {
2335
3278
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2336
3279
  */
2337
3280
  account_subcategories?: Array<Filters.AccountSubcategory>;
3281
+ /**
3282
+ * ID of the institution to use to filter for selectable accounts.
3283
+ */
3284
+ institution?: string;
2338
3285
  }
2339
3286
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
2340
- type Prefetch = 'balances' | 'ownership' | 'transactions';
3287
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
2341
3288
  namespace Filters {
2342
3289
  type AccountSubcategory = 'checking' | 'savings';
2343
3290
  }
@@ -2348,14 +3295,22 @@ export declare namespace SubscriptionUpdateParams {
2348
3295
  namespace PendingInvoiceItemInterval {
2349
3296
  type Interval = 'day' | 'month' | 'week' | 'year';
2350
3297
  }
3298
+ namespace Prebilling {
3299
+ type UpdateBehavior = 'prebill' | 'reset';
3300
+ }
2351
3301
  namespace TrialSettings {
2352
3302
  interface EndBehavior {
3303
+ /**
3304
+ * Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
3305
+ */
3306
+ billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
2353
3307
  /**
2354
3308
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
2355
3309
  */
2356
3310
  missing_payment_method: EndBehavior.MissingPaymentMethod;
2357
3311
  }
2358
3312
  namespace EndBehavior {
3313
+ type BillingCycleAnchor = 'now' | 'unchanged';
2359
3314
  type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
2360
3315
  }
2361
3316
  }
@@ -2365,6 +3320,10 @@ export interface SubscriptionListParams extends PaginationParams {
2365
3320
  * Filter subscriptions by their automatic tax settings.
2366
3321
  */
2367
3322
  automatic_tax?: SubscriptionListParams.AutomaticTax;
3323
+ /**
3324
+ * Filter for subscriptions that have the specified billing cadence.
3325
+ */
3326
+ billing_cadence?: string;
2368
3327
  /**
2369
3328
  * The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
2370
3329
  */
@@ -2420,6 +3379,16 @@ export declare namespace SubscriptionListParams {
2420
3379
  type CollectionMethod = 'charge_automatically' | 'send_invoice';
2421
3380
  type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
2422
3381
  }
3382
+ export interface SubscriptionAttachCadenceParams {
3383
+ /**
3384
+ * The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
3385
+ */
3386
+ billing_cadence: string;
3387
+ /**
3388
+ * Specifies which fields in the response should be expanded.
3389
+ */
3390
+ expand?: Array<string>;
3391
+ }
2423
3392
  export interface SubscriptionCancelParams {
2424
3393
  /**
2425
3394
  * Details about why this subscription was cancelled
@@ -2488,6 +3457,57 @@ export declare namespace SubscriptionMigrateParams {
2488
3457
  }
2489
3458
  }
2490
3459
  }
3460
+ export interface SubscriptionPauseParams {
3461
+ /**
3462
+ * The type of pause to apply.
3463
+ */
3464
+ type: 'subscription';
3465
+ /**
3466
+ * Controls what to bill for when pausing the subscription.
3467
+ */
3468
+ bill_for?: SubscriptionPauseParams.BillFor;
3469
+ /**
3470
+ * Specifies which fields in the response should be expanded.
3471
+ */
3472
+ expand?: Array<string>;
3473
+ /**
3474
+ * Determines how to handle debits and credits when pausing. The default is `pending_invoice_item`.
3475
+ */
3476
+ invoicing_behavior?: SubscriptionPauseParams.InvoicingBehavior;
3477
+ }
3478
+ export declare namespace SubscriptionPauseParams {
3479
+ interface BillFor {
3480
+ /**
3481
+ * Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
3482
+ */
3483
+ outstanding_usage_through?: BillFor.OutstandingUsageThrough;
3484
+ /**
3485
+ * Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
3486
+ */
3487
+ unused_time_from?: BillFor.UnusedTimeFrom;
3488
+ }
3489
+ type InvoicingBehavior = 'invoice' | 'pending_invoice_item';
3490
+ namespace BillFor {
3491
+ interface OutstandingUsageThrough {
3492
+ /**
3493
+ * When to bill metered usage in the current period.
3494
+ */
3495
+ type: OutstandingUsageThrough.Type;
3496
+ }
3497
+ interface UnusedTimeFrom {
3498
+ /**
3499
+ * When to credit for unused time.
3500
+ */
3501
+ type: UnusedTimeFrom.Type;
3502
+ }
3503
+ namespace OutstandingUsageThrough {
3504
+ type Type = 'none' | 'now';
3505
+ }
3506
+ namespace UnusedTimeFrom {
3507
+ type Type = 'item_current_period_start' | 'none' | 'now';
3508
+ }
3509
+ }
3510
+ }
2491
3511
  export interface SubscriptionResumeParams {
2492
3512
  /**
2493
3513
  * The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
@@ -2528,3 +3548,7 @@ export interface SubscriptionSearchParams {
2528
3548
  */
2529
3549
  page?: string;
2530
3550
  }
3551
+ export interface SubscriptionSerializeBatchMigrateParams {
3552
+ }
3553
+ export interface SubscriptionSerializeBatchUpdateParams {
3554
+ }