@depup/stripe 22.0.0-depup.0 → 22.4.0-depup.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (981) hide show
  1. package/CHANGELOG.md +329 -42
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +2 -2
  4. package/VERSION +1 -1
  5. package/changes.json +1 -1
  6. package/cjs/Error.d.ts +61 -7
  7. package/cjs/Error.js +12 -3
  8. package/cjs/Error.js.map +1 -1
  9. package/cjs/RequestSender.d.ts +2 -1
  10. package/cjs/RequestSender.js +30 -14
  11. package/cjs/RequestSender.js.map +1 -1
  12. package/cjs/StripeResource.js +4 -0
  13. package/cjs/StripeResource.js.map +1 -1
  14. package/cjs/Types.d.ts +74 -12
  15. package/cjs/Types.js.map +1 -1
  16. package/cjs/Webhooks.d.ts +19 -9
  17. package/cjs/Webhooks.js +48 -11
  18. package/cjs/Webhooks.js.map +1 -1
  19. package/cjs/apiVersion.d.ts +1 -1
  20. package/cjs/apiVersion.js +1 -1
  21. package/cjs/autoPagination.js +41 -4
  22. package/cjs/autoPagination.js.map +1 -1
  23. package/cjs/lib.d.ts +63 -6
  24. package/cjs/net/FetchHttpClient.js +15 -2
  25. package/cjs/net/FetchHttpClient.js.map +1 -1
  26. package/cjs/net/HttpClient.js.map +1 -1
  27. package/cjs/net/NodeHttpClient.js +3 -0
  28. package/cjs/net/NodeHttpClient.js.map +1 -1
  29. package/cjs/platform/NodePlatformFunctions.d.ts +10 -0
  30. package/cjs/platform/NodePlatformFunctions.js +75 -2
  31. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  32. package/cjs/platform/PlatformFunctions.d.ts +14 -0
  33. package/cjs/platform/PlatformFunctions.js +24 -0
  34. package/cjs/platform/PlatformFunctions.js.map +1 -1
  35. package/cjs/resources/AccountLinks.d.ts +2 -1
  36. package/cjs/resources/AccountLinks.js.map +1 -1
  37. package/cjs/resources/AccountSessions.d.ts +92 -0
  38. package/cjs/resources/Accounts.d.ts +202 -71
  39. package/cjs/resources/Accounts.js +31 -21
  40. package/cjs/resources/Accounts.js.map +1 -1
  41. package/cjs/resources/ApplePayDomains.js +2 -2
  42. package/cjs/resources/ApplePayDomains.js.map +1 -1
  43. package/cjs/resources/ApplicationFees.d.ts +2 -2
  44. package/cjs/resources/ApplicationFees.js +5 -5
  45. package/cjs/resources/ApplicationFees.js.map +1 -1
  46. package/cjs/resources/Apps/Secrets.d.ts +19 -21
  47. package/cjs/resources/Apps/index.d.ts +6 -2
  48. package/cjs/resources/Apps/index.js.map +1 -1
  49. package/cjs/resources/BalanceSettings.d.ts +92 -6
  50. package/cjs/resources/BalanceTransactions.d.ts +9 -9
  51. package/cjs/resources/BalanceTransactions.js +3 -3
  52. package/cjs/resources/BalanceTransactions.js.map +1 -1
  53. package/cjs/resources/BankAccounts.d.ts +2 -2
  54. package/cjs/resources/Billing/Alerts.d.ts +29 -31
  55. package/cjs/resources/Billing/Alerts.js +4 -4
  56. package/cjs/resources/Billing/Alerts.js.map +1 -1
  57. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +42 -43
  58. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  59. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +75 -77
  60. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -1
  61. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  62. package/cjs/resources/Billing/CreditGrants.d.ts +43 -45
  63. package/cjs/resources/Billing/CreditGrants.js +4 -4
  64. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  65. package/cjs/resources/Billing/MeterEventAdjustments.d.ts +10 -11
  66. package/cjs/resources/Billing/MeterEventAdjustments.js.map +1 -1
  67. package/cjs/resources/Billing/MeterEvents.d.ts +1 -1
  68. package/cjs/resources/Billing/Meters.d.ts +45 -47
  69. package/cjs/resources/Billing/Meters.js +5 -5
  70. package/cjs/resources/Billing/Meters.js.map +1 -1
  71. package/cjs/resources/Billing/index.d.ts +40 -14
  72. package/cjs/resources/Billing/index.js.map +1 -1
  73. package/cjs/resources/BillingPortal/Configurations.d.ts +148 -150
  74. package/cjs/resources/BillingPortal/Configurations.js +2 -2
  75. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  76. package/cjs/resources/BillingPortal/Sessions.d.ts +104 -105
  77. package/cjs/resources/BillingPortal/Sessions.js.map +1 -1
  78. package/cjs/resources/BillingPortal/index.d.ts +9 -4
  79. package/cjs/resources/BillingPortal/index.js.map +1 -1
  80. package/cjs/resources/Capabilities.d.ts +6 -5
  81. package/cjs/resources/Cards.d.ts +3 -3
  82. package/cjs/resources/Charges.d.ts +85 -32
  83. package/cjs/resources/Charges.js +3 -3
  84. package/cjs/resources/Charges.js.map +1 -1
  85. package/cjs/resources/Checkout/Sessions.d.ts +1823 -1575
  86. package/cjs/resources/Checkout/Sessions.js +4 -4
  87. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  88. package/cjs/resources/Checkout/index.d.ts +8 -2
  89. package/cjs/resources/Checkout/index.js.map +1 -1
  90. package/cjs/resources/Climate/Orders.d.ts +48 -50
  91. package/cjs/resources/Climate/Orders.js +3 -3
  92. package/cjs/resources/Climate/Orders.js.map +1 -1
  93. package/cjs/resources/Climate/Products.d.ts +15 -17
  94. package/cjs/resources/Climate/Products.js +1 -1
  95. package/cjs/resources/Climate/Products.js.map +1 -1
  96. package/cjs/resources/Climate/Suppliers.d.ts +26 -28
  97. package/cjs/resources/Climate/Suppliers.js +1 -1
  98. package/cjs/resources/Climate/Suppliers.js.map +1 -1
  99. package/cjs/resources/Climate/index.d.ts +15 -6
  100. package/cjs/resources/Climate/index.js.map +1 -1
  101. package/cjs/resources/ConfirmationTokens.d.ts +42 -21
  102. package/cjs/resources/ConfirmationTokens.js +1 -1
  103. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  104. package/cjs/resources/CountrySpecs.js +1 -1
  105. package/cjs/resources/CountrySpecs.js.map +1 -1
  106. package/cjs/resources/Coupons.d.ts +3 -3
  107. package/cjs/resources/Coupons.js +3 -3
  108. package/cjs/resources/Coupons.js.map +1 -1
  109. package/cjs/resources/CreditNoteLineItems.d.ts +3 -3
  110. package/cjs/resources/CreditNotes.d.ts +23 -20
  111. package/cjs/resources/CreditNotes.js +6 -4
  112. package/cjs/resources/CreditNotes.js.map +1 -1
  113. package/cjs/resources/CustomerBalanceTransactions.d.ts +2 -2
  114. package/cjs/resources/CustomerCashBalanceTransactions.d.ts +4 -3
  115. package/cjs/resources/CustomerSessions.d.ts +25 -24
  116. package/cjs/resources/CustomerSessions.js.map +1 -1
  117. package/cjs/resources/Customers.d.ts +14 -14
  118. package/cjs/resources/Customers.js +31 -27
  119. package/cjs/resources/Customers.js.map +1 -1
  120. package/cjs/resources/Discounts.d.ts +4 -4
  121. package/cjs/resources/Disputes.d.ts +43 -12
  122. package/cjs/resources/Disputes.js +4 -4
  123. package/cjs/resources/Disputes.js.map +1 -1
  124. package/cjs/resources/Entitlements/ActiveEntitlements.js +1 -1
  125. package/cjs/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  126. package/cjs/resources/Entitlements/Features.js +2 -2
  127. package/cjs/resources/Entitlements/Features.js.map +1 -1
  128. package/cjs/resources/Entitlements/index.d.ts +11 -4
  129. package/cjs/resources/Entitlements/index.js.map +1 -1
  130. package/cjs/resources/EphemeralKeys.js +1 -1
  131. package/cjs/resources/EphemeralKeys.js.map +1 -1
  132. package/cjs/resources/Events.d.ts +68 -3
  133. package/cjs/resources/Events.js +1 -1
  134. package/cjs/resources/Events.js.map +1 -1
  135. package/cjs/resources/ExchangeRates.js +1 -1
  136. package/cjs/resources/ExchangeRates.js.map +1 -1
  137. package/cjs/resources/FileLinks.js +2 -2
  138. package/cjs/resources/FileLinks.js.map +1 -1
  139. package/cjs/resources/Files.d.ts +5 -3
  140. package/cjs/resources/Files.js +6 -1
  141. package/cjs/resources/Files.js.map +1 -1
  142. package/cjs/resources/FinancialConnections/Accounts.d.ts +167 -145
  143. package/cjs/resources/FinancialConnections/Accounts.js +6 -6
  144. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  145. package/cjs/resources/FinancialConnections/Authorizations.d.ts +55 -0
  146. package/cjs/resources/FinancialConnections/Authorizations.js +4 -0
  147. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
  148. package/cjs/resources/FinancialConnections/Sessions.d.ts +115 -42
  149. package/cjs/resources/FinancialConnections/Sessions.js +1 -1
  150. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  151. package/cjs/resources/FinancialConnections/Transactions.d.ts +14 -16
  152. package/cjs/resources/FinancialConnections/Transactions.js +1 -1
  153. package/cjs/resources/FinancialConnections/Transactions.js.map +1 -1
  154. package/cjs/resources/FinancialConnections/index.d.ts +22 -6
  155. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  156. package/cjs/resources/Forwarding/Requests.d.ts +59 -61
  157. package/cjs/resources/Forwarding/Requests.js +1 -1
  158. package/cjs/resources/Forwarding/Requests.js.map +1 -1
  159. package/cjs/resources/Forwarding/index.d.ts +5 -2
  160. package/cjs/resources/Forwarding/index.js.map +1 -1
  161. package/cjs/resources/FundingInstructions.d.ts +4 -4
  162. package/cjs/resources/Identity/VerificationReports.d.ts +257 -259
  163. package/cjs/resources/Identity/VerificationReports.js +1 -1
  164. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  165. package/cjs/resources/Identity/VerificationSessions.d.ts +156 -158
  166. package/cjs/resources/Identity/VerificationSessions.js +4 -4
  167. package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
  168. package/cjs/resources/Identity/index.d.ts +12 -4
  169. package/cjs/resources/Identity/index.js.map +1 -1
  170. package/cjs/resources/InvoiceItems.d.ts +28 -0
  171. package/cjs/resources/InvoiceItems.js +3 -3
  172. package/cjs/resources/InvoiceItems.js.map +1 -1
  173. package/cjs/resources/InvoiceLineItems.d.ts +4 -4
  174. package/cjs/resources/InvoicePayments.d.ts +3 -3
  175. package/cjs/resources/InvoicePayments.js +1 -1
  176. package/cjs/resources/InvoicePayments.js.map +1 -1
  177. package/cjs/resources/InvoiceRenderingTemplates.js +3 -3
  178. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  179. package/cjs/resources/Invoices.d.ts +307 -88
  180. package/cjs/resources/Invoices.js +14 -14
  181. package/cjs/resources/Invoices.js.map +1 -1
  182. package/cjs/resources/Issuing/Authorizations.d.ts +359 -356
  183. package/cjs/resources/Issuing/Authorizations.js +4 -4
  184. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  185. package/cjs/resources/Issuing/Cardholders.d.ts +173 -145
  186. package/cjs/resources/Issuing/Cardholders.js +2 -2
  187. package/cjs/resources/Issuing/Cardholders.js.map +1 -1
  188. package/cjs/resources/Issuing/Cards.d.ts +229 -189
  189. package/cjs/resources/Issuing/Cards.js +2 -2
  190. package/cjs/resources/Issuing/Cards.js.map +1 -1
  191. package/cjs/resources/Issuing/Disputes.d.ts +230 -232
  192. package/cjs/resources/Issuing/Disputes.js +3 -3
  193. package/cjs/resources/Issuing/Disputes.js.map +1 -1
  194. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +50 -52
  195. package/cjs/resources/Issuing/PersonalizationDesigns.js +2 -2
  196. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  197. package/cjs/resources/Issuing/PhysicalBundles.d.ts +27 -29
  198. package/cjs/resources/Issuing/PhysicalBundles.js +1 -1
  199. package/cjs/resources/Issuing/PhysicalBundles.js.map +1 -1
  200. package/cjs/resources/Issuing/Tokens.d.ts +133 -135
  201. package/cjs/resources/Issuing/Tokens.js +2 -2
  202. package/cjs/resources/Issuing/Tokens.js.map +1 -1
  203. package/cjs/resources/Issuing/Transactions.d.ts +225 -227
  204. package/cjs/resources/Issuing/Transactions.js +2 -2
  205. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  206. package/cjs/resources/Issuing/index.d.ts +46 -16
  207. package/cjs/resources/Issuing/index.js.map +1 -1
  208. package/cjs/resources/LineItems.d.ts +4 -3
  209. package/cjs/resources/Mandates.d.ts +54 -10
  210. package/cjs/resources/Mandates.js +1 -1
  211. package/cjs/resources/Mandates.js.map +1 -1
  212. package/cjs/resources/OAuth.d.ts +7 -8
  213. package/cjs/resources/PaymentAttemptRecords.d.ts +81 -52
  214. package/cjs/resources/PaymentAttemptRecords.js +1 -1
  215. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  216. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
  217. package/cjs/resources/PaymentIntents.d.ts +963 -304
  218. package/cjs/resources/PaymentIntents.js +12 -10
  219. package/cjs/resources/PaymentIntents.js.map +1 -1
  220. package/cjs/resources/PaymentLinks.d.ts +217 -48
  221. package/cjs/resources/PaymentLinks.js +3 -3
  222. package/cjs/resources/PaymentLinks.js.map +1 -1
  223. package/cjs/resources/PaymentMethodConfigurations.d.ts +439 -225
  224. package/cjs/resources/PaymentMethodConfigurations.js +2 -2
  225. package/cjs/resources/PaymentMethodConfigurations.js.map +1 -1
  226. package/cjs/resources/PaymentMethodDomains.d.ts +7 -7
  227. package/cjs/resources/PaymentMethodDomains.js +3 -3
  228. package/cjs/resources/PaymentMethodDomains.js.map +1 -1
  229. package/cjs/resources/PaymentMethods.d.ts +76 -37
  230. package/cjs/resources/PaymentMethods.js +5 -5
  231. package/cjs/resources/PaymentMethods.js.map +1 -1
  232. package/cjs/resources/PaymentRecords.d.ts +113 -66
  233. package/cjs/resources/PaymentRecords.js +15 -7
  234. package/cjs/resources/PaymentRecords.js.map +1 -1
  235. package/cjs/resources/Payouts.d.ts +4 -4
  236. package/cjs/resources/Payouts.js +4 -4
  237. package/cjs/resources/Payouts.js.map +1 -1
  238. package/cjs/resources/Persons.d.ts +6 -6
  239. package/cjs/resources/Plans.d.ts +6 -6
  240. package/cjs/resources/Plans.js +3 -3
  241. package/cjs/resources/Plans.js.map +1 -1
  242. package/cjs/resources/Prices.d.ts +6 -6
  243. package/cjs/resources/Prices.js +2 -2
  244. package/cjs/resources/Prices.js.map +1 -1
  245. package/cjs/resources/Products.js +7 -7
  246. package/cjs/resources/Products.js.map +1 -1
  247. package/cjs/resources/PromotionCodes.d.ts +2 -2
  248. package/cjs/resources/PromotionCodes.js +2 -2
  249. package/cjs/resources/PromotionCodes.js.map +1 -1
  250. package/cjs/resources/Quotes.d.ts +86 -20
  251. package/cjs/resources/Quotes.js +20 -12
  252. package/cjs/resources/Quotes.js.map +1 -1
  253. package/cjs/resources/Radar/EarlyFraudWarnings.js +1 -1
  254. package/cjs/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  255. package/cjs/resources/Radar/PaymentEvaluations.d.ts +298 -300
  256. package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
  257. package/cjs/resources/Radar/ValueListItems.d.ts +14 -16
  258. package/cjs/resources/Radar/ValueListItems.js +2 -2
  259. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  260. package/cjs/resources/Radar/ValueLists.d.ts +22 -24
  261. package/cjs/resources/Radar/ValueLists.js +3 -3
  262. package/cjs/resources/Radar/ValueLists.js.map +1 -1
  263. package/cjs/resources/Radar/index.d.ts +22 -8
  264. package/cjs/resources/Radar/index.js.map +1 -1
  265. package/cjs/resources/Refunds.d.ts +21 -4
  266. package/cjs/resources/Refunds.js +3 -3
  267. package/cjs/resources/Refunds.js.map +1 -1
  268. package/cjs/resources/Reporting/ReportRuns.d.ts +35 -37
  269. package/cjs/resources/Reporting/ReportRuns.js +1 -1
  270. package/cjs/resources/Reporting/ReportRuns.js.map +1 -1
  271. package/cjs/resources/Reporting/ReportTypes.js +1 -1
  272. package/cjs/resources/Reporting/ReportTypes.js.map +1 -1
  273. package/cjs/resources/Reporting/index.d.ts +9 -4
  274. package/cjs/resources/Reporting/index.js.map +1 -1
  275. package/cjs/resources/Reserve/Holds.d.ts +32 -20
  276. package/cjs/resources/Reserve/Plans.d.ts +29 -31
  277. package/cjs/resources/Reserve/Releases.d.ts +23 -25
  278. package/cjs/resources/Reserve/index.js +1 -2
  279. package/cjs/resources/Reserve/index.js.map +1 -1
  280. package/cjs/resources/Reviews.js +2 -2
  281. package/cjs/resources/Reviews.js.map +1 -1
  282. package/cjs/resources/SetupAttempts.d.ts +24 -7
  283. package/cjs/resources/SetupIntents.d.ts +444 -118
  284. package/cjs/resources/SetupIntents.js +5 -5
  285. package/cjs/resources/SetupIntents.js.map +1 -1
  286. package/cjs/resources/ShippingRates.d.ts +5 -5
  287. package/cjs/resources/ShippingRates.js +2 -2
  288. package/cjs/resources/ShippingRates.js.map +1 -1
  289. package/cjs/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
  290. package/cjs/resources/Sigma/ScheduledQueryRuns.js +1 -1
  291. package/cjs/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  292. package/cjs/resources/Sigma/index.d.ts +4 -2
  293. package/cjs/resources/Sigma/index.js.map +1 -1
  294. package/cjs/resources/Sources.d.ts +2 -2
  295. package/cjs/resources/Sources.js +4 -4
  296. package/cjs/resources/Sources.js.map +1 -1
  297. package/cjs/resources/SubscriptionItems.d.ts +11 -25
  298. package/cjs/resources/SubscriptionItems.js +3 -3
  299. package/cjs/resources/SubscriptionItems.js.map +1 -1
  300. package/cjs/resources/SubscriptionSchedules.d.ts +168 -37
  301. package/cjs/resources/SubscriptionSchedules.js +4 -4
  302. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  303. package/cjs/resources/Subscriptions.d.ts +559 -87
  304. package/cjs/resources/Subscriptions.js +9 -9
  305. package/cjs/resources/Subscriptions.js.map +1 -1
  306. package/cjs/resources/Tax/Associations.d.ts +25 -26
  307. package/cjs/resources/Tax/Associations.js.map +1 -1
  308. package/cjs/resources/Tax/CalculationLineItems.d.ts +57 -59
  309. package/cjs/resources/Tax/Calculations.d.ts +167 -169
  310. package/cjs/resources/Tax/Calculations.js +2 -2
  311. package/cjs/resources/Tax/Calculations.js.map +1 -1
  312. package/cjs/resources/Tax/Registrations.d.ts +1226 -1194
  313. package/cjs/resources/Tax/Registrations.js +2 -2
  314. package/cjs/resources/Tax/Registrations.js.map +1 -1
  315. package/cjs/resources/Tax/Settings.d.ts +38 -40
  316. package/cjs/resources/Tax/TransactionLineItems.d.ts +12 -14
  317. package/cjs/resources/Tax/Transactions.d.ts +116 -118
  318. package/cjs/resources/Tax/Transactions.js +2 -2
  319. package/cjs/resources/Tax/Transactions.js.map +1 -1
  320. package/cjs/resources/Tax/index.d.ts +26 -10
  321. package/cjs/resources/Tax/index.js.map +1 -1
  322. package/cjs/resources/TaxCodes.js +1 -1
  323. package/cjs/resources/TaxCodes.js.map +1 -1
  324. package/cjs/resources/TaxIds.d.ts +8 -8
  325. package/cjs/resources/TaxIds.js +2 -2
  326. package/cjs/resources/TaxIds.js.map +1 -1
  327. package/cjs/resources/TaxRates.d.ts +5 -5
  328. package/cjs/resources/TaxRates.js +2 -2
  329. package/cjs/resources/TaxRates.js.map +1 -1
  330. package/cjs/resources/Terminal/Configurations.d.ts +540 -434
  331. package/cjs/resources/Terminal/Configurations.js +3 -3
  332. package/cjs/resources/Terminal/Configurations.js.map +1 -1
  333. package/cjs/resources/Terminal/Locations.d.ts +72 -74
  334. package/cjs/resources/Terminal/Locations.js +3 -3
  335. package/cjs/resources/Terminal/Locations.js.map +1 -1
  336. package/cjs/resources/Terminal/OnboardingLinks.d.ts +16 -18
  337. package/cjs/resources/Terminal/Readers.d.ts +495 -357
  338. package/cjs/resources/Terminal/Readers.js +11 -11
  339. package/cjs/resources/Terminal/Readers.js.map +1 -1
  340. package/cjs/resources/Terminal/index.d.ts +38 -10
  341. package/cjs/resources/Terminal/index.js.map +1 -1
  342. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +31 -13
  343. package/cjs/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
  344. package/cjs/resources/TestHelpers/Customers.js +1 -1
  345. package/cjs/resources/TestHelpers/Customers.js.map +1 -1
  346. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
  347. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  348. package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  349. package/cjs/resources/TestHelpers/Issuing/Cards.js +5 -5
  350. package/cjs/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  351. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
  352. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  353. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  354. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
  355. package/cjs/resources/TestHelpers/Issuing/Transactions.js +1 -1
  356. package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  357. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  358. package/cjs/resources/TestHelpers/Refunds.js +1 -1
  359. package/cjs/resources/TestHelpers/Refunds.js.map +1 -1
  360. package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
  361. package/cjs/resources/TestHelpers/Terminal/Readers.js +3 -3
  362. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  363. package/cjs/resources/TestHelpers/Terminal/index.js.map +1 -1
  364. package/cjs/resources/TestHelpers/TestClocks.d.ts +32 -30
  365. package/cjs/resources/TestHelpers/TestClocks.js +3 -3
  366. package/cjs/resources/TestHelpers/TestClocks.js.map +1 -1
  367. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
  368. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  369. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  370. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
  371. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  372. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  373. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
  374. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  375. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  376. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -1
  377. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
  378. package/cjs/resources/TestHelpers/Treasury/index.js.map +1 -1
  379. package/cjs/resources/TestHelpers/index.d.ts +8 -2
  380. package/cjs/resources/TestHelpers/index.js.map +1 -1
  381. package/cjs/resources/Tokens.d.ts +19 -9
  382. package/cjs/resources/Tokens.js +1 -1
  383. package/cjs/resources/Tokens.js.map +1 -1
  384. package/cjs/resources/Topups.d.ts +46 -0
  385. package/cjs/resources/Topups.js +3 -3
  386. package/cjs/resources/Topups.js.map +1 -1
  387. package/cjs/resources/Transfers.js +6 -6
  388. package/cjs/resources/Transfers.js.map +1 -1
  389. package/cjs/resources/Treasury/CreditReversals.d.ts +13 -15
  390. package/cjs/resources/Treasury/CreditReversals.js +1 -1
  391. package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
  392. package/cjs/resources/Treasury/DebitReversals.d.ts +21 -23
  393. package/cjs/resources/Treasury/DebitReversals.js +1 -1
  394. package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
  395. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +265 -266
  396. package/cjs/resources/Treasury/FinancialAccounts.d.ts +95 -97
  397. package/cjs/resources/Treasury/FinancialAccounts.js +5 -5
  398. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
  399. package/cjs/resources/Treasury/InboundTransfers.d.ts +81 -83
  400. package/cjs/resources/Treasury/InboundTransfers.js +2 -2
  401. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
  402. package/cjs/resources/Treasury/OutboundPayments.d.ts +131 -133
  403. package/cjs/resources/Treasury/OutboundPayments.js +2 -2
  404. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
  405. package/cjs/resources/Treasury/OutboundTransfers.d.ts +121 -123
  406. package/cjs/resources/Treasury/OutboundTransfers.js +2 -2
  407. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
  408. package/cjs/resources/Treasury/ReceivedCredits.d.ts +123 -125
  409. package/cjs/resources/Treasury/ReceivedCredits.js +1 -1
  410. package/cjs/resources/Treasury/ReceivedCredits.js.map +1 -1
  411. package/cjs/resources/Treasury/ReceivedDebits.d.ts +89 -91
  412. package/cjs/resources/Treasury/ReceivedDebits.js +1 -1
  413. package/cjs/resources/Treasury/ReceivedDebits.js.map +1 -1
  414. package/cjs/resources/Treasury/TransactionEntries.d.ts +77 -79
  415. package/cjs/resources/Treasury/TransactionEntries.js +1 -1
  416. package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
  417. package/cjs/resources/Treasury/Transactions.d.ts +89 -91
  418. package/cjs/resources/Treasury/Transactions.js +1 -1
  419. package/cjs/resources/Treasury/Transactions.js.map +1 -1
  420. package/cjs/resources/Treasury/index.d.ts +54 -20
  421. package/cjs/resources/Treasury/index.js.map +1 -1
  422. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +14 -17
  423. package/cjs/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
  424. package/cjs/resources/V2/Billing/MeterEventSession.d.ts +4 -4
  425. package/cjs/resources/V2/Billing/MeterEventSession.js +1 -1
  426. package/cjs/resources/V2/Billing/index.d.ts +9 -6
  427. package/cjs/resources/V2/Billing/index.js.map +1 -1
  428. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +99 -0
  429. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +156 -0
  430. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -0
  431. package/cjs/resources/V2/Commerce/ProductCatalog/index.d.ts +8 -0
  432. package/cjs/resources/V2/Commerce/ProductCatalog/index.js +13 -0
  433. package/cjs/resources/V2/Commerce/ProductCatalog/index.js.map +1 -0
  434. package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +184 -0
  435. package/cjs/resources/V2/Commerce/ProductCatalogImports.js +4 -0
  436. package/cjs/resources/V2/Commerce/ProductCatalogImports.js.map +1 -0
  437. package/cjs/resources/V2/Commerce/index.d.ts +13 -0
  438. package/cjs/resources/V2/Commerce/index.js +13 -0
  439. package/cjs/resources/V2/Commerce/index.js.map +1 -0
  440. package/cjs/resources/V2/Core/AccountLinks.d.ts +91 -94
  441. package/cjs/resources/V2/Core/AccountLinks.js.map +1 -1
  442. package/cjs/resources/V2/Core/AccountPersons.d.ts +370 -374
  443. package/cjs/resources/V2/Core/AccountTokens.d.ts +80 -11
  444. package/cjs/resources/V2/Core/AccountTokens.js +6 -2
  445. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  446. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +7 -6
  447. package/cjs/resources/V2/Core/Accounts/PersonTokens.js +5 -4
  448. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  449. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +10 -10
  450. package/cjs/resources/V2/Core/Accounts/Persons.js +7 -7
  451. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  452. package/cjs/resources/V2/Core/Accounts.d.ts +3156 -2914
  453. package/cjs/resources/V2/Core/Accounts.js +4 -4
  454. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  455. package/cjs/resources/V2/Core/EventDestinations.d.ts +104 -61
  456. package/cjs/resources/V2/Core/EventDestinations.js +6 -6
  457. package/cjs/resources/V2/Core/EventDestinations.js.map +1 -1
  458. package/cjs/resources/V2/Core/Events.d.ts +97 -43
  459. package/cjs/resources/V2/Core/Events.js +3 -2
  460. package/cjs/resources/V2/Core/Events.js.map +1 -1
  461. package/cjs/resources/V2/Core/index.d.ts +30 -10
  462. package/cjs/resources/V2/Core/index.js.map +1 -1
  463. package/cjs/resources/V2/index.d.ts +4 -0
  464. package/cjs/resources/V2/index.js +4 -2
  465. package/cjs/resources/V2/index.js.map +1 -1
  466. package/cjs/resources/WebhookEndpoints.d.ts +4 -4
  467. package/cjs/resources/WebhookEndpoints.js +3 -3
  468. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  469. package/cjs/resources.js +6 -0
  470. package/cjs/resources.js.map +1 -1
  471. package/cjs/shared.d.ts +5 -0
  472. package/cjs/stripe.cjs.node.d.ts +14483 -2
  473. package/cjs/stripe.cjs.node.js +1 -2
  474. package/cjs/stripe.cjs.node.js.map +1 -1
  475. package/cjs/stripe.cjs.worker.d.ts +4 -1
  476. package/cjs/stripe.cjs.worker.js +3 -1
  477. package/cjs/stripe.cjs.worker.js.map +1 -1
  478. package/cjs/stripe.core.d.ts +75 -18
  479. package/cjs/stripe.core.js +67 -7
  480. package/cjs/stripe.core.js.map +1 -1
  481. package/cjs/utils.d.ts +6 -3
  482. package/cjs/utils.js +19 -21
  483. package/cjs/utils.js.map +1 -1
  484. package/esm/Error.d.ts +61 -7
  485. package/esm/Error.js +12 -3
  486. package/esm/Error.js.map +1 -1
  487. package/esm/RequestSender.d.ts +2 -1
  488. package/esm/RequestSender.js +31 -15
  489. package/esm/RequestSender.js.map +1 -1
  490. package/esm/StripeResource.js +5 -1
  491. package/esm/StripeResource.js.map +1 -1
  492. package/esm/Types.d.ts +74 -12
  493. package/esm/Types.js.map +1 -1
  494. package/esm/Webhooks.d.ts +19 -9
  495. package/esm/Webhooks.js +48 -11
  496. package/esm/Webhooks.js.map +1 -1
  497. package/esm/apiVersion.d.ts +1 -1
  498. package/esm/apiVersion.js +1 -1
  499. package/esm/autoPagination.js +42 -5
  500. package/esm/autoPagination.js.map +1 -1
  501. package/esm/lib.d.ts +63 -6
  502. package/esm/net/FetchHttpClient.js +15 -2
  503. package/esm/net/FetchHttpClient.js.map +1 -1
  504. package/esm/net/HttpClient.js.map +1 -1
  505. package/esm/net/NodeHttpClient.js +3 -0
  506. package/esm/net/NodeHttpClient.js.map +1 -1
  507. package/esm/platform/NodePlatformFunctions.d.ts +10 -0
  508. package/esm/platform/NodePlatformFunctions.js +75 -2
  509. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  510. package/esm/platform/PlatformFunctions.d.ts +14 -0
  511. package/esm/platform/PlatformFunctions.js +24 -0
  512. package/esm/platform/PlatformFunctions.js.map +1 -1
  513. package/esm/resources/AccountLinks.d.ts +2 -1
  514. package/esm/resources/AccountLinks.js.map +1 -1
  515. package/esm/resources/AccountSessions.d.ts +92 -0
  516. package/esm/resources/Accounts.d.ts +202 -71
  517. package/esm/resources/Accounts.js +31 -21
  518. package/esm/resources/Accounts.js.map +1 -1
  519. package/esm/resources/ApplePayDomains.js +2 -2
  520. package/esm/resources/ApplePayDomains.js.map +1 -1
  521. package/esm/resources/ApplicationFees.d.ts +2 -2
  522. package/esm/resources/ApplicationFees.js +5 -5
  523. package/esm/resources/ApplicationFees.js.map +1 -1
  524. package/esm/resources/Apps/Secrets.d.ts +19 -21
  525. package/esm/resources/Apps/index.d.ts +6 -2
  526. package/esm/resources/Apps/index.js.map +1 -1
  527. package/esm/resources/BalanceSettings.d.ts +92 -6
  528. package/esm/resources/BalanceTransactions.d.ts +9 -9
  529. package/esm/resources/BalanceTransactions.js +3 -3
  530. package/esm/resources/BalanceTransactions.js.map +1 -1
  531. package/esm/resources/BankAccounts.d.ts +2 -2
  532. package/esm/resources/Billing/Alerts.d.ts +29 -31
  533. package/esm/resources/Billing/Alerts.js +4 -4
  534. package/esm/resources/Billing/Alerts.js.map +1 -1
  535. package/esm/resources/Billing/CreditBalanceSummary.d.ts +42 -43
  536. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  537. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +75 -77
  538. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -1
  539. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  540. package/esm/resources/Billing/CreditGrants.d.ts +43 -45
  541. package/esm/resources/Billing/CreditGrants.js +4 -4
  542. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  543. package/esm/resources/Billing/MeterEventAdjustments.d.ts +10 -11
  544. package/esm/resources/Billing/MeterEventAdjustments.js.map +1 -1
  545. package/esm/resources/Billing/MeterEvents.d.ts +1 -1
  546. package/esm/resources/Billing/Meters.d.ts +45 -47
  547. package/esm/resources/Billing/Meters.js +5 -5
  548. package/esm/resources/Billing/Meters.js.map +1 -1
  549. package/esm/resources/Billing/index.d.ts +40 -14
  550. package/esm/resources/Billing/index.js +2 -2
  551. package/esm/resources/Billing/index.js.map +1 -1
  552. package/esm/resources/BillingPortal/Configurations.d.ts +148 -150
  553. package/esm/resources/BillingPortal/Configurations.js +2 -2
  554. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  555. package/esm/resources/BillingPortal/Sessions.d.ts +104 -105
  556. package/esm/resources/BillingPortal/Sessions.js.map +1 -1
  557. package/esm/resources/BillingPortal/index.d.ts +9 -4
  558. package/esm/resources/BillingPortal/index.js +2 -2
  559. package/esm/resources/BillingPortal/index.js.map +1 -1
  560. package/esm/resources/Capabilities.d.ts +6 -5
  561. package/esm/resources/Cards.d.ts +3 -3
  562. package/esm/resources/Charges.d.ts +85 -32
  563. package/esm/resources/Charges.js +3 -3
  564. package/esm/resources/Charges.js.map +1 -1
  565. package/esm/resources/Checkout/Sessions.d.ts +1823 -1575
  566. package/esm/resources/Checkout/Sessions.js +4 -4
  567. package/esm/resources/Checkout/Sessions.js.map +1 -1
  568. package/esm/resources/Checkout/index.d.ts +8 -2
  569. package/esm/resources/Checkout/index.js +1 -1
  570. package/esm/resources/Checkout/index.js.map +1 -1
  571. package/esm/resources/Climate/Orders.d.ts +48 -50
  572. package/esm/resources/Climate/Orders.js +3 -3
  573. package/esm/resources/Climate/Orders.js.map +1 -1
  574. package/esm/resources/Climate/Products.d.ts +15 -17
  575. package/esm/resources/Climate/Products.js +1 -1
  576. package/esm/resources/Climate/Products.js.map +1 -1
  577. package/esm/resources/Climate/Suppliers.d.ts +26 -28
  578. package/esm/resources/Climate/Suppliers.js +1 -1
  579. package/esm/resources/Climate/Suppliers.js.map +1 -1
  580. package/esm/resources/Climate/index.d.ts +15 -6
  581. package/esm/resources/Climate/index.js +2 -2
  582. package/esm/resources/Climate/index.js.map +1 -1
  583. package/esm/resources/ConfirmationTokens.d.ts +42 -21
  584. package/esm/resources/ConfirmationTokens.js +1 -1
  585. package/esm/resources/ConfirmationTokens.js.map +1 -1
  586. package/esm/resources/CountrySpecs.js +1 -1
  587. package/esm/resources/CountrySpecs.js.map +1 -1
  588. package/esm/resources/Coupons.d.ts +3 -3
  589. package/esm/resources/Coupons.js +3 -3
  590. package/esm/resources/Coupons.js.map +1 -1
  591. package/esm/resources/CreditNoteLineItems.d.ts +3 -3
  592. package/esm/resources/CreditNotes.d.ts +23 -20
  593. package/esm/resources/CreditNotes.js +6 -4
  594. package/esm/resources/CreditNotes.js.map +1 -1
  595. package/esm/resources/CustomerBalanceTransactions.d.ts +2 -2
  596. package/esm/resources/CustomerCashBalanceTransactions.d.ts +4 -3
  597. package/esm/resources/CustomerSessions.d.ts +25 -24
  598. package/esm/resources/CustomerSessions.js.map +1 -1
  599. package/esm/resources/Customers.d.ts +14 -14
  600. package/esm/resources/Customers.js +31 -27
  601. package/esm/resources/Customers.js.map +1 -1
  602. package/esm/resources/Discounts.d.ts +4 -4
  603. package/esm/resources/Disputes.d.ts +43 -12
  604. package/esm/resources/Disputes.js +4 -4
  605. package/esm/resources/Disputes.js.map +1 -1
  606. package/esm/resources/Entitlements/ActiveEntitlements.js +1 -1
  607. package/esm/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  608. package/esm/resources/Entitlements/Features.js +2 -2
  609. package/esm/resources/Entitlements/Features.js.map +1 -1
  610. package/esm/resources/Entitlements/index.d.ts +11 -4
  611. package/esm/resources/Entitlements/index.js +1 -1
  612. package/esm/resources/Entitlements/index.js.map +1 -1
  613. package/esm/resources/EphemeralKeys.js +1 -1
  614. package/esm/resources/EphemeralKeys.js.map +1 -1
  615. package/esm/resources/Events.d.ts +68 -3
  616. package/esm/resources/Events.js +1 -1
  617. package/esm/resources/Events.js.map +1 -1
  618. package/esm/resources/ExchangeRates.js +1 -1
  619. package/esm/resources/ExchangeRates.js.map +1 -1
  620. package/esm/resources/FileLinks.js +2 -2
  621. package/esm/resources/FileLinks.js.map +1 -1
  622. package/esm/resources/Files.d.ts +5 -3
  623. package/esm/resources/Files.js +6 -1
  624. package/esm/resources/Files.js.map +1 -1
  625. package/esm/resources/FinancialConnections/Accounts.d.ts +167 -145
  626. package/esm/resources/FinancialConnections/Accounts.js +6 -6
  627. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  628. package/esm/resources/FinancialConnections/Authorizations.d.ts +55 -0
  629. package/esm/resources/FinancialConnections/Authorizations.js +3 -0
  630. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
  631. package/esm/resources/FinancialConnections/Sessions.d.ts +115 -42
  632. package/esm/resources/FinancialConnections/Sessions.js +1 -1
  633. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  634. package/esm/resources/FinancialConnections/Transactions.d.ts +14 -16
  635. package/esm/resources/FinancialConnections/Transactions.js +1 -1
  636. package/esm/resources/FinancialConnections/Transactions.js.map +1 -1
  637. package/esm/resources/FinancialConnections/index.d.ts +22 -6
  638. package/esm/resources/FinancialConnections/index.js +3 -3
  639. package/esm/resources/FinancialConnections/index.js.map +1 -1
  640. package/esm/resources/Forwarding/Requests.d.ts +59 -61
  641. package/esm/resources/Forwarding/Requests.js +1 -1
  642. package/esm/resources/Forwarding/Requests.js.map +1 -1
  643. package/esm/resources/Forwarding/index.d.ts +5 -2
  644. package/esm/resources/Forwarding/index.js +1 -1
  645. package/esm/resources/Forwarding/index.js.map +1 -1
  646. package/esm/resources/FundingInstructions.d.ts +4 -4
  647. package/esm/resources/Identity/VerificationReports.d.ts +257 -259
  648. package/esm/resources/Identity/VerificationReports.js +1 -1
  649. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  650. package/esm/resources/Identity/VerificationSessions.d.ts +156 -158
  651. package/esm/resources/Identity/VerificationSessions.js +4 -4
  652. package/esm/resources/Identity/VerificationSessions.js.map +1 -1
  653. package/esm/resources/Identity/index.d.ts +12 -4
  654. package/esm/resources/Identity/index.js.map +1 -1
  655. package/esm/resources/InvoiceItems.d.ts +28 -0
  656. package/esm/resources/InvoiceItems.js +3 -3
  657. package/esm/resources/InvoiceItems.js.map +1 -1
  658. package/esm/resources/InvoiceLineItems.d.ts +4 -4
  659. package/esm/resources/InvoicePayments.d.ts +3 -3
  660. package/esm/resources/InvoicePayments.js +1 -1
  661. package/esm/resources/InvoicePayments.js.map +1 -1
  662. package/esm/resources/InvoiceRenderingTemplates.js +3 -3
  663. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  664. package/esm/resources/Invoices.d.ts +307 -88
  665. package/esm/resources/Invoices.js +14 -14
  666. package/esm/resources/Invoices.js.map +1 -1
  667. package/esm/resources/Issuing/Authorizations.d.ts +359 -356
  668. package/esm/resources/Issuing/Authorizations.js +4 -4
  669. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  670. package/esm/resources/Issuing/Cardholders.d.ts +173 -145
  671. package/esm/resources/Issuing/Cardholders.js +2 -2
  672. package/esm/resources/Issuing/Cardholders.js.map +1 -1
  673. package/esm/resources/Issuing/Cards.d.ts +229 -189
  674. package/esm/resources/Issuing/Cards.js +2 -2
  675. package/esm/resources/Issuing/Cards.js.map +1 -1
  676. package/esm/resources/Issuing/Disputes.d.ts +230 -232
  677. package/esm/resources/Issuing/Disputes.js +3 -3
  678. package/esm/resources/Issuing/Disputes.js.map +1 -1
  679. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +50 -52
  680. package/esm/resources/Issuing/PersonalizationDesigns.js +2 -2
  681. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  682. package/esm/resources/Issuing/PhysicalBundles.d.ts +27 -29
  683. package/esm/resources/Issuing/PhysicalBundles.js +1 -1
  684. package/esm/resources/Issuing/PhysicalBundles.js.map +1 -1
  685. package/esm/resources/Issuing/Tokens.d.ts +133 -135
  686. package/esm/resources/Issuing/Tokens.js +2 -2
  687. package/esm/resources/Issuing/Tokens.js.map +1 -1
  688. package/esm/resources/Issuing/Transactions.d.ts +225 -227
  689. package/esm/resources/Issuing/Transactions.js +2 -2
  690. package/esm/resources/Issuing/Transactions.js.map +1 -1
  691. package/esm/resources/Issuing/index.d.ts +46 -16
  692. package/esm/resources/Issuing/index.js +5 -5
  693. package/esm/resources/Issuing/index.js.map +1 -1
  694. package/esm/resources/LineItems.d.ts +4 -3
  695. package/esm/resources/Mandates.d.ts +54 -10
  696. package/esm/resources/Mandates.js +1 -1
  697. package/esm/resources/Mandates.js.map +1 -1
  698. package/esm/resources/OAuth.d.ts +7 -8
  699. package/esm/resources/PaymentAttemptRecords.d.ts +81 -52
  700. package/esm/resources/PaymentAttemptRecords.js +1 -1
  701. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  702. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
  703. package/esm/resources/PaymentIntents.d.ts +963 -304
  704. package/esm/resources/PaymentIntents.js +12 -10
  705. package/esm/resources/PaymentIntents.js.map +1 -1
  706. package/esm/resources/PaymentLinks.d.ts +217 -48
  707. package/esm/resources/PaymentLinks.js +3 -3
  708. package/esm/resources/PaymentLinks.js.map +1 -1
  709. package/esm/resources/PaymentMethodConfigurations.d.ts +439 -225
  710. package/esm/resources/PaymentMethodConfigurations.js +2 -2
  711. package/esm/resources/PaymentMethodConfigurations.js.map +1 -1
  712. package/esm/resources/PaymentMethodDomains.d.ts +7 -7
  713. package/esm/resources/PaymentMethodDomains.js +3 -3
  714. package/esm/resources/PaymentMethodDomains.js.map +1 -1
  715. package/esm/resources/PaymentMethods.d.ts +76 -37
  716. package/esm/resources/PaymentMethods.js +5 -5
  717. package/esm/resources/PaymentMethods.js.map +1 -1
  718. package/esm/resources/PaymentRecords.d.ts +113 -66
  719. package/esm/resources/PaymentRecords.js +15 -7
  720. package/esm/resources/PaymentRecords.js.map +1 -1
  721. package/esm/resources/Payouts.d.ts +4 -4
  722. package/esm/resources/Payouts.js +4 -4
  723. package/esm/resources/Payouts.js.map +1 -1
  724. package/esm/resources/Persons.d.ts +6 -6
  725. package/esm/resources/Plans.d.ts +6 -6
  726. package/esm/resources/Plans.js +3 -3
  727. package/esm/resources/Plans.js.map +1 -1
  728. package/esm/resources/Prices.d.ts +6 -6
  729. package/esm/resources/Prices.js +2 -2
  730. package/esm/resources/Prices.js.map +1 -1
  731. package/esm/resources/Products.js +7 -7
  732. package/esm/resources/Products.js.map +1 -1
  733. package/esm/resources/PromotionCodes.d.ts +2 -2
  734. package/esm/resources/PromotionCodes.js +2 -2
  735. package/esm/resources/PromotionCodes.js.map +1 -1
  736. package/esm/resources/Quotes.d.ts +86 -20
  737. package/esm/resources/Quotes.js +20 -12
  738. package/esm/resources/Quotes.js.map +1 -1
  739. package/esm/resources/Radar/EarlyFraudWarnings.js +1 -1
  740. package/esm/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  741. package/esm/resources/Radar/PaymentEvaluations.d.ts +298 -300
  742. package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
  743. package/esm/resources/Radar/ValueListItems.d.ts +14 -16
  744. package/esm/resources/Radar/ValueListItems.js +2 -2
  745. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  746. package/esm/resources/Radar/ValueLists.d.ts +22 -24
  747. package/esm/resources/Radar/ValueLists.js +3 -3
  748. package/esm/resources/Radar/ValueLists.js.map +1 -1
  749. package/esm/resources/Radar/index.d.ts +22 -8
  750. package/esm/resources/Radar/index.js +2 -2
  751. package/esm/resources/Radar/index.js.map +1 -1
  752. package/esm/resources/Refunds.d.ts +21 -4
  753. package/esm/resources/Refunds.js +3 -3
  754. package/esm/resources/Refunds.js.map +1 -1
  755. package/esm/resources/Reporting/ReportRuns.d.ts +35 -37
  756. package/esm/resources/Reporting/ReportRuns.js +1 -1
  757. package/esm/resources/Reporting/ReportRuns.js.map +1 -1
  758. package/esm/resources/Reporting/ReportTypes.js +1 -1
  759. package/esm/resources/Reporting/ReportTypes.js.map +1 -1
  760. package/esm/resources/Reporting/index.d.ts +9 -4
  761. package/esm/resources/Reporting/index.js +2 -2
  762. package/esm/resources/Reporting/index.js.map +1 -1
  763. package/esm/resources/Reserve/Holds.d.ts +32 -20
  764. package/esm/resources/Reserve/Plans.d.ts +29 -31
  765. package/esm/resources/Reserve/Releases.d.ts +23 -25
  766. package/esm/resources/Reserve/index.js +1 -2
  767. package/esm/resources/Reserve/index.js.map +1 -1
  768. package/esm/resources/Reviews.js +2 -2
  769. package/esm/resources/Reviews.js.map +1 -1
  770. package/esm/resources/SetupAttempts.d.ts +24 -7
  771. package/esm/resources/SetupIntents.d.ts +444 -118
  772. package/esm/resources/SetupIntents.js +5 -5
  773. package/esm/resources/SetupIntents.js.map +1 -1
  774. package/esm/resources/ShippingRates.d.ts +5 -5
  775. package/esm/resources/ShippingRates.js +2 -2
  776. package/esm/resources/ShippingRates.js.map +1 -1
  777. package/esm/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
  778. package/esm/resources/Sigma/ScheduledQueryRuns.js +1 -1
  779. package/esm/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  780. package/esm/resources/Sigma/index.d.ts +4 -2
  781. package/esm/resources/Sigma/index.js.map +1 -1
  782. package/esm/resources/Sources.d.ts +2 -2
  783. package/esm/resources/Sources.js +4 -4
  784. package/esm/resources/Sources.js.map +1 -1
  785. package/esm/resources/SubscriptionItems.d.ts +11 -25
  786. package/esm/resources/SubscriptionItems.js +3 -3
  787. package/esm/resources/SubscriptionItems.js.map +1 -1
  788. package/esm/resources/SubscriptionSchedules.d.ts +168 -37
  789. package/esm/resources/SubscriptionSchedules.js +4 -4
  790. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  791. package/esm/resources/Subscriptions.d.ts +559 -87
  792. package/esm/resources/Subscriptions.js +9 -9
  793. package/esm/resources/Subscriptions.js.map +1 -1
  794. package/esm/resources/Tax/Associations.d.ts +25 -26
  795. package/esm/resources/Tax/Associations.js.map +1 -1
  796. package/esm/resources/Tax/CalculationLineItems.d.ts +57 -59
  797. package/esm/resources/Tax/Calculations.d.ts +167 -169
  798. package/esm/resources/Tax/Calculations.js +2 -2
  799. package/esm/resources/Tax/Calculations.js.map +1 -1
  800. package/esm/resources/Tax/Registrations.d.ts +1226 -1194
  801. package/esm/resources/Tax/Registrations.js +2 -2
  802. package/esm/resources/Tax/Registrations.js.map +1 -1
  803. package/esm/resources/Tax/Settings.d.ts +38 -40
  804. package/esm/resources/Tax/TransactionLineItems.d.ts +12 -14
  805. package/esm/resources/Tax/Transactions.d.ts +116 -118
  806. package/esm/resources/Tax/Transactions.js +2 -2
  807. package/esm/resources/Tax/Transactions.js.map +1 -1
  808. package/esm/resources/Tax/index.d.ts +26 -10
  809. package/esm/resources/Tax/index.js +4 -4
  810. package/esm/resources/Tax/index.js.map +1 -1
  811. package/esm/resources/TaxCodes.js +1 -1
  812. package/esm/resources/TaxCodes.js.map +1 -1
  813. package/esm/resources/TaxIds.d.ts +8 -8
  814. package/esm/resources/TaxIds.js +2 -2
  815. package/esm/resources/TaxIds.js.map +1 -1
  816. package/esm/resources/TaxRates.d.ts +5 -5
  817. package/esm/resources/TaxRates.js +2 -2
  818. package/esm/resources/TaxRates.js.map +1 -1
  819. package/esm/resources/Terminal/Configurations.d.ts +540 -434
  820. package/esm/resources/Terminal/Configurations.js +3 -3
  821. package/esm/resources/Terminal/Configurations.js.map +1 -1
  822. package/esm/resources/Terminal/Locations.d.ts +72 -74
  823. package/esm/resources/Terminal/Locations.js +3 -3
  824. package/esm/resources/Terminal/Locations.js.map +1 -1
  825. package/esm/resources/Terminal/OnboardingLinks.d.ts +16 -18
  826. package/esm/resources/Terminal/Readers.d.ts +495 -357
  827. package/esm/resources/Terminal/Readers.js +11 -11
  828. package/esm/resources/Terminal/Readers.js.map +1 -1
  829. package/esm/resources/Terminal/index.d.ts +38 -10
  830. package/esm/resources/Terminal/index.js +5 -5
  831. package/esm/resources/Terminal/index.js.map +1 -1
  832. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +31 -13
  833. package/esm/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
  834. package/esm/resources/TestHelpers/Customers.js +1 -1
  835. package/esm/resources/TestHelpers/Customers.js.map +1 -1
  836. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
  837. package/esm/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  838. package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  839. package/esm/resources/TestHelpers/Issuing/Cards.js +5 -5
  840. package/esm/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  841. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
  842. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  843. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  844. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
  845. package/esm/resources/TestHelpers/Issuing/Transactions.js +1 -1
  846. package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  847. package/esm/resources/TestHelpers/Issuing/index.js +3 -3
  848. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  849. package/esm/resources/TestHelpers/Refunds.js +1 -1
  850. package/esm/resources/TestHelpers/Refunds.js.map +1 -1
  851. package/esm/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
  852. package/esm/resources/TestHelpers/Terminal/Readers.js +3 -3
  853. package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  854. package/esm/resources/TestHelpers/Terminal/index.js +1 -1
  855. package/esm/resources/TestHelpers/Terminal/index.js.map +1 -1
  856. package/esm/resources/TestHelpers/TestClocks.d.ts +32 -30
  857. package/esm/resources/TestHelpers/TestClocks.js +3 -3
  858. package/esm/resources/TestHelpers/TestClocks.js.map +1 -1
  859. package/esm/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
  860. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  861. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  862. package/esm/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
  863. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  864. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  865. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
  866. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  867. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  868. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -1
  869. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
  870. package/esm/resources/TestHelpers/Treasury/index.js +5 -5
  871. package/esm/resources/TestHelpers/Treasury/index.js.map +1 -1
  872. package/esm/resources/TestHelpers/index.d.ts +8 -2
  873. package/esm/resources/TestHelpers/index.js +4 -4
  874. package/esm/resources/TestHelpers/index.js.map +1 -1
  875. package/esm/resources/Tokens.d.ts +19 -9
  876. package/esm/resources/Tokens.js +1 -1
  877. package/esm/resources/Tokens.js.map +1 -1
  878. package/esm/resources/Topups.d.ts +46 -0
  879. package/esm/resources/Topups.js +3 -3
  880. package/esm/resources/Topups.js.map +1 -1
  881. package/esm/resources/Transfers.js +6 -6
  882. package/esm/resources/Transfers.js.map +1 -1
  883. package/esm/resources/Treasury/CreditReversals.d.ts +13 -15
  884. package/esm/resources/Treasury/CreditReversals.js +1 -1
  885. package/esm/resources/Treasury/CreditReversals.js.map +1 -1
  886. package/esm/resources/Treasury/DebitReversals.d.ts +21 -23
  887. package/esm/resources/Treasury/DebitReversals.js +1 -1
  888. package/esm/resources/Treasury/DebitReversals.js.map +1 -1
  889. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +265 -266
  890. package/esm/resources/Treasury/FinancialAccounts.d.ts +95 -97
  891. package/esm/resources/Treasury/FinancialAccounts.js +5 -5
  892. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
  893. package/esm/resources/Treasury/InboundTransfers.d.ts +81 -83
  894. package/esm/resources/Treasury/InboundTransfers.js +2 -2
  895. package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
  896. package/esm/resources/Treasury/OutboundPayments.d.ts +131 -133
  897. package/esm/resources/Treasury/OutboundPayments.js +2 -2
  898. package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
  899. package/esm/resources/Treasury/OutboundTransfers.d.ts +121 -123
  900. package/esm/resources/Treasury/OutboundTransfers.js +2 -2
  901. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
  902. package/esm/resources/Treasury/ReceivedCredits.d.ts +123 -125
  903. package/esm/resources/Treasury/ReceivedCredits.js +1 -1
  904. package/esm/resources/Treasury/ReceivedCredits.js.map +1 -1
  905. package/esm/resources/Treasury/ReceivedDebits.d.ts +89 -91
  906. package/esm/resources/Treasury/ReceivedDebits.js +1 -1
  907. package/esm/resources/Treasury/ReceivedDebits.js.map +1 -1
  908. package/esm/resources/Treasury/TransactionEntries.d.ts +77 -79
  909. package/esm/resources/Treasury/TransactionEntries.js +1 -1
  910. package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
  911. package/esm/resources/Treasury/Transactions.d.ts +89 -91
  912. package/esm/resources/Treasury/Transactions.js +1 -1
  913. package/esm/resources/Treasury/Transactions.js.map +1 -1
  914. package/esm/resources/Treasury/index.d.ts +54 -20
  915. package/esm/resources/Treasury/index.js +7 -7
  916. package/esm/resources/Treasury/index.js.map +1 -1
  917. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +14 -17
  918. package/esm/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
  919. package/esm/resources/V2/Billing/MeterEventSession.d.ts +4 -4
  920. package/esm/resources/V2/Billing/MeterEventSession.js +1 -1
  921. package/esm/resources/V2/Billing/index.d.ts +9 -6
  922. package/esm/resources/V2/Billing/index.js +2 -2
  923. package/esm/resources/V2/Billing/index.js.map +1 -1
  924. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +99 -0
  925. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +152 -0
  926. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -0
  927. package/esm/resources/V2/Commerce/ProductCatalog/index.d.ts +8 -0
  928. package/esm/resources/V2/Commerce/ProductCatalog/index.js +9 -0
  929. package/esm/resources/V2/Commerce/ProductCatalog/index.js.map +1 -0
  930. package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +184 -0
  931. package/esm/resources/V2/Commerce/ProductCatalogImports.js +3 -0
  932. package/esm/resources/V2/Commerce/ProductCatalogImports.js.map +1 -0
  933. package/esm/resources/V2/Commerce/index.d.ts +13 -0
  934. package/esm/resources/V2/Commerce/index.js +9 -0
  935. package/esm/resources/V2/Commerce/index.js.map +1 -0
  936. package/esm/resources/V2/Core/AccountLinks.d.ts +91 -94
  937. package/esm/resources/V2/Core/AccountLinks.js.map +1 -1
  938. package/esm/resources/V2/Core/AccountPersons.d.ts +370 -374
  939. package/esm/resources/V2/Core/AccountTokens.d.ts +80 -11
  940. package/esm/resources/V2/Core/AccountTokens.js +6 -2
  941. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  942. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +7 -6
  943. package/esm/resources/V2/Core/Accounts/PersonTokens.js +5 -4
  944. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  945. package/esm/resources/V2/Core/Accounts/Persons.d.ts +10 -10
  946. package/esm/resources/V2/Core/Accounts/Persons.js +7 -7
  947. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  948. package/esm/resources/V2/Core/Accounts.d.ts +3156 -2914
  949. package/esm/resources/V2/Core/Accounts.js +4 -4
  950. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  951. package/esm/resources/V2/Core/EventDestinations.d.ts +104 -61
  952. package/esm/resources/V2/Core/EventDestinations.js +6 -6
  953. package/esm/resources/V2/Core/EventDestinations.js.map +1 -1
  954. package/esm/resources/V2/Core/Events.d.ts +97 -43
  955. package/esm/resources/V2/Core/Events.js +3 -2
  956. package/esm/resources/V2/Core/Events.js.map +1 -1
  957. package/esm/resources/V2/Core/index.d.ts +30 -10
  958. package/esm/resources/V2/Core/index.js +2 -2
  959. package/esm/resources/V2/Core/index.js.map +1 -1
  960. package/esm/resources/V2/index.d.ts +4 -0
  961. package/esm/resources/V2/index.js +2 -0
  962. package/esm/resources/V2/index.js.map +1 -1
  963. package/esm/resources/WebhookEndpoints.d.ts +4 -4
  964. package/esm/resources/WebhookEndpoints.js +3 -3
  965. package/esm/resources/WebhookEndpoints.js.map +1 -1
  966. package/esm/resources.js +6 -0
  967. package/esm/resources.js.map +1 -1
  968. package/esm/shared.d.ts +5 -0
  969. package/esm/stripe.core.d.ts +75 -18
  970. package/esm/stripe.core.js +68 -8
  971. package/esm/stripe.core.js.map +1 -1
  972. package/esm/stripe.esm.node.d.ts +75 -18
  973. package/esm/stripe.esm.node.js +62 -8
  974. package/esm/stripe.esm.node.js.map +1 -1
  975. package/esm/stripe.esm.worker.d.ts +1 -0
  976. package/esm/stripe.esm.worker.js +1 -0
  977. package/esm/stripe.esm.worker.js.map +1 -1
  978. package/esm/utils.d.ts +6 -3
  979. package/esm/utils.js +17 -17
  980. package/esm/utils.js.map +1 -1
  981. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,50 +1,337 @@
