stripe 22.2.0 → 22.3.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 (1462) hide show
  1. package/CHANGELOG.md +2754 -12
  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/RequestSender.d.ts +1 -1
  9. package/cjs/RequestSender.js +2 -2
  10. package/cjs/RequestSender.js.map +1 -1
  11. package/cjs/StripeEventNotificationHandler.d.ts +19 -0
  12. package/cjs/StripeEventNotificationHandler.js +471 -0
  13. package/cjs/StripeEventNotificationHandler.js.map +1 -0
  14. package/cjs/Types.d.ts +4 -2
  15. package/cjs/apiVersion.d.ts +1 -2
  16. package/cjs/apiVersion.js +2 -3
  17. package/cjs/apiVersion.js.map +1 -1
  18. package/cjs/resources/AccountLinks.d.ts +5 -1
  19. package/cjs/resources/AccountNotices.d.ts +140 -0
  20. package/cjs/resources/AccountNotices.js +29 -0
  21. package/cjs/resources/AccountNotices.js.map +1 -0
  22. package/cjs/resources/AccountSessions.d.ts +463 -0
  23. package/cjs/resources/AccountSessions.js.map +1 -1
  24. package/cjs/resources/AccountSignals.d.ts +110 -0
  25. package/cjs/resources/AccountSignals.js +4 -0
  26. package/cjs/resources/AccountSignals.js.map +1 -0
  27. package/cjs/resources/Accounts.d.ts +1020 -6
  28. package/cjs/resources/Accounts.js +47 -0
  29. package/cjs/resources/Accounts.js.map +1 -1
  30. package/cjs/resources/ApplicationFees.d.ts +28 -1
  31. package/cjs/resources/Balance.d.ts +134 -0
  32. package/cjs/resources/BalanceSettings.d.ts +18 -0
  33. package/cjs/resources/BalanceTransactions.d.ts +1 -1
  34. package/cjs/resources/BalanceTransfers.d.ts +160 -0
  35. package/cjs/resources/BalanceTransfers.js +15 -0
  36. package/cjs/resources/BalanceTransfers.js.map +1 -0
  37. package/cjs/resources/BankAccounts.d.ts +2 -2
  38. package/cjs/resources/Billing/AlertRecovereds.d.ts +40 -0
  39. package/cjs/resources/Billing/AlertRecovereds.js +4 -0
  40. package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
  41. package/cjs/resources/Billing/AlertTriggereds.d.ts +57 -1
  42. package/cjs/resources/Billing/Alerts.d.ts +408 -5
  43. package/cjs/resources/Billing/Alerts.js +321 -5
  44. package/cjs/resources/Billing/Alerts.js.map +1 -1
  45. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
  46. package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
  47. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  48. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  49. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
  50. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  51. package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
  52. package/cjs/resources/Billing/Analytics/index.js +13 -0
  53. package/cjs/resources/Billing/Analytics/index.js.map +1 -0
  54. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +126 -2
  55. package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
  56. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  57. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  58. package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
  59. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  60. package/cjs/resources/Billing/CreditGrants.d.ts +85 -3
  61. package/cjs/resources/Billing/CreditGrants.js +134 -5
  62. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  63. package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
  64. package/cjs/resources/Billing/Meters.d.ts +31 -0
  65. package/cjs/resources/Billing/index.d.ts +6 -0
  66. package/cjs/resources/Billing/index.js +2 -0
  67. package/cjs/resources/Billing/index.js.map +1 -1
  68. package/cjs/resources/Capabilities.d.ts +25 -2
  69. package/cjs/resources/Capital/FinancingOffers.d.ts +191 -0
  70. package/cjs/resources/Capital/FinancingOffers.js +30 -0
  71. package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
  72. package/cjs/resources/Capital/FinancingSummary.d.ts +98 -0
  73. package/cjs/resources/Capital/FinancingSummary.js +15 -0
  74. package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
  75. package/cjs/resources/Capital/FinancingTransactions.d.ts +143 -0
  76. package/cjs/resources/Capital/FinancingTransactions.js +24 -0
  77. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
  78. package/cjs/resources/Capital/index.d.ts +25 -0
  79. package/cjs/resources/Capital/index.js +17 -0
  80. package/cjs/resources/Capital/index.js.map +1 -0
  81. package/cjs/resources/Cards.d.ts +15 -0
  82. package/cjs/resources/Charges.d.ts +3515 -70
  83. package/cjs/resources/Charges.js.map +1 -1
  84. package/cjs/resources/Checkout/Sessions.d.ts +792 -9
  85. package/cjs/resources/Checkout/Sessions.js +88 -0
  86. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  87. package/cjs/resources/Checkout/index.d.ts +1 -0
  88. package/cjs/resources/ConfirmationTokens.d.ts +130 -1
  89. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  90. package/cjs/resources/Coupons.d.ts +128 -2
  91. package/cjs/resources/Coupons.js +41 -0
  92. package/cjs/resources/Coupons.js.map +1 -1
  93. package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
  94. package/cjs/resources/CreditNotes.d.ts +7 -1
  95. package/cjs/resources/CreditNotes.js +13 -0
  96. package/cjs/resources/CreditNotes.js.map +1 -1
  97. package/cjs/resources/CustomerSessions.d.ts +74 -0
  98. package/cjs/resources/CustomerSessions.js +13 -0
  99. package/cjs/resources/CustomerSessions.js.map +1 -1
  100. package/cjs/resources/Customers.d.ts +85 -1
  101. package/cjs/resources/Customers.js +195 -0
  102. package/cjs/resources/Customers.js.map +1 -1
  103. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +130 -0
  104. package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
  105. package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
  106. package/cjs/resources/DelegatedCheckout/Orders.d.ts +161 -0
  107. package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
  108. package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
  109. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1418 -0
  110. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
  111. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  112. package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
  113. package/cjs/resources/DelegatedCheckout/index.js +15 -0
  114. package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
  115. package/cjs/resources/Discounts.d.ts +19 -0
  116. package/cjs/resources/Disputes.d.ts +43 -0
  117. package/cjs/resources/Disputes.js +14 -0
  118. package/cjs/resources/Disputes.js.map +1 -1
  119. package/cjs/resources/Events.d.ts +573 -2
  120. package/cjs/resources/ExternalAccounts.d.ts +212 -1
  121. package/cjs/resources/ExternalAccounts.js +44 -0
  122. package/cjs/resources/ExternalAccounts.js.map +1 -1
  123. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  124. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
  125. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  126. package/cjs/resources/FinancialConnections/Accounts.d.ts +74 -4
  127. package/cjs/resources/FinancialConnections/Accounts.js +8 -0
  128. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  129. package/cjs/resources/FinancialConnections/Authorizations.d.ts +87 -0
  130. package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
  131. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
  132. package/cjs/resources/FinancialConnections/Institutions.d.ts +101 -0
  133. package/cjs/resources/FinancialConnections/Institutions.js +23 -0
  134. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
  135. package/cjs/resources/FinancialConnections/Sessions.d.ts +155 -7
  136. package/cjs/resources/FinancialConnections/index.d.ts +21 -6
  137. package/cjs/resources/FinancialConnections/index.js +4 -0
  138. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  139. package/cjs/resources/FrMealVouchersOnboardings.d.ts +173 -0
  140. package/cjs/resources/FrMealVouchersOnboardings.js +42 -0
  141. package/cjs/resources/FrMealVouchersOnboardings.js.map +1 -0
  142. package/cjs/resources/FxQuotes.d.ts +212 -0
  143. package/cjs/resources/FxQuotes.js +29 -0
  144. package/cjs/resources/FxQuotes.js.map +1 -0
  145. package/cjs/resources/Identity/BlocklistEntries.d.ts +157 -0
  146. package/cjs/resources/Identity/BlocklistEntries.js +54 -0
  147. package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
  148. package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
  149. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  150. package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
  151. package/cjs/resources/Identity/index.d.ts +18 -10
  152. package/cjs/resources/Identity/index.js +2 -0
  153. package/cjs/resources/Identity/index.js.map +1 -1
  154. package/cjs/resources/InvoiceItems.d.ts +203 -2
  155. package/cjs/resources/InvoiceItems.js +41 -0
  156. package/cjs/resources/InvoiceItems.js.map +1 -1
  157. package/cjs/resources/InvoiceLineItems.d.ts +174 -4
  158. package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
  159. package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
  160. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  161. package/cjs/resources/Invoices.d.ts +2063 -20
  162. package/cjs/resources/Invoices.js +221 -0
  163. package/cjs/resources/Invoices.js.map +1 -1
  164. package/cjs/resources/Issuing/Authorizations.d.ts +290 -0
  165. package/cjs/resources/Issuing/Cardholders.d.ts +5 -4
  166. package/cjs/resources/Issuing/Cards.d.ts +36 -0
  167. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
  168. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
  169. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  170. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
  171. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  172. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  173. package/cjs/resources/Issuing/Disputes.d.ts +190 -0
  174. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  175. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  176. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  177. package/cjs/resources/Issuing/Programs.d.ts +95 -0
  178. package/cjs/resources/Issuing/Programs.js +35 -0
  179. package/cjs/resources/Issuing/Programs.js.map +1 -0
  180. package/cjs/resources/Issuing/Settlements.d.ts +85 -0
  181. package/cjs/resources/Issuing/Settlements.js +4 -0
  182. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  183. package/cjs/resources/Issuing/Tokens.d.ts +22 -0
  184. package/cjs/resources/Issuing/Transactions.d.ts +157 -0
  185. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  186. package/cjs/resources/Issuing/index.d.ts +55 -22
  187. package/cjs/resources/Issuing/index.js +8 -0
  188. package/cjs/resources/Issuing/index.js.map +1 -1
  189. package/cjs/resources/LineItems.d.ts +29 -2
  190. package/cjs/resources/Mandates.d.ts +33 -1
  191. package/cjs/resources/Mandates.js +8 -0
  192. package/cjs/resources/Mandates.js.map +1 -1
  193. package/cjs/resources/Margins.d.ts +115 -0
  194. package/cjs/resources/Margins.js +35 -0
  195. package/cjs/resources/Margins.js.map +1 -0
  196. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  197. package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
  198. package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
  199. package/cjs/resources/Orchestration/index.d.ts +12 -0
  200. package/cjs/resources/Orchestration/index.js +13 -0
  201. package/cjs/resources/Orchestration/index.js.map +1 -0
  202. package/cjs/resources/Orders.d.ts +4761 -0
  203. package/cjs/resources/Orders.js +457 -0
  204. package/cjs/resources/Orders.js.map +1 -0
  205. package/cjs/resources/PaymentAttemptRecords.d.ts +453 -1
  206. package/cjs/resources/PaymentAttemptRecords.js +42 -0
  207. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  208. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
  209. package/cjs/resources/PaymentIntents.d.ts +16660 -3570
  210. package/cjs/resources/PaymentIntents.js +40 -0
  211. package/cjs/resources/PaymentIntents.js.map +1 -1
  212. package/cjs/resources/PaymentLinks.d.ts +74 -12
  213. package/cjs/resources/PaymentLocationCapabilities.d.ts +122 -0
  214. package/cjs/resources/PaymentLocationCapabilities.js +29 -0
  215. package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
  216. package/cjs/resources/PaymentLocations.d.ts +178 -0
  217. package/cjs/resources/PaymentLocations.js +41 -0
  218. package/cjs/resources/PaymentLocations.js.map +1 -0
  219. package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
  220. package/cjs/resources/PaymentMethodBalances.js +4 -0
  221. package/cjs/resources/PaymentMethodBalances.js.map +1 -0
  222. package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
  223. package/cjs/resources/PaymentMethods.d.ts +262 -3
  224. package/cjs/resources/PaymentMethods.js +20 -0
  225. package/cjs/resources/PaymentMethods.js.map +1 -1
  226. package/cjs/resources/PaymentRecords.d.ts +351 -21
  227. package/cjs/resources/PaymentRecords.js.map +1 -1
  228. package/cjs/resources/Persons.d.ts +25 -2
  229. package/cjs/resources/Plans.d.ts +16 -0
  230. package/cjs/resources/Prices.d.ts +76 -0
  231. package/cjs/resources/Prices.js +27 -0
  232. package/cjs/resources/Prices.js.map +1 -1
  233. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
  234. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  235. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  236. package/cjs/resources/Privacy/RedactionJobs.d.ts +229 -0
  237. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  238. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  239. package/cjs/resources/Privacy/index.d.ts +22 -0
  240. package/cjs/resources/Privacy/index.js +13 -0
  241. package/cjs/resources/Privacy/index.js.map +1 -0
  242. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +127 -0
  243. package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
  244. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
  245. package/cjs/resources/ProductCatalog/index.d.ts +12 -0
  246. package/cjs/resources/ProductCatalog/index.js +13 -0
  247. package/cjs/resources/ProductCatalog/index.js.map +1 -0
  248. package/cjs/resources/Products.d.ts +171 -0
  249. package/cjs/resources/Products.js +69 -0
  250. package/cjs/resources/Products.js.map +1 -1
  251. package/cjs/resources/Profiles.d.ts +26 -0
  252. package/cjs/resources/Profiles.js +4 -0
  253. package/cjs/resources/Profiles.js.map +1 -0
  254. package/cjs/resources/PromotionCodes.d.ts +12 -0
  255. package/cjs/resources/PromotionCodes.js +27 -0
  256. package/cjs/resources/PromotionCodes.js.map +1 -1
  257. package/cjs/resources/QuoteLines.d.ts +684 -0
  258. package/cjs/resources/QuoteLines.js +4 -0
  259. package/cjs/resources/QuoteLines.js.map +1 -0
  260. package/cjs/resources/QuotePreviewInvoices.d.ts +1173 -0
  261. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  262. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  263. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +901 -0
  264. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  265. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  266. package/cjs/resources/Quotes.d.ts +3548 -254
  267. package/cjs/resources/Quotes.js +1184 -16
  268. package/cjs/resources/Quotes.js.map +1 -1
  269. package/cjs/resources/Radar/AccountEvaluations.d.ts +270 -0
  270. package/cjs/resources/Radar/AccountEvaluations.js +27 -0
  271. package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
  272. package/cjs/resources/Radar/CustomerEvaluations.d.ts +214 -0
  273. package/cjs/resources/Radar/CustomerEvaluations.js +21 -0
  274. package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
  275. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
  276. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
  277. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  278. package/cjs/resources/Radar/PaymentEvaluations.d.ts +63 -1
  279. package/cjs/resources/Radar/ValueListItems.d.ts +8 -0
  280. package/cjs/resources/Radar/ValueListItems.js +13 -0
  281. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  282. package/cjs/resources/Radar/index.d.ts +34 -16
  283. package/cjs/resources/Radar/index.js +6 -0
  284. package/cjs/resources/Radar/index.js.map +1 -1
  285. package/cjs/resources/Refunds.d.ts +23 -0
  286. package/cjs/resources/Refunds.js +27 -0
  287. package/cjs/resources/Refunds.js.map +1 -1
  288. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  289. package/cjs/resources/Reserve/Holds.js +19 -0
  290. package/cjs/resources/Reserve/Holds.js.map +1 -1
  291. package/cjs/resources/Reserve/Plans.d.ts +16 -0
  292. package/cjs/resources/Reserve/Plans.js +11 -0
  293. package/cjs/resources/Reserve/Plans.js.map +1 -1
  294. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  295. package/cjs/resources/Reserve/Releases.js +19 -0
  296. package/cjs/resources/Reserve/Releases.js.map +1 -1
  297. package/cjs/resources/Reserve/index.d.ts +14 -3
  298. package/cjs/resources/Reserve/index.js +10 -2
  299. package/cjs/resources/Reserve/index.js.map +1 -1
  300. package/cjs/resources/RiskSignals.d.ts +10 -0
  301. package/cjs/resources/RiskSignals.js +4 -0
  302. package/cjs/resources/RiskSignals.js.map +1 -0
  303. package/cjs/resources/SetupAttempts.d.ts +26 -1
  304. package/cjs/resources/SetupIntents.d.ts +561 -11
  305. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1137 -0
  306. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  307. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  308. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +322 -0
  309. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  310. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  311. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  312. package/cjs/resources/SharedPayment/index.js +15 -0
  313. package/cjs/resources/SharedPayment/index.js.map +1 -0
  314. package/cjs/resources/Sources.d.ts +16 -1
  315. package/cjs/resources/SubscriptionItems.d.ts +265 -0
  316. package/cjs/resources/SubscriptionItems.js +41 -0
  317. package/cjs/resources/SubscriptionItems.js.map +1 -1
  318. package/cjs/resources/SubscriptionSchedules.d.ts +1949 -19
  319. package/cjs/resources/SubscriptionSchedules.js +61 -0
  320. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  321. package/cjs/resources/Subscriptions.d.ts +965 -12
  322. package/cjs/resources/Subscriptions.js +289 -0
  323. package/cjs/resources/Subscriptions.js.map +1 -1
  324. package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
  325. package/cjs/resources/Tax/Calculations.d.ts +7 -3
  326. package/cjs/resources/Tax/Forms.d.ts +230 -0
  327. package/cjs/resources/Tax/Forms.js +32 -0
  328. package/cjs/resources/Tax/Forms.js.map +1 -0
  329. package/cjs/resources/Tax/Locations.d.ts +108 -0
  330. package/cjs/resources/Tax/Locations.js +33 -0
  331. package/cjs/resources/Tax/Locations.js.map +1 -0
  332. package/cjs/resources/Tax/Registrations.d.ts +171 -2
  333. package/cjs/resources/Tax/Registrations.js +27 -0
  334. package/cjs/resources/Tax/Registrations.js.map +1 -1
  335. package/cjs/resources/Tax/Settings.d.ts +8 -0
  336. package/cjs/resources/Tax/Settings.js +13 -0
  337. package/cjs/resources/Tax/Settings.js.map +1 -1
  338. package/cjs/resources/Tax/Transactions.d.ts +10 -2
  339. package/cjs/resources/Tax/Transactions.js +13 -0
  340. package/cjs/resources/Tax/Transactions.js.map +1 -1
  341. package/cjs/resources/Tax/index.d.ts +27 -13
  342. package/cjs/resources/Tax/index.js +4 -0
  343. package/cjs/resources/Tax/index.js.map +1 -1
  344. package/cjs/resources/TaxCodes.d.ts +15 -0
  345. package/cjs/resources/TaxIds.d.ts +6 -0
  346. package/cjs/resources/TaxIds.js +13 -0
  347. package/cjs/resources/TaxIds.js.map +1 -1
  348. package/cjs/resources/TaxRates.d.ts +12 -0
  349. package/cjs/resources/TaxRates.js +27 -0
  350. package/cjs/resources/TaxRates.js.map +1 -1
  351. package/cjs/resources/Terminal/Configurations.d.ts +27 -0
  352. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +52 -0
  353. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  354. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  355. package/cjs/resources/Terminal/Readers.d.ts +17 -1
  356. package/cjs/resources/Terminal/index.d.ts +5 -0
  357. package/cjs/resources/Terminal/index.js +2 -0
  358. package/cjs/resources/Terminal/index.js.map +1 -1
  359. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
  360. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
  361. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  362. package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
  363. package/cjs/resources/TestHelpers/Capital/index.js +13 -0
  364. package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
  365. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +88 -1
  366. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
  367. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +104 -0
  368. package/cjs/resources/TestHelpers/Issuing/Disputes.js +33 -0
  369. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  370. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
  371. package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
  372. package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
  373. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  374. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +36 -0
  375. package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
  376. package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
  377. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
  378. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  379. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  380. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  381. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  382. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  383. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  384. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  385. package/cjs/resources/TestHelpers/index.d.ts +14 -6
  386. package/cjs/resources/TestHelpers/index.js +12 -6
  387. package/cjs/resources/TestHelpers/index.js.map +1 -1
  388. package/cjs/resources/Tokens.d.ts +61 -0
  389. package/cjs/resources/Transfers.d.ts +12 -0
  390. package/cjs/resources/Transfers.js.map +1 -1
  391. package/cjs/resources/TransitBalances.d.ts +25 -0
  392. package/cjs/resources/TransitBalances.js +4 -0
  393. package/cjs/resources/TransitBalances.js.map +1 -0
  394. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  395. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  396. package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
  397. package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
  398. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  399. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  400. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
  401. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  402. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  403. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  404. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  405. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  406. package/cjs/resources/V2/Billing/BillSettings.d.ts +284 -0
  407. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  408. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  409. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
  410. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
  411. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  412. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  413. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
  414. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  415. package/cjs/resources/V2/Billing/Cadences.d.ts +1015 -0
  416. package/cjs/resources/V2/Billing/Cadences.js +264 -0
  417. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  418. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
  419. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  420. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  421. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  422. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  423. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  424. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  425. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  426. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  427. package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.d.ts +45 -0
  428. package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.js +4 -0
  429. package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.js.map +1 -0
  430. package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.d.ts +23 -0
  431. package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js +17 -0
  432. package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js.map +1 -0
  433. package/cjs/resources/V2/Billing/Contracts/LicensePricing.d.ts +8 -0
  434. package/cjs/resources/V2/Billing/Contracts/LicensePricing.js +15 -0
  435. package/cjs/resources/V2/Billing/Contracts/LicensePricing.js.map +1 -0
  436. package/cjs/resources/V2/Billing/Contracts.d.ts +2028 -0
  437. package/cjs/resources/V2/Billing/Contracts.js +376 -0
  438. package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
  439. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  440. package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
  441. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  442. package/cjs/resources/V2/Billing/IntentActions.d.ts +607 -0
  443. package/cjs/resources/V2/Billing/IntentActions.js +4 -0
  444. package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
  445. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  446. package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
  447. package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
  448. package/cjs/resources/V2/Billing/Intents.d.ts +1257 -0
  449. package/cjs/resources/V2/Billing/Intents.js +87 -0
  450. package/cjs/resources/V2/Billing/Intents.js.map +1 -0
  451. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
  452. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
  453. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  454. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  455. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
  456. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  457. package/cjs/resources/V2/Billing/LicenseFees.d.ts +364 -0
  458. package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
  459. package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
  460. package/cjs/resources/V2/Billing/LicensedItems.d.ts +174 -0
  461. package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
  462. package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
  463. package/cjs/resources/V2/Billing/MeteredItems.d.ts +222 -0
  464. package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
  465. package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
  466. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +174 -0
  467. package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
  468. package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
  469. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
  470. package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
  471. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  472. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
  473. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
  474. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  475. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  476. package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
  477. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  478. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  479. package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
  480. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  481. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  482. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
  483. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  484. package/cjs/resources/V2/Billing/PricingPlans.d.ts +173 -0
  485. package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
  486. package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
  487. package/cjs/resources/V2/Billing/Profiles.d.ts +166 -0
  488. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  489. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  490. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  491. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
  492. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  493. package/cjs/resources/V2/Billing/RateCardRates.d.ts +115 -0
  494. package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
  495. package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
  496. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
  497. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
  498. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  499. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  500. package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
  501. package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
  502. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  503. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
  504. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  505. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  506. package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
  507. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  508. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  509. package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
  510. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  511. package/cjs/resources/V2/Billing/RateCards.d.ts +340 -0
  512. package/cjs/resources/V2/Billing/RateCards.js +76 -0
  513. package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
  514. package/cjs/resources/V2/Billing/ServiceActions.d.ts +514 -0
  515. package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
  516. package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
  517. package/cjs/resources/V2/Billing/index.d.ts +174 -6
  518. package/cjs/resources/V2/Billing/index.js +32 -0
  519. package/cjs/resources/V2/Billing/index.js.map +1 -1
  520. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +160 -0
  521. package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
  522. package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
  523. package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
  524. package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
  525. package/cjs/resources/V2/Core/AccountTokens.d.ts +220 -2
  526. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  527. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  528. package/cjs/resources/V2/Core/Accounts.d.ts +5570 -67
  529. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +334 -0
  530. package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
  531. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
  532. package/cjs/resources/V2/Core/BatchJobs.d.ts +373 -0
  533. package/cjs/resources/V2/Core/BatchJobs.js +225 -0
  534. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  535. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
  536. package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
  537. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  538. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +90 -0
  539. package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
  540. package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
  541. package/cjs/resources/V2/Core/Events.d.ts +7601 -232
  542. package/cjs/resources/V2/Core/FeeBatches.d.ts +172 -0
  543. package/cjs/resources/V2/Core/FeeBatches.js +23 -0
  544. package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
  545. package/cjs/resources/V2/Core/FeeEntries.d.ts +178 -0
  546. package/cjs/resources/V2/Core/FeeEntries.js +23 -0
  547. package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
  548. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
  549. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
  550. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  551. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
  552. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +62 -0
  553. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  554. package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
  555. package/cjs/resources/V2/Core/Vault/index.js +15 -0
  556. package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
  557. package/cjs/resources/V2/Core/index.d.ts +63 -14
  558. package/cjs/resources/V2/Core/index.js +16 -0
  559. package/cjs/resources/V2/Core/index.js.map +1 -1
  560. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
  561. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
  562. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  563. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
  564. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
  565. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  566. package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
  567. package/cjs/resources/V2/Data/Analytics/index.js +13 -0
  568. package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
  569. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +177 -0
  570. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  571. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  572. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  573. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  574. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  575. package/cjs/resources/V2/Data/index.d.ts +13 -0
  576. package/cjs/resources/V2/Data/index.js +15 -0
  577. package/cjs/resources/V2/Data/index.js.map +1 -0
  578. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
  579. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  580. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  581. package/cjs/resources/V2/Extend/Workflows.d.ts +123 -0
  582. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  583. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  584. package/cjs/resources/V2/Extend/index.d.ts +20 -0
  585. package/cjs/resources/V2/Extend/index.js +15 -0
  586. package/cjs/resources/V2/Extend/index.js.map +1 -0
  587. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  588. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
  589. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  590. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  591. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
  592. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  593. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +214 -0
  594. package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
  595. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  596. package/cjs/resources/V2/Iam/ApiKeys.d.ts +280 -0
  597. package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
  598. package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
  599. package/cjs/resources/V2/Iam/index.d.ts +23 -0
  600. package/cjs/resources/V2/Iam/index.js +15 -0
  601. package/cjs/resources/V2/Iam/index.js.map +1 -0
  602. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
  603. package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
  604. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  605. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
  606. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
  607. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  608. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +171 -0
  609. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
  610. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  611. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +103 -0
  612. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
  613. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  614. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
  615. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
  616. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  617. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +417 -0
  618. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +50 -0
  619. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  620. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
  621. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
  622. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  623. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
  624. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
  625. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  626. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
  627. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
  628. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  629. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
  630. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
  631. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  632. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +321 -0
  633. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
  634. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  635. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
  636. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
  637. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  638. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
  639. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
  640. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  641. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
  642. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
  643. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  644. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
  645. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
  646. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  647. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +251 -0
  648. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  649. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  650. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -0
  651. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
  652. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  653. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +249 -0
  654. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
  655. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  656. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +280 -0
  657. package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
  658. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  659. package/cjs/resources/V2/MoneyManagement/index.d.ts +128 -0
  660. package/cjs/resources/V2/MoneyManagement/index.js +45 -0
  661. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
  662. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +96 -0
  663. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  664. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  665. package/cjs/resources/V2/Network/index.d.ts +13 -0
  666. package/cjs/resources/V2/Network/index.js +13 -0
  667. package/cjs/resources/V2/Network/index.js.map +1 -0
  668. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
  669. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  670. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  671. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  672. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  673. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  674. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
  675. package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
  676. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  677. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
  678. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
  679. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  680. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  681. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
  682. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  683. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
  684. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
  685. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  686. package/cjs/resources/V2/Payments/index.d.ts +31 -0
  687. package/cjs/resources/V2/Payments/index.js +15 -0
  688. package/cjs/resources/V2/Payments/index.js.map +1 -0
  689. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +194 -0
  690. package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
  691. package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
  692. package/cjs/resources/V2/Reporting/Reports.d.ts +110 -0
  693. package/cjs/resources/V2/Reporting/Reports.js +17 -0
  694. package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
  695. package/cjs/resources/V2/Reporting/index.d.ts +18 -0
  696. package/cjs/resources/V2/Reporting/index.js +15 -0
  697. package/cjs/resources/V2/Reporting/index.js.map +1 -0
  698. package/cjs/resources/V2/Signals/AccountSignals.d.ts +176 -0
  699. package/cjs/resources/V2/Signals/AccountSignals.js +58 -0
  700. package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
  701. package/cjs/resources/V2/Signals/index.d.ts +13 -0
  702. package/cjs/resources/V2/Signals/index.js +13 -0
  703. package/cjs/resources/V2/Signals/index.js.map +1 -0
  704. package/cjs/resources/V2/Tax/ManualRules.d.ts +335 -0
  705. package/cjs/resources/V2/Tax/ManualRules.js +193 -0
  706. package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
  707. package/cjs/resources/V2/Tax/index.d.ts +16 -0
  708. package/cjs/resources/V2/Tax/index.js +13 -0
  709. package/cjs/resources/V2/Tax/index.js.map +1 -0
  710. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  711. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
  712. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  713. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  714. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
  715. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  716. package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
  717. package/cjs/resources/V2/TestHelpers/index.js +15 -0
  718. package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
  719. package/cjs/resources/V2/index.d.ts +39 -0
  720. package/cjs/resources/V2/index.js +22 -0
  721. package/cjs/resources/V2/index.js.map +1 -1
  722. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  723. package/cjs/resources.d.ts +16 -0
  724. package/cjs/resources.js +256 -14
  725. package/cjs/resources.js.map +1 -1
  726. package/cjs/stripe.core.d.ts +115 -50
  727. package/cjs/stripe.core.js +67 -31
  728. package/cjs/stripe.core.js.map +1 -1
  729. package/cjs/utils.d.ts +1 -1
  730. package/cjs/utils.js +13 -2
  731. package/cjs/utils.js.map +1 -1
  732. package/esm/Error.d.ts +53 -0
  733. package/esm/Error.js +117 -0
  734. package/esm/Error.js.map +1 -1
  735. package/esm/RequestSender.d.ts +1 -1
  736. package/esm/RequestSender.js +2 -2
  737. package/esm/RequestSender.js.map +1 -1
  738. package/esm/StripeEventNotificationHandler.d.ts +19 -0
  739. package/esm/StripeEventNotificationHandler.js +467 -0
  740. package/esm/StripeEventNotificationHandler.js.map +1 -0
  741. package/esm/Types.d.ts +4 -2
  742. package/esm/apiVersion.d.ts +1 -2
  743. package/esm/apiVersion.js +1 -2
  744. package/esm/apiVersion.js.map +1 -1
  745. package/esm/resources/AccountLinks.d.ts +5 -1
  746. package/esm/resources/AccountNotices.d.ts +140 -0
  747. package/esm/resources/AccountNotices.js +25 -0
  748. package/esm/resources/AccountNotices.js.map +1 -0
  749. package/esm/resources/AccountSessions.d.ts +463 -0
  750. package/esm/resources/AccountSessions.js.map +1 -1
  751. package/esm/resources/AccountSignals.d.ts +110 -0
  752. package/esm/resources/AccountSignals.js +3 -0
  753. package/esm/resources/AccountSignals.js.map +1 -0
  754. package/esm/resources/Accounts.d.ts +1020 -6
  755. package/esm/resources/Accounts.js +47 -0
  756. package/esm/resources/Accounts.js.map +1 -1
  757. package/esm/resources/ApplicationFees.d.ts +28 -1
  758. package/esm/resources/Balance.d.ts +134 -0
  759. package/esm/resources/BalanceSettings.d.ts +18 -0
  760. package/esm/resources/BalanceTransactions.d.ts +1 -1
  761. package/esm/resources/BalanceTransfers.d.ts +160 -0
  762. package/esm/resources/BalanceTransfers.js +11 -0
  763. package/esm/resources/BalanceTransfers.js.map +1 -0
  764. package/esm/resources/BankAccounts.d.ts +2 -2
  765. package/esm/resources/Billing/AlertRecovereds.d.ts +40 -0
  766. package/esm/resources/Billing/AlertRecovereds.js +3 -0
  767. package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
  768. package/esm/resources/Billing/AlertTriggereds.d.ts +57 -1
  769. package/esm/resources/Billing/Alerts.d.ts +408 -5
  770. package/esm/resources/Billing/Alerts.js +321 -5
  771. package/esm/resources/Billing/Alerts.js.map +1 -1
  772. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
  773. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  774. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  775. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  776. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  777. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  778. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  779. package/esm/resources/Billing/Analytics/index.js +9 -0
  780. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  781. package/esm/resources/Billing/CreditBalanceSummary.d.ts +126 -2
  782. package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
  783. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  784. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  785. package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
  786. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  787. package/esm/resources/Billing/CreditGrants.d.ts +85 -3
  788. package/esm/resources/Billing/CreditGrants.js +134 -5
  789. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  790. package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
  791. package/esm/resources/Billing/Meters.d.ts +31 -0
  792. package/esm/resources/Billing/index.d.ts +6 -0
  793. package/esm/resources/Billing/index.js +2 -0
  794. package/esm/resources/Billing/index.js.map +1 -1
  795. package/esm/resources/Capabilities.d.ts +25 -2
  796. package/esm/resources/Capital/FinancingOffers.d.ts +191 -0
  797. package/esm/resources/Capital/FinancingOffers.js +26 -0
  798. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  799. package/esm/resources/Capital/FinancingSummary.d.ts +98 -0
  800. package/esm/resources/Capital/FinancingSummary.js +11 -0
  801. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  802. package/esm/resources/Capital/FinancingTransactions.d.ts +143 -0
  803. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  804. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  805. package/esm/resources/Capital/index.d.ts +25 -0
  806. package/esm/resources/Capital/index.js +13 -0
  807. package/esm/resources/Capital/index.js.map +1 -0
  808. package/esm/resources/Cards.d.ts +15 -0
  809. package/esm/resources/Charges.d.ts +3515 -70
  810. package/esm/resources/Charges.js.map +1 -1
  811. package/esm/resources/Checkout/Sessions.d.ts +792 -9
  812. package/esm/resources/Checkout/Sessions.js +88 -0
  813. package/esm/resources/Checkout/Sessions.js.map +1 -1
  814. package/esm/resources/Checkout/index.d.ts +1 -0
  815. package/esm/resources/ConfirmationTokens.d.ts +130 -1
  816. package/esm/resources/ConfirmationTokens.js.map +1 -1
  817. package/esm/resources/Coupons.d.ts +128 -2
  818. package/esm/resources/Coupons.js +41 -0
  819. package/esm/resources/Coupons.js.map +1 -1
  820. package/esm/resources/CreditNoteLineItems.d.ts +15 -1
  821. package/esm/resources/CreditNotes.d.ts +7 -1
  822. package/esm/resources/CreditNotes.js +13 -0
  823. package/esm/resources/CreditNotes.js.map +1 -1
  824. package/esm/resources/CustomerSessions.d.ts +74 -0
  825. package/esm/resources/CustomerSessions.js +13 -0
  826. package/esm/resources/CustomerSessions.js.map +1 -1
  827. package/esm/resources/Customers.d.ts +85 -1
  828. package/esm/resources/Customers.js +195 -0
  829. package/esm/resources/Customers.js.map +1 -1
  830. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +130 -0
  831. package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
  832. package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
  833. package/esm/resources/DelegatedCheckout/Orders.d.ts +161 -0
  834. package/esm/resources/DelegatedCheckout/Orders.js +11 -0
  835. package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
  836. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1418 -0
  837. package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
  838. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  839. package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
  840. package/esm/resources/DelegatedCheckout/index.js +11 -0
  841. package/esm/resources/DelegatedCheckout/index.js.map +1 -0
  842. package/esm/resources/Discounts.d.ts +19 -0
  843. package/esm/resources/Disputes.d.ts +43 -0
  844. package/esm/resources/Disputes.js +14 -0
  845. package/esm/resources/Disputes.js.map +1 -1
  846. package/esm/resources/Events.d.ts +573 -2
  847. package/esm/resources/ExternalAccounts.d.ts +212 -1
  848. package/esm/resources/ExternalAccounts.js +42 -1
  849. package/esm/resources/ExternalAccounts.js.map +1 -1
  850. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  851. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  852. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  853. package/esm/resources/FinancialConnections/Accounts.d.ts +74 -4
  854. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  855. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  856. package/esm/resources/FinancialConnections/Authorizations.d.ts +87 -0
  857. package/esm/resources/FinancialConnections/Authorizations.js +11 -0
  858. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
  859. package/esm/resources/FinancialConnections/Institutions.d.ts +101 -0
  860. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  861. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  862. package/esm/resources/FinancialConnections/Sessions.d.ts +155 -7
  863. package/esm/resources/FinancialConnections/index.d.ts +21 -6
  864. package/esm/resources/FinancialConnections/index.js +4 -0
  865. package/esm/resources/FinancialConnections/index.js.map +1 -1
  866. package/esm/resources/FrMealVouchersOnboardings.d.ts +173 -0
  867. package/esm/resources/FrMealVouchersOnboardings.js +38 -0
  868. package/esm/resources/FrMealVouchersOnboardings.js.map +1 -0
  869. package/esm/resources/FxQuotes.d.ts +212 -0
  870. package/esm/resources/FxQuotes.js +25 -0
  871. package/esm/resources/FxQuotes.js.map +1 -0
  872. package/esm/resources/Identity/BlocklistEntries.d.ts +157 -0
  873. package/esm/resources/Identity/BlocklistEntries.js +50 -0
  874. package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
  875. package/esm/resources/Identity/VerificationReports.d.ts +33 -2
  876. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  877. package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
  878. package/esm/resources/Identity/index.d.ts +18 -10
  879. package/esm/resources/Identity/index.js +2 -0
  880. package/esm/resources/Identity/index.js.map +1 -1
  881. package/esm/resources/InvoiceItems.d.ts +203 -2
  882. package/esm/resources/InvoiceItems.js +41 -0
  883. package/esm/resources/InvoiceItems.js.map +1 -1
  884. package/esm/resources/InvoiceLineItems.d.ts +174 -4
  885. package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
  886. package/esm/resources/InvoiceRenderingTemplates.js +28 -0
  887. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  888. package/esm/resources/Invoices.d.ts +2063 -20
  889. package/esm/resources/Invoices.js +221 -0
  890. package/esm/resources/Invoices.js.map +1 -1
  891. package/esm/resources/Issuing/Authorizations.d.ts +290 -0
  892. package/esm/resources/Issuing/Cardholders.d.ts +5 -4
  893. package/esm/resources/Issuing/Cards.d.ts +36 -0
  894. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
  895. package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
  896. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  897. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
  898. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  899. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  900. package/esm/resources/Issuing/Disputes.d.ts +190 -0
  901. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  902. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  903. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  904. package/esm/resources/Issuing/Programs.d.ts +95 -0
  905. package/esm/resources/Issuing/Programs.js +31 -0
  906. package/esm/resources/Issuing/Programs.js.map +1 -0
  907. package/esm/resources/Issuing/Settlements.d.ts +85 -0
  908. package/esm/resources/Issuing/Settlements.js +3 -0
  909. package/esm/resources/Issuing/Settlements.js.map +1 -0
  910. package/esm/resources/Issuing/Tokens.d.ts +22 -0
  911. package/esm/resources/Issuing/Transactions.d.ts +157 -0
  912. package/esm/resources/Issuing/Transactions.js.map +1 -1
  913. package/esm/resources/Issuing/index.d.ts +55 -22
  914. package/esm/resources/Issuing/index.js +8 -0
  915. package/esm/resources/Issuing/index.js.map +1 -1
  916. package/esm/resources/LineItems.d.ts +29 -2
  917. package/esm/resources/Mandates.d.ts +33 -1
  918. package/esm/resources/Mandates.js +8 -0
  919. package/esm/resources/Mandates.js.map +1 -1
  920. package/esm/resources/Margins.d.ts +115 -0
  921. package/esm/resources/Margins.js +31 -0
  922. package/esm/resources/Margins.js.map +1 -0
  923. package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  924. package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
  925. package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
  926. package/esm/resources/Orchestration/index.d.ts +12 -0
  927. package/esm/resources/Orchestration/index.js +9 -0
  928. package/esm/resources/Orchestration/index.js.map +1 -0
  929. package/esm/resources/Orders.d.ts +4761 -0
  930. package/esm/resources/Orders.js +453 -0
  931. package/esm/resources/Orders.js.map +1 -0
  932. package/esm/resources/PaymentAttemptRecords.d.ts +453 -1
  933. package/esm/resources/PaymentAttemptRecords.js +42 -0
  934. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  935. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
  936. package/esm/resources/PaymentIntents.d.ts +16660 -3570
  937. package/esm/resources/PaymentIntents.js +40 -0
  938. package/esm/resources/PaymentIntents.js.map +1 -1
  939. package/esm/resources/PaymentLinks.d.ts +74 -12
  940. package/esm/resources/PaymentLocationCapabilities.d.ts +122 -0
  941. package/esm/resources/PaymentLocationCapabilities.js +25 -0
  942. package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
  943. package/esm/resources/PaymentLocations.d.ts +178 -0
  944. package/esm/resources/PaymentLocations.js +37 -0
  945. package/esm/resources/PaymentLocations.js.map +1 -0
  946. package/esm/resources/PaymentMethodBalances.d.ts +46 -0
  947. package/esm/resources/PaymentMethodBalances.js +3 -0
  948. package/esm/resources/PaymentMethodBalances.js.map +1 -0
  949. package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
  950. package/esm/resources/PaymentMethods.d.ts +262 -3
  951. package/esm/resources/PaymentMethods.js +20 -0
  952. package/esm/resources/PaymentMethods.js.map +1 -1
  953. package/esm/resources/PaymentRecords.d.ts +351 -21
  954. package/esm/resources/PaymentRecords.js.map +1 -1
  955. package/esm/resources/Persons.d.ts +25 -2
  956. package/esm/resources/Plans.d.ts +16 -0
  957. package/esm/resources/Prices.d.ts +76 -0
  958. package/esm/resources/Prices.js +27 -0
  959. package/esm/resources/Prices.js.map +1 -1
  960. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
  961. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  962. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  963. package/esm/resources/Privacy/RedactionJobs.d.ts +229 -0
  964. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  965. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  966. package/esm/resources/Privacy/index.d.ts +22 -0
  967. package/esm/resources/Privacy/index.js +9 -0
  968. package/esm/resources/Privacy/index.js.map +1 -0
  969. package/esm/resources/ProductCatalog/TrialOffers.d.ts +127 -0
  970. package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
  971. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
  972. package/esm/resources/ProductCatalog/index.d.ts +12 -0
  973. package/esm/resources/ProductCatalog/index.js +9 -0
  974. package/esm/resources/ProductCatalog/index.js.map +1 -0
  975. package/esm/resources/Products.d.ts +171 -0
  976. package/esm/resources/Products.js +69 -0
  977. package/esm/resources/Products.js.map +1 -1
  978. package/esm/resources/Profiles.d.ts +26 -0
  979. package/esm/resources/Profiles.js +3 -0
  980. package/esm/resources/Profiles.js.map +1 -0
  981. package/esm/resources/PromotionCodes.d.ts +12 -0
  982. package/esm/resources/PromotionCodes.js +27 -0
  983. package/esm/resources/PromotionCodes.js.map +1 -1
  984. package/esm/resources/QuoteLines.d.ts +684 -0
  985. package/esm/resources/QuoteLines.js +3 -0
  986. package/esm/resources/QuoteLines.js.map +1 -0
  987. package/esm/resources/QuotePreviewInvoices.d.ts +1173 -0
  988. package/esm/resources/QuotePreviewInvoices.js +3 -0
  989. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  990. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +901 -0
  991. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  992. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  993. package/esm/resources/Quotes.d.ts +3548 -254
  994. package/esm/resources/Quotes.js +1184 -16
  995. package/esm/resources/Quotes.js.map +1 -1
  996. package/esm/resources/Radar/AccountEvaluations.d.ts +270 -0
  997. package/esm/resources/Radar/AccountEvaluations.js +23 -0
  998. package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
  999. package/esm/resources/Radar/CustomerEvaluations.d.ts +214 -0
  1000. package/esm/resources/Radar/CustomerEvaluations.js +17 -0
  1001. package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
  1002. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
  1003. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
  1004. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  1005. package/esm/resources/Radar/PaymentEvaluations.d.ts +63 -1
  1006. package/esm/resources/Radar/ValueListItems.d.ts +8 -0
  1007. package/esm/resources/Radar/ValueListItems.js +13 -0
  1008. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  1009. package/esm/resources/Radar/index.d.ts +34 -16
  1010. package/esm/resources/Radar/index.js +6 -0
  1011. package/esm/resources/Radar/index.js.map +1 -1
  1012. package/esm/resources/Refunds.d.ts +23 -0
  1013. package/esm/resources/Refunds.js +27 -0
  1014. package/esm/resources/Refunds.js.map +1 -1
  1015. package/esm/resources/Reserve/Holds.d.ts +53 -1
  1016. package/esm/resources/Reserve/Holds.js +17 -1
  1017. package/esm/resources/Reserve/Holds.js.map +1 -1
  1018. package/esm/resources/Reserve/Plans.d.ts +16 -0
  1019. package/esm/resources/Reserve/Plans.js +9 -1
  1020. package/esm/resources/Reserve/Plans.js.map +1 -1
  1021. package/esm/resources/Reserve/Releases.d.ts +41 -1
  1022. package/esm/resources/Reserve/Releases.js +17 -1
  1023. package/esm/resources/Reserve/Releases.js.map +1 -1
  1024. package/esm/resources/Reserve/index.d.ts +14 -3
  1025. package/esm/resources/Reserve/index.js +10 -2
  1026. package/esm/resources/Reserve/index.js.map +1 -1
  1027. package/esm/resources/RiskSignals.d.ts +10 -0
  1028. package/esm/resources/RiskSignals.js +3 -0
  1029. package/esm/resources/RiskSignals.js.map +1 -0
  1030. package/esm/resources/SetupAttempts.d.ts +26 -1
  1031. package/esm/resources/SetupIntents.d.ts +561 -11
  1032. package/esm/resources/SharedPayment/GrantedTokens.d.ts +1137 -0
  1033. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  1034. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  1035. package/esm/resources/SharedPayment/IssuedTokens.d.ts +322 -0
  1036. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  1037. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  1038. package/esm/resources/SharedPayment/index.d.ts +19 -0
  1039. package/esm/resources/SharedPayment/index.js +11 -0
  1040. package/esm/resources/SharedPayment/index.js.map +1 -0
  1041. package/esm/resources/Sources.d.ts +16 -1
  1042. package/esm/resources/SubscriptionItems.d.ts +265 -0
  1043. package/esm/resources/SubscriptionItems.js +41 -0
  1044. package/esm/resources/SubscriptionItems.js.map +1 -1
  1045. package/esm/resources/SubscriptionSchedules.d.ts +1949 -19
  1046. package/esm/resources/SubscriptionSchedules.js +61 -0
  1047. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  1048. package/esm/resources/Subscriptions.d.ts +965 -12
  1049. package/esm/resources/Subscriptions.js +289 -0
  1050. package/esm/resources/Subscriptions.js.map +1 -1
  1051. package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
  1052. package/esm/resources/Tax/Calculations.d.ts +7 -3
  1053. package/esm/resources/Tax/Forms.d.ts +230 -0
  1054. package/esm/resources/Tax/Forms.js +28 -0
  1055. package/esm/resources/Tax/Forms.js.map +1 -0
  1056. package/esm/resources/Tax/Locations.d.ts +108 -0
  1057. package/esm/resources/Tax/Locations.js +29 -0
  1058. package/esm/resources/Tax/Locations.js.map +1 -0
  1059. package/esm/resources/Tax/Registrations.d.ts +171 -2
  1060. package/esm/resources/Tax/Registrations.js +27 -0
  1061. package/esm/resources/Tax/Registrations.js.map +1 -1
  1062. package/esm/resources/Tax/Settings.d.ts +8 -0
  1063. package/esm/resources/Tax/Settings.js +13 -0
  1064. package/esm/resources/Tax/Settings.js.map +1 -1
  1065. package/esm/resources/Tax/Transactions.d.ts +10 -2
  1066. package/esm/resources/Tax/Transactions.js +13 -0
  1067. package/esm/resources/Tax/Transactions.js.map +1 -1
  1068. package/esm/resources/Tax/index.d.ts +27 -13
  1069. package/esm/resources/Tax/index.js +4 -0
  1070. package/esm/resources/Tax/index.js.map +1 -1
  1071. package/esm/resources/TaxCodes.d.ts +15 -0
  1072. package/esm/resources/TaxIds.d.ts +6 -0
  1073. package/esm/resources/TaxIds.js +13 -0
  1074. package/esm/resources/TaxIds.js.map +1 -1
  1075. package/esm/resources/TaxRates.d.ts +12 -0
  1076. package/esm/resources/TaxRates.js +27 -0
  1077. package/esm/resources/TaxRates.js.map +1 -1
  1078. package/esm/resources/Terminal/Configurations.d.ts +27 -0
  1079. package/esm/resources/Terminal/ReaderCollectedData.d.ts +52 -0
  1080. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  1081. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  1082. package/esm/resources/Terminal/Readers.d.ts +17 -1
  1083. package/esm/resources/Terminal/index.d.ts +5 -0
  1084. package/esm/resources/Terminal/index.js +2 -0
  1085. package/esm/resources/Terminal/index.js.map +1 -1
  1086. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
  1087. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
  1088. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  1089. package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
  1090. package/esm/resources/TestHelpers/Capital/index.js +9 -0
  1091. package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
  1092. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +88 -1
  1093. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
  1094. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +104 -0
  1095. package/esm/resources/TestHelpers/Issuing/Disputes.js +29 -0
  1096. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  1097. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
  1098. package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
  1099. package/esm/resources/TestHelpers/Issuing/index.js +2 -0
  1100. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  1101. package/esm/resources/TestHelpers/PaymentIntents.d.ts +36 -0
  1102. package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
  1103. package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
  1104. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
  1105. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  1106. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  1107. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  1108. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  1109. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  1110. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  1111. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  1112. package/esm/resources/TestHelpers/index.d.ts +14 -6
  1113. package/esm/resources/TestHelpers/index.js +6 -0
  1114. package/esm/resources/TestHelpers/index.js.map +1 -1
  1115. package/esm/resources/Tokens.d.ts +61 -0
  1116. package/esm/resources/Transfers.d.ts +12 -0
  1117. package/esm/resources/Transfers.js.map +1 -1
  1118. package/esm/resources/TransitBalances.d.ts +25 -0
  1119. package/esm/resources/TransitBalances.js +3 -0
  1120. package/esm/resources/TransitBalances.js.map +1 -0
  1121. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  1122. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  1123. package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
  1124. package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
  1125. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  1126. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  1127. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
  1128. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  1129. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  1130. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  1131. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  1132. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  1133. package/esm/resources/V2/Billing/BillSettings.d.ts +284 -0
  1134. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  1135. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  1136. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
  1137. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
  1138. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  1139. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  1140. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
  1141. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  1142. package/esm/resources/V2/Billing/Cadences.d.ts +1015 -0
  1143. package/esm/resources/V2/Billing/Cadences.js +260 -0
  1144. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  1145. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
  1146. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  1147. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  1148. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  1149. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  1150. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  1151. package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  1152. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  1153. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  1154. package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.d.ts +45 -0
  1155. package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.js +3 -0
  1156. package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.js.map +1 -0
  1157. package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.d.ts +23 -0
  1158. package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js +13 -0
  1159. package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js.map +1 -0
  1160. package/esm/resources/V2/Billing/Contracts/LicensePricing.d.ts +8 -0
  1161. package/esm/resources/V2/Billing/Contracts/LicensePricing.js +11 -0
  1162. package/esm/resources/V2/Billing/Contracts/LicensePricing.js.map +1 -0
  1163. package/esm/resources/V2/Billing/Contracts.d.ts +2028 -0
  1164. package/esm/resources/V2/Billing/Contracts.js +372 -0
  1165. package/esm/resources/V2/Billing/Contracts.js.map +1 -0
  1166. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  1167. package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
  1168. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  1169. package/esm/resources/V2/Billing/IntentActions.d.ts +607 -0
  1170. package/esm/resources/V2/Billing/IntentActions.js +3 -0
  1171. package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
  1172. package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  1173. package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
  1174. package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
  1175. package/esm/resources/V2/Billing/Intents.d.ts +1257 -0
  1176. package/esm/resources/V2/Billing/Intents.js +83 -0
  1177. package/esm/resources/V2/Billing/Intents.js.map +1 -0
  1178. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
  1179. package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
  1180. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  1181. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  1182. package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
  1183. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  1184. package/esm/resources/V2/Billing/LicenseFees.d.ts +364 -0
  1185. package/esm/resources/V2/Billing/LicenseFees.js +144 -0
  1186. package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
  1187. package/esm/resources/V2/Billing/LicensedItems.d.ts +174 -0
  1188. package/esm/resources/V2/Billing/LicensedItems.js +31 -0
  1189. package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
  1190. package/esm/resources/V2/Billing/MeteredItems.d.ts +222 -0
  1191. package/esm/resources/V2/Billing/MeteredItems.js +31 -0
  1192. package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
  1193. package/esm/resources/V2/Billing/OneTimeItems.d.ts +174 -0
  1194. package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
  1195. package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
  1196. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
  1197. package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
  1198. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  1199. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
  1200. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
  1201. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  1202. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  1203. package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
  1204. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  1205. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  1206. package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
  1207. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  1208. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  1209. package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
  1210. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  1211. package/esm/resources/V2/Billing/PricingPlans.d.ts +173 -0
  1212. package/esm/resources/V2/Billing/PricingPlans.js +39 -0
  1213. package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
  1214. package/esm/resources/V2/Billing/Profiles.d.ts +166 -0
  1215. package/esm/resources/V2/Billing/Profiles.js +31 -0
  1216. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  1217. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  1218. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
  1219. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  1220. package/esm/resources/V2/Billing/RateCardRates.d.ts +115 -0
  1221. package/esm/resources/V2/Billing/RateCardRates.js +3 -0
  1222. package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
  1223. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
  1224. package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
  1225. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  1226. package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  1227. package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
  1228. package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
  1229. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  1230. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
  1231. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  1232. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  1233. package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
  1234. package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  1235. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  1236. package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
  1237. package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  1238. package/esm/resources/V2/Billing/RateCards.d.ts +340 -0
  1239. package/esm/resources/V2/Billing/RateCards.js +72 -0
  1240. package/esm/resources/V2/Billing/RateCards.js.map +1 -0
  1241. package/esm/resources/V2/Billing/ServiceActions.d.ts +514 -0
  1242. package/esm/resources/V2/Billing/ServiceActions.js +158 -0
  1243. package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
  1244. package/esm/resources/V2/Billing/index.d.ts +174 -6
  1245. package/esm/resources/V2/Billing/index.js +32 -0
  1246. package/esm/resources/V2/Billing/index.js.map +1 -1
  1247. package/esm/resources/V2/Core/AccountEvaluations.d.ts +160 -0
  1248. package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
  1249. package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
  1250. package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
  1251. package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
  1252. package/esm/resources/V2/Core/AccountTokens.d.ts +220 -2
  1253. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  1254. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  1255. package/esm/resources/V2/Core/Accounts.d.ts +5570 -67
  1256. package/esm/resources/V2/Core/ApprovalRequests.d.ts +334 -0
  1257. package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
  1258. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
  1259. package/esm/resources/V2/Core/BatchJobs.d.ts +373 -0
  1260. package/esm/resources/V2/Core/BatchJobs.js +221 -0
  1261. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  1262. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
  1263. package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
  1264. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  1265. package/esm/resources/V2/Core/ConnectionSessions.d.ts +90 -0
  1266. package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
  1267. package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
  1268. package/esm/resources/V2/Core/Events.d.ts +7601 -232
  1269. package/esm/resources/V2/Core/FeeBatches.d.ts +172 -0
  1270. package/esm/resources/V2/Core/FeeBatches.js +19 -0
  1271. package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
  1272. package/esm/resources/V2/Core/FeeEntries.d.ts +178 -0
  1273. package/esm/resources/V2/Core/FeeEntries.js +19 -0
  1274. package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
  1275. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
  1276. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
  1277. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  1278. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
  1279. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +58 -0
  1280. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  1281. package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
  1282. package/esm/resources/V2/Core/Vault/index.js +11 -0
  1283. package/esm/resources/V2/Core/Vault/index.js.map +1 -0
  1284. package/esm/resources/V2/Core/index.d.ts +63 -14
  1285. package/esm/resources/V2/Core/index.js +16 -0
  1286. package/esm/resources/V2/Core/index.js.map +1 -1
  1287. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
  1288. package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
  1289. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  1290. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
  1291. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
  1292. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  1293. package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
  1294. package/esm/resources/V2/Data/Analytics/index.js +9 -0
  1295. package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
  1296. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +177 -0
  1297. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  1298. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  1299. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  1300. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  1301. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  1302. package/esm/resources/V2/Data/index.d.ts +13 -0
  1303. package/esm/resources/V2/Data/index.js +11 -0
  1304. package/esm/resources/V2/Data/index.js.map +1 -0
  1305. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
  1306. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  1307. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  1308. package/esm/resources/V2/Extend/Workflows.d.ts +123 -0
  1309. package/esm/resources/V2/Extend/Workflows.js +26 -0
  1310. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  1311. package/esm/resources/V2/Extend/index.d.ts +20 -0
  1312. package/esm/resources/V2/Extend/index.js +11 -0
  1313. package/esm/resources/V2/Extend/index.js.map +1 -0
  1314. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  1315. package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
  1316. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  1317. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  1318. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
  1319. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  1320. package/esm/resources/V2/Iam/ActivityLogs.d.ts +214 -0
  1321. package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
  1322. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  1323. package/esm/resources/V2/Iam/ApiKeys.d.ts +280 -0
  1324. package/esm/resources/V2/Iam/ApiKeys.js +43 -0
  1325. package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
  1326. package/esm/resources/V2/Iam/index.d.ts +23 -0
  1327. package/esm/resources/V2/Iam/index.js +11 -0
  1328. package/esm/resources/V2/Iam/index.js.map +1 -0
  1329. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
  1330. package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
  1331. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  1332. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
  1333. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
  1334. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  1335. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +171 -0
  1336. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
  1337. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  1338. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +103 -0
  1339. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
  1340. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  1341. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
  1342. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
  1343. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  1344. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +417 -0
  1345. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +46 -0
  1346. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  1347. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
  1348. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
  1349. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  1350. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
  1351. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
  1352. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  1353. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
  1354. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
  1355. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  1356. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
  1357. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
  1358. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  1359. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +321 -0
  1360. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
  1361. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  1362. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
  1363. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
  1364. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  1365. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
  1366. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
  1367. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  1368. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
  1369. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
  1370. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  1371. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
  1372. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
  1373. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  1374. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +251 -0
  1375. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  1376. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  1377. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -0
  1378. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
  1379. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  1380. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +249 -0
  1381. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
  1382. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  1383. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +280 -0
  1384. package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
  1385. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  1386. package/esm/resources/V2/MoneyManagement/index.d.ts +128 -0
  1387. package/esm/resources/V2/MoneyManagement/index.js +41 -0
  1388. package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
  1389. package/esm/resources/V2/Network/BusinessProfiles.d.ts +96 -0
  1390. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  1391. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  1392. package/esm/resources/V2/Network/index.d.ts +13 -0
  1393. package/esm/resources/V2/Network/index.js +9 -0
  1394. package/esm/resources/V2/Network/index.js.map +1 -0
  1395. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
  1396. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  1397. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  1398. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  1399. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  1400. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  1401. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
  1402. package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
  1403. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  1404. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
  1405. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
  1406. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  1407. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  1408. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
  1409. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  1410. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
  1411. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
  1412. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  1413. package/esm/resources/V2/Payments/index.d.ts +31 -0
  1414. package/esm/resources/V2/Payments/index.js +11 -0
  1415. package/esm/resources/V2/Payments/index.js.map +1 -0
  1416. package/esm/resources/V2/Reporting/ReportRuns.d.ts +194 -0
  1417. package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
  1418. package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
  1419. package/esm/resources/V2/Reporting/Reports.d.ts +110 -0
  1420. package/esm/resources/V2/Reporting/Reports.js +13 -0
  1421. package/esm/resources/V2/Reporting/Reports.js.map +1 -0
  1422. package/esm/resources/V2/Reporting/index.d.ts +18 -0
  1423. package/esm/resources/V2/Reporting/index.js +11 -0
  1424. package/esm/resources/V2/Reporting/index.js.map +1 -0
  1425. package/esm/resources/V2/Signals/AccountSignals.d.ts +176 -0
  1426. package/esm/resources/V2/Signals/AccountSignals.js +54 -0
  1427. package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
  1428. package/esm/resources/V2/Signals/index.d.ts +13 -0
  1429. package/esm/resources/V2/Signals/index.js +9 -0
  1430. package/esm/resources/V2/Signals/index.js.map +1 -0
  1431. package/esm/resources/V2/Tax/ManualRules.d.ts +335 -0
  1432. package/esm/resources/V2/Tax/ManualRules.js +189 -0
  1433. package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
  1434. package/esm/resources/V2/Tax/index.d.ts +16 -0
  1435. package/esm/resources/V2/Tax/index.js +9 -0
  1436. package/esm/resources/V2/Tax/index.js.map +1 -0
  1437. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  1438. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
  1439. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  1440. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  1441. package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
  1442. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  1443. package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
  1444. package/esm/resources/V2/TestHelpers/index.js +11 -0
  1445. package/esm/resources/V2/TestHelpers/index.js.map +1 -0
  1446. package/esm/resources/V2/index.d.ts +39 -0
  1447. package/esm/resources/V2/index.js +22 -0
  1448. package/esm/resources/V2/index.js.map +1 -1
  1449. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  1450. package/esm/resources.d.ts +16 -0
  1451. package/esm/resources.js +233 -0
  1452. package/esm/resources.js.map +1 -1
  1453. package/esm/stripe.core.d.ts +115 -50
  1454. package/esm/stripe.core.js +37 -1
  1455. package/esm/stripe.core.js.map +1 -1
  1456. package/esm/stripe.esm.node.d.ts +115 -50
  1457. package/esm/stripe.esm.node.js +37 -1
  1458. package/esm/stripe.esm.node.js.map +1 -1
  1459. package/esm/utils.d.ts +1 -1
  1460. package/esm/utils.js +13 -2
  1461. package/esm/utils.js.map +1 -1
  1462. package/package.json +1 -1
