stripe 17.7.0-beta.1 → 17.7.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 (176) hide show
  1. package/CHANGELOG.md +120 -1064
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +0 -1
  4. package/VERSION +1 -1
  5. package/cjs/apiVersion.js +1 -1
  6. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  7. package/cjs/resources/Invoices.js +0 -17
  8. package/cjs/resources/PaymentIntents.js +0 -8
  9. package/cjs/resources/Quotes.js +0 -32
  10. package/cjs/resources/SubscriptionSchedules.js +0 -4
  11. package/cjs/resources/Terminal/Readers.js +0 -12
  12. package/cjs/resources.js +10 -48
  13. package/cjs/stripe.core.js +1 -1
  14. package/esm/apiVersion.js +1 -1
  15. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  16. package/esm/resources/Invoices.js +0 -17
  17. package/esm/resources/PaymentIntents.js +0 -8
  18. package/esm/resources/Quotes.js +0 -32
  19. package/esm/resources/SubscriptionSchedules.js +0 -4
  20. package/esm/resources/Terminal/Readers.js +0 -12
  21. package/esm/resources.js +0 -33
  22. package/esm/stripe.core.js +1 -1
  23. package/package.json +1 -1
  24. package/types/AccountLinksResource.d.ts +1 -5
  25. package/types/AccountSessions.d.ts +0 -45
  26. package/types/AccountSessionsResource.d.ts +0 -243
  27. package/types/Accounts.d.ts +1 -205
  28. package/types/AccountsResource.d.ts +2 -526
  29. package/types/Billing/CreditBalanceSummaryResource.d.ts +1 -1
  30. package/types/Billing/CreditGrants.d.ts +5 -0
  31. package/types/Billing/CreditGrantsResource.d.ts +7 -2
  32. package/types/Cards.d.ts +0 -5
  33. package/types/Charges.d.ts +1 -149
  34. package/types/ChargesResource.d.ts +0 -1294
  35. package/types/Checkout/Sessions.d.ts +29 -302
  36. package/types/Checkout/SessionsResource.d.ts +30 -383
  37. package/types/ConfirmationTokens.d.ts +0 -99
  38. package/types/Coupons.d.ts +1 -1
  39. package/types/CouponsResource.d.ts +1 -1
  40. package/types/CreditNotes.d.ts +0 -21
  41. package/types/CreditNotesResource.d.ts +0 -51
  42. package/types/CustomersResource.d.ts +0 -7
  43. package/types/EventTypes.d.ts +0 -596
  44. package/types/Events.d.ts +0 -93
  45. package/types/FinancialConnections/Accounts.d.ts +1 -29
  46. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  47. package/types/FinancialConnections/Sessions.d.ts +1 -49
  48. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  49. package/types/InvoiceItems.d.ts +0 -5
  50. package/types/InvoiceItemsResource.d.ts +0 -98
  51. package/types/InvoiceLineItems.d.ts +1 -28
  52. package/types/Invoices.d.ts +2 -137
  53. package/types/InvoicesResource.d.ts +1882 -5567
  54. package/types/Issuing/Authorizations.d.ts +0 -1
  55. package/types/Issuing/CardholdersResource.d.ts +1 -2
  56. package/types/Issuing/Transactions.d.ts +0 -2
  57. package/types/Issuing/TransactionsResource.d.ts +0 -5
  58. package/types/LineItems.d.ts +0 -32
  59. package/types/Mandates.d.ts +0 -77
  60. package/types/PaymentIntents.d.ts +30 -648
  61. package/types/PaymentIntentsResource.d.ts +3848 -8060
  62. package/types/PaymentLinks.d.ts +0 -6
  63. package/types/PaymentLinksResource.d.ts +0 -12
  64. package/types/PaymentMethodConfigurations.d.ts +0 -180
  65. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  66. package/types/PaymentMethods.d.ts +0 -99
  67. package/types/PaymentMethodsResource.d.ts +0 -133
  68. package/types/Prices.d.ts +0 -22
  69. package/types/PricesResource.d.ts +0 -22
  70. package/types/Products.d.ts +0 -39
  71. package/types/ProductsResource.d.ts +5 -36
  72. package/types/Quotes.d.ts +1 -591
  73. package/types/QuotesResource.d.ts +199 -2531
  74. package/types/Refunds.d.ts +0 -14
  75. package/types/SetupAttempts.d.ts +0 -38
  76. package/types/SetupIntents.d.ts +1 -111
  77. package/types/SetupIntentsResource.d.ts +3 -645
  78. package/types/Sources.d.ts +0 -29
  79. package/types/SubscriptionItems.d.ts +0 -21
  80. package/types/SubscriptionItemsResource.d.ts +0 -109
  81. package/types/SubscriptionSchedules.d.ts +0 -200
  82. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  83. package/types/Subscriptions.d.ts +1 -91
  84. package/types/SubscriptionsResource.d.ts +2 -369
  85. package/types/Terminal/Readers.d.ts +0 -290
  86. package/types/Terminal/ReadersResource.d.ts +0 -215
  87. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
  88. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  89. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  90. package/types/TokensResource.d.ts +1 -3
  91. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  92. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  93. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  94. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  95. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  96. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  97. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  98. package/types/WebhookEndpointsResource.d.ts +2 -71
  99. package/types/index.d.ts +0 -62
  100. package/types/lib.d.ts +1 -1
  101. package/types/test/typescriptTest.ts +3 -3
  102. package/cjs/resources/AccountNotices.js +0 -21
  103. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  104. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  105. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  106. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  107. package/cjs/resources/GiftCards/Cards.js +0 -23
  108. package/cjs/resources/GiftCards/Transactions.js +0 -33
  109. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  110. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  111. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  112. package/cjs/resources/Margins.js +0 -22
  113. package/cjs/resources/Orders.js +0 -24
  114. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  115. package/cjs/resources/PaymentRecords.js +0 -29
  116. package/cjs/resources/Tax/Associations.js +0 -9
  117. package/cjs/resources/Tax/Forms.js +0 -20
  118. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  119. package/esm/resources/AccountNotices.js +0 -18
  120. package/esm/resources/Capital/FinancingOffers.js +0 -18
  121. package/esm/resources/Capital/FinancingSummary.js +0 -9
  122. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  123. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  124. package/esm/resources/GiftCards/Cards.js +0 -20
  125. package/esm/resources/GiftCards/Transactions.js +0 -30
  126. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  127. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  128. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  129. package/esm/resources/Margins.js +0 -19
  130. package/esm/resources/Orders.js +0 -21
  131. package/esm/resources/PaymentAttemptRecords.js +0 -14
  132. package/esm/resources/PaymentRecords.js +0 -26
  133. package/esm/resources/Tax/Associations.js +0 -6
  134. package/esm/resources/Tax/Forms.js +0 -17
  135. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  136. package/types/AccountNotices.d.ts +0 -113
  137. package/types/AccountNoticesResource.d.ts +0 -98
  138. package/types/Billing/MeterErrorReports.d.ts +0 -106
  139. package/types/Capital/FinancingOffers.d.ts +0 -188
  140. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  141. package/types/Capital/FinancingSummary.d.ts +0 -106
  142. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  143. package/types/Capital/FinancingTransactions.d.ts +0 -135
  144. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  145. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  146. package/types/FinancialConnections/Institutions.d.ts +0 -93
  147. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  148. package/types/GiftCards/Cards.d.ts +0 -118
  149. package/types/GiftCards/CardsResource.d.ts +0 -159
  150. package/types/GiftCards/Transactions.d.ts +0 -129
  151. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  152. package/types/InvoicePayments.d.ts +0 -113
  153. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  154. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  155. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  156. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  157. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  158. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  159. package/types/Issuing/Settlements.d.ts +0 -103
  160. package/types/Margins.d.ts +0 -56
  161. package/types/MarginsResource.d.ts +0 -114
  162. package/types/Orders.d.ts +0 -1179
  163. package/types/OrdersResource.d.ts +0 -2961
  164. package/types/PaymentAttemptRecords.d.ts +0 -242
  165. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  166. package/types/PaymentRecords.d.ts +0 -242
  167. package/types/PaymentRecordsResource.d.ts +0 -455
  168. package/types/QuoteLines.d.ts +0 -634
  169. package/types/QuotePreviewInvoices.d.ts +0 -1658
  170. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
  171. package/types/Tax/Associations.d.ts +0 -126
  172. package/types/Tax/AssociationsResource.d.ts +0 -29
  173. package/types/Tax/Forms.d.ts +0 -220
  174. package/types/Tax/FormsResource.d.ts +0 -107
  175. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  176. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
