stripe 18.3.0-beta.2 → 18.3.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 +59 -1249
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +1 -91
- package/cjs/RequestSender.js +1 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
- package/cjs/resources/PaymentIntents.js +0 -13
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources.js +10 -98
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +0 -79
- package/esm/RequestSender.js +1 -1
- package/esm/apiVersion.js +2 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
- package/esm/resources/PaymentIntents.js +0 -13
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources.js +1 -82
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +31 -76
- package/types/AccountSessionsResource.d.ts +48 -312
- package/types/Accounts.d.ts +30 -213
- package/types/AccountsResource.d.ts +85 -540
- package/types/Billing/CreditBalanceSummary.d.ts +0 -5
- package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
- package/types/Billing/CreditGrants.d.ts +0 -5
- package/types/Billing/CreditGrantsResource.d.ts +1 -11
- package/types/BillingPortal/Sessions.d.ts +1 -6
- package/types/BillingPortal/SessionsResource.d.ts +5 -13
- package/types/Cards.d.ts +0 -5
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +52 -182
- package/types/ChargesResource.d.ts +0 -1406
- package/types/Checkout/Sessions.d.ts +1 -314
- package/types/Checkout/SessionsResource.d.ts +62 -340
- package/types/ConfirmationTokens.d.ts +22 -136
- package/types/Coupons.d.ts +0 -33
- package/types/CouponsResource.d.ts +0 -21
- package/types/CreditNoteLineItems.d.ts +0 -17
- package/types/CreditNotes.d.ts +0 -5
- package/types/CreditNotesResource.d.ts +9 -14
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +1 -6
- package/types/CustomerSessionsResource.d.ts +2 -7
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +1 -8
- package/types/Discounts.d.ts +0 -10
- package/types/Disputes.d.ts +6 -2
- package/types/Errors.d.ts +2 -69
- package/types/EventTypes.d.ts +0 -664
- package/types/Events.d.ts +1 -98
- package/types/FinancialConnections/Accounts.d.ts +1 -36
- package/types/FinancialConnections/AccountsResource.d.ts +3 -40
- package/types/FinancialConnections/Sessions.d.ts +1 -51
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationSessions.d.ts +33 -4
- package/types/Identity/VerificationSessionsResource.d.ts +14 -4
- package/types/InvoiceItems.d.ts +1 -14
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +1 -45
- package/types/InvoicePayments.d.ts +0 -5
- package/types/InvoicePaymentsResource.d.ts +74 -0
- package/types/Invoices.d.ts +4 -133
- package/types/InvoicesResource.d.ts +37 -1446
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -49
- package/types/Mandates.d.ts +4 -77
- package/types/PaymentIntents.d.ts +35 -770
- package/types/PaymentIntentsResource.d.ts +4268 -8619
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +16 -134
- package/types/PaymentMethodsResource.d.ts +12 -167
- package/types/Payouts.d.ts +0 -5
- package/types/PayoutsResource.d.ts +0 -5
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +8 -592
- package/types/QuotesResource.d.ts +278 -2617
- package/types/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +4 -48
- package/types/SetupIntents.d.ts +17 -119
- package/types/SetupIntentsResource.d.ts +413 -660
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -30
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +16 -207
- package/types/SubscriptionSchedulesResource.d.ts +14 -1236
- package/types/Subscriptions.d.ts +15 -108
- package/types/SubscriptionsResource.d.ts +30 -402
- package/types/Tax/Registrations.d.ts +9 -0
- package/types/Tax/RegistrationsResource.d.ts +12 -0
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/Terminal/Configurations.d.ts +1 -0
- package/types/Terminal/LocationsResource.d.ts +1 -1
- package/types/Terminal/Readers.d.ts +6 -26
- package/types/Terminal/ReadersResource.d.ts +4 -4
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +15 -128
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/TokensResource.d.ts +3 -0
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +0 -5
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +9 -37
- 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/V2/EventTypes.d.ts +4 -906
- package/types/WebhookEndpointsResource.d.ts +2 -79
- package/types/index.d.ts +6 -142
- package/types/lib.d.ts +11 -11
- package/types/test/typescriptTest.ts +3 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/BalanceSettings.js +0 -10
- 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/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/PaymentRecords.js +0 -29
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Core/AccountLinks.js +0 -9
- package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
- package/cjs/resources/V2/Core/Accounts.js +0 -25
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -25
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/BalanceSettings.js +0 -7
- 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/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/PaymentRecords.js +0 -26
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Core/AccountLinks.js +0 -6
- package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
- package/esm/resources/V2/Core/Accounts.js +0 -22
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/Payments/OffSessionPayments.js +0 -22
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/BalanceSettings.d.ts +0 -89
- package/types/BalanceSettingsResource.d.ts +0 -108
- 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/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -98
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -153
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1159
- package/types/OrdersResource.d.ts +0 -2967
- package/types/PaymentAttemptRecords.d.ts +0 -2132
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
- package/types/PaymentRecords.d.ts +0 -2125
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
- package/types/Privacy/RedactionJobs.d.ts +0 -111
- package/types/Privacy/RedactionJobsResource.d.ts +0 -230
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1695
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -831
- package/types/Tax/Associations.d.ts +0 -82
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Core/AccountLinks.d.ts +0 -106
- package/types/V2/Core/AccountLinksResource.d.ts +0 -90
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3770
- package/types/V2/Core/Accounts.d.ts +0 -8169
- package/types/V2/Core/AccountsResource.d.ts +0 -10203
- package/types/V2/Core/Persons.d.ts +0 -1867
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -546
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -52
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -288
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -168
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -207
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -151
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -243
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -155
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -170
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/Payments/OffSessionPayments.d.ts +0 -162
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -159
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -66
package/types/V2/EventTypes.d.ts
CHANGED
|
@@ -3,412 +3,12 @@
|
|
|
3
3
|
declare module 'stripe' {
|
|
4
4
|
namespace Stripe.V2 {
|
|
5
5
|
export type Event =
|
|
6
|
-
| Stripe.Events.V2CoreAccountIncludingRequirementsUpdatedEvent
|
|
7
|
-
| Stripe.Events.V2CoreAccountLinkCompletedEvent
|
|
8
|
-
| Stripe.Events.V2CoreAccountClosedEvent
|
|
9
|
-
| Stripe.Events.V2CoreAccountCreatedEvent
|
|
10
|
-
| Stripe.Events.V2CoreAccountUpdatedEvent
|
|
11
|
-
| Stripe.Events.V2CoreAccountIncludingDefaultsUpdatedEvent
|
|
12
|
-
| Stripe.Events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent
|
|
13
|
-
| Stripe.Events.V2CoreAccountIncludingConfigurationCustomerUpdatedEvent
|
|
14
|
-
| Stripe.Events.V2CoreAccountIncludingIdentityUpdatedEvent
|
|
15
|
-
| Stripe.Events.V2CoreAccountPersonCreatedEvent
|
|
16
|
-
| Stripe.Events.V2CoreAccountPersonDeletedEvent
|
|
17
|
-
| Stripe.Events.V2CoreAccountPersonUpdatedEvent
|
|
18
|
-
| Stripe.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent
|
|
19
|
-
| Stripe.Events.V2CoreAccountIncludingConfigurationMerchantUpdatedEvent
|
|
20
|
-
| Stripe.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent
|
|
21
|
-
| Stripe.Events.V2CoreAccountIncludingConfigurationRecipientUpdatedEvent
|
|
22
|
-
| Stripe.Events.V2MoneyManagementAdjustmentCreatedEvent
|
|
23
6
|
| Stripe.Events.V1BillingMeterErrorReportTriggeredEvent
|
|
24
7
|
| Stripe.Events.V1BillingMeterNoMeterFoundEvent
|
|
25
|
-
| Stripe.Events.
|
|
26
|
-
| Stripe.Events.V2MoneyManagementFinancialAccountUpdatedEvent
|
|
27
|
-
| Stripe.Events.V2MoneyManagementFinancialAddressActivatedEvent
|
|
28
|
-
| Stripe.Events.V2MoneyManagementFinancialAddressFailedEvent
|
|
29
|
-
| Stripe.Events.V2MoneyManagementInboundTransferAvailableEvent
|
|
30
|
-
| Stripe.Events.V2MoneyManagementInboundTransferBankDebitFailedEvent
|
|
31
|
-
| Stripe.Events.V2MoneyManagementInboundTransferBankDebitProcessingEvent
|
|
32
|
-
| Stripe.Events.V2MoneyManagementInboundTransferBankDebitQueuedEvent
|
|
33
|
-
| Stripe.Events.V2MoneyManagementInboundTransferBankDebitReturnedEvent
|
|
34
|
-
| Stripe.Events.V2MoneyManagementInboundTransferBankDebitSucceededEvent
|
|
35
|
-
| Stripe.Events.V2CoreEventDestinationPingEvent
|
|
36
|
-
| Stripe.Events.V2OffSessionPaymentRequiresCaptureEvent
|
|
37
|
-
| Stripe.Events.V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent
|
|
38
|
-
| Stripe.Events.V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent
|
|
39
|
-
| Stripe.Events.V2PaymentsOffSessionPaymentCanceledEvent
|
|
40
|
-
| Stripe.Events.V2PaymentsOffSessionPaymentCreatedEvent
|
|
41
|
-
| Stripe.Events.V2PaymentsOffSessionPaymentFailedEvent
|
|
42
|
-
| Stripe.Events.V2PaymentsOffSessionPaymentSucceededEvent
|
|
43
|
-
| Stripe.Events.V2MoneyManagementOutboundPaymentCanceledEvent
|
|
44
|
-
| Stripe.Events.V2MoneyManagementOutboundPaymentCreatedEvent
|
|
45
|
-
| Stripe.Events.V2MoneyManagementOutboundPaymentFailedEvent
|
|
46
|
-
| Stripe.Events.V2MoneyManagementOutboundPaymentPostedEvent
|
|
47
|
-
| Stripe.Events.V2MoneyManagementOutboundPaymentReturnedEvent
|
|
48
|
-
| Stripe.Events.V2MoneyManagementOutboundPaymentUpdatedEvent
|
|
49
|
-
| Stripe.Events.V2MoneyManagementOutboundTransferCanceledEvent
|
|
50
|
-
| Stripe.Events.V2MoneyManagementOutboundTransferCreatedEvent
|
|
51
|
-
| Stripe.Events.V2MoneyManagementOutboundTransferFailedEvent
|
|
52
|
-
| Stripe.Events.V2MoneyManagementOutboundTransferPostedEvent
|
|
53
|
-
| Stripe.Events.V2MoneyManagementOutboundTransferReturnedEvent
|
|
54
|
-
| Stripe.Events.V2MoneyManagementOutboundTransferUpdatedEvent
|
|
55
|
-
| Stripe.Events.V2MoneyManagementReceivedCreditAvailableEvent
|
|
56
|
-
| Stripe.Events.V2MoneyManagementReceivedCreditFailedEvent
|
|
57
|
-
| Stripe.Events.V2MoneyManagementReceivedCreditReturnedEvent
|
|
58
|
-
| Stripe.Events.V2MoneyManagementReceivedCreditSucceededEvent
|
|
59
|
-
| Stripe.Events.V2MoneyManagementReceivedDebitCanceledEvent
|
|
60
|
-
| Stripe.Events.V2MoneyManagementReceivedDebitFailedEvent
|
|
61
|
-
| Stripe.Events.V2MoneyManagementReceivedDebitPendingEvent
|
|
62
|
-
| Stripe.Events.V2MoneyManagementReceivedDebitSucceededEvent
|
|
63
|
-
| Stripe.Events.V2MoneyManagementReceivedDebitUpdatedEvent
|
|
64
|
-
| Stripe.Events.V2MoneyManagementTransactionCreatedEvent
|
|
65
|
-
| Stripe.Events.V2MoneyManagementTransactionUpdatedEvent;
|
|
8
|
+
| Stripe.Events.V2CoreEventDestinationPingEvent;
|
|
66
9
|
}
|
|
67
10
|
|
|
68
11
|
namespace Stripe.Events {
|
|
69
|
-
/**
|
|
70
|
-
* Occurs when an Account's requirements are updated.
|
|
71
|
-
*/
|
|
72
|
-
export interface V2CoreAccountIncludingRequirementsUpdatedEvent
|
|
73
|
-
extends V2.EventBase {
|
|
74
|
-
type: 'v2.core.account[requirements].updated';
|
|
75
|
-
// Object containing the reference to API resource relevant to the event.
|
|
76
|
-
related_object: Event.RelatedObject;
|
|
77
|
-
// Retrieves the object associated with the event.
|
|
78
|
-
fetchRelatedObject(): Promise<V2.Core.Account>;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Occurs when the generated AccountLink is completed.
|
|
83
|
-
*/
|
|
84
|
-
export interface V2CoreAccountLinkCompletedEvent extends V2.EventBase {
|
|
85
|
-
type: 'v2.core.account_link.completed';
|
|
86
|
-
// Retrieves data specific to this event.
|
|
87
|
-
data: V2CoreAccountLinkCompletedEvent.Data;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
namespace V2CoreAccountLinkCompletedEvent {
|
|
91
|
-
export interface Data {
|
|
92
|
-
/**
|
|
93
|
-
* The ID of the v2 account.
|
|
94
|
-
*/
|
|
95
|
-
account_id: string;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Configurations on the Account that was onboarded via the account link.
|
|
99
|
-
*/
|
|
100
|
-
configurations: Array<'recipient'>;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Open Enum. The use case type of the account link that has been completed.
|
|
104
|
-
*/
|
|
105
|
-
use_case: Data.UseCase;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
namespace Data {
|
|
109
|
-
export type UseCase = 'account_onboarding' | 'account_update';
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* This event occurs when an account is closed.
|
|
115
|
-
*/
|
|
116
|
-
export interface V2CoreAccountClosedEvent extends V2.EventBase {
|
|
117
|
-
type: 'v2.core.account.closed';
|
|
118
|
-
// Object containing the reference to API resource relevant to the event.
|
|
119
|
-
related_object: Event.RelatedObject;
|
|
120
|
-
// Retrieves the object associated with the event.
|
|
121
|
-
fetchRelatedObject(): Promise<V2.Core.Account>;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Occurs when an Account is created.
|
|
126
|
-
*/
|
|
127
|
-
export interface V2CoreAccountCreatedEvent extends V2.EventBase {
|
|
128
|
-
type: 'v2.core.account.created';
|
|
129
|
-
// Object containing the reference to API resource relevant to the event.
|
|
130
|
-
related_object: Event.RelatedObject;
|
|
131
|
-
// Retrieves the object associated with the event.
|
|
132
|
-
fetchRelatedObject(): Promise<V2.Core.Account>;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* Occurs when an Account is updated.
|
|
137
|
-
*/
|
|
138
|
-
export interface V2CoreAccountUpdatedEvent extends V2.EventBase {
|
|
139
|
-
type: 'v2.core.account.updated';
|
|
140
|
-
// Object containing the reference to API resource relevant to the event.
|
|
141
|
-
related_object: Event.RelatedObject;
|
|
142
|
-
// Retrieves the object associated with the event.
|
|
143
|
-
fetchRelatedObject(): Promise<V2.Core.Account>;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* This event occurs when account defaults are created or updated.
|
|
148
|
-
*/
|
|
149
|
-
export interface V2CoreAccountIncludingDefaultsUpdatedEvent
|
|
150
|
-
extends V2.EventBase {
|
|
151
|
-
type: 'v2.core.account[defaults].updated';
|
|
152
|
-
// Object containing the reference to API resource relevant to the event.
|
|
153
|
-
related_object: Event.RelatedObject;
|
|
154
|
-
// Retrieves the object associated with the event.
|
|
155
|
-
fetchRelatedObject(): Promise<V2.Core.Account>;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* Occurs when the status of an Account's customer configuration capability is updated.
|
|
160
|
-
*/
|
|
161
|
-
export interface V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent
|
|
162
|
-
extends V2.EventBase {
|
|
163
|
-
type: 'v2.core.account[configuration.customer].capability_status_updated';
|
|
164
|
-
// Retrieves data specific to this event.
|
|
165
|
-
data: V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent.Data;
|
|
166
|
-
// Object containing the reference to API resource relevant to the event.
|
|
167
|
-
related_object: Event.RelatedObject;
|
|
168
|
-
// Retrieves the object associated with the event.
|
|
169
|
-
fetchRelatedObject(): Promise<V2.Core.Account>;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
namespace V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent {
|
|
173
|
-
export interface Data {
|
|
174
|
-
/**
|
|
175
|
-
* Open Enum. The capability which had its status updated.
|
|
176
|
-
*/
|
|
177
|
-
updated_capability: 'automatic_indirect_tax';
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Occurs when an Account's customer configuration is updated.
|
|
183
|
-
*/
|
|
184
|
-
export interface V2CoreAccountIncludingConfigurationCustomerUpdatedEvent
|
|
185
|
-
extends V2.EventBase {
|
|
186
|
-
type: 'v2.core.account[configuration.customer].updated';
|
|
187
|
-
// Object containing the reference to API resource relevant to the event.
|
|
188
|
-
related_object: Event.RelatedObject;
|
|
189
|
-
// Retrieves the object associated with the event.
|
|
190
|
-
fetchRelatedObject(): Promise<V2.Core.Account>;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Occurs when an Identity is updated.
|
|
195
|
-
*/
|
|
196
|
-
export interface V2CoreAccountIncludingIdentityUpdatedEvent
|
|
197
|
-
extends V2.EventBase {
|
|
198
|
-
type: 'v2.core.account[identity].updated';
|
|
199
|
-
// Object containing the reference to API resource relevant to the event.
|
|
200
|
-
related_object: Event.RelatedObject;
|
|
201
|
-
// Retrieves the object associated with the event.
|
|
202
|
-
fetchRelatedObject(): Promise<V2.Core.Account>;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Occurs when a Person is created.
|
|
207
|
-
*/
|
|
208
|
-
export interface V2CoreAccountPersonCreatedEvent extends V2.EventBase {
|
|
209
|
-
type: 'v2.core.account_person.created';
|
|
210
|
-
// Retrieves data specific to this event.
|
|
211
|
-
data: V2CoreAccountPersonCreatedEvent.Data;
|
|
212
|
-
// Object containing the reference to API resource relevant to the event.
|
|
213
|
-
related_object: Event.RelatedObject;
|
|
214
|
-
// Retrieves the object associated with the event.
|
|
215
|
-
fetchRelatedObject(): Promise<V2.Core.Person>;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
namespace V2CoreAccountPersonCreatedEvent {
|
|
219
|
-
export interface Data {
|
|
220
|
-
/**
|
|
221
|
-
* The ID of the v2 account.
|
|
222
|
-
*/
|
|
223
|
-
account_id: string;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Occurs when a Person is deleted.
|
|
229
|
-
*/
|
|
230
|
-
export interface V2CoreAccountPersonDeletedEvent extends V2.EventBase {
|
|
231
|
-
type: 'v2.core.account_person.deleted';
|
|
232
|
-
// Retrieves data specific to this event.
|
|
233
|
-
data: V2CoreAccountPersonDeletedEvent.Data;
|
|
234
|
-
// Object containing the reference to API resource relevant to the event.
|
|
235
|
-
related_object: Event.RelatedObject;
|
|
236
|
-
// Retrieves the object associated with the event.
|
|
237
|
-
fetchRelatedObject(): Promise<V2.Core.Person>;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
namespace V2CoreAccountPersonDeletedEvent {
|
|
241
|
-
export interface Data {
|
|
242
|
-
/**
|
|
243
|
-
* The ID of the v2 account.
|
|
244
|
-
*/
|
|
245
|
-
account_id: string;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* Occurs when a Person is updated.
|
|
251
|
-
*/
|
|
252
|
-
export interface V2CoreAccountPersonUpdatedEvent extends V2.EventBase {
|
|
253
|
-
type: 'v2.core.account_person.updated';
|
|
254
|
-
// Retrieves data specific to this event.
|
|
255
|
-
data: V2CoreAccountPersonUpdatedEvent.Data;
|
|
256
|
-
// Object containing the reference to API resource relevant to the event.
|
|
257
|
-
related_object: Event.RelatedObject;
|
|
258
|
-
// Retrieves the object associated with the event.
|
|
259
|
-
fetchRelatedObject(): Promise<V2.Core.Person>;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
namespace V2CoreAccountPersonUpdatedEvent {
|
|
263
|
-
export interface Data {
|
|
264
|
-
/**
|
|
265
|
-
* The ID of the v2 account.
|
|
266
|
-
*/
|
|
267
|
-
account_id: string;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* Occurs when the status of an Account's merchant configuration capability is updated.
|
|
273
|
-
*/
|
|
274
|
-
export interface V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent
|
|
275
|
-
extends V2.EventBase {
|
|
276
|
-
type: 'v2.core.account[configuration.merchant].capability_status_updated';
|
|
277
|
-
// Retrieves data specific to this event.
|
|
278
|
-
data: V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.Data;
|
|
279
|
-
// Object containing the reference to API resource relevant to the event.
|
|
280
|
-
related_object: Event.RelatedObject;
|
|
281
|
-
// Retrieves the object associated with the event.
|
|
282
|
-
fetchRelatedObject(): Promise<V2.Core.Account>;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
namespace V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent {
|
|
286
|
-
export interface Data {
|
|
287
|
-
/**
|
|
288
|
-
* Open Enum. The capability which had its status updated.
|
|
289
|
-
*/
|
|
290
|
-
updated_capability: Data.UpdatedCapability;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
namespace Data {
|
|
294
|
-
export type UpdatedCapability =
|
|
295
|
-
| 'ach_debit_payments'
|
|
296
|
-
| 'acss_debit_payments'
|
|
297
|
-
| 'affirm_payments'
|
|
298
|
-
| 'afterpay_clearpay_payments'
|
|
299
|
-
| 'alma_payments'
|
|
300
|
-
| 'amazon_pay_payments'
|
|
301
|
-
| 'au_becs_debit_payments'
|
|
302
|
-
| 'bacs_debit_payments'
|
|
303
|
-
| 'bancontact_payments'
|
|
304
|
-
| 'blik_payments'
|
|
305
|
-
| 'boleto_payments'
|
|
306
|
-
| 'card_payments'
|
|
307
|
-
| 'cartes_bancaires_payments'
|
|
308
|
-
| 'cashapp_payments'
|
|
309
|
-
| 'eps_payments'
|
|
310
|
-
| 'fpx_payments'
|
|
311
|
-
| 'gb_bank_transfer_payments'
|
|
312
|
-
| 'grabpay_payments'
|
|
313
|
-
| 'ideal_payments'
|
|
314
|
-
| 'jcb_payments'
|
|
315
|
-
| 'jp_bank_transfer_payments'
|
|
316
|
-
| 'kakao_pay_payments'
|
|
317
|
-
| 'klarna_payments'
|
|
318
|
-
| 'konbini_payments'
|
|
319
|
-
| 'kr_card_payments'
|
|
320
|
-
| 'link_payments'
|
|
321
|
-
| 'mobilepay_payments'
|
|
322
|
-
| 'multibanco_payments'
|
|
323
|
-
| 'mx_bank_transfer_payments'
|
|
324
|
-
| 'naver_pay_payments'
|
|
325
|
-
| 'oxxo_payments'
|
|
326
|
-
| 'p24_payments'
|
|
327
|
-
| 'payco_payments'
|
|
328
|
-
| 'paynow_payments'
|
|
329
|
-
| 'stripe_balance.payouts'
|
|
330
|
-
| 'pay_by_bank_payments'
|
|
331
|
-
| 'promptpay_payments'
|
|
332
|
-
| 'revolut_pay_payments'
|
|
333
|
-
| 'samsung_pay_payments'
|
|
334
|
-
| 'sepa_bank_transfer_payments'
|
|
335
|
-
| 'sepa_debit_payments'
|
|
336
|
-
| 'swish_payments'
|
|
337
|
-
| 'twint_payments'
|
|
338
|
-
| 'us_bank_transfer_payments'
|
|
339
|
-
| 'zip_payments';
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Occurs when an Account's merchant configuration is updated.
|
|
345
|
-
*/
|
|
346
|
-
export interface V2CoreAccountIncludingConfigurationMerchantUpdatedEvent
|
|
347
|
-
extends V2.EventBase {
|
|
348
|
-
type: 'v2.core.account[configuration.merchant].updated';
|
|
349
|
-
// Object containing the reference to API resource relevant to the event.
|
|
350
|
-
related_object: Event.RelatedObject;
|
|
351
|
-
// Retrieves the object associated with the event.
|
|
352
|
-
fetchRelatedObject(): Promise<V2.Core.Account>;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* Occurs when the status of an Account's recipient configuration capability is updated.
|
|
357
|
-
*/
|
|
358
|
-
export interface V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent
|
|
359
|
-
extends V2.EventBase {
|
|
360
|
-
type: 'v2.core.account[configuration.recipient].capability_status_updated';
|
|
361
|
-
// Retrieves data specific to this event.
|
|
362
|
-
data: V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.Data;
|
|
363
|
-
// Object containing the reference to API resource relevant to the event.
|
|
364
|
-
related_object: Event.RelatedObject;
|
|
365
|
-
// Retrieves the object associated with the event.
|
|
366
|
-
fetchRelatedObject(): Promise<V2.Core.Account>;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
namespace V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent {
|
|
370
|
-
export interface Data {
|
|
371
|
-
/**
|
|
372
|
-
* Open Enum. The capability which had its status updated.
|
|
373
|
-
*/
|
|
374
|
-
updated_capability: Data.UpdatedCapability;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
namespace Data {
|
|
378
|
-
export type UpdatedCapability =
|
|
379
|
-
| 'bank_accounts.local'
|
|
380
|
-
| 'bank_accounts.wire'
|
|
381
|
-
| 'cards'
|
|
382
|
-
| 'stripe_balance.payouts'
|
|
383
|
-
| 'stripe_balance.stripe_transfers'
|
|
384
|
-
| 'stripe.transfers';
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* Occurs when a Recipient's configuration is updated.
|
|
390
|
-
*/
|
|
391
|
-
export interface V2CoreAccountIncludingConfigurationRecipientUpdatedEvent
|
|
392
|
-
extends V2.EventBase {
|
|
393
|
-
type: 'v2.core.account[configuration.recipient].updated';
|
|
394
|
-
// Object containing the reference to API resource relevant to the event.
|
|
395
|
-
related_object: Event.RelatedObject;
|
|
396
|
-
// Retrieves the object associated with the event.
|
|
397
|
-
fetchRelatedObject(): Promise<V2.Core.Account>;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* Occurs when an Adjustment is created.
|
|
402
|
-
*/
|
|
403
|
-
export interface V2MoneyManagementAdjustmentCreatedEvent
|
|
404
|
-
extends V2.EventBase {
|
|
405
|
-
type: 'v2.money_management.adjustment.created';
|
|
406
|
-
// Object containing the reference to API resource relevant to the event.
|
|
407
|
-
related_object: Event.RelatedObject;
|
|
408
|
-
// Retrieves the object associated with the event.
|
|
409
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.Adjustment>;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
12
|
/**
|
|
413
13
|
* Occurs when a Meter has invalid async usage events.
|
|
414
14
|
*/
|
|
@@ -615,516 +215,14 @@ declare module 'stripe' {
|
|
|
615
215
|
}
|
|
616
216
|
|
|
617
217
|
/**
|
|
618
|
-
*
|
|
619
|
-
*/
|
|
620
|
-
export interface V2MoneyManagementFinancialAccountCreatedEvent
|
|
621
|
-
extends V2.EventBase {
|
|
622
|
-
type: 'v2.money_management.financial_account.created';
|
|
623
|
-
// Object containing the reference to API resource relevant to the event.
|
|
624
|
-
related_object: Event.RelatedObject;
|
|
625
|
-
// Retrieves the object associated with the event.
|
|
626
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.FinancialAccount>;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* Occurs when a FinancialAccount is updated.
|
|
631
|
-
*/
|
|
632
|
-
export interface V2MoneyManagementFinancialAccountUpdatedEvent
|
|
633
|
-
extends V2.EventBase {
|
|
634
|
-
type: 'v2.money_management.financial_account.updated';
|
|
635
|
-
// Object containing the reference to API resource relevant to the event.
|
|
636
|
-
related_object: Event.RelatedObject;
|
|
637
|
-
// Retrieves the object associated with the event.
|
|
638
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.FinancialAccount>;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
/**
|
|
642
|
-
* Occurs when a FinancialAddress is activated and is ready to receive funds.
|
|
643
|
-
*/
|
|
644
|
-
export interface V2MoneyManagementFinancialAddressActivatedEvent
|
|
645
|
-
extends V2.EventBase {
|
|
646
|
-
type: 'v2.money_management.financial_address.activated';
|
|
647
|
-
// Object containing the reference to API resource relevant to the event.
|
|
648
|
-
related_object: Event.RelatedObject;
|
|
649
|
-
// Retrieves the object associated with the event.
|
|
650
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.FinancialAddress>;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
/**
|
|
654
|
-
* Occurs when a FinancialAddress fails to activate and can not receive funds.
|
|
655
|
-
*/
|
|
656
|
-
export interface V2MoneyManagementFinancialAddressFailedEvent
|
|
657
|
-
extends V2.EventBase {
|
|
658
|
-
type: 'v2.money_management.financial_address.failed';
|
|
659
|
-
// Object containing the reference to API resource relevant to the event.
|
|
660
|
-
related_object: Event.RelatedObject;
|
|
661
|
-
// Retrieves the object associated with the event.
|
|
662
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.FinancialAddress>;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
/**
|
|
666
|
-
* Occurs when an InboundTransfer's funds are made available.
|
|
667
|
-
*/
|
|
668
|
-
export interface V2MoneyManagementInboundTransferAvailableEvent
|
|
669
|
-
extends V2.EventBase {
|
|
670
|
-
type: 'v2.money_management.inbound_transfer.available';
|
|
671
|
-
// Retrieves data specific to this event.
|
|
672
|
-
data: V2MoneyManagementInboundTransferAvailableEvent.Data;
|
|
673
|
-
// Object containing the reference to API resource relevant to the event.
|
|
674
|
-
related_object: Event.RelatedObject;
|
|
675
|
-
// Retrieves the object associated with the event.
|
|
676
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
namespace V2MoneyManagementInboundTransferAvailableEvent {
|
|
680
|
-
export interface Data {
|
|
681
|
-
/**
|
|
682
|
-
* The transaction ID of the received credit.
|
|
683
|
-
*/
|
|
684
|
-
transaction_id: string;
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
/**
|
|
689
|
-
* Occurs when an InboundTransfer fails.
|
|
690
|
-
*/
|
|
691
|
-
export interface V2MoneyManagementInboundTransferBankDebitFailedEvent
|
|
692
|
-
extends V2.EventBase {
|
|
693
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_failed';
|
|
694
|
-
// Object containing the reference to API resource relevant to the event.
|
|
695
|
-
related_object: Event.RelatedObject;
|
|
696
|
-
// Retrieves the object associated with the event.
|
|
697
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
/**
|
|
701
|
-
* Occurs when an InboundTransfer starts processing.
|
|
702
|
-
*/
|
|
703
|
-
export interface V2MoneyManagementInboundTransferBankDebitProcessingEvent
|
|
704
|
-
extends V2.EventBase {
|
|
705
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_processing';
|
|
706
|
-
// Object containing the reference to API resource relevant to the event.
|
|
707
|
-
related_object: Event.RelatedObject;
|
|
708
|
-
// Retrieves the object associated with the event.
|
|
709
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
* Occurs when an InboundTransfer is queued.
|
|
218
|
+
* A ping event used to test the connection to an EventDestination.
|
|
714
219
|
*/
|
|
715
|
-
export interface
|
|
716
|
-
|
|
717
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_queued';
|
|
718
|
-
// Object containing the reference to API resource relevant to the event.
|
|
719
|
-
related_object: Event.RelatedObject;
|
|
720
|
-
// Retrieves the object associated with the event.
|
|
721
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
/**
|
|
725
|
-
* Occurs when an InboundTransfer is returned.
|
|
726
|
-
*/
|
|
727
|
-
export interface V2MoneyManagementInboundTransferBankDebitReturnedEvent
|
|
728
|
-
extends V2.EventBase {
|
|
729
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_returned';
|
|
730
|
-
// Object containing the reference to API resource relevant to the event.
|
|
731
|
-
related_object: Event.RelatedObject;
|
|
732
|
-
// Retrieves the object associated with the event.
|
|
733
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
/**
|
|
737
|
-
* Occurs when an InboundTransfer succeeds.
|
|
738
|
-
*/
|
|
739
|
-
export interface V2MoneyManagementInboundTransferBankDebitSucceededEvent
|
|
740
|
-
extends V2.EventBase {
|
|
741
|
-
type: 'v2.money_management.inbound_transfer.bank_debit_succeeded';
|
|
742
|
-
// Object containing the reference to API resource relevant to the event.
|
|
743
|
-
related_object: Event.RelatedObject;
|
|
744
|
-
// Retrieves the object associated with the event.
|
|
745
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.InboundTransfer>;
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* A ping event used to test the connection to an event destination.
|
|
750
|
-
*/
|
|
751
|
-
export interface V2CoreEventDestinationPingEvent extends V2.EventBase {
|
|
752
|
-
type: 'v2.core.event_destination.ping';
|
|
220
|
+
export interface V2CoreEventDestinationPingEvent extends V2.EventBase {
|
|
221
|
+
type: 'v2.core.event_destination.ping';
|
|
753
222
|
// Object containing the reference to API resource relevant to the event.
|
|
754
223
|
related_object: Event.RelatedObject;
|
|
755
224
|
// Retrieves the object associated with the event.
|
|
756
225
|
fetchRelatedObject(): Promise<V2.EventDestination>;
|
|
757
226
|
}
|
|
758
|
-
|
|
759
|
-
/**
|
|
760
|
-
* Off session payment requires capture event definition.
|
|
761
|
-
*/
|
|
762
|
-
export interface V2OffSessionPaymentRequiresCaptureEvent
|
|
763
|
-
extends V2.EventBase {
|
|
764
|
-
type: 'v2.off_session_payment.requires_capture';
|
|
765
|
-
// Object containing the reference to API resource relevant to the event.
|
|
766
|
-
related_object: Event.RelatedObject;
|
|
767
|
-
// Retrieves the object associated with the event.
|
|
768
|
-
fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
/**
|
|
772
|
-
* Off session payment authorization attempt failed event definition.
|
|
773
|
-
*/
|
|
774
|
-
export interface V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent
|
|
775
|
-
extends V2.EventBase {
|
|
776
|
-
type: 'v2.payments.off_session_payment.authorization_attempt_failed';
|
|
777
|
-
// Object containing the reference to API resource relevant to the event.
|
|
778
|
-
related_object: Event.RelatedObject;
|
|
779
|
-
// Retrieves the object associated with the event.
|
|
780
|
-
fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
* Off session payment authorization attempt started event definition.
|
|
785
|
-
*/
|
|
786
|
-
export interface V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent
|
|
787
|
-
extends V2.EventBase {
|
|
788
|
-
type: 'v2.payments.off_session_payment.authorization_attempt_started';
|
|
789
|
-
// Object containing the reference to API resource relevant to the event.
|
|
790
|
-
related_object: Event.RelatedObject;
|
|
791
|
-
// Retrieves the object associated with the event.
|
|
792
|
-
fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
/**
|
|
796
|
-
* Off session payment canceled event definition.
|
|
797
|
-
*/
|
|
798
|
-
export interface V2PaymentsOffSessionPaymentCanceledEvent
|
|
799
|
-
extends V2.EventBase {
|
|
800
|
-
type: 'v2.payments.off_session_payment.canceled';
|
|
801
|
-
// Object containing the reference to API resource relevant to the event.
|
|
802
|
-
related_object: Event.RelatedObject;
|
|
803
|
-
// Retrieves the object associated with the event.
|
|
804
|
-
fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
/**
|
|
808
|
-
* Off session payment created event definition.
|
|
809
|
-
*/
|
|
810
|
-
export interface V2PaymentsOffSessionPaymentCreatedEvent
|
|
811
|
-
extends V2.EventBase {
|
|
812
|
-
type: 'v2.payments.off_session_payment.created';
|
|
813
|
-
// Object containing the reference to API resource relevant to the event.
|
|
814
|
-
related_object: Event.RelatedObject;
|
|
815
|
-
// Retrieves the object associated with the event.
|
|
816
|
-
fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
/**
|
|
820
|
-
* Off session payment failed event definition.
|
|
821
|
-
*/
|
|
822
|
-
export interface V2PaymentsOffSessionPaymentFailedEvent
|
|
823
|
-
extends V2.EventBase {
|
|
824
|
-
type: 'v2.payments.off_session_payment.failed';
|
|
825
|
-
// Object containing the reference to API resource relevant to the event.
|
|
826
|
-
related_object: Event.RelatedObject;
|
|
827
|
-
// Retrieves the object associated with the event.
|
|
828
|
-
fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
/**
|
|
832
|
-
* Off session payment succeeded event definition.
|
|
833
|
-
*/
|
|
834
|
-
export interface V2PaymentsOffSessionPaymentSucceededEvent
|
|
835
|
-
extends V2.EventBase {
|
|
836
|
-
type: 'v2.payments.off_session_payment.succeeded';
|
|
837
|
-
// Object containing the reference to API resource relevant to the event.
|
|
838
|
-
related_object: Event.RelatedObject;
|
|
839
|
-
// Retrieves the object associated with the event.
|
|
840
|
-
fetchRelatedObject(): Promise<V2.Payments.OffSessionPayment>;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* Occurs when an OutboundPayment transitions into the canceled state.
|
|
845
|
-
*/
|
|
846
|
-
export interface V2MoneyManagementOutboundPaymentCanceledEvent
|
|
847
|
-
extends V2.EventBase {
|
|
848
|
-
type: 'v2.money_management.outbound_payment.canceled';
|
|
849
|
-
// Object containing the reference to API resource relevant to the event.
|
|
850
|
-
related_object: Event.RelatedObject;
|
|
851
|
-
// Retrieves the object associated with the event.
|
|
852
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
/**
|
|
856
|
-
* Occurs when an OutboundPayment is created.
|
|
857
|
-
*/
|
|
858
|
-
export interface V2MoneyManagementOutboundPaymentCreatedEvent
|
|
859
|
-
extends V2.EventBase {
|
|
860
|
-
type: 'v2.money_management.outbound_payment.created';
|
|
861
|
-
// Object containing the reference to API resource relevant to the event.
|
|
862
|
-
related_object: Event.RelatedObject;
|
|
863
|
-
// Retrieves the object associated with the event.
|
|
864
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
/**
|
|
868
|
-
* Occurs when an OutboundPayment transitions into the failed state.
|
|
869
|
-
*/
|
|
870
|
-
export interface V2MoneyManagementOutboundPaymentFailedEvent
|
|
871
|
-
extends V2.EventBase {
|
|
872
|
-
type: 'v2.money_management.outbound_payment.failed';
|
|
873
|
-
// Object containing the reference to API resource relevant to the event.
|
|
874
|
-
related_object: Event.RelatedObject;
|
|
875
|
-
// Retrieves the object associated with the event.
|
|
876
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
/**
|
|
880
|
-
* Occurs when an OutboundPayment transitions into the posted state.
|
|
881
|
-
*/
|
|
882
|
-
export interface V2MoneyManagementOutboundPaymentPostedEvent
|
|
883
|
-
extends V2.EventBase {
|
|
884
|
-
type: 'v2.money_management.outbound_payment.posted';
|
|
885
|
-
// Object containing the reference to API resource relevant to the event.
|
|
886
|
-
related_object: Event.RelatedObject;
|
|
887
|
-
// Retrieves the object associated with the event.
|
|
888
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
/**
|
|
892
|
-
* Occurs when an OutboundPayment transitions into the returned state.
|
|
893
|
-
*/
|
|
894
|
-
export interface V2MoneyManagementOutboundPaymentReturnedEvent
|
|
895
|
-
extends V2.EventBase {
|
|
896
|
-
type: 'v2.money_management.outbound_payment.returned';
|
|
897
|
-
// Object containing the reference to API resource relevant to the event.
|
|
898
|
-
related_object: Event.RelatedObject;
|
|
899
|
-
// Retrieves the object associated with the event.
|
|
900
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
/**
|
|
904
|
-
* Occurs when an OutboundPayment is updated.
|
|
905
|
-
*/
|
|
906
|
-
export interface V2MoneyManagementOutboundPaymentUpdatedEvent
|
|
907
|
-
extends V2.EventBase {
|
|
908
|
-
type: 'v2.money_management.outbound_payment.updated';
|
|
909
|
-
// Object containing the reference to API resource relevant to the event.
|
|
910
|
-
related_object: Event.RelatedObject;
|
|
911
|
-
// Retrieves the object associated with the event.
|
|
912
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundPayment>;
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
/**
|
|
916
|
-
* Occurs when an OutboundTransfer transitions into the canceled state.
|
|
917
|
-
*/
|
|
918
|
-
export interface V2MoneyManagementOutboundTransferCanceledEvent
|
|
919
|
-
extends V2.EventBase {
|
|
920
|
-
type: 'v2.money_management.outbound_transfer.canceled';
|
|
921
|
-
// Object containing the reference to API resource relevant to the event.
|
|
922
|
-
related_object: Event.RelatedObject;
|
|
923
|
-
// Retrieves the object associated with the event.
|
|
924
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* Occurs when an OutboundTransfer is created.
|
|
929
|
-
*/
|
|
930
|
-
export interface V2MoneyManagementOutboundTransferCreatedEvent
|
|
931
|
-
extends V2.EventBase {
|
|
932
|
-
type: 'v2.money_management.outbound_transfer.created';
|
|
933
|
-
// Object containing the reference to API resource relevant to the event.
|
|
934
|
-
related_object: Event.RelatedObject;
|
|
935
|
-
// Retrieves the object associated with the event.
|
|
936
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
/**
|
|
940
|
-
* Occurs when an OutboundTransfer transitions into the failed state.
|
|
941
|
-
*/
|
|
942
|
-
export interface V2MoneyManagementOutboundTransferFailedEvent
|
|
943
|
-
extends V2.EventBase {
|
|
944
|
-
type: 'v2.money_management.outbound_transfer.failed';
|
|
945
|
-
// Object containing the reference to API resource relevant to the event.
|
|
946
|
-
related_object: Event.RelatedObject;
|
|
947
|
-
// Retrieves the object associated with the event.
|
|
948
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
/**
|
|
952
|
-
* Occurs when an OutboundTransfer transitions into the posted state.
|
|
953
|
-
*/
|
|
954
|
-
export interface V2MoneyManagementOutboundTransferPostedEvent
|
|
955
|
-
extends V2.EventBase {
|
|
956
|
-
type: 'v2.money_management.outbound_transfer.posted';
|
|
957
|
-
// Object containing the reference to API resource relevant to the event.
|
|
958
|
-
related_object: Event.RelatedObject;
|
|
959
|
-
// Retrieves the object associated with the event.
|
|
960
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
/**
|
|
964
|
-
* Occurs when an OutboundTransfer transitions into the returned state.
|
|
965
|
-
*/
|
|
966
|
-
export interface V2MoneyManagementOutboundTransferReturnedEvent
|
|
967
|
-
extends V2.EventBase {
|
|
968
|
-
type: 'v2.money_management.outbound_transfer.returned';
|
|
969
|
-
// Object containing the reference to API resource relevant to the event.
|
|
970
|
-
related_object: Event.RelatedObject;
|
|
971
|
-
// Retrieves the object associated with the event.
|
|
972
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
* Event that is emitted every time an Outbound Transfer is updated.
|
|
977
|
-
*/
|
|
978
|
-
export interface V2MoneyManagementOutboundTransferUpdatedEvent
|
|
979
|
-
extends V2.EventBase {
|
|
980
|
-
type: 'v2.money_management.outbound_transfer.updated';
|
|
981
|
-
// Object containing the reference to API resource relevant to the event.
|
|
982
|
-
related_object: Event.RelatedObject;
|
|
983
|
-
// Retrieves the object associated with the event.
|
|
984
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.OutboundTransfer>;
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* Occurs when a ReceivedCredit's funds are received and are available in your balance.
|
|
989
|
-
*/
|
|
990
|
-
export interface V2MoneyManagementReceivedCreditAvailableEvent
|
|
991
|
-
extends V2.EventBase {
|
|
992
|
-
type: 'v2.money_management.received_credit.available';
|
|
993
|
-
// Retrieves data specific to this event.
|
|
994
|
-
data: V2MoneyManagementReceivedCreditAvailableEvent.Data;
|
|
995
|
-
// Object containing the reference to API resource relevant to the event.
|
|
996
|
-
related_object: Event.RelatedObject;
|
|
997
|
-
// Retrieves the object associated with the event.
|
|
998
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedCredit>;
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
namespace V2MoneyManagementReceivedCreditAvailableEvent {
|
|
1002
|
-
export interface Data {
|
|
1003
|
-
/**
|
|
1004
|
-
* The transaction ID of the received credit.
|
|
1005
|
-
*/
|
|
1006
|
-
transaction_id: string;
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
|
-
/**
|
|
1011
|
-
* Occurs when a ReceivedCredit is attempted to your balance and fails. See the status_details for more information.
|
|
1012
|
-
*/
|
|
1013
|
-
export interface V2MoneyManagementReceivedCreditFailedEvent
|
|
1014
|
-
extends V2.EventBase {
|
|
1015
|
-
type: 'v2.money_management.received_credit.failed';
|
|
1016
|
-
// Object containing the reference to API resource relevant to the event.
|
|
1017
|
-
related_object: Event.RelatedObject;
|
|
1018
|
-
// Retrieves the object associated with the event.
|
|
1019
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedCredit>;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* Occurs when a ReceivedCredit is reversed, returned to the originator, and deducted from your balance.
|
|
1024
|
-
*/
|
|
1025
|
-
export interface V2MoneyManagementReceivedCreditReturnedEvent
|
|
1026
|
-
extends V2.EventBase {
|
|
1027
|
-
type: 'v2.money_management.received_credit.returned';
|
|
1028
|
-
// Object containing the reference to API resource relevant to the event.
|
|
1029
|
-
related_object: Event.RelatedObject;
|
|
1030
|
-
// Retrieves the object associated with the event.
|
|
1031
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedCredit>;
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* Occurs when a ReceivedCredit succeeds.
|
|
1036
|
-
*/
|
|
1037
|
-
export interface V2MoneyManagementReceivedCreditSucceededEvent
|
|
1038
|
-
extends V2.EventBase {
|
|
1039
|
-
type: 'v2.money_management.received_credit.succeeded';
|
|
1040
|
-
// Object containing the reference to API resource relevant to the event.
|
|
1041
|
-
related_object: Event.RelatedObject;
|
|
1042
|
-
// Retrieves the object associated with the event.
|
|
1043
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedCredit>;
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
/**
|
|
1047
|
-
* Occurs when a ReceivedDebit is canceled.
|
|
1048
|
-
*/
|
|
1049
|
-
export interface V2MoneyManagementReceivedDebitCanceledEvent
|
|
1050
|
-
extends V2.EventBase {
|
|
1051
|
-
type: 'v2.money_management.received_debit.canceled';
|
|
1052
|
-
// Object containing the reference to API resource relevant to the event.
|
|
1053
|
-
related_object: Event.RelatedObject;
|
|
1054
|
-
// Retrieves the object associated with the event.
|
|
1055
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
/**
|
|
1059
|
-
* Occurs when a ReceivedDebit fails.
|
|
1060
|
-
*/
|
|
1061
|
-
export interface V2MoneyManagementReceivedDebitFailedEvent
|
|
1062
|
-
extends V2.EventBase {
|
|
1063
|
-
type: 'v2.money_management.received_debit.failed';
|
|
1064
|
-
// Object containing the reference to API resource relevant to the event.
|
|
1065
|
-
related_object: Event.RelatedObject;
|
|
1066
|
-
// Retrieves the object associated with the event.
|
|
1067
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
/**
|
|
1071
|
-
* Occurs when a ReceivedDebit is set to pending.
|
|
1072
|
-
*/
|
|
1073
|
-
export interface V2MoneyManagementReceivedDebitPendingEvent
|
|
1074
|
-
extends V2.EventBase {
|
|
1075
|
-
type: 'v2.money_management.received_debit.pending';
|
|
1076
|
-
// Object containing the reference to API resource relevant to the event.
|
|
1077
|
-
related_object: Event.RelatedObject;
|
|
1078
|
-
// Retrieves the object associated with the event.
|
|
1079
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
/**
|
|
1083
|
-
* Occurs when a ReceivedDebit succeeds.
|
|
1084
|
-
*/
|
|
1085
|
-
export interface V2MoneyManagementReceivedDebitSucceededEvent
|
|
1086
|
-
extends V2.EventBase {
|
|
1087
|
-
type: 'v2.money_management.received_debit.succeeded';
|
|
1088
|
-
// Object containing the reference to API resource relevant to the event.
|
|
1089
|
-
related_object: Event.RelatedObject;
|
|
1090
|
-
// Retrieves the object associated with the event.
|
|
1091
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
/**
|
|
1095
|
-
* Occurs when a ReceivedDebit is updated.
|
|
1096
|
-
*/
|
|
1097
|
-
export interface V2MoneyManagementReceivedDebitUpdatedEvent
|
|
1098
|
-
extends V2.EventBase {
|
|
1099
|
-
type: 'v2.money_management.received_debit.updated';
|
|
1100
|
-
// Object containing the reference to API resource relevant to the event.
|
|
1101
|
-
related_object: Event.RelatedObject;
|
|
1102
|
-
// Retrieves the object associated with the event.
|
|
1103
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.ReceivedDebit>;
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
/**
|
|
1107
|
-
* Occurs when a Transaction is created.
|
|
1108
|
-
*/
|
|
1109
|
-
export interface V2MoneyManagementTransactionCreatedEvent
|
|
1110
|
-
extends V2.EventBase {
|
|
1111
|
-
type: 'v2.money_management.transaction.created';
|
|
1112
|
-
// Object containing the reference to API resource relevant to the event.
|
|
1113
|
-
related_object: Event.RelatedObject;
|
|
1114
|
-
// Retrieves the object associated with the event.
|
|
1115
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.Transaction>;
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
/**
|
|
1119
|
-
* Occurs when a Transaction is updated.
|
|
1120
|
-
*/
|
|
1121
|
-
export interface V2MoneyManagementTransactionUpdatedEvent
|
|
1122
|
-
extends V2.EventBase {
|
|
1123
|
-
type: 'v2.money_management.transaction.updated';
|
|
1124
|
-
// Object containing the reference to API resource relevant to the event.
|
|
1125
|
-
related_object: Event.RelatedObject;
|
|
1126
|
-
// Retrieves the object associated with the event.
|
|
1127
|
-
fetchRelatedObject(): Promise<V2.MoneyManagement.Transaction>;
|
|
1128
|
-
}
|
|
1129
227
|
}
|
|
1130
228
|
}
|