@@ -5,6 +5,7 @@ import { Customer, DeletedCustomer } from './../Customers.js';
5
5
  import { Invoice } from './../Invoices.js';
6
6
  import { PaymentIntent } from './../PaymentIntents.js';
7
7
  import { PaymentLink } from './../PaymentLinks.js';
8
+ import { PaymentRecord } from './../PaymentRecords.js';
8
9
  import { SetupIntent } from './../SetupIntents.js';
9
10
  import { Account } from './../Accounts.js';
10
11
  import { TaxId, DeletedTaxId } from './../TaxIds.js';
@@ -33,6 +34,10 @@ export declare class SessionResource extends StripeResource {
33
34
  * Related guide: [Dynamically update a Checkout Session](https://docs.stripe.com/payments/advanced/dynamic-updates)
34
35
  */
35
36
  update(id: string, params?: Checkout.SessionUpdateParams, options?: RequestOptions): Promise<Response<Session>>;
37
+ /**
38
+ * Approves a customer's attempt to pay for a Checkout Session with approval_method set to manual.
39
+ */
40
+ approve(id: string, params: Checkout.SessionApproveParams, options?: RequestOptions): Promise<Response<Session>>;
36
41
  /**
37
42
  * A Checkout Session can be expired when it is in one of these statuses: open
38
43
  *
@@ -73,6 +78,15 @@ export interface Session {
73
78
  * Total of all items after discounts and taxes are applied.
74
79
  */
75
80
  amount_total: number | null;
81
+ /**
82
+ * Determines whether the customer's attempt to pay must be manually approved.
83
+ *
84
+ * Default is `auto`, when the customer's attempt to pay is approved automatically with no action required on your server.
85
+ *
86
+ * When set to `manual`, you must approve the customer's attempt to pay by calling [approve](api/checkout/sessions/approve) from your server.
87
+ */
88
+ approval_method?: Checkout.Session.ApprovalMethod | null;
89
+ automatic_surcharge?: Checkout.Session.AutomaticSurcharge;
76
90
  automatic_tax: Checkout.Session.AutomaticTax;
77
91
  /**
78
92
  * Describes whether Checkout should collect the customer's billing address. Defaults to `auto`.
@@ -83,6 +97,7 @@ export interface Session {
83
97
  * If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website.
84
98
  */
85
99
  cancel_url: string | null;
100
+ checkout_items?: Array<Checkout.Session.CheckoutItem>;
86
101
  /**
87
102
  * A unique string to reference the Checkout Session. This can be a
88
103
  * customer ID, a cart ID, or similar, and can be used to reconcile the
@@ -118,10 +133,19 @@ export interface Session {
118
133
  * Currency conversion details for [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing) sessions created before 2025-03-31.
119
134
  */
120
135
  currency_conversion: Checkout.Session.CurrencyConversion | null;
136
+ /**
137
+ * The customer's pending attempt to pay that requires your approval. Contains information about the customer and their payment details.
138
+ */
139
+ current_attempt?: Checkout.Session.CurrentAttempt | null;
121
140
  /**
122
141
  * Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`.
123
142
  */
124
143
  custom_fields: Array<Checkout.Session.CustomField>;
144
+ /**
145
+ * A list of the types of [custom payment methods](https://docs.stripe.com/payments/payment-methods/custom-payment-methods) (e.g. cpmt_123) this Checkout
146
+ * Session is allowed to accept.
147
+ */
148
+ custom_payment_method_types?: Array<string>;
125
149
  custom_text: Checkout.Session.CustomText;
126
150
  /**
127
151
  * The ID of the customer for this Session.
@@ -233,6 +257,10 @@ export interface Session {
233
257
  * Session is allowed to accept.
234
258
  */
235
259
  payment_method_types: Array<string>;
260
+ /**
261
+ * The [Payment Record](https://docs.stripe.com/api/payment-record) for this Checkout Session.
262
+ */
263
+ payment_record?: string | PaymentRecord | null;
236
264
  /**
237
265
  * The payment status of the Checkout Session, one of `paid`, `unpaid`, or `no_payment_required`.
238
266
  * You can use this value to decide when to fulfill your customer's order.
@@ -297,6 +325,7 @@ export interface Session {
297
325
  * subscription creation is successful.
298
326
  */
299
327
  success_url: string | null;
328
+ surcharge_cost?: Checkout.Session.SurchargeCost;
300
329
  tax_id_collection?: Checkout.Session.TaxIdCollection;
301
330
  /**
302
331
  * Tax and discount details for the computed total amount.
@@ -330,6 +359,29 @@ export declare namespace Checkout {
330
359
  */
331
360
  recovery: AfterExpiration.Recovery | null;
332
361
  }
362
+ type ApprovalMethod = 'auto' | 'manual';
363
+ interface AutomaticSurcharge {
364
+ /**
365
+ * Determines which amount serves as the basis for calculating the surcharge.
366
+ */
367
+ calculation_basis: AutomaticSurcharge.CalculationBasis | null;
368
+ /**
369
+ * Indicates whether automatic surcharge is enabled for the session.
370
+ */
371
+ enabled: boolean;
372
+ /**
373
+ * The surcharge provider used for this session.
374
+ */
375
+ provider?: AutomaticSurcharge.Provider;
376
+ /**
377
+ * The status of the most recent surcharge calculation for this session.
378
+ */
379
+ status?: AutomaticSurcharge.Status;
380
+ /**
381
+ * Specifies whether the surcharge is considered inclusive or exclusive of taxes.
382
+ */
383
+ tax_behavior: AutomaticSurcharge.TaxBehavior | null;
384
+ }
333
385
  interface AutomaticTax {
334
386
  /**
335
387
  * Indicates whether automatic tax is enabled for the session
@@ -379,19 +431,36 @@ export declare namespace Checkout {
379
431
  */
380
432
  logo: BrandingSettings.Logo | null;
381
433
  }
434
+ interface CheckoutItem {
435
+ type: CheckoutItem.Type;
436
+ rate_card_subscription_item?: CheckoutItem.RateCardSubscriptionItem;
437
+ pricing_plan_subscription_item?: CheckoutItem.PricingPlanSubscriptionItem;
438
+ }
382
439
  interface CollectedInformation {
383
440
  /**
384
441
  * Customer's business name for this Checkout Session
385
442
  */
386
443
  business_name: string | null;
444
+ /**
445
+ * Customer's email for this Checkout Session
446
+ */
447
+ email?: string | null;
387
448
  /**
388
449
  * Customer's individual name for this Checkout Session
389
450
  */
390
451
  individual_name: string | null;
452
+ /**
453
+ * Customer's phone number for this Checkout Session
454
+ */
455
+ phone?: string | null;
391
456
  /**
392
457
  * Shipping information for this Checkout Session.
393
458
  */
394
459
  shipping_details: CollectedInformation.ShippingDetails | null;
460
+ /**
461
+ * Customer's tax ids for this Checkout Session.
462
+ */
463
+ tax_ids?: Array<CollectedInformation.TaxId> | null;
395
464
  }
396
465
  interface Consent {
397
466
  /**
@@ -438,6 +507,32 @@ export declare namespace Checkout {
438
507
  */
439
508
  source_currency: string;
440
509
  }
510
+ interface CurrentAttempt {
511
+ /**
512
+ * The customer's billing information, if provided.
513
+ */
514
+ billing_details?: CurrentAttempt.BillingDetails | null;
515
+ /**
516
+ * The customer's email.
517
+ */
518
+ email?: string | null;
519
+ /**
520
+ * The attempt ID you will pass to the [Checkout Session approve](api/checkout/sessions/approve) endpoint to approve the attempt.
521
+ */
522
+ id: string;
523
+ /**
524
+ * Information about the payment method the customer is attempting to pay with. Relevant payment method information is provided when available. Some payment details are only available after the payment has completed and can't be returned in the manual approval flow.
525
+ */
526
+ payment_method_details?: CurrentAttempt.PaymentMethodDetails | null;
527
+ /**
528
+ * The customer's phone number.
529
+ */
530
+ phone?: string | null;
531
+ /**
532
+ * The customer's shipping information, if provided.
533
+ */
534
+ shipping_details: CurrentAttempt.ShippingDetails | null;
535
+ }
441
536
  interface CustomField {
442
537
  dropdown?: CustomField.Dropdown;
443
538
  /**
@@ -567,6 +662,7 @@ export declare namespace Checkout {
567
662
  bacs_debit?: PaymentMethodOptions.BacsDebit;
568
663
  bancontact?: PaymentMethodOptions.Bancontact;
569
664
  billie?: PaymentMethodOptions.Billie;
665
+ bizum?: PaymentMethodOptions.Bizum;
570
666
  boleto?: PaymentMethodOptions.Boleto;
571
667
  card?: PaymentMethodOptions.Card;
572
668
  cashapp?: PaymentMethodOptions.Cashapp;
@@ -604,6 +700,18 @@ export declare namespace Checkout {
604
700
  }
605
701
  type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid';
606
702
  interface Permissions {
703
+ /**
704
+ * Permissions for updating the Checkout Session.
705
+ */
706
+ update?: Permissions.Update | null;
707
+ /**
708
+ * Determines which entity is allowed to update the line items.
709
+ *
710
+ * Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
711
+ *
712
+ * When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
713
+ */
714
+ update_line_items?: Permissions.UpdateLineItems | null;
607
715
  /**
608
716
  * Determines which entity is allowed to update the shipping details.
609
717
  *
@@ -685,6 +793,20 @@ export declare namespace Checkout {
685
793
  }
686
794
  type Status = 'complete' | 'expired' | 'open';
687
795
  type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe';
796
+ interface SurchargeCost {
797
+ /**
798
+ * Total surcharge cost before taxes are applied.
799
+ */
800
+ amount_subtotal: number;
801
+ /**
802
+ * Total tax amount applied due to surcharging. If no tax was applied, defaults to 0.
803
+ */
804
+ amount_tax: number;
805
+ /**
806
+ * Total surcharge cost after taxes are applied.
807
+ */
808
+ amount_total: number;
809
+ }
688
810
  interface TaxIdCollection {
689
811
  /**
690
812
  * Indicates whether tax ID collection is enabled for the session
@@ -704,6 +826,10 @@ export declare namespace Checkout {
704
826
  * This is the sum of all the shipping amounts.
705
827
  */
706
828
  amount_shipping: number | null;
829
+ /**
830
+ * The surcharge amount that was applied to the Checkout Session.
831
+ */
832
+ amount_surcharge?: number;
707
833
  /**
708
834
  * This is the sum of all the tax amounts.
709
835
  */
@@ -736,6 +862,12 @@ export declare namespace Checkout {
736
862
  url: string | null;
737
863
  }
738
864
  }
865
+ namespace AutomaticSurcharge {
866
+ type CalculationBasis = 'total_after_tax' | 'total_before_tax';
867
+ type Provider = 'interpayments' | 'proserv' | 'yeeld';
868
+ type Status = 'complete' | 'failed' | 'requires_input';
869
+ type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
870
+ }
739
871
  namespace AutomaticTax {
740
872
  interface Liability {
741
873
  /**
@@ -749,7 +881,7 @@ export declare namespace Checkout {
749
881
  }
750
882
  type Status = 'complete' | 'failed' | 'requires_location_inputs';
751
883
  namespace Liability {
752
- type Type = 'account' | 'self';
884
+ type Type = 'account' | 'application' | 'self';
753
885
  }
754
886
  }
755
887
  namespace BrandingSettings {
@@ -789,6 +921,37 @@ export declare namespace Checkout {
789
921
  type Type = 'file' | 'url';
790
922
  }
791
923
  }
924
+ namespace CheckoutItem {
925
+ type Type = 'rate_card_subscription_item' | 'pricing_plan_subscription_item';
926
+ interface RateCardSubscriptionItem {
927
+ rate_card: string;
928
+ metadata: Metadata;
929
+ rate_card_version: string;
930
+ billing_cadence?: string;
931
+ rate_card_subscription?: string;
932
+ }
933
+ interface PricingPlanSubscriptionItem {
934
+ pricing_plan: string;
935
+ pricing_plan_version: string;
936
+ metadata: Metadata;
937
+ component_configurations: {
938
+ [key: string]: PricingPlanSubscriptionItem.ComponentConfigurations;
939
+ };
940
+ pricing_plan_subscription?: string;
941
+ billing_cadence?: string;
942
+ }
943
+ namespace PricingPlanSubscriptionItem {
944
+ interface ComponentConfigurations {
945
+ type: 'license_fee_component';
946
+ license_fee_component?: ComponentConfigurations.LicenseFeeComponent;
947
+ }
948
+ namespace ComponentConfigurations {
949
+ interface LicenseFeeComponent {
950
+ quantity: number;
951
+ }
952
+ }
953
+ }
954
+ }
792
955
  namespace CollectedInformation {
793
956
  interface ShippingDetails {
794
957
  address: Address;
@@ -797,6 +960,19 @@ export declare namespace Checkout {
797
960
  */
798
961
  name: string;
799
962
  }
963
+ interface TaxId {
964
+ /**
965
+ * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
966
+ */
967
+ type: TaxId.Type;
968
+ /**
969
+ * The value of the tax ID.
970
+ */
971
+ value: string | null;
972
+ }
973
+ namespace TaxId {
974
+ type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'gb_vat' | 'ge_vat' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'unknown' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin';
975
+ }
800
976
  }
801
977
  namespace Consent {
802
978
  type Promotions = 'opt_in' | 'opt_out';
@@ -816,6 +992,131 @@ export declare namespace Checkout {
816
992
  type Position = 'auto' | 'hidden';
817
993
  }
818
994
  }
995
+ namespace CurrentAttempt {
996
+ interface BillingDetails {
997
+ address: Address;
998
+ /**
999
+ * Customer name.
1000
+ */
1001
+ name: string | null;
1002
+ }
1003
+ interface PaymentMethodDetails {
1004
+ /**
1005
+ * Indicates whether this payment method can be shown again to its customer in a checkout flow.
1006
+ */
1007
+ allow_redisplay: PaymentMethodDetails.AllowRedisplay;
1008
+ au_becs_debit?: PaymentMethodDetails.AuBecsDebit;
1009
+ bacs_debit?: PaymentMethodDetails.BacsDebit;
1010
+ boleto?: PaymentMethodDetails.Boleto;
1011
+ card?: PaymentMethodDetails.Card;
1012
+ link?: PaymentMethodDetails.Link;
1013
+ sepa_debit?: PaymentMethodDetails.SepaDebit;
1014
+ /**
1015
+ * The type of payment method the customer is attempting to pay with. An additional hash is included in the payment method details with a name matching this value. It contains additional information specific to the payment method type.
1016
+ */
1017
+ type: string;
1018
+ us_bank_account?: PaymentMethodDetails.UsBankAccount;
1019
+ }
1020
+ interface ShippingDetails {
1021
+ address: Address;
1022
+ /**
1023
+ * Customer name.
1024
+ */
1025
+ name: string;
1026
+ }
1027
+ namespace PaymentMethodDetails {
1028
+ type AllowRedisplay = 'always' | 'limited' | 'unspecified';
1029
+ interface AuBecsDebit {
1030
+ /**
1031
+ * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
1032
+ */
1033
+ fingerprint: string | null;
1034
+ }
1035
+ interface BacsDebit {
1036
+ /**
1037
+ * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
1038
+ */
1039
+ fingerprint: string | null;
1040
+ }
1041
+ interface Boleto {
1042
+ /**
1043
+ * Uniquely identifies this particular boleto payment method. You can use this attribute to check whether two boleto payment methods are the same.
1044
+ */
1045
+ fingerprint: string | null;
1046
+ }
1047
+ interface Card {
1048
+ /**
1049
+ * The brand of the card, accounting for customer's brand choice on dual-branded cards.
1050
+ */
1051
+ brand: Card.Brand;
1052
+ /**
1053
+ * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
1054
+ */
1055
+ country: string | null;
1056
+ /**
1057
+ * Two-digit number representing the card's expiration month.
1058
+ */
1059
+ exp_month: number;
1060
+ /**
1061
+ * Four-digit number representing the card's expiration year.
1062
+ */
1063
+ exp_year: number;
1064
+ /**
1065
+ * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
1066
+ *
1067
+ * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
1068
+ */
1069
+ fingerprint: string | null;
1070
+ /**
1071
+ * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
1072
+ */
1073
+ funding: Card.Funding;
1074
+ /**
1075
+ * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
1076
+ */
1077
+ iin?: string | null;
1078
+ /**
1079
+ * The last four digits of the card.
1080
+ */
1081
+ last4: string;
1082
+ /**
1083
+ * If this Card is part of a card wallet, this contains the details of the card wallet.
1084
+ */
1085
+ wallet: Card.Wallet | null;
1086
+ }
1087
+ interface Link {
1088
+ /**
1089
+ * Unique, encrypted bank account identifier.
1090
+ */
1091
+ fingerprint?: string | null;
1092
+ }
1093
+ interface SepaDebit {
1094
+ /**
1095
+ * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
1096
+ */
1097
+ fingerprint: string | null;
1098
+ }
1099
+ interface UsBankAccount {
1100
+ /**
1101
+ * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
1102
+ */
1103
+ fingerprint: string | null;
1104
+ }
1105
+ namespace Card {
1106
+ type Brand = 'accel' | 'amex' | 'carnet' | 'cartes_bancaires' | 'conecs' | 'diners' | 'discover' | 'eftpos_au' | 'elo' | 'girocard' | 'interac' | 'jcb' | 'link' | 'maestro' | 'mastercard' | 'nyce' | 'pulse' | 'rupay' | 'star' | 'unionpay' | 'unknown' | 'visa';
1107
+ type Funding = 'credit' | 'debit' | 'prepaid' | 'unknown';
1108
+ interface Wallet {
1109
+ /**
1110
+ * The type of the wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, `meta_pay`, or `link`.
1111
+ */
1112
+ type: Wallet.Type;
1113
+ }
1114
+ namespace Wallet {
1115
+ type Type = 'amex_express_checkout' | 'apple_pay' | 'google_pay' | 'link' | 'masterpass' | 'meta_pay' | 'samsung_pay' | 'visa_checkout';
1116
+ }
1117
+ }
1118
+ }
1119
+ }
819
1120
  namespace CustomerDetails {
820
1121
  type TaxExempt = 'exempt' | 'none' | 'reverse';
821
1122
  interface TaxId {
@@ -996,7 +1297,7 @@ export declare namespace Checkout {
996
1297
  template: string | null;
997
1298
  }
998
1299
  namespace Issuer {
999
- type Type = 'account' | 'self';
1300
+ type Type = 'account' | 'application' | 'self';
1000
1301
  }
1001
1302
  }
1002
1303
  }
@@ -1181,6 +1482,9 @@ export declare namespace Checkout {
1181
1482
  */
1182
1483
  capture_method?: 'manual';
1183
1484
  }
1485
+ interface Bizum {
1486
+ mandate_options?: Bizum.MandateOptions;
1487
+ }
1184
1488
  interface Boleto {
1185
1489
  /**
1186
1490
  * The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time.
@@ -1203,6 +1507,10 @@ export declare namespace Checkout {
1203
1507
  */
1204
1508
  capture_method?: 'manual';
1205
1509
  installments?: Card.Installments;
1510
+ /**
1511
+ * Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
1512
+ */
1513
+ request_decremental_authorization?: Card.RequestDecrementalAuthorization;
1206
1514
  /**
1207
1515
  * Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
1208
1516
  */
@@ -1529,6 +1837,10 @@ export declare namespace Checkout {
1529
1837
  * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
1530
1838
  */
1531
1839
  setup_future_usage?: Paypal.SetupFutureUsage;
1840
+ /**
1841
+ * The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
1842
+ */
1843
+ subsellers?: Array<string>;
1532
1844
  }
1533
1845
  interface Payto {
1534
1846
  mandate_options?: Payto.MandateOptions;
@@ -1723,6 +2035,10 @@ export declare namespace Checkout {
1723
2035
  }
1724
2036
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
1725
2037
  }
2038
+ namespace Bizum {
2039
+ interface MandateOptions {
2040
+ }
2041
+ }
1726
2042
  namespace Boleto {
1727
2043
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
1728
2044
  }
@@ -1733,6 +2049,7 @@ export declare namespace Checkout {
1733
2049
  */
1734
2050
  enabled?: boolean;
1735
2051
  }
2052
+ type RequestDecrementalAuthorization = 'if_available' | 'never';
1736
2053
  type RequestExtendedAuthorization = 'if_available' | 'never';
1737
2054
  type RequestIncrementalAuthorization = 'if_available' | 'never';
1738
2055
  type RequestMulticapture = 'if_available' | 'never';
@@ -1918,6 +2235,7 @@ export declare namespace Checkout {
1918
2235
  namespace UsBankAccount {
1919
2236
  interface FinancialConnections {
1920
2237
  filters?: FinancialConnections.Filters;
2238
+ manual_entry?: FinancialConnections.ManualEntry;
1921
2239
  /**
1922
2240
  * The list of permissions to request. The `payment_method` permission must be included.
1923
2241
  */
@@ -1939,17 +2257,53 @@ export declare namespace Checkout {
1939
2257
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
1940
2258
  */
1941
2259
  account_subcategories?: Array<Filters.AccountSubcategory>;
2260
+ /**
2261
+ * The institution to use to filter for possible accounts to link.
2262
+ */
2263
+ institution?: string;
2264
+ }
2265
+ interface ManualEntry {
2266
+ /**
2267
+ * Settings for configuring manual entry of account details.
2268
+ */
2269
+ mode?: ManualEntry.Mode;
1942
2270
  }
1943
2271
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
1944
- type Prefetch = 'balances' | 'ownership' | 'transactions';
2272
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
1945
2273
  namespace Filters {
1946
2274
  type AccountSubcategory = 'checking' | 'savings';
1947
2275
  }
2276
+ namespace ManualEntry {
2277
+ type Mode = 'automatic' | 'custom';
2278
+ }
1948
2279
  }
1949
2280
  }
1950
2281
  }
1951
2282
  namespace Permissions {
2283
+ interface Update {
2284
+ /**
2285
+ * Determines which entity is allowed to update the line items.
2286
+ *
2287
+ * Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
2288
+ *
2289
+ * When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
2290
+ */
2291
+ line_items?: Update.LineItems | null;
2292
+ /**
2293
+ * Determines which entity is allowed to update the shipping details.
2294
+ *
2295
+ * Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
2296
+ *
2297
+ * When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
2298
+ */
2299
+ shipping_details: Update.ShippingDetails | null;
2300
+ }
2301
+ type UpdateLineItems = 'client_only' | 'server_only';
1952
2302
  type UpdateShippingDetails = 'client_only' | 'server_only';
2303
+ namespace Update {
2304
+ type LineItems = 'client_only' | 'server_only';
2305
+ type ShippingDetails = 'client_only' | 'server_only';
2306
+ }
1953
2307
  }
1954
2308
  namespace SavedPaymentMethodOptions {
1955
2309
  type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified';
@@ -2064,6 +2418,18 @@ export declare namespace Checkout {
2064
2418
  * Enables user redeemable promotion codes.
2065
2419
  */
2066
2420
  allow_promotion_codes?: boolean;
2421
+ /**
2422
+ * Determines whether the customer's attempt to pay must be manually approved.
2423
+ *
2424
+ * Default is `auto`, when the customer's attempt to pay is approved automatically with no action required on your server.
2425
+ *
2426
+ * When set to `manual`, you must approve the customer's attempt to pay by calling [approve](api/checkout/sessions/approve) from your server.
2427
+ */
2428
+ approval_method?: SessionCreateParams.ApprovalMethod;
2429
+ /**
2430
+ * Settings for automatic surcharge calculation for this session.
2431
+ */
2432
+ automatic_surcharge?: SessionCreateParams.AutomaticSurcharge;
2067
2433
  /**
2068
2434
  * Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
2069
2435
  */
@@ -2080,6 +2446,7 @@ export declare namespace Checkout {
2080
2446
  * If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. This parameter is not allowed if ui_mode is `embedded_page` or `elements`.
2081
2447
  */
2082
2448
  cancel_url?: string;
2449
+ checkout_items?: Array<SessionCreateParams.CheckoutItem>;
2083
2450
  /**
2084
2451
  * A unique string to reference the Checkout Session. This can be a
2085
2452
  * customer ID, a cart ID, or similar, and can be used to reconcile the
@@ -2098,6 +2465,14 @@ export declare namespace Checkout {
2098
2465
  * Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`.
2099
2466
  */
2100
2467
  custom_fields?: Array<SessionCreateParams.CustomField>;
2468
+ /**
2469
+ * A list of custom payment methods (e.g., `cpmt_123`) this Checkout Session can accept.
2470
+ *
2471
+ * You can add custom payment methods to your account through the dashboard under Settings > Custom Payment Methods.
2472
+ *
2473
+ * Read more about custom payment methods in checkout in our [custom payment method types guide](https://docs.stripe.com/payments/payment-methods/custom-payment-methods).
2474
+ */
2475
+ custom_payment_method_types?: Array<string>;
2101
2476
  /**
2102
2477
  * Display additional text for your customers using custom text. You can't set this parameter if `ui_mode` is `custom`.
2103
2478
  */
@@ -2342,6 +2717,21 @@ export declare namespace Checkout {
2342
2717
  */
2343
2718
  recovery?: AfterExpiration.Recovery;
2344
2719
  }
2720
+ type ApprovalMethod = 'auto' | 'manual';
2721
+ interface AutomaticSurcharge {
2722
+ /**
2723
+ * Determines which amount serves as the basis for calculating the surcharge.
2724
+ */
2725
+ calculation_basis?: AutomaticSurcharge.CalculationBasis;
2726
+ /**
2727
+ * Set to `true` to calculate surcharge automatically using the customer's card details and location.
2728
+ */
2729
+ enabled: boolean;
2730
+ /**
2731
+ * Specifies whether the surcharge is considered inclusive or exclusive of taxes.
2732
+ */
2733
+ tax_behavior?: AutomaticSurcharge.TaxBehavior;
2734
+ }
2345
2735
  interface AutomaticTax {
2346
2736
  /**
2347
2737
  * Set to `true` to [calculate tax automatically](https://docs.stripe.com/tax) using the customer's location.
@@ -2385,6 +2775,11 @@ export declare namespace Checkout {
2385
2775
  */
2386
2776
  logo?: BrandingSettings.Logo;
2387
2777
  }
2778
+ interface CheckoutItem {
2779
+ type: CheckoutItem.Type;
2780
+ rate_card_subscription_item?: CheckoutItem.RateCardSubscriptionItem;
2781
+ pricing_plan_subscription_item?: CheckoutItem.PricingPlanSubscriptionItem;
2782
+ }
2388
2783
  interface ConsentCollection {
2389
2784
  /**
2390
2785
  * Determines the display of payment method reuse agreement text in the UI. If set to `hidden`, it will hide legal text related to the reuse of a payment method.
@@ -2472,12 +2867,16 @@ export declare namespace Checkout {
2472
2867
  * The ID of the coupon to apply to this Session.
2473
2868
  */
2474
2869
  coupon?: string;
2870
+ /**
2871
+ * Data used to generate a new [Coupon](https://docs.stripe.com/api/coupon) object inline. One of `coupon` or `coupon_data` is required when updating discounts.
2872
+ */
2873
+ coupon_data?: Discount.CouponData;
2475
2874
  /**
2476
2875
  * The ID of a promotion code to apply to this Session.
2477
2876
  */
2478
2877
  promotion_code?: string;
2479
2878
  }
2480
- type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
2879
+ type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'shopeepay' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
2481
2880
  interface InvoiceCreation {
2482
2881
  /**
2483
2882
  * Set to `true` to enable invoice creation.
@@ -2673,6 +3072,14 @@ export declare namespace Checkout {
2673
3072
  * contains details about the Billie payment method options.
2674
3073
  */
2675
3074
  billie?: PaymentMethodOptions.Billie;
3075
+ /**
3076
+ * contains details about the Bizum payment method options.
3077
+ */
3078
+ bizum?: PaymentMethodOptions.Bizum;
3079
+ /**
3080
+ * contains details about the BLIK payment method options.
3081
+ */
3082
+ blik?: PaymentMethodOptions.Blik;
2676
3083
  /**
2677
3084
  * contains details about the Boleto payment method options.
2678
3085
  */
@@ -2826,8 +3233,26 @@ export declare namespace Checkout {
2826
3233
  */
2827
3234
  wechat_pay?: PaymentMethodOptions.WechatPay;
2828
3235
  }
2829
- type PaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
3236
+ type PaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'shopeepay' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
2830
3237
  interface Permissions {
3238
+ /**
3239
+ * Permissions for updating the Checkout Session.
3240
+ */
3241
+ update?: Permissions.Update;
3242
+ /**
3243
+ * Determines which entity is allowed to update the discounts (coupons or promotion codes) that apply to this session.
3244
+ *
3245
+ * Default is `client_only`. Stripe Checkout client will automatically handle discount updates. If set to `server_only`, only your server is allowed to update discounts.
3246
+ */
3247
+ update_discounts?: Permissions.UpdateDiscounts;
3248
+ /**
3249
+ * Determines which entity is allowed to update the line items.
3250
+ *
3251
+ * Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
3252
+ *
3253
+ * When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
3254
+ */
3255
+ update_line_items?: Permissions.UpdateLineItems;
2831
3256
  /**
2832
3257
  * Determines which entity is allowed to update the shipping details.
2833
3258
  *
@@ -2985,6 +3410,10 @@ export declare namespace Checkout {
2985
3410
  enabled: boolean;
2986
3411
  }
2987
3412
  }
3413
+ namespace AutomaticSurcharge {
3414
+ type CalculationBasis = 'total_after_tax' | 'total_before_tax';
3415
+ type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
3416
+ }
2988
3417
  namespace AutomaticTax {
2989
3418
  interface Liability {
2990
3419
  /**
@@ -2997,7 +3426,7 @@ export declare namespace Checkout {
2997
3426
  type: Liability.Type;
2998
3427
  }
2999
3428
  namespace Liability {
3000
- type Type = 'account' | 'self';
3429
+ type Type = 'account' | 'application' | 'self';
3001
3430
  }
3002
3431
  }
3003
3432
  namespace BrandingSettings {
@@ -3038,6 +3467,33 @@ export declare namespace Checkout {
3038
3467
  type Type = 'file' | 'url';
3039
3468
  }
3040
3469
  }
3470
+ namespace CheckoutItem {
3471
+ type Type = 'rate_card_subscription_item' | 'pricing_plan_subscription_item';
3472
+ interface RateCardSubscriptionItem {
3473
+ rate_card: string;
3474
+ metadata?: MetadataParam;
3475
+ rate_card_version?: string;
3476
+ }
3477
+ interface PricingPlanSubscriptionItem {
3478
+ pricing_plan: string;
3479
+ pricing_plan_version?: string;
3480
+ metadata?: MetadataParam;
3481
+ component_configurations?: {
3482
+ [key: string]: PricingPlanSubscriptionItem.ComponentConfigurations;
3483
+ };
3484
+ }
3485
+ namespace PricingPlanSubscriptionItem {
3486
+ interface ComponentConfigurations {
3487
+ type: 'license_fee_component';
3488
+ license_fee_component?: ComponentConfigurations.LicenseFeeComponent;
3489
+ }
3490
+ namespace ComponentConfigurations {
3491
+ interface LicenseFeeComponent {
3492
+ quantity: number;
3493
+ }
3494
+ }
3495
+ }
3496
+ }
3041
3497
  namespace ConsentCollection {
3042
3498
  interface PaymentMethodReuseAgreement {
3043
3499
  /**
@@ -3146,6 +3602,37 @@ export declare namespace Checkout {
3146
3602
  message: string;
3147
3603
  }
3148
3604
  }
3605
+ namespace Discount {
3606
+ interface CouponData {
3607
+ /**
3608
+ * A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
3609
+ */
3610
+ amount_off?: number;
3611
+ /**
3612
+ * Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
3613
+ */
3614
+ currency?: string;
3615
+ /**
3616
+ * Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
3617
+ */
3618
+ duration?: CouponData.Duration;
3619
+ /**
3620
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
3621
+ */
3622
+ metadata?: Emptyable<MetadataParam>;
3623
+ /**
3624
+ * Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
3625
+ */
3626
+ name?: string;
3627
+ /**
3628
+ * A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed).
3629
+ */
3630
+ percent_off?: number;
3631
+ }
3632
+ namespace CouponData {
3633
+ type Duration = 'forever' | 'once' | 'repeating' | 'service_period';
3634
+ }
3635
+ }
3149
3636
  namespace InvoiceCreation {
3150
3637
  interface InvoiceData {
3151
3638
  /**
@@ -3209,7 +3696,7 @@ export declare namespace Checkout {
3209
3696
  template?: string;
3210
3697
  }
3211
3698
  namespace Issuer {
3212
- type Type = 'account' | 'self';
3699
+ type Type = 'account' | 'application' | 'self';
3213
3700
  }
3214
3701
  namespace RenderingOptions {
3215
3702
  type AmountTaxDisplay = 'exclude_tax' | 'include_inclusive_tax';
@@ -3283,6 +3770,10 @@ export declare namespace Checkout {
3283
3770
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
3284
3771
  */
3285
3772
  tax_code?: string;
3773
+ /**
3774
+ * Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
3775
+ */
3776
+ tax_details?: ProductData.TaxDetails;
3286
3777
  /**
3287
3778
  * A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
3288
3779
  */
@@ -3299,6 +3790,18 @@ export declare namespace Checkout {
3299
3790
  interval_count?: number;
3300
3791
  }
3301
3792
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
3793
+ namespace ProductData {
3794
+ interface TaxDetails {
3795
+ /**
3796
+ * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
3797
+ */
3798
+ performance_location?: string;
3799
+ /**
3800
+ * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
3801
+ */
3802
+ tax_code?: Emptyable<string>;
3803
+ }
3804
+ }
3302
3805
  namespace Recurring {
3303
3806
  type Interval = 'day' | 'month' | 'week' | 'year';
3304
3807
  }
@@ -3533,6 +4036,19 @@ export declare namespace Checkout {
3533
4036
  */
3534
4037
  capture_method?: 'manual';
3535
4038
  }
4039
+ interface Bizum {
4040
+ /**
4041
+ * Additional fields for mandate creation.
4042
+ */
4043
+ mandate_options?: Bizum.MandateOptions;
4044
+ }
4045
+ interface Blik {
4046
+ /**
4047
+ * Additional fields for Mandate creation
4048
+ */
4049
+ mandate_options?: Blik.MandateOptions;
4050
+ setup_future_usage?: Emptyable<Blik.SetupFutureUsage>;
4051
+ }
3536
4052
  interface Boleto {
3537
4053
  /**
3538
4054
  * The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
@@ -3558,6 +4074,10 @@ export declare namespace Checkout {
3558
4074
  * Installment options for card payments
3559
4075
  */
3560
4076
  installments?: Card.Installments;
4077
+ /**
4078
+ * Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
4079
+ */
4080
+ request_decremental_authorization?: Card.RequestDecrementalAuthorization;
3561
4081
  /**
3562
4082
  * Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
3563
4083
  */
@@ -3914,6 +4434,10 @@ export declare namespace Checkout {
3914
4434
  * A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
3915
4435
  */
3916
4436
  reference?: string;
4437
+ /**
4438
+ * A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
4439
+ */
4440
+ reference_id?: string;
3917
4441
  /**
3918
4442
  * The risk correlation ID for an on-session payment using a saved PayPal payment method.
3919
4443
  */
@@ -3930,6 +4454,10 @@ export declare namespace Checkout {
3930
4454
  * If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3931
4455
  */
3932
4456
  setup_future_usage?: Emptyable<Paypal.SetupFutureUsage>;
4457
+ /**
4458
+ * The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
4459
+ */
4460
+ subsellers?: Array<string>;
3933
4461
  }
3934
4462
  interface Payto {
3935
4463
  /**
@@ -4152,6 +4680,19 @@ export declare namespace Checkout {
4152
4680
  }
4153
4681
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
4154
4682
  }
4683
+ namespace Bizum {
4684
+ interface MandateOptions {
4685
+ }
4686
+ }
4687
+ namespace Blik {
4688
+ interface MandateOptions {
4689
+ /**
4690
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
4691
+ */
4692
+ expires_after?: number;
4693
+ }
4694
+ type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
4695
+ }
4155
4696
  namespace Boleto {
4156
4697
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
4157
4698
  }
@@ -4163,6 +4704,7 @@ export declare namespace Checkout {
4163
4704
  */
4164
4705
  enabled?: boolean;
4165
4706
  }
4707
+ type RequestDecrementalAuthorization = 'if_available' | 'never';
4166
4708
  type RequestExtendedAuthorization = 'if_available' | 'never';
4167
4709
  type RequestIncrementalAuthorization = 'if_available' | 'never';
4168
4710
  type RequestMulticapture = 'if_available' | 'never';
@@ -4401,7 +4943,7 @@ export declare namespace Checkout {
4401
4943
  type VerificationMethod = 'automatic' | 'instant';
4402
4944
  namespace FinancialConnections {
4403
4945
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
4404
- type Prefetch = 'balances' | 'ownership' | 'transactions';
4946
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
4405
4947
  }
4406
4948
  }
4407
4949
  namespace WechatPay {
@@ -4409,7 +4951,31 @@ export declare namespace Checkout {
4409
4951
  }
4410
4952
  }
4411
4953
  namespace Permissions {
4954
+ interface Update {
4955
+ /**
4956
+ * Determines which entity is allowed to update the line items.
4957
+ *
4958
+ * Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
4959
+ *
4960
+ * When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
4961
+ */
4962
+ line_items?: Update.LineItems;
4963
+ /**
4964
+ * Determines which entity is allowed to update the shipping details.
4965
+ *
4966
+ * Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
4967
+ *
4968
+ * When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
4969
+ */
4970
+ shipping_details?: Update.ShippingDetails;
4971
+ }
4972
+ type UpdateDiscounts = 'client_only' | 'server_only';
4973
+ type UpdateLineItems = 'client_only' | 'server_only';
4412
4974
  type UpdateShippingDetails = 'client_only' | 'server_only';
4975
+ namespace Update {
4976
+ type LineItems = 'client_only' | 'server_only';
4977
+ type ShippingDetails = 'client_only' | 'server_only';
4978
+ }
4413
4979
  }
4414
4980
  namespace SavedPaymentMethodOptions {
4415
4981
  type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified';
@@ -4591,7 +5157,7 @@ export declare namespace Checkout {
4591
5157
  type: Issuer.Type;
4592
5158
  }
4593
5159
  namespace Issuer {
4594
- type Type = 'account' | 'self';
5160
+ type Type = 'account' | 'application' | 'self';
4595
5161
  }
4596
5162
  }
4597
5163
  namespace PendingInvoiceItemInterval {
@@ -4635,14 +5201,26 @@ export declare namespace Checkout {
4635
5201
  }
4636
5202
  export declare namespace Checkout {
4637
5203
  interface SessionUpdateParams {
5204
+ /**
5205
+ * Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
5206
+ */
5207
+ automatic_tax?: SessionUpdateParams.AutomaticTax;
4638
5208
  /**
4639
5209
  * Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions.
4640
5210
  */
4641
5211
  collected_information?: SessionUpdateParams.CollectedInformation;
5212
+ /**
5213
+ * List of coupons and promotion codes attached to the Checkout Session.
5214
+ */
5215
+ discounts?: Emptyable<Array<SessionUpdateParams.Discount>>;
4642
5216
  /**
4643
5217
  * Specifies which fields in the response should be expanded.
4644
5218
  */
4645
5219
  expand?: Array<string>;
5220
+ /**
5221
+ * Generate a post-purchase Invoice for one-time payments.
5222
+ */
5223
+ invoice_creation?: SessionUpdateParams.InvoiceCreation;
4646
5224
  /**
4647
5225
  * A list of items the customer is purchasing.
4648
5226
  *
@@ -4667,14 +5245,40 @@ export declare namespace Checkout {
4667
5245
  * The shipping rate options to apply to this Session. Up to a maximum of 5.
4668
5246
  */
4669
5247
  shipping_options?: Emptyable<Array<SessionUpdateParams.ShippingOption>>;
5248
+ /**
5249
+ * A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
5250
+ */
5251
+ subscription_data?: SessionUpdateParams.SubscriptionData;
4670
5252
  }
4671
5253
  namespace SessionUpdateParams {
5254
+ interface AutomaticTax {
5255
+ /**
5256
+ * The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
5257
+ */
5258
+ liability?: AutomaticTax.Liability;
5259
+ }
4672
5260
  interface CollectedInformation {
4673
5261
  /**
4674
5262
  * The shipping details to apply to this Session.
4675
5263
  */
4676
5264
  shipping_details?: CollectedInformation.ShippingDetails;
4677
5265
  }
5266
+ interface Discount {
5267
+ /**
5268
+ * The ID of the [Coupon](https://docs.stripe.com/api/coupons) to apply to this Session. One of `coupon` or `coupon_data` is required when updating discounts.
5269
+ */
5270
+ coupon?: string;
5271
+ /**
5272
+ * Data used to generate a new [Coupon](https://docs.stripe.com/api/coupon) object inline. One of `coupon` or `coupon_data` is required when updating discounts.
5273
+ */
5274
+ coupon_data?: Discount.CouponData;
5275
+ }
5276
+ interface InvoiceCreation {
5277
+ /**
5278
+ * Parameters passed when creating invoices for payment-mode Checkout Sessions.
5279
+ */
5280
+ invoice_data?: InvoiceCreation.InvoiceData;
5281
+ }
4678
5282
  interface LineItem {
4679
5283
  /**
4680
5284
  * When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
@@ -4715,6 +5319,39 @@ export declare namespace Checkout {
4715
5319
  */
4716
5320
  shipping_rate_data?: ShippingOption.ShippingRateData;
4717
5321
  }
5322
+ interface SubscriptionData {
5323
+ /**
5324
+ * All invoices will be billed using the specified settings.
5325
+ */
5326
+ invoice_settings?: SubscriptionData.InvoiceSettings;
5327
+ /**
5328
+ * 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#create_invoice) for the given subscription at the specified interval.
5329
+ */
5330
+ pending_invoice_item_interval?: Emptyable<SubscriptionData.PendingInvoiceItemInterval>;
5331
+ /**
5332
+ * Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. Has to be at least 48 hours in the future.
5333
+ */
5334
+ trial_end?: number;
5335
+ /**
5336
+ * Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
5337
+ */
5338
+ trial_period_days?: Emptyable<number>;
5339
+ }
5340
+ namespace AutomaticTax {
5341
+ interface Liability {
5342
+ /**
5343
+ * The connected account being referenced when `type` is `account`.
5344
+ */
5345
+ account?: string;
5346
+ /**
5347
+ * Type of the account referenced in the request.
5348
+ */
5349
+ type: Liability.Type;
5350
+ }
5351
+ namespace Liability {
5352
+ type Type = 'account' | 'application' | 'self';
5353
+ }
5354
+ }
4718
5355
  namespace CollectedInformation {
4719
5356
  interface ShippingDetails {
4720
5357
  /**
@@ -4755,6 +5392,60 @@ export declare namespace Checkout {
4755
5392
  }
4756
5393
  }
4757
5394
  }
5395
+ namespace Discount {
5396
+ interface CouponData {
5397
+ /**
5398
+ * A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
5399
+ */
5400
+ amount_off?: number;
5401
+ /**
5402
+ * Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
5403
+ */
5404
+ currency?: string;
5405
+ /**
5406
+ * Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
5407
+ */
5408
+ duration?: CouponData.Duration;
5409
+ /**
5410
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
5411
+ */
5412
+ metadata?: Emptyable<MetadataParam>;
5413
+ /**
5414
+ * Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
5415
+ */
5416
+ name?: string;
5417
+ /**
5418
+ * A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed).
5419
+ */
5420
+ percent_off?: number;
5421
+ }
5422
+ namespace CouponData {
5423
+ type Duration = 'forever' | 'once' | 'repeating' | 'service_period';
5424
+ }
5425
+ }
5426
+ namespace InvoiceCreation {
5427
+ interface InvoiceData {
5428
+ /**
5429
+ * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
5430
+ */
5431
+ issuer?: InvoiceData.Issuer;
5432
+ }
5433
+ namespace InvoiceData {
5434
+ interface Issuer {
5435
+ /**
5436
+ * The connected account being referenced when `type` is `account`.
5437
+ */
5438
+ account?: string;
5439
+ /**
5440
+ * Type of the account referenced in the request.
5441
+ */
5442
+ type: Issuer.Type;
5443
+ }
5444
+ namespace Issuer {
5445
+ type Type = 'account' | 'application' | 'self';
5446
+ }
5447
+ }
5448
+ }
4758
5449
  namespace LineItem {
4759
5450
  interface AdjustableQuantity {
4760
5451
  /**
@@ -4822,6 +5513,10 @@ export declare namespace Checkout {
4822
5513
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
4823
5514
  */
4824
5515
  tax_code?: string;
5516
+ /**
5517
+ * Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
5518
+ */
5519
+ tax_details?: ProductData.TaxDetails;
4825
5520
  /**
4826
5521
  * A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
4827
5522
  */
@@ -4838,6 +5533,18 @@ export declare namespace Checkout {
4838
5533
  interval_count?: number;
4839
5534
  }
4840
5535
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
5536
+ namespace ProductData {
5537
+ interface TaxDetails {
5538
+ /**
5539
+ * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
5540
+ */
5541
+ performance_location?: string;
5542
+ /**
5543
+ * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
5544
+ */
5545
+ tax_code?: Emptyable<string>;
5546
+ }
5547
+ }
4841
5548
  namespace Recurring {
4842
5549
  type Interval = 'day' | 'month' | 'week' | 'year';
4843
5550
  }
@@ -4947,6 +5654,42 @@ export declare namespace Checkout {
4947
5654
  }
4948
5655
  }
4949
5656
  }
5657
+ namespace SubscriptionData {
5658
+ interface InvoiceSettings {
5659
+ /**
5660
+ * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
5661
+ */
5662
+ issuer?: InvoiceSettings.Issuer;
5663
+ }
5664
+ interface PendingInvoiceItemInterval {
5665
+ /**
5666
+ * Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
5667
+ */
5668
+ interval: PendingInvoiceItemInterval.Interval;
5669
+ /**
5670
+ * The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
5671
+ */
5672
+ interval_count?: number;
5673
+ }
5674
+ namespace InvoiceSettings {
5675
+ interface Issuer {
5676
+ /**
5677
+ * The connected account being referenced when `type` is `account`.
5678
+ */
5679
+ account?: string;
5680
+ /**
5681
+ * Type of the account referenced in the request.
5682
+ */
5683
+ type: Issuer.Type;
5684
+ }
5685
+ namespace Issuer {
5686
+ type Type = 'account' | 'application' | 'self';
5687
+ }
5688
+ }
5689
+ namespace PendingInvoiceItemInterval {
5690
+ type Interval = 'day' | 'month' | 'week' | 'year';
5691
+ }
5692
+ }
4950
5693
  }
4951
5694
  }
4952
5695
  export declare namespace Checkout {
@@ -4998,6 +5741,46 @@ export declare namespace Checkout {
4998
5741
  type Status = 'complete' | 'expired' | 'open';
4999
5742
  }
5000
5743
  }
5744
+ export declare namespace Checkout {
5745
+ interface SessionApproveParams {
5746
+ /**
5747
+ * The ID of the customer's attempt to pay to approve.
5748
+ */
5749
+ attempt: string;
5750
+ /**
5751
+ * Specifies which fields in the response should be expanded.
5752
+ */
5753
+ expand?: Array<string>;
5754
+ /**
5755
+ * A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.
5756
+ */
5757
+ payment_intent_data?: SessionApproveParams.PaymentIntentData;
5758
+ /**
5759
+ * The URL to redirect your customer back to after they authenticate or cancel their payment on the
5760
+ * payment method's app or site. This parameter is allowed and required if and only if you did not
5761
+ * set the return URL during Checkout Session creation or in `checkout.confirm()` in Stripe.js.
5762
+ */
5763
+ return_url?: string;
5764
+ /**
5765
+ * A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
5766
+ */
5767
+ subscription_data?: SessionApproveParams.SubscriptionData;
5768
+ }
5769
+ namespace SessionApproveParams {
5770
+ interface PaymentIntentData {
5771
+ /**
5772
+ * The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
5773
+ */
5774
+ application_fee_amount?: number;
5775
+ }
5776
+ interface SubscriptionData {
5777
+ /**
5778
+ * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. To use an application fee percent, the request must be made on behalf of another account, using the `Stripe-Account` header or an OAuth key. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
5779
+ */
5780
+ application_fee_percent?: number;
5781
+ }
5782
+ }
5783
+ }
5001
5784
  export declare namespace Checkout {
5002
5785
  interface SessionExpireParams {
5003
5786
  /**