@@ -147,7 +147,8 @@ declare module 'stripe' {
147
147
  | '2024-10-28.acacia'
148
148
  | '2024-11-20.acacia'
149
149
  | '2024-12-18.acacia'
150
- | '2025-01-27.acacia';
150
+ | '2025-01-27.acacia'
151
+ | '2025-02-24.acacia';
151
152
 
152
153
  type EnabledEvent =
153
154
  | '*'
@@ -157,27 +158,15 @@ declare module 'stripe' {
157
158
  | 'account.external_account.deleted'
158
159
  | 'account.external_account.updated'
159
160
  | 'account.updated'
160
- | 'account_notice.created'
161
- | 'account_notice.updated'
162
161
  | 'application_fee.created'
163
162
  | 'application_fee.refund.updated'
164
163
  | 'application_fee.refunded'
165
164
  | 'balance.available'
166
165
  | 'billing.alert.triggered'
167
- | 'billing.meter_error_report.triggered'
168
166
  | 'billing_portal.configuration.created'
169
167
  | 'billing_portal.configuration.updated'
170
168
  | 'billing_portal.session.created'
171
169
  | 'capability.updated'
172
- | 'capital.financing_offer.accepted'
173
- | 'capital.financing_offer.canceled'
174
- | 'capital.financing_offer.created'
175
- | 'capital.financing_offer.expired'
176
- | 'capital.financing_offer.fully_repaid'
177
- | 'capital.financing_offer.paid_out'
178
- | 'capital.financing_offer.rejected'
179
- | 'capital.financing_offer.replacement_created'
180
- | 'capital.financing_transaction.created'
181
170
  | 'cash_balance.funds_available'
182
171
  | 'charge.captured'
183
172
  | 'charge.dispute.closed'
@@ -218,15 +207,11 @@ declare module 'stripe' {
218
207
  | 'customer.source.deleted'
219
208
  | 'customer.source.expiring'
220
209
  | 'customer.source.updated'
221
- | 'customer.subscription.collection_paused'
222
- | 'customer.subscription.collection_resumed'
223
210
  | 'customer.subscription.created'
224
- | 'customer.subscription.custom_event'
225
211
  | 'customer.subscription.deleted'
226
212
  | 'customer.subscription.paused'
227
213
  | 'customer.subscription.pending_update_applied'
228
214
  | 'customer.subscription.pending_update_expired'
229
- | 'customer.subscription.price_migration_failed'
230
215
  | 'customer.subscription.resumed'
231
216
  | 'customer.subscription.trial_will_end'
232
217
  | 'customer.subscription.updated'
@@ -242,10 +227,8 @@ declare module 'stripe' {
242
227
  | 'financial_connections.account.disconnected'
243
228
  | 'financial_connections.account.reactivated'
244
229
  | 'financial_connections.account.refreshed_balance'
245
- | 'financial_connections.account.refreshed_inferred_balances'
246
230
  | 'financial_connections.account.refreshed_ownership'
247
231
  | 'financial_connections.account.refreshed_transactions'
248
- | 'financial_connections.session.updated'
249
232
  | 'identity.verification_session.canceled'
250
233
  | 'identity.verification_session.created'
251
234
  | 'identity.verification_session.processing'
@@ -258,11 +241,8 @@ declare module 'stripe' {
258
241
  | 'invoice.finalized'
259
242
  | 'invoice.marked_uncollectible'
260
243
  | 'invoice.overdue'
261
- | 'invoice.overpaid'
262
244
  | 'invoice.paid'
263
- | 'invoice.payment.overpaid'
264
245
  | 'invoice.payment_action_required'
265
- | 'invoice.payment_attempt_required'
266
246
  | 'invoice.payment_failed'
267
247
  | 'invoice.payment_succeeded'
268
248
  | 'invoice.sent'
@@ -285,15 +265,10 @@ declare module 'stripe' {
285
265
  | 'issuing_dispute.funds_rescinded'
286
266
  | 'issuing_dispute.submitted'
287
267
  | 'issuing_dispute.updated'
288
- | 'issuing_dispute_settlement_detail.created'
289
- | 'issuing_dispute_settlement_detail.updated'
290
- | 'issuing_fraud_liability_debit.created'
291
268
  | 'issuing_personalization_design.activated'
292
269
  | 'issuing_personalization_design.deactivated'
293
270
  | 'issuing_personalization_design.rejected'
294
271
  | 'issuing_personalization_design.updated'
295
- | 'issuing_settlement.created'
296
- | 'issuing_settlement.updated'
297
272
  | 'issuing_token.created'
298
273
  | 'issuing_token.updated'
299
274
  | 'issuing_transaction.created'
@@ -334,16 +309,10 @@ declare module 'stripe' {
334
309
  | 'product.updated'
335
310
  | 'promotion_code.created'
336
311
  | 'promotion_code.updated'
337
- | 'quote.accept_failed'
338
312
  | 'quote.accepted'
339
- | 'quote.accepting'
340
313
  | 'quote.canceled'
341
314
  | 'quote.created'
342
- | 'quote.draft'
343
315
  | 'quote.finalized'
344
- | 'quote.reestimate_failed'
345
- | 'quote.reestimated'
346
- | 'quote.stale'
347
316
  | 'radar.early_fraud_warning.created'
348
317
  | 'radar.early_fraud_warning.updated'
349
318
  | 'refund.created'
@@ -372,16 +341,13 @@ declare module 'stripe' {
372
341
  | 'subscription_schedule.completed'
373
342
  | 'subscription_schedule.created'
374
343
  | 'subscription_schedule.expiring'
375
- | 'subscription_schedule.price_migration_failed'
376
344
  | 'subscription_schedule.released'
377
345
  | 'subscription_schedule.updated'
378
- | 'tax.form.updated'
379
346
  | 'tax.settings.updated'
380
347
  | 'tax_rate.created'
381
348
  | 'tax_rate.updated'
382
349
  | 'terminal.reader.action_failed'
383
350
  | 'terminal.reader.action_succeeded'
384
- | 'terminal.reader.action_updated'
385
351
  | 'test_helpers.test_clock.advancing'
386
352
  | 'test_helpers.test_clock.created'
387
353
  | 'test_helpers.test_clock.deleted'
@@ -475,27 +441,15 @@ declare module 'stripe' {
475
441
  | 'account.external_account.deleted'
476
442
  | 'account.external_account.updated'
477
443
  | 'account.updated'
478
- | 'account_notice.created'
479
- | 'account_notice.updated'
480
444
  | 'application_fee.created'
481
445
  | 'application_fee.refund.updated'
482
446
  | 'application_fee.refunded'
483
447
  | 'balance.available'
484
448
  | 'billing.alert.triggered'
485
- | 'billing.meter_error_report.triggered'
486
449
  | 'billing_portal.configuration.created'
487
450
  | 'billing_portal.configuration.updated'
488
451
  | 'billing_portal.session.created'
489
452
  | 'capability.updated'
490
- | 'capital.financing_offer.accepted'
491
- | 'capital.financing_offer.canceled'
492
- | 'capital.financing_offer.created'
493
- | 'capital.financing_offer.expired'
494
- | 'capital.financing_offer.fully_repaid'
495
- | 'capital.financing_offer.paid_out'
496
- | 'capital.financing_offer.rejected'
497
- | 'capital.financing_offer.replacement_created'
498
- | 'capital.financing_transaction.created'
499
453
  | 'cash_balance.funds_available'
500
454
  | 'charge.captured'
501
455
  | 'charge.dispute.closed'
@@ -536,15 +490,11 @@ declare module 'stripe' {
536
490
  | 'customer.source.deleted'
537
491
  | 'customer.source.expiring'
538
492
  | 'customer.source.updated'
539
- | 'customer.subscription.collection_paused'
540
- | 'customer.subscription.collection_resumed'
541
493
  | 'customer.subscription.created'
542
- | 'customer.subscription.custom_event'
543
494
  | 'customer.subscription.deleted'
544
495
  | 'customer.subscription.paused'
545
496
  | 'customer.subscription.pending_update_applied'
546
497
  | 'customer.subscription.pending_update_expired'
547
- | 'customer.subscription.price_migration_failed'
548
498
  | 'customer.subscription.resumed'
549
499
  | 'customer.subscription.trial_will_end'
550
500
  | 'customer.subscription.updated'
@@ -560,10 +510,8 @@ declare module 'stripe' {
560
510
  | 'financial_connections.account.disconnected'
561
511
  | 'financial_connections.account.reactivated'
562
512
  | 'financial_connections.account.refreshed_balance'
563
- | 'financial_connections.account.refreshed_inferred_balances'
564
513
  | 'financial_connections.account.refreshed_ownership'
565
514
  | 'financial_connections.account.refreshed_transactions'
566
- | 'financial_connections.session.updated'
567
515
  | 'identity.verification_session.canceled'
568
516
  | 'identity.verification_session.created'
569
517
  | 'identity.verification_session.processing'
@@ -576,11 +524,8 @@ declare module 'stripe' {
576
524
  | 'invoice.finalized'
577
525
  | 'invoice.marked_uncollectible'
578
526
  | 'invoice.overdue'
579
- | 'invoice.overpaid'
580
527
  | 'invoice.paid'
581
- | 'invoice.payment.overpaid'
582
528
  | 'invoice.payment_action_required'
583
- | 'invoice.payment_attempt_required'
584
529
  | 'invoice.payment_failed'
585
530
  | 'invoice.payment_succeeded'
586
531
  | 'invoice.sent'
@@ -603,15 +548,10 @@ declare module 'stripe' {
603
548
  | 'issuing_dispute.funds_rescinded'
604
549
  | 'issuing_dispute.submitted'
605
550
  | 'issuing_dispute.updated'
606
- | 'issuing_dispute_settlement_detail.created'
607
- | 'issuing_dispute_settlement_detail.updated'
608
- | 'issuing_fraud_liability_debit.created'
609
551
  | 'issuing_personalization_design.activated'
610
552
  | 'issuing_personalization_design.deactivated'
611
553
  | 'issuing_personalization_design.rejected'
612
554
  | 'issuing_personalization_design.updated'
613
- | 'issuing_settlement.created'
614
- | 'issuing_settlement.updated'
615
555
  | 'issuing_token.created'
616
556
  | 'issuing_token.updated'
617
557
  | 'issuing_transaction.created'
@@ -652,16 +592,10 @@ declare module 'stripe' {
652
592
  | 'product.updated'
653
593
  | 'promotion_code.created'
654
594
  | 'promotion_code.updated'
655
- | 'quote.accept_failed'
656
595
  | 'quote.accepted'
657
- | 'quote.accepting'
658
596
  | 'quote.canceled'
659
597
  | 'quote.created'
660
- | 'quote.draft'
661
598
  | 'quote.finalized'
662
- | 'quote.reestimate_failed'
663
- | 'quote.reestimated'
664
- | 'quote.stale'
665
599
  | 'radar.early_fraud_warning.created'
666
600
  | 'radar.early_fraud_warning.updated'
667
601
  | 'refund.created'
@@ -690,16 +624,13 @@ declare module 'stripe' {
690
624
  | 'subscription_schedule.completed'
691
625
  | 'subscription_schedule.created'
692
626
  | 'subscription_schedule.expiring'
693
- | 'subscription_schedule.price_migration_failed'
694
627
  | 'subscription_schedule.released'
695
628
  | 'subscription_schedule.updated'
696
- | 'tax.form.updated'
697
629
  | 'tax.settings.updated'
698
630
  | 'tax_rate.created'
699
631
  | 'tax_rate.updated'
700
632
  | 'terminal.reader.action_failed'
701
633
  | 'terminal.reader.action_succeeded'
702
- | 'terminal.reader.action_updated'
703
634
  | 'test_helpers.test_clock.advancing'
704
635
  | 'test_helpers.test_clock.created'
705
636
  | 'test_helpers.test_clock.deleted'
package/types/index.d.ts CHANGED
@@ -12,7 +12,6 @@
12
12
  ///<reference path='./crypto/crypto.d.ts' />
13
13
  // Imports: The beginning of the section generated from our OpenAPI spec
14
14
  ///<reference path='./AccountLinksResource.d.ts' />
15
- ///<reference path='./AccountNoticesResource.d.ts' />
16
15
  ///<reference path='./AccountSessionsResource.d.ts' />
17
16
  ///<reference path='./AccountsResource.d.ts' />
18
17
  ///<reference path='./ApplePayDomainsResource.d.ts' />
@@ -29,9 +28,6 @@
29
28
  ///<reference path='./Billing/MetersResource.d.ts' />
30
29
  ///<reference path='./BillingPortal/ConfigurationsResource.d.ts' />
31
30
  ///<reference path='./BillingPortal/SessionsResource.d.ts' />
32
- ///<reference path='./Capital/FinancingOffersResource.d.ts' />
33
- ///<reference path='./Capital/FinancingSummaryResource.d.ts' />
34
- ///<reference path='./Capital/FinancingTransactionsResource.d.ts' />
35
31
  ///<reference path='./ChargesResource.d.ts' />
36
32
  ///<reference path='./Checkout/SessionsResource.d.ts' />
37
33
  ///<reference path='./Climate/OrdersResource.d.ts' />
@@ -52,12 +48,9 @@
52
48
  ///<reference path='./FileLinksResource.d.ts' />
53
49
  ///<reference path='./FilesResource.d.ts' />
54
50
  ///<reference path='./FinancialConnections/AccountsResource.d.ts' />
55
- ///<reference path='./FinancialConnections/InstitutionsResource.d.ts' />
56
51
  ///<reference path='./FinancialConnections/SessionsResource.d.ts' />
57
52
  ///<reference path='./FinancialConnections/TransactionsResource.d.ts' />
58
53
  ///<reference path='./Forwarding/RequestsResource.d.ts' />
59
- ///<reference path='./GiftCards/CardsResource.d.ts' />
60
- ///<reference path='./GiftCards/TransactionsResource.d.ts' />
61
54
  ///<reference path='./Identity/VerificationReportsResource.d.ts' />
62
55
  ///<reference path='./Identity/VerificationSessionsResource.d.ts' />
63
56
  ///<reference path='./InvoiceItemsResource.d.ts' />
@@ -66,24 +59,17 @@
66
59
  ///<reference path='./Issuing/AuthorizationsResource.d.ts' />
67
60
  ///<reference path='./Issuing/CardholdersResource.d.ts' />
68
61
  ///<reference path='./Issuing/CardsResource.d.ts' />
69
- ///<reference path='./Issuing/CreditUnderwritingRecordsResource.d.ts' />
70
- ///<reference path='./Issuing/DisputeSettlementDetailsResource.d.ts' />
71
62
  ///<reference path='./Issuing/DisputesResource.d.ts' />
72
- ///<reference path='./Issuing/FraudLiabilityDebitsResource.d.ts' />
73
63
  ///<reference path='./Issuing/PersonalizationDesignsResource.d.ts' />
74
64
  ///<reference path='./Issuing/PhysicalBundlesResource.d.ts' />
75
65
  ///<reference path='./Issuing/TokensResource.d.ts' />
76
66
  ///<reference path='./Issuing/TransactionsResource.d.ts' />
77
67
  ///<reference path='./MandatesResource.d.ts' />
78
- ///<reference path='./MarginsResource.d.ts' />
79
- ///<reference path='./OrdersResource.d.ts' />
80
- ///<reference path='./PaymentAttemptRecordsResource.d.ts' />
81
68
  ///<reference path='./PaymentIntentsResource.d.ts' />
82
69
  ///<reference path='./PaymentLinksResource.d.ts' />
83
70
  ///<reference path='./PaymentMethodConfigurationsResource.d.ts' />
84
71
  ///<reference path='./PaymentMethodDomainsResource.d.ts' />
85
72
  ///<reference path='./PaymentMethodsResource.d.ts' />
86
- ///<reference path='./PaymentRecordsResource.d.ts' />
87
73
  ///<reference path='./PayoutsResource.d.ts' />
88
74
  ///<reference path='./PlansResource.d.ts' />
89
75
  ///<reference path='./PricesResource.d.ts' />
@@ -105,9 +91,7 @@
105
91
  ///<reference path='./SubscriptionItemsResource.d.ts' />
106
92
  ///<reference path='./SubscriptionSchedulesResource.d.ts' />
107
93
  ///<reference path='./SubscriptionsResource.d.ts' />
108
- ///<reference path='./Tax/AssociationsResource.d.ts' />
109
94
  ///<reference path='./Tax/CalculationsResource.d.ts' />
110
- ///<reference path='./Tax/FormsResource.d.ts' />
111
95
  ///<reference path='./Tax/RegistrationsResource.d.ts' />
112
96
  ///<reference path='./Tax/SettingsResource.d.ts' />
113
97
  ///<reference path='./Tax/TransactionsResource.d.ts' />
@@ -117,7 +101,6 @@
117
101
  ///<reference path='./Terminal/ConfigurationsResource.d.ts' />
118
102
  ///<reference path='./Terminal/ConnectionTokensResource.d.ts' />
119
103
  ///<reference path='./Terminal/LocationsResource.d.ts' />
120
- ///<reference path='./Terminal/ReaderCollectedDataResource.d.ts' />
121
104
  ///<reference path='./Terminal/ReadersResource.d.ts' />
122
105
  ///<reference path='./TestHelpers/ConfirmationTokensResource.d.ts' />
123
106
  ///<reference path='./TestHelpers/CustomersResource.d.ts' />
@@ -154,7 +137,6 @@
154
137
  ///<reference path='./V2/Core/EventsResource.d.ts' />
155
138
  ///<reference path='./WebhookEndpointsResource.d.ts' />
156
139
  ///<reference path='./AccountLinks.d.ts' />
157
- ///<reference path='./AccountNotices.d.ts' />
158
140
  ///<reference path='./AccountSessions.d.ts' />
159
141
  ///<reference path='./Accounts.d.ts' />
160
142
  ///<reference path='./ApplePayDomains.d.ts' />
@@ -170,7 +152,6 @@
170
152
  ///<reference path='./Billing/CreditBalanceSummary.d.ts' />
171
153
  ///<reference path='./Billing/CreditBalanceTransactions.d.ts' />
172
154
  ///<reference path='./Billing/CreditGrants.d.ts' />
173
- ///<reference path='./Billing/MeterErrorReports.d.ts' />
174
155
  ///<reference path='./Billing/MeterEventAdjustments.d.ts' />
175
156
  ///<reference path='./Billing/MeterEventSummaries.d.ts' />
176
157
  ///<reference path='./Billing/MeterEvents.d.ts' />
@@ -178,9 +159,6 @@
178
159
  ///<reference path='./BillingPortal/Configurations.d.ts' />
179
160
  ///<reference path='./BillingPortal/Sessions.d.ts' />
180
161
  ///<reference path='./Capabilities.d.ts' />
181
- ///<reference path='./Capital/FinancingOffers.d.ts' />
182
- ///<reference path='./Capital/FinancingSummary.d.ts' />
183
- ///<reference path='./Capital/FinancingTransactions.d.ts' />
184
162
  ///<reference path='./Cards.d.ts' />
185
163
  ///<reference path='./CashBalances.d.ts' />
186
164
  ///<reference path='./Charges.d.ts' />
@@ -211,48 +189,35 @@
211
189
  ///<reference path='./FeeRefunds.d.ts' />
212
190
  ///<reference path='./FileLinks.d.ts' />
213
191
  ///<reference path='./Files.d.ts' />
214
- ///<reference path='./FinancialConnections/AccountInferredBalances.d.ts' />
215
192
  ///<reference path='./FinancialConnections/AccountOwners.d.ts' />
216
193
  ///<reference path='./FinancialConnections/AccountOwnerships.d.ts' />
217
194
  ///<reference path='./FinancialConnections/Accounts.d.ts' />
218
- ///<reference path='./FinancialConnections/Institutions.d.ts' />
219
195
  ///<reference path='./FinancialConnections/Sessions.d.ts' />
220
196
  ///<reference path='./FinancialConnections/Transactions.d.ts' />
221
197
  ///<reference path='./Forwarding/Requests.d.ts' />
222
198
  ///<reference path='./FundingInstructions.d.ts' />
223
- ///<reference path='./GiftCards/Cards.d.ts' />
224
- ///<reference path='./GiftCards/Transactions.d.ts' />
225
199
  ///<reference path='./Identity/VerificationReports.d.ts' />
226
200
  ///<reference path='./Identity/VerificationSessions.d.ts' />
227
201
  ///<reference path='./InvoiceItems.d.ts' />
228
202
  ///<reference path='./InvoiceLineItems.d.ts' />
229
- ///<reference path='./InvoicePayments.d.ts' />
230
203
  ///<reference path='./InvoiceRenderingTemplates.d.ts' />
231
204
  ///<reference path='./Invoices.d.ts' />
232
205
  ///<reference path='./Issuing/Authorizations.d.ts' />
233
206
  ///<reference path='./Issuing/Cardholders.d.ts' />
234
207
  ///<reference path='./Issuing/Cards.d.ts' />
235
- ///<reference path='./Issuing/CreditUnderwritingRecords.d.ts' />
236
- ///<reference path='./Issuing/DisputeSettlementDetails.d.ts' />
237
208
  ///<reference path='./Issuing/Disputes.d.ts' />
238
- ///<reference path='./Issuing/FraudLiabilityDebits.d.ts' />
239
209
  ///<reference path='./Issuing/PersonalizationDesigns.d.ts' />
240
210
  ///<reference path='./Issuing/PhysicalBundles.d.ts' />
241
- ///<reference path='./Issuing/Settlements.d.ts' />
242
211
  ///<reference path='./Issuing/Tokens.d.ts' />
243
212
  ///<reference path='./Issuing/Transactions.d.ts' />
244
213
  ///<reference path='./LineItems.d.ts' />
245
214
  ///<reference path='./LoginLinks.d.ts' />
246
215
  ///<reference path='./Mandates.d.ts' />
247
- ///<reference path='./Margins.d.ts' />
248
- ///<reference path='./Orders.d.ts' />
249
- ///<reference path='./PaymentAttemptRecords.d.ts' />
250
216
  ///<reference path='./PaymentIntents.d.ts' />
251
217
  ///<reference path='./PaymentLinks.d.ts' />
252
218
  ///<reference path='./PaymentMethodConfigurations.d.ts' />
253
219
  ///<reference path='./PaymentMethodDomains.d.ts' />
254
220
  ///<reference path='./PaymentMethods.d.ts' />
255
- ///<reference path='./PaymentRecords.d.ts' />
256
221
  ///<reference path='./Payouts.d.ts' />
257
222
  ///<reference path='./Persons.d.ts' />
258
223
  ///<reference path='./Plans.d.ts' />
@@ -260,9 +225,6 @@
260
225
  ///<reference path='./ProductFeatures.d.ts' />
261
226
  ///<reference path='./Products.d.ts' />
262
227
  ///<reference path='./PromotionCodes.d.ts' />
263
- ///<reference path='./QuoteLines.d.ts' />
264
- ///<reference path='./QuotePreviewInvoices.d.ts' />
265
- ///<reference path='./QuotePreviewSubscriptionSchedules.d.ts' />
266
228
  ///<reference path='./Quotes.d.ts' />
267
229
  ///<reference path='./Radar/EarlyFraudWarnings.d.ts' />
268
230
  ///<reference path='./Radar/ValueListItems.d.ts' />
@@ -282,10 +244,8 @@
282
244
  ///<reference path='./SubscriptionItems.d.ts' />
283
245
  ///<reference path='./SubscriptionSchedules.d.ts' />
284
246
  ///<reference path='./Subscriptions.d.ts' />
285
- ///<reference path='./Tax/Associations.d.ts' />
286
247
  ///<reference path='./Tax/CalculationLineItems.d.ts' />
287
248
  ///<reference path='./Tax/Calculations.d.ts' />
288
- ///<reference path='./Tax/Forms.d.ts' />
289
249
  ///<reference path='./Tax/Registrations.d.ts' />
290
250
  ///<reference path='./Tax/Settings.d.ts' />
291
251
  ///<reference path='./Tax/TransactionLineItems.d.ts' />
@@ -297,7 +257,6 @@
297
257
  ///<reference path='./Terminal/Configurations.d.ts' />
298
258
  ///<reference path='./Terminal/ConnectionTokens.d.ts' />
299
259
  ///<reference path='./Terminal/Locations.d.ts' />
300
- ///<reference path='./Terminal/ReaderCollectedData.d.ts' />
301
260
  ///<reference path='./Terminal/Readers.d.ts' />
302
261
  ///<reference path='./TestHelpers/TestClocks.d.ts' />
303
262
  ///<reference path='./Tokens.d.ts' />
@@ -344,7 +303,6 @@ declare module 'stripe' {
344
303
 
345
304
  // Fields: The beginning of the section generated from our OpenAPI spec
346
305
  accountLinks: Stripe.AccountLinksResource;
347
- accountNotices: Stripe.AccountNoticesResource;
348
306
  accountSessions: Stripe.AccountSessionsResource;
349
307
  accounts: Stripe.AccountsResource;
350
308
  applePayDomains: Stripe.ApplePayDomainsResource;
@@ -368,15 +326,11 @@ declare module 'stripe' {
368
326
  invoiceRenderingTemplates: Stripe.InvoiceRenderingTemplatesResource;
369
327
  invoices: Stripe.InvoicesResource;
370
328
  mandates: Stripe.MandatesResource;
371
- margins: Stripe.MarginsResource;
372
- orders: Stripe.OrdersResource;
373
- paymentAttemptRecords: Stripe.PaymentAttemptRecordsResource;
374
329
  paymentIntents: Stripe.PaymentIntentsResource;
375
330
  paymentLinks: Stripe.PaymentLinksResource;
376
331
  paymentMethodConfigurations: Stripe.PaymentMethodConfigurationsResource;
377
332
  paymentMethodDomains: Stripe.PaymentMethodDomainsResource;
378
333
  paymentMethods: Stripe.PaymentMethodsResource;
379
- paymentRecords: Stripe.PaymentRecordsResource;
380
334
  payouts: Stripe.PayoutsResource;
381
335
  plans: Stripe.PlansResource;
382
336
  prices: Stripe.PricesResource;
@@ -415,11 +369,6 @@ declare module 'stripe' {
415
369
  configurations: Stripe.BillingPortal.ConfigurationsResource;
416
370
  sessions: Stripe.BillingPortal.SessionsResource;
417
371
  };
418
- capital: {
419
- financingOffers: Stripe.Capital.FinancingOffersResource;
420
- financingSummary: Stripe.Capital.FinancingSummaryResource;
421
- financingTransactions: Stripe.Capital.FinancingTransactionsResource;
422
- };
423
372
  checkout: {
424
373
  sessions: Stripe.Checkout.SessionsResource;
425
374
  };
@@ -434,17 +383,12 @@ declare module 'stripe' {
434
383
  };
435
384
  financialConnections: {
436
385
  accounts: Stripe.FinancialConnections.AccountsResource;
437
- institutions: Stripe.FinancialConnections.InstitutionsResource;
438
386
  sessions: Stripe.FinancialConnections.SessionsResource;
439
387
  transactions: Stripe.FinancialConnections.TransactionsResource;
440
388
  };
441
389
  forwarding: {
442
390
  requests: Stripe.Forwarding.RequestsResource;
443
391
  };
444
- giftCards: {
445
- cards: Stripe.GiftCards.CardsResource;
446
- transactions: Stripe.GiftCards.TransactionsResource;
447
- };
448
392
  identity: {
449
393
  verificationReports: Stripe.Identity.VerificationReportsResource;
450
394
  verificationSessions: Stripe.Identity.VerificationSessionsResource;
@@ -453,10 +397,7 @@ declare module 'stripe' {
453
397
  authorizations: Stripe.Issuing.AuthorizationsResource;
454
398
  cards: Stripe.Issuing.CardsResource;
455
399
  cardholders: Stripe.Issuing.CardholdersResource;
456
- creditUnderwritingRecords: Stripe.Issuing.CreditUnderwritingRecordsResource;
457
400
  disputes: Stripe.Issuing.DisputesResource;
458
- disputeSettlementDetails: Stripe.Issuing.DisputeSettlementDetailsResource;
459
- fraudLiabilityDebits: Stripe.Issuing.FraudLiabilityDebitsResource;
460
401
  personalizationDesigns: Stripe.Issuing.PersonalizationDesignsResource;
461
402
  physicalBundles: Stripe.Issuing.PhysicalBundlesResource;
462
403
  tokens: Stripe.Issuing.TokensResource;
@@ -475,9 +416,7 @@ declare module 'stripe' {
475
416
  scheduledQueryRuns: Stripe.Sigma.ScheduledQueryRunsResource;
476
417
  };
477
418
  tax: {
478
- associations: Stripe.Tax.AssociationsResource;
479
419
  calculations: Stripe.Tax.CalculationsResource;
480
- forms: Stripe.Tax.FormsResource;
481
420
  registrations: Stripe.Tax.RegistrationsResource;
482
421
  settings: Stripe.Tax.SettingsResource;
483
422
  transactions: Stripe.Tax.TransactionsResource;
@@ -487,7 +426,6 @@ declare module 'stripe' {
487
426
  connectionTokens: Stripe.Terminal.ConnectionTokensResource;
488
427
  locations: Stripe.Terminal.LocationsResource;
489
428
  readers: Stripe.Terminal.ReadersResource;
490
- readerCollectedData: Stripe.Terminal.ReaderCollectedDataResource;
491
429
  };
492
430
  testHelpers: {
493
431
  confirmationTokens: Stripe.TestHelpers.ConfirmationTokensResource;
package/types/lib.d.ts CHANGED
@@ -27,7 +27,7 @@ declare module 'stripe' {
27
27
  }): (...args: any[]) => Response<ResponseObject>; //eslint-disable-line @typescript-eslint/no-explicit-any
28
28
  static MAX_BUFFERED_REQUEST_METRICS: number;
29
29
  }
30
- export type LatestApiVersion = '2025-01-27.acacia';
30
+ export type LatestApiVersion = '2025-02-24.acacia';
31
31
  export type HttpAgent = Agent;
32
32
  export type HttpProtocol = 'http' | 'https';
33
33
 
@@ -9,7 +9,7 @@
9
9
  import Stripe from 'stripe';
10
10
 
11
11
  let stripe = new Stripe('sk_test_123', {
12
- apiVersion: '2025-01-27.acacia',
12
+ apiVersion: '2025-02-24.acacia',
13
13
  });
14
14
 
15
15
  stripe = new Stripe('sk_test_123');
@@ -26,7 +26,7 @@ stripe = new Stripe('sk_test_123', {
26
26
 
27
27
  // Check config object.
28
28
  stripe = new Stripe('sk_test_123', {
29
- apiVersion: '2025-01-27.acacia',
29
+ apiVersion: '2025-02-24.acacia',
30
30
  typescript: true,
31
31
  maxNetworkRetries: 1,
32
32
  timeout: 1000,
@@ -44,7 +44,7 @@ stripe = new Stripe('sk_test_123', {
44
44
  description: 'test',
45
45
  };
46
46
  const opts: Stripe.RequestOptions = {
47
- apiVersion: '2025-01-27.acacia',
47
+ apiVersion: '2025-02-24.acacia',
48
48
  };
49
49
  const customer: Stripe.Customer = await stripe.customers.create(params, opts);
50
50
 
@@ -1,21 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.AccountNotices = void 0;
5
- const StripeResource_js_1 = require("../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.AccountNotices = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/account_notices/{account_notice}',
11
- }),
12
- update: stripeMethod({
13
- method: 'POST',
14
- fullPath: '/v1/account_notices/{account_notice}',
15
- }),
16
- list: stripeMethod({
17
- method: 'GET',
18
- fullPath: '/v1/account_notices',
19
- methodType: 'list',
20
- }),
21
- });
@@ -1,21 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.FinancingOffers = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.FinancingOffers = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/capital/financing_offers/{financing_offer}',
11
- }),
12
- list: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v1/capital/financing_offers',
15
- methodType: 'list',
16
- }),
17
- markDelivered: stripeMethod({
18
- method: 'POST',
19
- fullPath: '/v1/capital/financing_offers/{financing_offer}/mark_delivered',
20
- }),
21
- });
@@ -1,12 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.FinancingSummary = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.FinancingSummary = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/capital/financing_summary',
11
- }),
12
- });
@@ -1,17 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.FinancingTransactions = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.FinancingTransactions = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/capital/financing_transactions/{financing_transaction}',
11
- }),
12
- list: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v1/capital/financing_transactions',
15
- methodType: 'list',
16
- }),
17
- });
@@ -1,17 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Institutions = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.Institutions = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/financial_connections/institutions/{institution}',
11
- }),
12
- list: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v1/financial_connections/institutions',
15
- methodType: 'list',
16
- }),
17
- });
@@ -1,23 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Cards = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.Cards = StripeResource_js_1.StripeResource.extend({
8
- create: stripeMethod({ method: 'POST', fullPath: '/v1/gift_cards/cards' }),
9
- retrieve: stripeMethod({
10
- method: 'GET',
11
- fullPath: '/v1/gift_cards/cards/{id}',
12
- }),
13
- update: stripeMethod({ method: 'POST', fullPath: '/v1/gift_cards/cards/{id}' }),
14
- list: stripeMethod({
15
- method: 'GET',
16
- fullPath: '/v1/gift_cards/cards',
17
- methodType: 'list',
18
- }),
19
- validate: stripeMethod({
20
- method: 'POST',
21
- fullPath: '/v1/gift_cards/cards/validate',
22
- }),
23
- });