1
1
  # Changelog
2
2
 
3
+ ## 22.4.0 - 2026-07-29
4
+ This release changes the pinned API version to 2026-07-29.dahlia.
5
+
6
+ * [#2795](https://github.com/stripe/stripe-node/pull/2795) Update generated code
7
+ * Add support for new resource `FinancialConnections.Authorization`
8
+ * Add support for `unreject` method on resource `Account`
9
+ * Add support for `list` method on resource `PaymentRecord`
10
+ * Add support for `administrative_address` and `principal_place_of_business` on `Account.company`, `AccountCreateParams.company`, `AccountUpdateParams.company`, and `TokenCreateParams.account.company`
11
+ * Add support for `sepa_debit_payments` on `AccountUpdateParams.settings`
12
+ * Remove support for `proof_of_registration` on `AccountCreateParams.documents`. This field was limited-use and is being deprecated.
13
+ * Add support for `payouts_action` on `AccountRejectParams`
14
+ * Add support for new values `mass_transit_parking_tax` and `parking_tax` on enums `Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`, `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`, `Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type`, and `Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`
15
+ * Add support for new value `chaps` on enums `FundingInstructions.bank_transfer.financial_addresses[].supported_networks` and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks`
16
+ * Add support for `smart_disputes_management` on `AccountSession.components.disputes_list.features`, `AccountSession.components.payment_details.features`, `AccountSession.components.payment_disputes.features`, `AccountSession.components.payments.features`, `AccountSessionCreateParams.components.disputes_list.features`, `AccountSessionCreateParams.components.payment_details.features`, `AccountSessionCreateParams.components.payment_disputes.features`, and `AccountSessionCreateParams.components.payments.features`
17
+ * Add support for new value `data_share_only` on enums `Charge.payment_method_details.card.three_d_secure.result`, `PaymentAttemptRecord.payment_method_details.card.three_d_secure.result`, `PaymentRecord.payment_method_details.card.three_d_secure.result`, and `SetupAttempt.payment_method_details.card.three_d_secure.result`
18
+ * Add support for new values `bnp_paribas`, `citibank`, and `mbsb_bank` on enums `Charge.payment_method_details.fpx.bank`, `ConfirmationToken.payment_method_preview.fpx.bank`, `PaymentAttemptRecord.payment_method_details.fpx.bank`, `PaymentMethod.fpx.bank`, and `PaymentRecord.payment_method_details.fpx.bank`
19
+ * Remove support for `dynamic_tax_rates` on `Checkout.SessionCreateParams.line_items[]`. This field was limited-use and is being deprecated.
20
+ * Add support for `setup_future_usage` on `Checkout.Session.payment_method_options.payco`, `Checkout.Session.payment_method_options.samsung_pay`, `Checkout.SessionCreateParams.payment_method_options.payco`, `Checkout.SessionCreateParams.payment_method_options.samsung_pay`, `PaymentIntent.payment_method_options.payco`, `PaymentIntent.payment_method_options.samsung_pay`, `PaymentIntentConfirmParams.payment_method_options.payco`, `PaymentIntentConfirmParams.payment_method_options.samsung_pay`, `PaymentIntentCreateParams.payment_method_options.payco`, `PaymentIntentCreateParams.payment_method_options.samsung_pay`, `PaymentIntentUpdateParams.payment_method_options.payco`, `PaymentIntentUpdateParams.payment_method_options.samsung_pay`, and `PaymentLinkUpdateParams.payment_intent_data`
21
+ * Add support for new value `ic_nif` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
22
+ * Add support for new values `bnp_paribas`, `citibank`, and `mbsb_bank` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.fpx.bank`, `PaymentIntentConfirmParams.payment_method_data.fpx.bank`, `PaymentIntentCreateParams.payment_method_data.fpx.bank`, `PaymentIntentUpdateParams.payment_method_data.fpx.bank`, `PaymentMethodCreateParams.fpx.bank`, `SetupIntentConfirmParams.payment_method_data.fpx.bank`, `SetupIntentCreateParams.payment_method_data.fpx.bank`, and `SetupIntentUpdateParams.payment_method_data.fpx.bank`
23
+ * Add support for new value `ic_nif` on enums `CustomerCreateParams.tax_id_data[].type`, `CustomerCreateTaxIdParams.type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
24
+ * Add support for `network` on `Dispute.payment_method_details.card`
25
+ * Add support for new values `financial_connections.account.expected_deactivation_date_updated`, `financial_connections.account.supported_payment_method_types_updated`, `financial_connections.account.upcoming_deactivation`, `financial_connections.authorization.expected_deactivation_date_updated`, and `financial_connections.authorization.upcoming_deactivation` on enum `Event.type`
26
+ * Add support for `limits` and `manual_entry` on `FinancialConnections.SessionCreateParams` and `FinancialConnections.Session`
27
+ * Add support for `require_payment_method_support` on `FinancialConnections.Session.filters` and `FinancialConnections.SessionCreateParams.filters`
28
+ * Add support for `bank_account_token` on `FinancialConnections.Session`
29
+ * Add support for new values `alipay` and `mb_way` on enums `Invoice.payment_settings.payment_method_types`, `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `Subscription.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
30
+ * Add support for new values `mass_transit_parking_tax` and `parking_tax` on enums `InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `InvoiceLineItemUpdateParams.tax_amounts[].tax_rate_data.tax_type`, `InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
31
+ * Add support for `metadata` on `InvoiceCreatePreviewParams.subscription_details`
32
+ * Add support for new value `stripe_internal_error` on enum `Issuing.Authorization.request_history[].reason`
33
+ * Add support for `business_name` on `Issuing.Card.shipping`, `Issuing.CardCreateParams.shipping`, and `Issuing.CardUpdateParams.shipping`
34
+ * Add support for new value `correos` on enum `Issuing.Card.shipping.carrier`
35
+ * Add support for `allowed_payment_method_types` on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentUpdateParams`, `PaymentIntent`, `SetupIntentConfirmParams`, `SetupIntentCreateParams`, `SetupIntentUpdateParams`, and `SetupIntent`
36
+ * Add support for `referrer` on `PaymentIntentConfirmParams.radar_options` and `PaymentIntentCreateParams.radar_options`
37
+ * Add support for `consent_collection` and `shipping_options` on `PaymentLinkUpdateParams`
38
+ * Add support for `custom_fields`, `description`, and `footer` on `Quote.invoice_settings`, `QuoteCreateParams.invoice_settings`, `QuoteUpdateParams.invoice_settings`, `SubscriptionSchedule.default_settings.invoice_settings`, `SubscriptionSchedule.phases[].invoice_settings`, `SubscriptionScheduleCreateParams.default_settings.invoice_settings`, `SubscriptionScheduleCreateParams.phases[].invoice_settings`, `SubscriptionScheduleUpdateParams.default_settings.invoice_settings`, and `SubscriptionScheduleUpdateParams.phases[].invoice_settings`
39
+ * Add support for `customer_account` and `customer` on `Refund`
40
+ * Add support for `payment_method` on `Refund` and `Topup`
41
+ * Add support for `trial` on `SubscriptionSchedule.phases[]`
42
+ * Add support for `mass_transit_parking_tax` and `parking_tax` on `Tax.Registration.country_options.us` and `Tax.RegistrationCreateParams.country_options.us`
43
+ * Add support for new values `mass_transit_parking_tax` and `parking_tax` on enum `Tax.RegistrationCreateParams.country_options.us.type`
44
+ * Add support for new values `mass_transit_parking_tax` and `parking_tax` on enum `Tax.Registration.country_options.us.type`
45
+ * Add support for `initiated_by` and `payment_method_options` on `Topup`
46
+ * Add support for new values `financial_connections.account.expected_deactivation_date_updated`, `financial_connections.account.supported_payment_method_types_updated`, `financial_connections.account.upcoming_deactivation`, `financial_connections.authorization.expected_deactivation_date_updated`, and `financial_connections.authorization.upcoming_deactivation` on enums `WebhookEndpointCreateParams.enabled_events` and `WebhookEndpointUpdateParams.enabled_events`
47
+ * Add support for new value `2026-07-29.dahlia` on enum `WebhookEndpointCreateParams.api_version`
48
+ * Add support for `additional_addresses` on `V2.Core.Account.identity.business_details`, `V2.Core.AccountCreateParams.identity.business_details`, `V2.Core.AccountTokenCreateParams.identity.business_details`, and `V2.Core.AccountUpdateParams.identity.business_details`
49
+ * Add support for snapshot events `FinancialConnectionsAccountExpectedDeactivationDateUpdatedEvent`, `FinancialConnectionsAccountSupportedPaymentMethodTypesUpdatedEvent`, and `FinancialConnectionsAccountUpcomingDeactivationEvent` with resource `FinancialConnections.Account`
50
+ * Add support for snapshot events `FinancialConnectionsAuthorizationExpectedDeactivationDateUpdatedEvent` and `FinancialConnectionsAuthorizationUpcomingDeactivationEvent` with resource `FinancialConnections.Authorization`
51
+ * [#2790](https://github.com/stripe/stripe-node/pull/2790) Bump brace-expansion from 1.1.11 to 1.1.16
52
+ * [#2786](https://github.com/stripe/stripe-node/pull/2786) Adds shared OtherString type to better annotate non-exhaustive enums
53
+
54
+ ## 22.3.2 - 2026-07-15
55
+ * [#2784](https://github.com/stripe/stripe-node/pull/2784) Replace source hash with Telemetry UUID
56
+ * [#2783](https://github.com/stripe/stripe-node/pull/2783) Make Error fields generated
57
+
58
+ ## 22.3.1 - 2026-07-09
59
+ * [#2781](https://github.com/stripe/stripe-node/pull/2781) Remove unused Retry-After header support
60
+ * [#2779](https://github.com/stripe/stripe-node/pull/2779) Export HttpClient types as interfaces instead of classes
61
+ - `Stripe.HttpClient` and `Stripe.HttpClientResponse` types now reflect the minimal interface contract rather than the concrete class, making custom HTTP client implementations easier to type correctly.
62
+ * [#2778](https://github.com/stripe/stripe-node/pull/2778) Restore missing public type exports from v21 Stripe namespace
63
+ - Restores `Stripe.StripeConfig`, `Stripe.CryptoProvider`, `Stripe.HttpClient`, `Stripe.HttpClientResponse`, `Stripe.Webhooks`, `Stripe.Signature`, `Stripe.WebhookTestHeaderOptions`, `Stripe.StripeResource`, `Stripe.LatestApiVersion`, `Stripe.HttpAgent`, `Stripe.HttpProtocol`, and `Stripe.RawErrorType` type exports that were inadvertently dropped in the v22 type system migration.
64
+
65
+ ## 22.3.0 - 2026-06-24
66
+ This release changes the pinned API version to 2026-06-24.dahlia.
67
+
68
+ * [#2748](https://github.com/stripe/stripe-node/pull/2748) Update generated code
69
+ * Add support for `release_details` on `Reserve.Hold`
70
+ * ⚠️ Add support for new value `tax_fund` on enum `BalanceTransaction.type`
71
+ * Change `Billing.CreditGrant.priority` to be required
72
+ * Add support for `buyer_id` on `Charge.payment_method_details.bizum`, `ConfirmationToken.payment_method_preview.bizum`, `ConfirmationToken.payment_method_preview.blik`, `PaymentAttemptRecord.payment_method_details.bizum`, `PaymentMethod.bizum`, `PaymentMethod.blik`, and `PaymentRecord.payment_method_details.bizum`
73
+ * Add support for `transaction_link_id` on `Charge.payment_method_details.card`
74
+ * ⚠️ Add support for new value `sui` on enums `Charge.payment_method_details.crypto.network`, `PaymentAttemptRecord.payment_method_details.crypto.network`, and `PaymentRecord.payment_method_details.crypto.network`
75
+ * ⚠️ Add support for new value `usdsui` on enums `Charge.payment_method_details.crypto.token_currency`, `PaymentAttemptRecord.payment_method_details.crypto.token_currency`, and `PaymentRecord.payment_method_details.crypto.token_currency`
76
+ * Add support for `fingerprint` on `Charge.payment_method_details.pix`, `ConfirmationToken.payment_method_preview.pix`, `PaymentMethod.pix`, and `SetupAttempt.payment_method_details.pix`
77
+ * Add support for `sunbit` on `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
78
+ * Add support for `billing_cycle_anchor_config` on `Checkout.SessionCreateParams.subscription_data`
79
+ * Add support for `wechat_pay` on `Checkout.Session.payment_method_options`
80
+ * Add support for `mastercard_compliance` on `Dispute.evidence.enhanced_evidence`, `Dispute.evidence_details.enhanced_eligibility`, and `DisputeUpdateParams.evidence.enhanced_evidence`
81
+ * ⚠️ Add support for new value `mastercard_compliance` on enum `Dispute.enhanced_eligibility_types`
82
+ * Add support for `status_details` on `FinancialConnections.Account`
83
+ * ⚠️ Add support for new value `validated` on enum `Identity.VerificationSession.redaction.status`
84
+ * Add support for new value `satispay` on enums `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
85
+ * ⚠️ Add support for new value `satispay` on enums `Invoice.payment_settings.payment_method_types` and `Subscription.payment_settings.payment_method_types`
86
+ * ⚠️ Remove support for `stored_credential_usage` on `PaymentAttemptRecord.payment_method_details.card` and `PaymentRecord.payment_method_details.card`
87
+ * ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.description` and `PaymentRecord.payment_method_details.card.description` to be optional
88
+ * ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.iin` and `PaymentRecord.payment_method_details.card.iin` to be optional
89
+ * ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.issuer` and `PaymentRecord.payment_method_details.card.issuer` to be optional
90
+ * Add support for `setup_future_usage` on `PaymentIntent.payment_method_options.satispay`, `PaymentIntentConfirmParams.payment_method_options.satispay`, `PaymentIntentCreateParams.payment_method_options.satispay`, and `PaymentIntentUpdateParams.payment_method_options.satispay`
91
+ * Change `PaymentRecordReportRefundParams.refunded` to be optional
92
+ * Add support for `satispay` on `SetupAttempt.payment_method_details`
93
+ * Add support for `custom_fields`, `description`, and `footer` on `Subscription.invoice_settings`, `SubscriptionCreateParams.invoice_settings`, and `SubscriptionUpdateParams.invoice_settings`
94
+ * Add support for `payment_method_options` and `payment_method` on `TopupCreateParams`
95
+ * Add support for new value `2026-06-24.dahlia` on enum `WebhookEndpointCreateParams.api_version`
96
+ * Add support for `mode` on `V2.Commerce.ProductCatalogImport`
97
+ * ⚠️ Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImport.feed_type`
98
+ * Add support for `sunbit_payments` on `V2.Core.Account.configuration.merchant.capabilities`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities`, and `V2.Core.AccountUpdateParams.configuration.merchant.capabilities`
99
+ * Add support for `crypto_money_manager` and `money_manager` on `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service`
100
+ * ⚠️ Remove support for `crypto_storer` and `storer` on `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service`
101
+ * Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImportCreateParams.feed_type`
102
+ * ⚠️ Add support for new value `sunbit_payments` on enum `EventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.updated_capability`
103
+ * Add support for error codes `anomalous_money_movement_request`, `failed_tax_calculation`, `financial_account_balance_does_not_support_currency`, `financial_account_capability_not_enabled`, and `financial_account_capability_restricted` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, `StripeError`, and `Terminal.Reader.action.api_error`
104
+ * [#2765](https://github.com/stripe/stripe-node/pull/2765) fix: CJS companion namespace access for resource types at all depths
105
+
106
+ - Fixes TypeScript type access for nested namespaces in CJS mode (e.g. `Stripe.Price.Recurring`, `Stripe.Subscription.BillingMode`)
107
+ - Fixes TypeScript type access for nested resource types e.g. `Stripe.Billing.Alert.Status`, `Stripe.Terminal.Configuration.Tipping` in both ESM and CJS modes.
108
+
109
+ ## 22.2.3 - 2026-06-22
110
+ * [#2761](https://github.com/stripe/stripe-node/pull/2761) Encode URI path params in `accounts.retrieve`
111
+
112
+ ## 22.2.2 - 2026-06-18
113
+ * [#2725](https://github.com/stripe/stripe-node/pull/2725) Fixes CJS type exports for stripe package (reported in [#2683](https://github.com/stripe/stripe-node/issues/2683))
114
+ * [#2758](https://github.com/stripe/stripe-node/pull/2758) Fix `Stripe.ErrorType.StripeError` incorrectly being usable as a runtime class (reported in [#2661](https://github.com/stripe/stripe-node/issues/2661))
115
+ * [#2753](https://github.com/stripe/stripe-node/pull/2753) handle shadowed namespaces (reported in [#2691](https://github.com/stripe/stripe-node/issues/2691))
116
+
117
+ ## 22.2.1 - 2026-06-12
118
+ * [#2750](https://github.com/stripe/stripe-node/pull/2750) URI Encode path params
119
+ * [#2747](https://github.com/stripe/stripe-node/pull/2747) Fix V2ListIterator: concurrency guard and empty page handling
120
+ * [#2740](https://github.com/stripe/stripe-node/pull/2740) Add "source" field to user-agent header
121
+ * [#2734](https://github.com/stripe/stripe-node/pull/2734) Fix parseHttpHeaderAsNumber to return undefined instead of NaN
122
+
123
+ ## 22.2.0 - 2026-05-27
124
+ This release changes the pinned API version to 2026-05-27.dahlia.
125
+
126
+ * [#2710](https://github.com/stripe/stripe-node/pull/2710) Update generated code
127
+ * Add support for new resource `V2.Commerce.ProductCatalogImport`
128
+ * Add support for `create` and `retrieve` methods on resource `V2.Commerce.ProductCatalogImport`
129
+ * Add support for `bizum_payments` and `scalapay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
130
+ * Add support for `automatic_transfer_rules_by_currency` on `BalanceSettingUpdateParams.payments.payouts` and `BalanceSettings.payments.payouts`
131
+ * Add support for `start_of_day` on `BalanceSettingUpdateParams.payments.settlement_timing` and `BalanceSettings.payments.settlement_timing`
132
+ * Add support for `description` on `ChargeCreateParams.transfer_data`, `PaymentIntent.transfer_data`, `PaymentIntentCreateParams.transfer_data`, and `PaymentIntentUpdateParams.transfer_data`
133
+ * Add support for `bizum` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentAttemptRecord.payment_method_details`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.payment_method_details`, `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentCreateParams.payment_method_options`, `SetupIntentUpdateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_options`
134
+ * Add support for `scalapay` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentAttemptRecord.payment_method_details`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.payment_method_details`, `Refund.destination_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
135
+ * Add support for `mandate` on `Charge.payment_method_details.twint`, `PaymentAttemptRecord.payment_method_details.twint`, and `PaymentRecord.payment_method_details.twint`
136
+ * Add support for new values `bizum` and `scalapay` on enums `Checkout.SessionCreateParams.excluded_payment_method_types`, `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentUpdateParams.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, and `SetupIntentUpdateParams.excluded_payment_method_types`
137
+ * Change type of `Checkout.SessionCreateParams.payment_method_options.twint.setup_future_usage`, `PaymentIntentConfirmParams.payment_method_options.twint.setup_future_usage`, `PaymentIntentCreateParams.payment_method_options.twint.setup_future_usage`, and `PaymentIntentUpdateParams.payment_method_options.twint.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')`
138
+ * Add support for new values `bizum` and `scalapay` on enum `Checkout.SessionCreateParams.payment_method_types`
139
+ * ⚠️ Change type of `Checkout.Session.payment_method_options.twint.setup_future_usage` and `PaymentIntent.payment_method_options.twint.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')`
140
+ * Add support for new values `bizum` and `scalapay` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
141
+ * ⚠️ Add support for new values `bizum` and `scalapay` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
142
+ * Add support for new values `bizum` and `scalapay` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
143
+ * Add support for `credited_items` on `InvoiceItem.proration_details`
144
+ * Add support for new value `twint` on enums `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
145
+ * Add support for `discountable` on `InvoiceCreatePreviewParams.schedule_details.phases[].add_invoice_items[]`, `SubscriptionCreateParams.add_invoice_items[]`, `SubscriptionSchedule.phases[].add_invoice_items[]`, `SubscriptionScheduleCreateParams.phases[].add_invoice_items[]`, `SubscriptionScheduleUpdateParams.phases[].add_invoice_items[]`, and `SubscriptionUpdateParams.add_invoice_items[]`
146
+ * Add support for `billing_schedules` on `InvoiceCreatePreviewParams.subscription_details`, `SubscriptionCreateParams`, `SubscriptionUpdateParams`, and `Subscription`
147
+ * Add support for new value `max_billed_until` on enums `InvoiceCreatePreviewParams.subscription_details.cancel_at`, `SubscriptionCreateParams.cancel_at`, and `SubscriptionUpdateParams.cancel_at`
148
+ * Add support for `amount_paid_off_stripe` on `Invoice`
149
+ * ⚠️ Add support for new value `twint` on enums `Invoice.payment_settings.payment_method_types` and `Subscription.payment_settings.payment_method_types`
150
+ * Add support for `twint` on `Mandate.payment_method_details` and `SetupAttempt.payment_method_details`
151
+ * Add support for `metadata` on `PaymentIntent.transfer_data`, `PaymentIntentCreateParams.transfer_data`, `PaymentIntentUpdateParams.transfer_data`, and `Subscription.pending_update`
152
+ * Add support for `payment_data` on `PaymentIntent.transfer_data`, `PaymentIntentCreateParams.transfer_data`, and `PaymentIntentUpdateParams.transfer_data`
153
+ * ⚠️ Add support for new values `bizum` and `scalapay` on enums `PaymentIntent.excluded_payment_method_types` and `SetupIntent.excluded_payment_method_types`
154
+ * Add support for `blik_authorize` on `PaymentIntent.next_action` and `SetupIntent.next_action`
155
+ * Add support for `payment_method_options` on `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
156
+ * Add support for new value `bizum` on enums `PaymentLinkCreateParams.payment_method_types` and `PaymentLinkUpdateParams.payment_method_types`
157
+ * ⚠️ Add support for new value `bizum` on enum `PaymentLink.payment_method_types`
158
+ * Add support for `active` on `PaymentMethodConfigurationListParams`
159
+ * Add support for `billed_until` on `SubscriptionItem`
160
+ * Add support for `discount` and `discounts` on `Subscription.pending_update`
161
+ * Add support for `verifone_m425`, `verifone_p630`, `verifone_ux700`, and `verifone_v660p` on `Terminal.ConfigurationCreateParams`, `Terminal.ConfigurationUpdateParams`, and `Terminal.Configuration`
162
+ * Add support for new values `simulated_verifone_m425`, `simulated_verifone_p630`, `simulated_verifone_ux700`, `simulated_verifone_v660p`, `verifone_m425`, `verifone_p630`, `verifone_ux700`, and `verifone_v660p` on enum `Terminal.ReaderListParams.device_type`
163
+ * Add support for `api_error` and `print_content` on `Terminal.Reader.action`
164
+ * ⚠️ Add support for new value `print_content` on enum `Terminal.Reader.action.type`
165
+ * ⚠️ Add support for new values `simulated_verifone_m425`, `simulated_verifone_p630`, `simulated_verifone_ux700`, `simulated_verifone_v660p`, `verifone_m425`, `verifone_p630`, `verifone_ux700`, and `verifone_v660p` on enum `Terminal.Reader.device_type`
166
+ * Add support for `customer` on `TestHelpers.TestClockCreateParams`
167
+ * Add support for new value `2026-05-27.dahlia` on enum `WebhookEndpointCreateParams.api_version`
168
+ * Add support for `signer` on `V2.Core.Account.identity.business_details.documents.proof_of_registration`, `V2.Core.Account.identity.business_details.documents.proof_of_ultimate_beneficial_ownership`, `V2.Core.AccountCreateParams.identity.business_details.documents.proof_of_registration`, `V2.Core.AccountCreateParams.identity.business_details.documents.proof_of_ultimate_beneficial_ownership`, `V2.Core.AccountTokenCreateParams.identity.business_details.documents.proof_of_registration`, `V2.Core.AccountTokenCreateParams.identity.business_details.documents.proof_of_ultimate_beneficial_ownership`, `V2.Core.AccountUpdateParams.identity.business_details.documents.proof_of_registration`, and `V2.Core.AccountUpdateParams.identity.business_details.documents.proof_of_ultimate_beneficial_ownership`
169
+ * Add support for `azure_event_grid` on `V2.Core.EventDestinationCreateParams` and `V2.Core.EventDestination`
170
+ * ⚠️ Add support for new value `no_azure_partner_topic_exists` on enum `V2.Core.EventDestination.status_details.disabled.reason`
171
+ * ⚠️ Add support for new value `azure_event_grid` on enum `V2.Core.EventDestination.type`
172
+ * Add support for new value `azure_event_grid` on enum `V2.Core.EventDestinationCreateParams.type`
173
+ * ⚠️ Add support for new value `meter_event_value_too_many_digits` on enums `EventsV1BillingMeterErrorReportTriggeredEvent.reason.error_types[].code` and `EventsV1BillingMeterNoMeterFoundEvent.reason.error_types[].code`
174
+ * Add support for event notifications `V2CommerceProductCatalogImportsFailedEvent`, `V2CommerceProductCatalogImportsProcessingEvent`, `V2CommerceProductCatalogImportsSucceededEvent`, and `V2CommerceProductCatalogImportsSucceededWithErrorsEvent` with related object `V2.Commerce.ProductCatalogImport`
175
+ * Add support for error codes `payment_method_microdeposit_processing_error` and `siret_invalid` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError`
176
+ * [#2723](https://github.com/stripe/stripe-node/pull/2723) Emit warning when `stripe-notify` header is present in response
177
+ * [#2717](https://github.com/stripe/stripe-node/pull/2717) Add V2List and V2ListPromise types for v2 list endpoints
178
+ * Adds `V2List` and `V2ListPromise` types to represent API v2 list responses. These types include deprecated fields from the previously returned list shapes. These fields will be removed in the next major release.
179
+ * [#2715](https://github.com/stripe/stripe-node/pull/2715) Add WinterTC compatibility ESLint rule
180
+ * [#2711](https://github.com/stripe/stripe-node/pull/2711) Export manually maintained types for OAuthToken and OAuth param classes
181
+ ```ts
182
+ // ❌ Before (v22.0.0-v22.1.1)
183
+ const oAuthToken: Stripe.OAuthToken = {};
184
+
185
+ // ✅ After (works on v22.1.2+)
186
+ const oAuthToken: Stripe.OAuthToken = {};
187
+ ```
188
+ * [#2712](https://github.com/stripe/stripe-node/pull/2712) Exported types for nested param classes
189
+ * Types inside nested param class namespaces(e.g. `Stripe.V2.Core.AccountCreateParams.Configuration`, `Stripe.V2.Core.AccountCreateParams.Dashboard`) are now accessible.
190
+
191
+ ## 22.1.1 - 2026-05-06
192
+ * [#2703](https://github.com/stripe/stripe-node/pull/2703) Export Decimal type from Stripe namespace
193
+
194
+ - Added `Stripe.Decimal` as a usable type in the `Stripe` namespace, enabling type annotations like `function takesDecimal(d: Stripe.Decimal)`.
195
+ * [#2704](https://github.com/stripe/stripe-node/pull/2704) Fix file upload regression: restore multipart request data processor
196
+
197
+ - Fixed file uploads failing with `StripeInvalidRequestError` on the `/v1/files` endpoint since v22.
198
+
199
+ ## 22.1.0 - 2026-04-23
200
+ This release changes the pinned API version to 2026-04-22.dahlia.
201
+
202
+ * [#2639](https://github.com/stripe/stripe-node/pull/2639) Update generated code
203
+ * Add support for `app_distribution` and `sunbit_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
204
+ * Add support for `balance_report` and `payout_reconciliation_report` on `AccountSession.components` and `AccountSessionCreateParams.components`
205
+ * ⚠️ Add support for new values `fee_credit_funding`, `inbound_transfer_reversal`, and `inbound_transfer` on enum `BalanceTransaction.type`
206
+ * Add support for `sunbit` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentAttemptRecord.payment_method_details`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.payment_method_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
207
+ * ⚠️ Add support for new values `phantom_cash` and `usdt` on enums `Charge.payment_method_details.crypto.token_currency`, `PaymentAttemptRecord.payment_method_details.crypto.token_currency`, and `PaymentRecord.payment_method_details.crypto.token_currency`
208
+ * Add support for `location` and `reader` on `Charge.payment_method_details.klarna`, `PaymentAttemptRecord.payment_method_details.klarna`, and `PaymentRecord.payment_method_details.klarna`
209
+ * Add support for `mandate` on `Charge.payment_method_details.pix`, `PaymentAttemptRecord.payment_method_details.pix`, and `PaymentRecord.payment_method_details.pix`
210
+ * Add support for `managed_payments` on `Checkout.SessionCreateParams`, `Checkout.Session`, `PaymentIntent`, `PaymentLinkCreateParams`, `PaymentLink`, `SetupIntent`, and `Subscription`
211
+ * Add support for new value `sunbit` on enums `Checkout.SessionCreateParams.excluded_payment_method_types`, `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentUpdateParams.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, and `SetupIntentUpdateParams.excluded_payment_method_types`
212
+ * Add support for `mandate_options` on `Checkout.Session.payment_method_options.pix`, `Checkout.SessionCreateParams.payment_method_options.pix`, `PaymentIntent.payment_method_options.pix`, `PaymentIntentConfirmParams.payment_method_options.pix`, `PaymentIntentCreateParams.payment_method_options.pix`, and `PaymentIntentUpdateParams.payment_method_options.pix`
213
+ * Change type of `Checkout.SessionCreateParams.payment_method_options.pix.setup_future_usage`, `PaymentIntentConfirmParams.payment_method_options.pix.setup_future_usage`, `PaymentIntentCreateParams.payment_method_options.pix.setup_future_usage`, and `PaymentIntentUpdateParams.payment_method_options.pix.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')`
214
+ * Add support for new value `sunbit` on enum `Checkout.SessionCreateParams.payment_method_types`
215
+ * ⚠️ Add support for new values `fo_vat`, `gi_tin`, `it_cf`, and `py_ruc` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
216
+ * ⚠️ Change type of `Checkout.Session.payment_method_options.pix.setup_future_usage` and `PaymentIntent.payment_method_options.pix.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')`
217
+ * Add support for new value `sunbit` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
218
+ * ⚠️ Add support for new value `sunbit` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
219
+ * Add support for new values `fo_vat`, `gi_tin`, `it_cf`, and `py_ruc` on enums `CustomerCreateParams.tax_id_data[].type`, `CustomerCreateTaxIdParams.type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
220
+ * Add support for new value `sunbit` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
221
+ * Add support for `pix` on `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, `InvoiceUpdateParams.payment_settings.payment_method_options`, `Mandate.payment_method_details`, `SetupAttempt.payment_method_details`, `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, `SetupIntentUpdateParams.payment_method_options`, `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options`
222
+ * Add support for `upi` on `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, `InvoiceUpdateParams.payment_settings.payment_method_options`, `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options`
223
+ * Add support for new values `pix` and `upi` on enums `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
224
+ * ⚠️ Add support for new values `pix` and `upi` on enums `Invoice.payment_settings.payment_method_types` and `Subscription.payment_settings.payment_method_types`
225
+ * Add support for `card_presence` on `Issuing.Authorization`
226
+ * Add support for `allowed_card_presences` and `blocked_card_presences` on `Issuing.Card.spending_controls`, `Issuing.CardCreateParams.spending_controls`, `Issuing.CardUpdateParams.spending_controls`, `Issuing.Cardholder.spending_controls`, `Issuing.CardholderCreateParams.spending_controls`, and `Issuing.CardholderUpdateParams.spending_controls`
227
+ * ⚠️ Add support for new value `fulfillment_error` on enum `Issuing.Card.cancellation_reason`
228
+ * ⚠️ Add support for new value `fulfillment_error` on enum `Issuing.Card.replacement_reason`
229
+ * Add support for `amount` and `currency` on `Mandate.multi_use`
230
+ * Add support for `amount_to_confirm` on `PaymentIntentConfirmParams`
231
+ * ⚠️ Add support for new value `sunbit` on enums `PaymentIntent.excluded_payment_method_types` and `SetupIntent.excluded_payment_method_types`
232
+ * Add support for `klarna_display_qr_code` on `PaymentIntent.next_action`
233
+ * Add support for new value `sunbit` on enums `PaymentLinkCreateParams.payment_method_types` and `PaymentLinkUpdateParams.payment_method_types`
234
+ * ⚠️ Add support for new value `sunbit` on enum `PaymentLink.payment_method_types`
235
+ * ⚠️ Add support for new values `low`, `not_assessed`, and `unknown` on enum `Radar.PaymentEvaluation.signals.fraudulent_payment.risk_level`
236
+ * Add support for new value `account` on enum `Radar.ValueListCreateParams.item_type`
237
+ * ⚠️ Add support for new value `account` on enum `Radar.ValueList.item_type`
238
+ * Add support for `moto` on `SetupAttempt.payment_method_details.card`
239
+ * Add support for `pix_display_qr_code` on `SetupIntent.next_action`
240
+ * Add support for new value `2026-04-22.dahlia` on enum `WebhookEndpointCreateParams.api_version`
241
+ * Add support for error codes `action_blocked` and `approval_required` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError`
242
+ * [#2688](https://github.com/stripe/stripe-node/pull/2688) Preserve stack traces for async operations
243
+
244
+ ## 22.0.2 - 2026-04-16
245
+ * [#2685](https://github.com/stripe/stripe-node/pull/2685) Adds `parseEventNotificationAsync` to match existing sync function
246
+ * [#2681](https://github.com/stripe/stripe-node/pull/2681) Add emitEventBodies config to include bodies in request/response events
247
+ - Added `emitEventBodies` config option to include request and response bodies in `request`/`response` events.
248
+ - Changed `httpClient` config type from `HttpClient` class to `HttpClientInterface` interface.
249
+ * [#2670](https://github.com/stripe/stripe-node/pull/2670) tolerance, receivedAt, timestamp are now optional in Webhook.ts
250
+ * [#2677](https://github.com/stripe/stripe-node/pull/2677) Fixed named export for Bun
251
+ ```ts
252
+ // ✅ Fixed
253
+ import { Stripe } from 'stripe';
254
+ ```
255
+
256
+ ## 22.0.1 - 2026-04-08
257
+ * [#2669](https://github.com/stripe/stripe-node/pull/2669) Add constructor based initialization for CJS based TypeScript imports
258
+ * Initialization of Stripe class with `new` keyword is now possible for CJS based TypeScript project. Resolves: [2660](https://github.com/stripe/stripe-node/issues/2660)
259
+ ```ts
260
+ import Stripe = require('stripe');
261
+ // ✅ Both statements work
262
+ const stripeNew: Stripe.Stripe = new Stripe('sk_test_...');
263
+ const stripeCalled: Stripe.Stripe = Stripe('sk_test_...');
264
+ ```
265
+ * [#2664](https://github.com/stripe/stripe-node/pull/2664) Fixed nested service param exports in the Stripe namespace
266
+ * Resolves: [2658](https://github.com/stripe/stripe-node/issues/2658), [2662](https://github.com/stripe/stripe-node/issues/2662)
267
+ * [#2667](https://github.com/stripe/stripe-node/pull/2667) Add type safety to Stripe constructor config (no runtime change)
268
+ - Fixed some compile-time checks (no runtime changes)
269
+ - Fixed `Stripe` constructor config parameter to use `StripeConfig` type instead of `Record<string, unknown>`, restoring compile-time type safety.
270
+ - Added missing `authenticator` property to `StripeConfig`.
271
+ - Fixed `Stripe.API_VERSION` to retain the literal API version type.
272
+ - Fixed `StripeConfig.stripeContext` to accept `StripeContext` objects in addition to strings.
273
+ * [#2663](https://github.com/stripe/stripe-node/pull/2663) Throw a more descriptive error when calling `rawRequest` with absolute urls
274
+ * [#2652](https://github.com/stripe/stripe-node/pull/2652) Added `string[]` to `WebhookHeader` type for compatibility with express
275
+ * Added `string[]` to the type of `signature` param in `stripe.webhooks.construct_event` method.
276
+
3
277
  ## 22.0.0 - 2026-04-02
4
- * [#2642](https://github.com/stripe/stripe-node/pull/2642) Update README.md
278
+ This release uses the same pinned API version to `2026-03-25.dahlia` as the last major release. The breaking changes in this release are prefixed with ⚠️ below. There's also a [detailed migration guide](https://github.com/stripe/stripe-node/wiki/Migration-guide-for-v22) to simplify your upgrade process.
279
+
280
+ * [#2619](https://github.com/stripe/stripe-node/pull/2619) Improved TypeScript support in the Node SDK
281
+ * Moved the types from the partially manually maintained and partially generated types folder to be inline with the implementation in TypeScript files.
282
+ * Removed top-level “stripe” ambient module. This allows import aliasing for the stripe package.
283
+ * ⚠️ `Stripe.StripeContext` is no longer exported as a type. Use `Stripe.StripeContextType` instead.
284
+ * ⚠️ `Stripe.errors.StripeError` is no longer a type. Use `typeof Stripe.errors.StripeError` or `Stripe.ErrorType` instead.
285
+ * ⚠️ CJS entry point no longer exports .default or .Stripe as separate properties.
286
+ * ⚠️ Stripe import is now a true ES6 class. Use `new Stripe()` to create a StripeClient instead of calling it:
287
+ ```javascript
288
+ // Before
289
+ const stripeClient = Stripe("sk_test_...");
290
+
291
+ // After
292
+ const stripeClient = new Stripe("sk_test_...");
293
+ ```
5
294
  * [#2645](https://github.com/stripe/stripe-node/pull/2645) ⚠️ Remove `stripeMethod` and standardize how function args are handled (including removing callback support)
6
-
7
- - ⚠️ Refactor how incoming method arguments are parsed. Type signatures for API methods should be _much_ more accurate and reliable now
8
- - ⚠️ Remove support for providing callbacks to API methods. Use `async / await` instead
9
- - ⚠️ Remove support for passing a plain API key as a function arg. If supplied on a per-request basis, it should be in the `RequestOptions` under the `apiKey` property
10
- - ⚠️ Keys from `params` and `options` objects are no longer mixed. If present on a method, `RequestParams` must always come first and `RequestOptions` must always come second. To supply options without params, pass `undefined` as the first argument explicitly
11
- - ⚠️ Removed methods from `StripeResource`: `createFullPath`, `createResourcePathWithSymbols`, `extend`, `method` and `_joinUrlParts`. These were mostly intended for internal use and we no longer need them
12
-
13
- As a result, the following call patterns are no longer supported:
14
-
15
- ```ts
16
- stripe.customers.retrieve('cus_123', 'sk_test_123')
17
- stripe.customers.create({name: 'david', host: 'example.com'}, 'sk_test_123')
18
- stripe.customers.create({apiKey: 'sk_test_123'})
19
- stripe.customers.list(customers => {
20
- // do something with customers
21
- })
22
- ```
23
-
295
+
296
+ - ⚠️ Refactor how incoming method arguments are parsed. Type signatures for API methods should be _much_ more accurate and reliable now
297
+ - ⚠️ Remove support for providing callbacks to API methods. Use `async / await` instead
298
+ - ⚠️ Remove support for passing a plain API key as a function arg. If supplied on a per-request basis, it should be in the `RequestOptions` under the `apiKey` property
299
+ - ⚠️ Keys from `params` and `options` objects are no longer mixed. If present on a method, `RequestParams` must always come first and `RequestOptions` must always come second. To supply options without params, pass `undefined` as the first argument explicitly
300
+ - ⚠️ Removed methods from `StripeResource`: `createFullPath`, `createResourcePathWithSymbols`, `extend`, `method` and `_joinUrlParts`. These were mostly intended for internal use and we no longer need them
301
+
302
+ As a result, the following call patterns are no longer supported:
303
+
304
+ ```ts
305
+ stripe.customers.retrieve('cus_123', 'sk_test_123')
306
+ stripe.customers.create({name: 'david', host: 'example.com'}, 'sk_test_123')
307
+ stripe.customers.create({apiKey: 'sk_test_123'})
308
+ stripe.customers.list(customers => {
309
+ // do something with customers
310
+ })
311
+ ```
312
+
24
313
  If those look familiar, head over to the [migration guide](https://github.com/stripe/stripe-node/wiki/Migration-guide-for-v22) to update your code.
25
- * [#2643](https://github.com/stripe/stripe-node/pull/2643) ⚠️ remove support for overriding host per-request
26
-
27
- - ⚠️ Removed per-request host override. To use a custom host, set it in the client configuration. All requests from that client will use that host.
28
-
29
- Before:
30
- ```ts
31
- import Stripe from 'stripe';
32
- const stripe = new Stripe('sk_test_...');
33
-
34
- const customer = await stripe.customers.create({
35
- email: 'customer@example.com',
36
- }, {host: 'example.com'});
37
- ```
38
-
39
- After:
40
- ```ts
41
- import Stripe from 'stripe';
42
- const stripe = new Stripe('sk_test_...', {host: 'example.com'});
43
-
44
- // goes to example.com
45
- const customer = await stripe.customers.create({
46
- email: 'customer@example.com',
47
- });
314
+ * [#2643](https://github.com/stripe/stripe-node/pull/2643) ⚠️ Removed per-request host override. To use a custom host, set it in the client configuration. All requests from that client will use that host.
315
+
316
+ Before:
317
+ ```ts
318
+ import Stripe from 'stripe';
319
+ const stripe = new Stripe('sk_test_...');
320
+
321
+ const customer = await stripe.customers.create({
322
+ email: 'customer@example.com',
323
+ }, {host: 'example.com'});
324
+ ```
325
+
326
+ After:
327
+ ```ts
328
+ import Stripe from 'stripe';
329
+ const stripe = new Stripe('sk_test_...', {host: 'example.com'});
330
+
331
+ // goes to example.com
332
+ const customer = await stripe.customers.create({
333
+ email: 'customer@example.com',
334
+ });
48
335
  ```
49
336
  * [#2619](https://github.com/stripe/stripe-node/pull/2619) Improved TypeScript support in the Node SDK
50
337
  * [#2638](https://github.com/stripe/stripe-node/pull/2638) Converted V2/Amount.ts to V2/V2Amount.ts
package/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v2206
1
+ v2349
package/README.md CHANGED
@@ -13,8 +13,8 @@ npm install @depup/stripe
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [stripe](https://www.npmjs.com/package/stripe) @ 22.0.0 |
17
- | Processed | 2026-04-03 |
16
+ | Original | [stripe](https://www.npmjs.com/package/stripe) @ 22.4.0 |
17
+ | Processed | 2026-08-02 |
18
18
  | Smoke test | passed |
19
19
  | Deps updated | 0 |
20
20
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 22.0.0
1
+ 22.4.0
package/changes.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "bumped": {},
3
- "timestamp": "2026-04-03T00:40:21.034Z",
3
+ "timestamp": "2026-08-02T00:58:43.638Z",
4
4
  "totalUpdated": 0
5
5
  }
package/cjs/Error.d.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import { HttpClientResponseError } from './RequestSender.js';
2
2
  import { RawErrorType, StripeRawError } from './Types.js';
3
+ import { PaymentIntent } from './resources/PaymentIntents.js';
4
+ import { PaymentMethod } from './resources/PaymentMethods.js';
5
+ import { SetupIntent } from './resources/SetupIntents.js';
6
+ import { CustomerSource } from './resources/CustomerSources.js';
3
7
  export declare const generateV1Error: (rawStripeError: StripeRawError) => StripeError;
4
8
  export declare const generateOAuthError: (rawStripeError: StripeRawError) => StripeError;
5
9
  export declare const generateV2Error: (rawStripeError: StripeRawError) => StripeError;
@@ -17,18 +21,68 @@ export declare class StripeError extends Error {
17
21
  [header: string]: string;
18
22
  };
19
23
  readonly requestId?: string;
20
- readonly code?: string;
21
- readonly doc_url?: string;
22
- readonly param?: string;
23
24
  readonly detail?: string | Error | HttpClientResponseError;
24
25
  readonly statusCode?: number;
26
+ /**
27
+ * For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one.
28
+ */
29
+ readonly advice_code?: string;
30
+ /**
31
+ * For card errors, the ID of the failed charge.
32
+ */
25
33
  readonly charge?: string;
34
+ /**
35
+ * For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported.
36
+ */
37
+ readonly code?: string;
38
+ /**
39
+ * For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one.
40
+ */
26
41
  readonly decline_code?: string;
42
+ /**
43
+ * A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
44
+ */
45
+ readonly doc_url?: string;
46
+ /**
47
+ * For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
48
+ */
49
+ readonly network_advice_code?: string;
50
+ /**
51
+ * For payments declined by the network, an alphanumeric code which indicates the reason the payment failed.
52
+ */
53
+ readonly network_decline_code?: string;
54
+ /**
55
+ * If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
56
+ */
57
+ readonly param?: string;
58
+ /**
59
+ * The PaymentIntent object for errors returned on a request involving a PaymentIntent.
60
+ */
61
+ readonly payment_intent?: PaymentIntent;
62
+ /**
63
+ * The PaymentMethod object for errors returned on a request involving a PaymentMethod.
64
+ */
65
+ readonly payment_method?: PaymentMethod;
66
+ /**
67
+ * If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.
68
+ */
27
69
  readonly payment_method_type?: string;
28
- readonly payment_intent?: any;
29
- readonly payment_method?: any;
30
- readonly setup_intent?: any;
31
- readonly source?: any;
70
+ /**
71
+ * A URL to the request log entry in your dashboard.
72
+ */
73
+ readonly request_log_url?: string;
74
+ /**
75
+ * The SetupIntent object for errors returned on a request involving a SetupIntent.
76
+ */
77
+ readonly setup_intent?: SetupIntent;
78
+ /**
79
+ * The CustomerSource object for errors returned on a request involving a CustomerSource.
80
+ */
81
+ readonly source?: CustomerSource;
82
+ /**
83
+ * The user message associated with the error.
84
+ */
85
+ readonly user_message?: string;
32
86
  constructor(raw?: StripeRawError, type?: string | null);
33
87
  /**
34
88
  * Helper factory which takes raw stripe errors and outputs wrapping instances
package/cjs/Error.js CHANGED
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable no-warning-comments */
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.TemporarySessionExpiredError = exports.RateLimitError = exports.StripeUnsupportedResponseTypeError = exports.StripeUnsupportedGrantTypeError = exports.StripeInvalidScopeError = exports.StripeOAuthInvalidRequestError = exports.StripeInvalidClientError = exports.StripeInvalidGrantError = exports.StripeOAuthError = exports.StripeIdempotencyError = exports.StripeSignatureVerificationError = exports.StripeConnectionError = exports.StripeRateLimitError = exports.StripePermissionError = exports.StripeAuthenticationError = exports.StripeAPIError = exports.StripeInvalidRequestError = exports.StripeCardError = exports.StripeError = exports.generateV2Error = exports.generateOAuthError = exports.generateV1Error = void 0;
6
+ // errorImports: The end of the section generated from our OpenAPI spec
6
7
  const generateV1Error = (rawStripeError) => {
7
8
  const statusCode = rawStripeError.statusCode;
8
9
  if (statusCode === 429 ||
@@ -72,27 +73,35 @@ exports.generateV2Error = generateV2Error;
72
73
  * Specifically for errors returned from Stripe's REST API.
73
74
  */
74
75
  class StripeError extends Error {
76
+ // errorProperties: The end of the section generated from our OpenAPI spec
75
77
  constructor(raw = {}, type = null) {
76
78
  super(raw.message);
77
79
  this.type = type || this.constructor.name;
78
80
  this.raw = raw;
79
81
  this.rawType = raw.type;
80
- this.code = raw.code;
81
- this.doc_url = raw.doc_url;
82
- this.param = raw.param;
83
82
  this.detail = raw.detail;
84
83
  this.headers = raw.headers;
85
84
  this.requestId = raw.requestId;
86
85
  this.statusCode = raw.statusCode;
87
86
  this.message = raw.message ?? '';
88
87
  this.userMessage = raw.user_message;
88
+ // errorAssignments: The beginning of the section generated from our OpenAPI spec
89
+ this.advice_code = raw.advice_code;
89
90
  this.charge = raw.charge;
91
+ this.code = raw.code;
90
92
  this.decline_code = raw.decline_code;
93
+ this.doc_url = raw.doc_url;
94
+ this.network_advice_code = raw.network_advice_code;
95
+ this.network_decline_code = raw.network_decline_code;
96
+ this.param = raw.param;
91
97
  this.payment_intent = raw.payment_intent;
92
98
  this.payment_method = raw.payment_method;
93
99
  this.payment_method_type = raw.payment_method_type;
100
+ this.request_log_url = raw.request_log_url;
94
101
  this.setup_intent = raw.setup_intent;
95
102
  this.source = raw.source;
103
+ this.user_message = raw.user_message;
104
+ // errorAssignments: The end of the section generated from our OpenAPI spec
96
105
  }
97
106
  }
98
107
  exports.StripeError = StripeError;
package/cjs/Error.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Error.js","sourceRoot":"","sources":["../src/Error.ts"],"names":[],"mappings":";AAAA,8BAA8B;AAC9B,wCAAwC;;;AAKjC,MAAM,eAAe,GAAG,CAC7B,cAA8B,EACjB,EAAE;IACf,MAAM,UAAU,GAAG,cAAc,CAAC,UAAU,CAAC;IAE7C,IACE,UAAU,KAAK,GAAG;QAClB,CAAC,UAAU,KAAK,GAAG,IAAI,cAAc,CAAC,IAAI,KAAK,YAAY,CAAC,EAC5D;QACA,OAAO,IAAI,oBAAoB,CAAC,cAAc,CAAC,CAAC;KACjD;IAED,IAAI,UAAU,KAAK,GAAG,IAAI,UAAU,KAAK,GAAG,EAAE;QAC5C,IAAI,cAAc,CAAC,IAAI,KAAK,mBAAmB,EAAE;YAC/C,OAAO,IAAI,sBAAsB,CAAC,cAAc,CAAC,CAAC;SACnD;QACD,OAAO,IAAI,yBAAyB,CAAC,cAAc,CAAC,CAAC;KACtD;IAED,IAAI,UAAU,KAAK,GAAG,EAAE;QACtB,OAAO,IAAI,yBAAyB,CAAC,cAAc,CAAC,CAAC;KACtD;IAED,IAAI,UAAU,KAAK,GAAG,EAAE;QACtB,OAAO,IAAI,eAAe,CAAC,cAAc,CAAC,CAAC;KAC5C;IAED,IAAI,UAAU,KAAK,GAAG,EAAE;QACtB,OAAO,IAAI,qBAAqB,CAAC,cAAc,CAAC,CAAC;KAClD;IAED,OAAO,IAAI,cAAc,CAAC,cAAc,CAAC,CAAC;AAC5C,CAAC,CAAC;AAhCW,QAAA,eAAe,mBAgC1B;AAEK,MAAM,kBAAkB,GAAG,CAChC,cAA8B,EACjB,EAAE;IACf,MAAM,SAAS,GAAG,cAAc,CAAC,IAAI,CAAC;IACtC,QAAQ,SAAS,EAAE;QACjB,KAAK,eAAe;YAClB,OAAO,IAAI,uBAAuB,CAAC,cAAc,CAAC,CAA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