stripe 16.2.0-beta.1 → 16.2.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.
- package/CHANGELOG.md +114 -752
- package/README.md +0 -33
- package/VERSION +1 -1
- package/cjs/RequestSender.js +5 -66
- package/cjs/StripeResource.js +1 -1
- package/cjs/apiVersion.js +1 -2
- package/cjs/multipart.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -13
- package/cjs/resources/OAuth.js +1 -1
- package/cjs/resources/PaymentIntents.js +0 -4
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources.js +10 -36
- package/cjs/stripe.core.js +3 -6
- package/cjs/utils.js +3 -30
- package/esm/RequestSender.js +6 -67
- package/esm/StripeResource.js +2 -2
- package/esm/apiVersion.js +0 -1
- package/esm/multipart.js +2 -2
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -13
- package/esm/resources/OAuth.js +2 -2
- package/esm/resources/PaymentIntents.js +0 -4
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources.js +0 -22
- package/esm/stripe.core.js +3 -6
- package/esm/utils.js +1 -27
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -15
- package/types/AccountSessionsResource.d.ts +0 -205
- package/types/Accounts.d.ts +1 -88
- package/types/AccountsResource.d.ts +0 -204
- package/types/Billing/MeterEventSummaries.d.ts +2 -2
- package/types/Billing/MetersResource.d.ts +2 -2
- package/types/Charges.d.ts +0 -67
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +1 -23
- package/types/Checkout/SessionsResource.d.ts +1 -15
- package/types/ConfirmationTokens.d.ts +0 -83
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +0 -21
- package/types/CreditNotesResource.d.ts +0 -51
- package/types/CustomerSessions.d.ts +6 -54
- package/types/CustomerSessionsResource.d.ts +2 -50
- package/types/Customers.d.ts +1 -1
- package/types/CustomersResource.d.ts +0 -2
- package/types/Disputes.d.ts +0 -167
- package/types/DisputesResource.d.ts +0 -120
- package/types/EventTypes.d.ts +1 -427
- package/types/Events.d.ts +0 -83
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -44
- package/types/FinancialConnections/SessionsResource.d.ts +1 -33
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +0 -22
- package/types/Invoices.d.ts +2 -110
- package/types/InvoicesResource.d.ts +1844 -5411
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Cards.d.ts +0 -34
- package/types/Issuing/CardsResource.d.ts +0 -125
- package/types/LineItems.d.ts +0 -7
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +2 -463
- package/types/PaymentIntentsResource.d.ts +3377 -6710
- package/types/PaymentMethods.d.ts +0 -62
- package/types/PaymentMethodsResource.d.ts +0 -110
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -578
- package/types/QuotesResource.d.ts +266 -3175
- package/types/SetupAttempts.d.ts +1 -8
- package/types/SetupIntents.d.ts +2 -104
- package/types/SetupIntentsResource.d.ts +3 -483
- package/types/Sources.d.ts +0 -23
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -164
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -41
- package/types/SubscriptionsResource.d.ts +2 -337
- package/types/Tax/Transactions.d.ts +5 -0
- package/types/Tax/TransactionsResource.d.ts +5 -0
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +0 -208
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -55
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/WebhookEndpointsResource.d.ts +0 -50
- package/types/index.d.ts +0 -61
- package/types/lib.d.ts +0 -12
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/QuotePhases.js +0 -22
- package/cjs/resources/Tax/Forms.js +0 -20
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/QuotePhases.js +0 -19
- package/esm/resources/Tax/Forms.js +0 -17
- package/types/AccountNotices.d.ts +0 -110
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/InvoicePayments.d.ts +0 -91
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1057
- package/types/OrdersResource.d.ts +0 -2711
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePhases.d.ts +0 -198
- package/types/QuotePhasesResource.d.ts +0 -67
- package/types/QuotePreviewInvoices.d.ts +0 -1528
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -778
- package/types/Tax/Forms.d.ts +0 -133
- package/types/Tax/FormsResource.d.ts +0 -90
package/types/EventTypes.d.ts
CHANGED
|
@@ -9,8 +9,6 @@ declare module 'stripe' {
|
|
|
9
9
|
| AccountExternalAccountDeletedEvent
|
|
10
10
|
| AccountExternalAccountUpdatedEvent
|
|
11
11
|
| AccountUpdatedEvent
|
|
12
|
-
| AccountNoticeCreatedEvent
|
|
13
|
-
| AccountNoticeUpdatedEvent
|
|
14
12
|
| ApplicationFeeCreatedEvent
|
|
15
13
|
| ApplicationFeeRefundUpdatedEvent
|
|
16
14
|
| ApplicationFeeRefundedEvent
|
|
@@ -19,15 +17,6 @@ declare module 'stripe' {
|
|
|
19
17
|
| BillingPortalConfigurationUpdatedEvent
|
|
20
18
|
| BillingPortalSessionCreatedEvent
|
|
21
19
|
| CapabilityUpdatedEvent
|
|
22
|
-
| CapitalFinancingOfferAcceptedEvent
|
|
23
|
-
| CapitalFinancingOfferCanceledEvent
|
|
24
|
-
| CapitalFinancingOfferCreatedEvent
|
|
25
|
-
| CapitalFinancingOfferExpiredEvent
|
|
26
|
-
| CapitalFinancingOfferFullyRepaidEvent
|
|
27
|
-
| CapitalFinancingOfferPaidOutEvent
|
|
28
|
-
| CapitalFinancingOfferRejectedEvent
|
|
29
|
-
| CapitalFinancingOfferReplacementCreatedEvent
|
|
30
|
-
| CapitalFinancingTransactionCreatedEvent
|
|
31
20
|
| CashBalanceFundsAvailableEvent
|
|
32
21
|
| ChargeCapturedEvent
|
|
33
22
|
| ChargeDisputeClosedEvent
|
|
@@ -68,10 +57,7 @@ declare module 'stripe' {
|
|
|
68
57
|
| CustomerSourceDeletedEvent
|
|
69
58
|
| CustomerSourceExpiringEvent
|
|
70
59
|
| CustomerSourceUpdatedEvent
|
|
71
|
-
| CustomerSubscriptionCollectionPausedEvent
|
|
72
|
-
| CustomerSubscriptionCollectionResumedEvent
|
|
73
60
|
| CustomerSubscriptionCreatedEvent
|
|
74
|
-
| CustomerSubscriptionCustomEventEvent
|
|
75
61
|
| CustomerSubscriptionDeletedEvent
|
|
76
62
|
| CustomerSubscriptionPausedEvent
|
|
77
63
|
| CustomerSubscriptionPendingUpdateAppliedEvent
|
|
@@ -91,10 +77,8 @@ declare module 'stripe' {
|
|
|
91
77
|
| FinancialConnectionsAccountDisconnectedEvent
|
|
92
78
|
| FinancialConnectionsAccountReactivatedEvent
|
|
93
79
|
| FinancialConnectionsAccountRefreshedBalanceEvent
|
|
94
|
-
| FinancialConnectionsAccountRefreshedInferredBalancesEvent
|
|
95
80
|
| FinancialConnectionsAccountRefreshedOwnershipEvent
|
|
96
81
|
| FinancialConnectionsAccountRefreshedTransactionsEvent
|
|
97
|
-
| FinancialConnectionsSessionUpdatedEvent
|
|
98
82
|
| IdentityVerificationSessionCanceledEvent
|
|
99
83
|
| IdentityVerificationSessionCreatedEvent
|
|
100
84
|
| IdentityVerificationSessionProcessingEvent
|
|
@@ -107,7 +91,6 @@ declare module 'stripe' {
|
|
|
107
91
|
| InvoiceFinalizedEvent
|
|
108
92
|
| InvoiceMarkedUncollectibleEvent
|
|
109
93
|
| InvoicePaidEvent
|
|
110
|
-
| InvoicePaymentOverpaidEvent
|
|
111
94
|
| InvoicePaymentActionRequiredEvent
|
|
112
95
|
| InvoicePaymentFailedEvent
|
|
113
96
|
| InvoicePaymentSucceededEvent
|
|
@@ -172,16 +155,10 @@ declare module 'stripe' {
|
|
|
172
155
|
| ProductUpdatedEvent
|
|
173
156
|
| PromotionCodeCreatedEvent
|
|
174
157
|
| PromotionCodeUpdatedEvent
|
|
175
|
-
| QuoteAcceptFailedEvent
|
|
176
158
|
| QuoteAcceptedEvent
|
|
177
|
-
| QuoteAcceptingEvent
|
|
178
159
|
| QuoteCanceledEvent
|
|
179
160
|
| QuoteCreatedEvent
|
|
180
|
-
| QuoteDraftEvent
|
|
181
161
|
| QuoteFinalizedEvent
|
|
182
|
-
| QuoteReestimateFailedEvent
|
|
183
|
-
| QuoteReestimatedEvent
|
|
184
|
-
| QuoteStaleEvent
|
|
185
162
|
| RadarEarlyFraudWarningCreatedEvent
|
|
186
163
|
| RadarEarlyFraudWarningUpdatedEvent
|
|
187
164
|
| RefundCreatedEvent
|
|
@@ -211,13 +188,11 @@ declare module 'stripe' {
|
|
|
211
188
|
| SubscriptionScheduleExpiringEvent
|
|
212
189
|
| SubscriptionScheduleReleasedEvent
|
|
213
190
|
| SubscriptionScheduleUpdatedEvent
|
|
214
|
-
| TaxFormUpdatedEvent
|
|
215
191
|
| TaxSettingsUpdatedEvent
|
|
216
192
|
| TaxRateCreatedEvent
|
|
217
193
|
| TaxRateUpdatedEvent
|
|
218
194
|
| TerminalReaderActionFailedEvent
|
|
219
195
|
| TerminalReaderActionSucceededEvent
|
|
220
|
-
| TerminalReaderActionUpdatedEvent
|
|
221
196
|
| TestHelpersTestClockAdvancingEvent
|
|
222
197
|
| TestHelpersTestClockCreatedEvent
|
|
223
198
|
| TestHelpersTestClockDeletedEvent
|
|
@@ -358,38 +333,6 @@ declare module 'stripe' {
|
|
|
358
333
|
}
|
|
359
334
|
}
|
|
360
335
|
|
|
361
|
-
/**
|
|
362
|
-
* Occurs whenever an AccountNotice is created.
|
|
363
|
-
*/
|
|
364
|
-
interface AccountNoticeCreatedEvent extends EventBase {
|
|
365
|
-
type: 'account_notice.created';
|
|
366
|
-
data: AccountNoticeCreatedEvent.Data;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
namespace AccountNoticeCreatedEvent {
|
|
370
|
-
interface Data extends Stripe.Event.Data {
|
|
371
|
-
object: Stripe.AccountNotice;
|
|
372
|
-
|
|
373
|
-
previous_attributes?: Partial<Stripe.AccountNotice>;
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* Occurs whenever an AccountNotice is updated.
|
|
379
|
-
*/
|
|
380
|
-
interface AccountNoticeUpdatedEvent extends EventBase {
|
|
381
|
-
type: 'account_notice.updated';
|
|
382
|
-
data: AccountNoticeUpdatedEvent.Data;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
namespace AccountNoticeUpdatedEvent {
|
|
386
|
-
interface Data extends Stripe.Event.Data {
|
|
387
|
-
object: Stripe.AccountNotice;
|
|
388
|
-
|
|
389
|
-
previous_attributes?: Partial<Stripe.AccountNotice>;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
|
|
393
336
|
/**
|
|
394
337
|
* Occurs whenever an application fee is created on a charge.
|
|
395
338
|
*/
|
|
@@ -518,150 +461,6 @@ declare module 'stripe' {
|
|
|
518
461
|
}
|
|
519
462
|
}
|
|
520
463
|
|
|
521
|
-
/**
|
|
522
|
-
* Occurs whenever a connected account accepts a financing offer.
|
|
523
|
-
*/
|
|
524
|
-
interface CapitalFinancingOfferAcceptedEvent extends EventBase {
|
|
525
|
-
type: 'capital.financing_offer.accepted';
|
|
526
|
-
data: CapitalFinancingOfferAcceptedEvent.Data;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
namespace CapitalFinancingOfferAcceptedEvent {
|
|
530
|
-
interface Data extends Stripe.Event.Data {
|
|
531
|
-
object: Stripe.Capital.FinancingOffer;
|
|
532
|
-
|
|
533
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* Occurs whenever a financing offer is canceled.
|
|
539
|
-
*/
|
|
540
|
-
interface CapitalFinancingOfferCanceledEvent extends EventBase {
|
|
541
|
-
type: 'capital.financing_offer.canceled';
|
|
542
|
-
data: CapitalFinancingOfferCanceledEvent.Data;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
namespace CapitalFinancingOfferCanceledEvent {
|
|
546
|
-
interface Data extends Stripe.Event.Data {
|
|
547
|
-
object: Stripe.Capital.FinancingOffer;
|
|
548
|
-
|
|
549
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
/**
|
|
554
|
-
* Occurs whenever a new financing offer is created for a connected account.
|
|
555
|
-
*/
|
|
556
|
-
interface CapitalFinancingOfferCreatedEvent extends EventBase {
|
|
557
|
-
type: 'capital.financing_offer.created';
|
|
558
|
-
data: CapitalFinancingOfferCreatedEvent.Data;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
namespace CapitalFinancingOfferCreatedEvent {
|
|
562
|
-
interface Data extends Stripe.Event.Data {
|
|
563
|
-
object: Stripe.Capital.FinancingOffer;
|
|
564
|
-
|
|
565
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
* Occurs whenever a financing offer expires.
|
|
571
|
-
*/
|
|
572
|
-
interface CapitalFinancingOfferExpiredEvent extends EventBase {
|
|
573
|
-
type: 'capital.financing_offer.expired';
|
|
574
|
-
data: CapitalFinancingOfferExpiredEvent.Data;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
namespace CapitalFinancingOfferExpiredEvent {
|
|
578
|
-
interface Data extends Stripe.Event.Data {
|
|
579
|
-
object: Stripe.Capital.FinancingOffer;
|
|
580
|
-
|
|
581
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
/**
|
|
586
|
-
* Occurs whenever a financing offer is fully repaid.
|
|
587
|
-
*/
|
|
588
|
-
interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
|
|
589
|
-
type: 'capital.financing_offer.fully_repaid';
|
|
590
|
-
data: CapitalFinancingOfferFullyRepaidEvent.Data;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
namespace CapitalFinancingOfferFullyRepaidEvent {
|
|
594
|
-
interface Data extends Stripe.Event.Data {
|
|
595
|
-
object: Stripe.Capital.FinancingOffer;
|
|
596
|
-
|
|
597
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
/**
|
|
602
|
-
* Occurs whenever a financing offer is paid out.
|
|
603
|
-
*/
|
|
604
|
-
interface CapitalFinancingOfferPaidOutEvent extends EventBase {
|
|
605
|
-
type: 'capital.financing_offer.paid_out';
|
|
606
|
-
data: CapitalFinancingOfferPaidOutEvent.Data;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
namespace CapitalFinancingOfferPaidOutEvent {
|
|
610
|
-
interface Data extends Stripe.Event.Data {
|
|
611
|
-
object: Stripe.Capital.FinancingOffer;
|
|
612
|
-
|
|
613
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* Occurs whenever a financing offer is rejected.
|
|
619
|
-
*/
|
|
620
|
-
interface CapitalFinancingOfferRejectedEvent extends EventBase {
|
|
621
|
-
type: 'capital.financing_offer.rejected';
|
|
622
|
-
data: CapitalFinancingOfferRejectedEvent.Data;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
namespace CapitalFinancingOfferRejectedEvent {
|
|
626
|
-
interface Data extends Stripe.Event.Data {
|
|
627
|
-
object: Stripe.Capital.FinancingOffer;
|
|
628
|
-
|
|
629
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
/**
|
|
634
|
-
* Occurs whenever a replacement for a financing offer has been created.
|
|
635
|
-
*/
|
|
636
|
-
interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
|
|
637
|
-
type: 'capital.financing_offer.replacement_created';
|
|
638
|
-
data: CapitalFinancingOfferReplacementCreatedEvent.Data;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
namespace CapitalFinancingOfferReplacementCreatedEvent {
|
|
642
|
-
interface Data extends Stripe.Event.Data {
|
|
643
|
-
object: Stripe.Capital.FinancingOffer;
|
|
644
|
-
|
|
645
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
/**
|
|
650
|
-
* Occurs whenever a financing transaction is created.
|
|
651
|
-
*/
|
|
652
|
-
interface CapitalFinancingTransactionCreatedEvent extends EventBase {
|
|
653
|
-
type: 'capital.financing_transaction.created';
|
|
654
|
-
data: CapitalFinancingTransactionCreatedEvent.Data;
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
namespace CapitalFinancingTransactionCreatedEvent {
|
|
658
|
-
interface Data extends Stripe.Event.Data {
|
|
659
|
-
object: Stripe.Capital.FinancingTransaction;
|
|
660
|
-
|
|
661
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
|
|
665
464
|
/**
|
|
666
465
|
* Occurs whenever there is a positive remaining cash balance after Stripe automatically reconciles new funds into the cash balance. If you enabled manual reconciliation, this webhook will fire whenever there are new funds into the cash balance.
|
|
667
466
|
*/
|
|
@@ -1271,7 +1070,7 @@ declare module 'stripe' {
|
|
|
1271
1070
|
}
|
|
1272
1071
|
|
|
1273
1072
|
/**
|
|
1274
|
-
* Occurs whenever a card or source will expire at the end of the month.
|
|
1073
|
+
* Occurs whenever a card or source will expire at the end of the month. This event only works with legacy integrations using Card or Source objects. If you use the PaymentMethod API, this event won't occur.
|
|
1275
1074
|
*/
|
|
1276
1075
|
interface CustomerSourceExpiringEvent extends EventBase {
|
|
1277
1076
|
type: 'customer.source.expiring';
|
|
@@ -1302,38 +1101,6 @@ declare module 'stripe' {
|
|
|
1302
1101
|
}
|
|
1303
1102
|
}
|
|
1304
1103
|
|
|
1305
|
-
/**
|
|
1306
|
-
* Occurs whenever collection is paused on a customer's subscription. Only applies when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is paused, not when subscriptions enter `status=paused`.
|
|
1307
|
-
*/
|
|
1308
|
-
interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
|
|
1309
|
-
type: 'customer.subscription.collection_paused';
|
|
1310
|
-
data: CustomerSubscriptionCollectionPausedEvent.Data;
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
namespace CustomerSubscriptionCollectionPausedEvent {
|
|
1314
|
-
interface Data extends Stripe.Event.Data {
|
|
1315
|
-
object: Stripe.Subscription;
|
|
1316
|
-
|
|
1317
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1318
|
-
}
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
/**
|
|
1322
|
-
* Occurs whenever collection is resumed on a customer's subscription that is currently paused. Only applies when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is resumed, not when subscriptions exit `status=paused`.
|
|
1323
|
-
*/
|
|
1324
|
-
interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
|
|
1325
|
-
type: 'customer.subscription.collection_resumed';
|
|
1326
|
-
data: CustomerSubscriptionCollectionResumedEvent.Data;
|
|
1327
|
-
}
|
|
1328
|
-
|
|
1329
|
-
namespace CustomerSubscriptionCollectionResumedEvent {
|
|
1330
|
-
interface Data extends Stripe.Event.Data {
|
|
1331
|
-
object: Stripe.Subscription;
|
|
1332
|
-
|
|
1333
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
1104
|
/**
|
|
1338
1105
|
* Occurs whenever a customer is signed up for a new plan.
|
|
1339
1106
|
*/
|
|
@@ -1350,22 +1117,6 @@ declare module 'stripe' {
|
|
|
1350
1117
|
}
|
|
1351
1118
|
}
|
|
1352
1119
|
|
|
1353
|
-
/**
|
|
1354
|
-
* An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
|
|
1355
|
-
*/
|
|
1356
|
-
interface CustomerSubscriptionCustomEventEvent extends EventBase {
|
|
1357
|
-
type: 'customer.subscription.custom_event';
|
|
1358
|
-
data: CustomerSubscriptionCustomEventEvent.Data;
|
|
1359
|
-
}
|
|
1360
|
-
|
|
1361
|
-
namespace CustomerSubscriptionCustomEventEvent {
|
|
1362
|
-
interface Data extends Stripe.Event.Data {
|
|
1363
|
-
object: Stripe.Subscription;
|
|
1364
|
-
|
|
1365
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1366
|
-
}
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
1120
|
/**
|
|
1370
1121
|
* Occurs whenever a customer's subscription ends.
|
|
1371
1122
|
*/
|
|
@@ -1674,23 +1425,6 @@ declare module 'stripe' {
|
|
|
1674
1425
|
}
|
|
1675
1426
|
}
|
|
1676
1427
|
|
|
1677
|
-
/**
|
|
1678
|
-
* Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
|
|
1679
|
-
*/
|
|
1680
|
-
interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
|
|
1681
|
-
extends EventBase {
|
|
1682
|
-
type: 'financial_connections.account.refreshed_inferred_balances';
|
|
1683
|
-
data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
|
|
1687
|
-
interface Data extends Stripe.Event.Data {
|
|
1688
|
-
object: Stripe.FinancialConnections.Account;
|
|
1689
|
-
|
|
1690
|
-
previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
|
|
1694
1428
|
/**
|
|
1695
1429
|
* Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
|
|
1696
1430
|
*/
|
|
@@ -1725,22 +1459,6 @@ declare module 'stripe' {
|
|
|
1725
1459
|
}
|
|
1726
1460
|
}
|
|
1727
1461
|
|
|
1728
|
-
/**
|
|
1729
|
-
* Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
|
|
1730
|
-
*/
|
|
1731
|
-
interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
|
|
1732
|
-
type: 'financial_connections.session.updated';
|
|
1733
|
-
data: FinancialConnectionsSessionUpdatedEvent.Data;
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
namespace FinancialConnectionsSessionUpdatedEvent {
|
|
1737
|
-
interface Data extends Stripe.Event.Data {
|
|
1738
|
-
object: Stripe.FinancialConnections.Session;
|
|
1739
|
-
|
|
1740
|
-
previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
|
|
1741
|
-
}
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
1462
|
/**
|
|
1745
1463
|
* Occurs whenever a VerificationSession is canceled
|
|
1746
1464
|
*/
|
|
@@ -1933,22 +1651,6 @@ declare module 'stripe' {
|
|
|
1933
1651
|
}
|
|
1934
1652
|
}
|
|
1935
1653
|
|
|
1936
|
-
/**
|
|
1937
|
-
* Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
|
|
1938
|
-
*/
|
|
1939
|
-
interface InvoicePaymentOverpaidEvent extends EventBase {
|
|
1940
|
-
type: 'invoice.payment.overpaid';
|
|
1941
|
-
data: InvoicePaymentOverpaidEvent.Data;
|
|
1942
|
-
}
|
|
1943
|
-
|
|
1944
|
-
namespace InvoicePaymentOverpaidEvent {
|
|
1945
|
-
interface Data extends Stripe.Event.Data {
|
|
1946
|
-
object: Stripe.InvoicePayment;
|
|
1947
|
-
|
|
1948
|
-
previous_attributes?: Partial<Stripe.InvoicePayment>;
|
|
1949
|
-
}
|
|
1950
|
-
}
|
|
1951
|
-
|
|
1952
1654
|
/**
|
|
1953
1655
|
* Occurs whenever an invoice payment attempt requires further user action to complete.
|
|
1954
1656
|
*/
|
|
@@ -2973,22 +2675,6 @@ declare module 'stripe' {
|
|
|
2973
2675
|
}
|
|
2974
2676
|
}
|
|
2975
2677
|
|
|
2976
|
-
/**
|
|
2977
|
-
* Occurs whenever a quote acceptance fails
|
|
2978
|
-
*/
|
|
2979
|
-
interface QuoteAcceptFailedEvent extends EventBase {
|
|
2980
|
-
type: 'quote.accept_failed';
|
|
2981
|
-
data: QuoteAcceptFailedEvent.Data;
|
|
2982
|
-
}
|
|
2983
|
-
|
|
2984
|
-
namespace QuoteAcceptFailedEvent {
|
|
2985
|
-
interface Data extends Stripe.Event.Data {
|
|
2986
|
-
object: Stripe.Quote;
|
|
2987
|
-
|
|
2988
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
2989
|
-
}
|
|
2990
|
-
}
|
|
2991
|
-
|
|
2992
2678
|
/**
|
|
2993
2679
|
* Occurs whenever a quote is accepted.
|
|
2994
2680
|
*/
|
|
@@ -3005,22 +2691,6 @@ declare module 'stripe' {
|
|
|
3005
2691
|
}
|
|
3006
2692
|
}
|
|
3007
2693
|
|
|
3008
|
-
/**
|
|
3009
|
-
* Occurs whenever a quote's status changes to accepting
|
|
3010
|
-
*/
|
|
3011
|
-
interface QuoteAcceptingEvent extends EventBase {
|
|
3012
|
-
type: 'quote.accepting';
|
|
3013
|
-
data: QuoteAcceptingEvent.Data;
|
|
3014
|
-
}
|
|
3015
|
-
|
|
3016
|
-
namespace QuoteAcceptingEvent {
|
|
3017
|
-
interface Data extends Stripe.Event.Data {
|
|
3018
|
-
object: Stripe.Quote;
|
|
3019
|
-
|
|
3020
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3021
|
-
}
|
|
3022
|
-
}
|
|
3023
|
-
|
|
3024
2694
|
/**
|
|
3025
2695
|
* Occurs whenever a quote is canceled.
|
|
3026
2696
|
*/
|
|
@@ -3053,22 +2723,6 @@ declare module 'stripe' {
|
|
|
3053
2723
|
}
|
|
3054
2724
|
}
|
|
3055
2725
|
|
|
3056
|
-
/**
|
|
3057
|
-
* Occurs when a quote's status changes from stale to draft
|
|
3058
|
-
*/
|
|
3059
|
-
interface QuoteDraftEvent extends EventBase {
|
|
3060
|
-
type: 'quote.draft';
|
|
3061
|
-
data: QuoteDraftEvent.Data;
|
|
3062
|
-
}
|
|
3063
|
-
|
|
3064
|
-
namespace QuoteDraftEvent {
|
|
3065
|
-
interface Data extends Stripe.Event.Data {
|
|
3066
|
-
object: Stripe.Quote;
|
|
3067
|
-
|
|
3068
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3069
|
-
}
|
|
3070
|
-
}
|
|
3071
|
-
|
|
3072
2726
|
/**
|
|
3073
2727
|
* Occurs whenever a quote is finalized.
|
|
3074
2728
|
*/
|
|
@@ -3085,54 +2739,6 @@ declare module 'stripe' {
|
|
|
3085
2739
|
}
|
|
3086
2740
|
}
|
|
3087
2741
|
|
|
3088
|
-
/**
|
|
3089
|
-
* Occurs whenever a quote reestimate fails
|
|
3090
|
-
*/
|
|
3091
|
-
interface QuoteReestimateFailedEvent extends EventBase {
|
|
3092
|
-
type: 'quote.reestimate_failed';
|
|
3093
|
-
data: QuoteReestimateFailedEvent.Data;
|
|
3094
|
-
}
|
|
3095
|
-
|
|
3096
|
-
namespace QuoteReestimateFailedEvent {
|
|
3097
|
-
interface Data extends Stripe.Event.Data {
|
|
3098
|
-
object: Stripe.Quote;
|
|
3099
|
-
|
|
3100
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3101
|
-
}
|
|
3102
|
-
}
|
|
3103
|
-
|
|
3104
|
-
/**
|
|
3105
|
-
* Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.
|
|
3106
|
-
*/
|
|
3107
|
-
interface QuoteReestimatedEvent extends EventBase {
|
|
3108
|
-
type: 'quote.reestimated';
|
|
3109
|
-
data: QuoteReestimatedEvent.Data;
|
|
3110
|
-
}
|
|
3111
|
-
|
|
3112
|
-
namespace QuoteReestimatedEvent {
|
|
3113
|
-
interface Data extends Stripe.Event.Data {
|
|
3114
|
-
object: Stripe.Quote;
|
|
3115
|
-
|
|
3116
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3117
|
-
}
|
|
3118
|
-
}
|
|
3119
|
-
|
|
3120
|
-
/**
|
|
3121
|
-
* Occurs whenever a quote's status changes to stale
|
|
3122
|
-
*/
|
|
3123
|
-
interface QuoteStaleEvent extends EventBase {
|
|
3124
|
-
type: 'quote.stale';
|
|
3125
|
-
data: QuoteStaleEvent.Data;
|
|
3126
|
-
}
|
|
3127
|
-
|
|
3128
|
-
namespace QuoteStaleEvent {
|
|
3129
|
-
interface Data extends Stripe.Event.Data {
|
|
3130
|
-
object: Stripe.Quote;
|
|
3131
|
-
|
|
3132
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3133
|
-
}
|
|
3134
|
-
}
|
|
3135
|
-
|
|
3136
2742
|
/**
|
|
3137
2743
|
* Occurs whenever an early fraud warning is created.
|
|
3138
2744
|
*/
|
|
@@ -3597,22 +3203,6 @@ declare module 'stripe' {
|
|
|
3597
3203
|
}
|
|
3598
3204
|
}
|
|
3599
3205
|
|
|
3600
|
-
/**
|
|
3601
|
-
* Occurs when a tax form is updated.
|
|
3602
|
-
*/
|
|
3603
|
-
interface TaxFormUpdatedEvent extends EventBase {
|
|
3604
|
-
type: 'tax.form.updated';
|
|
3605
|
-
data: TaxFormUpdatedEvent.Data;
|
|
3606
|
-
}
|
|
3607
|
-
|
|
3608
|
-
namespace TaxFormUpdatedEvent {
|
|
3609
|
-
interface Data extends Stripe.Event.Data {
|
|
3610
|
-
object: Stripe.Tax.Form;
|
|
3611
|
-
|
|
3612
|
-
previous_attributes?: Partial<Stripe.Tax.Form>;
|
|
3613
|
-
}
|
|
3614
|
-
}
|
|
3615
|
-
|
|
3616
3206
|
/**
|
|
3617
3207
|
* Occurs whenever tax settings is updated.
|
|
3618
3208
|
*/
|
|
@@ -3693,22 +3283,6 @@ declare module 'stripe' {
|
|
|
3693
3283
|
}
|
|
3694
3284
|
}
|
|
3695
3285
|
|
|
3696
|
-
/**
|
|
3697
|
-
* Occurs whenever an action sent to a Terminal reader is updated.
|
|
3698
|
-
*/
|
|
3699
|
-
interface TerminalReaderActionUpdatedEvent extends EventBase {
|
|
3700
|
-
type: 'terminal.reader.action_updated';
|
|
3701
|
-
data: TerminalReaderActionUpdatedEvent.Data;
|
|
3702
|
-
}
|
|
3703
|
-
|
|
3704
|
-
namespace TerminalReaderActionUpdatedEvent {
|
|
3705
|
-
interface Data extends Stripe.Event.Data {
|
|
3706
|
-
object: Stripe.Terminal.Reader;
|
|
3707
|
-
|
|
3708
|
-
previous_attributes?: Partial<Stripe.Terminal.Reader>;
|
|
3709
|
-
}
|
|
3710
|
-
}
|
|
3711
|
-
|
|
3712
3286
|
/**
|
|
3713
3287
|
* Occurs whenever a test clock starts advancing.
|
|
3714
3288
|
*/
|