stripe 18.2.0 → 18.3.0-beta.1
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 +1241 -11
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/Error.js +91 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/BalanceSettings.js +10 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/ExternalAccounts.js +23 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/FxQuotes.js +15 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +4 -4
- package/cjs/resources/PaymentIntents.js +13 -0
- package/cjs/resources/PaymentRecords.js +29 -0
- package/cjs/resources/Privacy/RedactionJobs.js +42 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Subscriptions.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/Terminal/Readers.js +8 -0
- package/cjs/resources/V2/Core/AccountLinks.js +9 -0
- package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
- package/cjs/resources/V2/Core/Accounts.js +25 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +25 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
- package/cjs/resources.js +98 -10
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +79 -0
- package/esm/apiVersion.js +1 -1
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/BalanceSettings.js +7 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/ExternalAccounts.js +20 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/FxQuotes.js +12 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +3 -3
- package/esm/resources/PaymentIntents.js +13 -0
- package/esm/resources/PaymentRecords.js +26 -0
- package/esm/resources/Privacy/RedactionJobs.js +39 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Subscriptions.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/Terminal/Readers.js +8 -0
- package/esm/resources/V2/Core/AccountLinks.js +6 -0
- package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
- package/esm/resources/V2/Core/Accounts.js +22 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +25 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +21 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +22 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources.js +82 -1
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +45 -0
- package/types/AccountSessionsResource.d.ts +264 -0
- package/types/Accounts.d.ts +212 -1
- package/types/AccountsResource.d.ts +544 -0
- package/types/BalanceSettings.d.ts +89 -0
- package/types/BalanceSettingsResource.d.ts +108 -0
- package/types/Billing/CreditBalanceSummary.d.ts +5 -0
- package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
- package/types/Billing/CreditGrants.d.ts +5 -0
- package/types/Billing/CreditGrantsResource.d.ts +11 -1
- package/types/BillingPortal/Sessions.d.ts +5 -0
- package/types/BillingPortal/SessionsResource.d.ts +12 -4
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Cards.d.ts +5 -0
- package/types/CashBalances.d.ts +5 -0
- package/types/Charges.d.ts +166 -0
- package/types/ChargesResource.d.ts +1406 -0
- package/types/Checkout/Sessions.d.ts +314 -1
- package/types/Checkout/SessionsResource.d.ts +340 -1
- package/types/ConfirmationTokens.d.ts +125 -0
- package/types/Coupons.d.ts +33 -0
- package/types/CouponsResource.d.ts +21 -0
- package/types/CreditNoteLineItems.d.ts +17 -0
- package/types/CreditNotes.d.ts +5 -0
- package/types/CreditNotesResource.d.ts +5 -0
- package/types/CustomerBalanceTransactions.d.ts +2 -0
- package/types/CustomerCashBalanceTransactions.d.ts +2 -0
- package/types/CustomerSessions.d.ts +5 -0
- package/types/CustomerSessionsResource.d.ts +6 -1
- package/types/Customers.d.ts +2 -0
- package/types/CustomersResource.d.ts +8 -0
- package/types/Discounts.d.ts +10 -0
- package/types/Errors.d.ts +69 -2
- package/types/EventTypes.d.ts +681 -0
- package/types/Events.d.ts +98 -0
- package/types/ExternalAccountsResource.d.ts +304 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +36 -1
- package/types/FinancialConnections/AccountsResource.d.ts +40 -3
- package/types/FinancialConnections/Institutions.d.ts +98 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +51 -1
- package/types/FinancialConnections/SessionsResource.d.ts +43 -1
- package/types/FxQuotes.d.ts +153 -0
- package/types/FxQuotesResource.d.ts +130 -0
- package/types/Identity/VerificationSessions.d.ts +5 -0
- package/types/Identity/VerificationSessionsResource.d.ts +7 -0
- package/types/InvoiceItems.d.ts +10 -0
- package/types/InvoiceItemsResource.d.ts +117 -6
- package/types/InvoiceLineItems.d.ts +45 -1
- package/types/InvoicePayments.d.ts +5 -0
- package/types/Invoices.d.ts +133 -3
- package/types/InvoicesResource.d.ts +1458 -13
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +113 -0
- package/types/Issuing/Transactions.d.ts +5 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +49 -0
- package/types/Mandates.d.ts +77 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1159 -0
- package/types/OrdersResource.d.ts +2967 -0
- package/types/PaymentAttemptRecords.d.ts +2132 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +116 -0
- package/types/PaymentIntents.d.ts +764 -2
- package/types/PaymentIntentsResource.d.ts +8819 -4111
- package/types/PaymentLinks.d.ts +6 -0
- package/types/PaymentLinksResource.d.ts +12 -0
- package/types/PaymentMethodConfigurations.d.ts +180 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
- package/types/PaymentMethods.d.ts +125 -0
- package/types/PaymentMethodsResource.d.ts +167 -2
- package/types/PaymentRecords.d.ts +2125 -0
- package/types/PaymentRecordsResource.d.ts +455 -0
- package/types/Payouts.d.ts +5 -0
- package/types/PayoutsResource.d.ts +5 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
- package/types/Privacy/RedactionJobs.d.ts +111 -0
- package/types/Privacy/RedactionJobsResource.d.ts +230 -0
- package/types/PromotionCodes.d.ts +5 -0
- package/types/PromotionCodesResource.d.ts +10 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1695 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +831 -0
- package/types/Quotes.d.ts +603 -1
- package/types/QuotesResource.d.ts +2572 -218
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +47 -1
- package/types/SetupIntents.d.ts +118 -2
- package/types/SetupIntentsResource.d.ts +730 -3
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +30 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +212 -0
- package/types/SubscriptionSchedulesResource.d.ts +1240 -5
- package/types/Subscriptions.d.ts +116 -1
- package/types/SubscriptionsResource.d.ts +424 -10
- package/types/Tax/Associations.d.ts +82 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/TaxIds.d.ts +10 -0
- package/types/TaxIdsResource.d.ts +10 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +102 -0
- package/types/Terminal/ReadersResource.d.ts +96 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Transfers.d.ts +5 -0
- package/types/TransfersResource.d.ts +5 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/V2/Core/AccountLinks.d.ts +106 -0
- package/types/V2/Core/AccountLinksResource.d.ts +90 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +3770 -0
- package/types/V2/Core/Accounts.d.ts +8169 -0
- package/types/V2/Core/AccountsResource.d.ts +10203 -0
- package/types/V2/Core/Persons.d.ts +1867 -0
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +70 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
- package/types/V2/EventTypes.d.ts +907 -5
- package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
- package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +546 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +52 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +314 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +288 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +206 -0
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +168 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +278 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +251 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +207 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +151 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +87 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +243 -0
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +176 -0
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +155 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +170 -0
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
- package/types/V2/Payments/OffSessionPayments.d.ts +167 -0
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +159 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +66 -0
- package/types/WebhookEndpointsResource.d.ts +80 -0
- package/types/index.d.ts +141 -5
- package/types/lib.d.ts +11 -1
- package/types/test/typescriptTest.ts +3 -3
- package/types/InvoicePaymentsResource.d.ts +0 -74
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
|
|
3
|
+
declare module 'stripe' {
|
|
4
|
+
namespace Stripe {
|
|
5
|
+
namespace V2 {
|
|
6
|
+
namespace MoneyManagement {
|
|
7
|
+
interface TransactionEntryRetrieveParams {}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
namespace MoneyManagement {
|
|
11
|
+
interface TransactionEntryListParams {
|
|
12
|
+
/**
|
|
13
|
+
* Filter for Transactions created at an exact time.
|
|
14
|
+
*/
|
|
15
|
+
created?: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Filter for Transactions created after the specified timestamp.
|
|
19
|
+
*/
|
|
20
|
+
created_gt?: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Filter for Transactions created at or after the specified timestamp.
|
|
24
|
+
*/
|
|
25
|
+
created_gte?: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Filter for Transactions created before the specified timestamp.
|
|
29
|
+
*/
|
|
30
|
+
created_lt?: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Filter for Transactions created at or before the specified timestamp.
|
|
34
|
+
*/
|
|
35
|
+
created_lte?: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* The page limit.
|
|
39
|
+
*/
|
|
40
|
+
limit?: number;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Filter for TransactionEntries belonging to a Transaction.
|
|
44
|
+
*/
|
|
45
|
+
transaction?: string;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
namespace MoneyManagement {
|
|
50
|
+
class TransactionEntriesResource {
|
|
51
|
+
/**
|
|
52
|
+
* Retrieves the details of a TransactionEntry by ID.
|
|
53
|
+
*/
|
|
54
|
+
retrieve(
|
|
55
|
+
id: string,
|
|
56
|
+
params?: TransactionEntryRetrieveParams,
|
|
57
|
+
options?: RequestOptions
|
|
58
|
+
): Promise<
|
|
59
|
+
Stripe.Response<Stripe.V2.MoneyManagement.TransactionEntry>
|
|
60
|
+
>;
|
|
61
|
+
retrieve(
|
|
62
|
+
id: string,
|
|
63
|
+
options?: RequestOptions
|
|
64
|
+
): Promise<
|
|
65
|
+
Stripe.Response<Stripe.V2.MoneyManagement.TransactionEntry>
|
|
66
|
+
>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Returns a list of TransactionEntries that match the provided filters.
|
|
70
|
+
*/
|
|
71
|
+
list(
|
|
72
|
+
params?: TransactionEntryListParams,
|
|
73
|
+
options?: RequestOptions
|
|
74
|
+
): ApiListPromise<Stripe.V2.MoneyManagement.TransactionEntry>;
|
|
75
|
+
list(
|
|
76
|
+
options?: RequestOptions
|
|
77
|
+
): ApiListPromise<Stripe.V2.MoneyManagement.TransactionEntry>;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
|
|
3
|
+
declare module 'stripe' {
|
|
4
|
+
namespace Stripe {
|
|
5
|
+
namespace V2 {
|
|
6
|
+
namespace MoneyManagement {
|
|
7
|
+
/**
|
|
8
|
+
* Use Transactions to view changes to your FinancialAccount balance over time. Every flow that moves money, such as OutboundPayments or ReceivedCredits, will have one or more Transactions that describes how the flow impacted your balance. Note that while the FinancialAccount balance will always be up to date, be aware that Transactions and TransactionEntries are created shortly after to reflect changes.
|
|
9
|
+
*/
|
|
10
|
+
interface Transaction {
|
|
11
|
+
/**
|
|
12
|
+
* Unique identifier for the object.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
18
|
+
*/
|
|
19
|
+
object: 'v2.money_management.transaction';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* The amount of the Transaction.
|
|
23
|
+
*/
|
|
24
|
+
amount: Amount;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* The delta to the FinancialAccount's balance. The balance_impact for the Transaction is equal to sum of its
|
|
28
|
+
* TransactionEntries that have `effective_at`s in the past.
|
|
29
|
+
*/
|
|
30
|
+
balance_impact: Transaction.BalanceImpact;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Open Enum. A descriptive category used to classify the Transaction.
|
|
34
|
+
*/
|
|
35
|
+
category: Transaction.Category;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
39
|
+
*/
|
|
40
|
+
created: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Indicates the FinancialAccount affected by this Transaction.
|
|
44
|
+
*/
|
|
45
|
+
financial_account: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Details about the Flow object that created the Transaction.
|
|
49
|
+
*/
|
|
50
|
+
flow: Transaction.Flow;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
54
|
+
*/
|
|
55
|
+
livemode: boolean;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Closed Enum. Current status of the Transaction.
|
|
59
|
+
* A Transaction is `pending` if either `balance_impact.inbound_pending` or `balance_impact.outbound_pending` is non-zero.
|
|
60
|
+
* A Transaction is `posted` if only `balance_impact.available` is non-zero.
|
|
61
|
+
* A Transaction is `void` if there is no balance impact.
|
|
62
|
+
* `posted` and `void` are terminal states, and no additional entries will be added to the Transaction.
|
|
63
|
+
*/
|
|
64
|
+
status: Transaction.Status;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Timestamps for when the Transaction transitioned to a particular status.
|
|
68
|
+
*/
|
|
69
|
+
status_transitions: Transaction.StatusTransitions;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
namespace Transaction {
|
|
73
|
+
interface BalanceImpact {
|
|
74
|
+
/**
|
|
75
|
+
* Impact to the available balance.
|
|
76
|
+
*/
|
|
77
|
+
available: Amount;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Impact to the inbound_pending balance.
|
|
81
|
+
*/
|
|
82
|
+
inbound_pending: Amount;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Impact to the outbound_pending balance.
|
|
86
|
+
*/
|
|
87
|
+
outbound_pending: Amount;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
type Category =
|
|
91
|
+
| 'adjustment'
|
|
92
|
+
| 'inbound_transfer'
|
|
93
|
+
| 'outbound_payment'
|
|
94
|
+
| 'outbound_transfer'
|
|
95
|
+
| 'received_credit'
|
|
96
|
+
| 'received_debit'
|
|
97
|
+
| 'return'
|
|
98
|
+
| 'stripe_fee';
|
|
99
|
+
|
|
100
|
+
interface Flow {
|
|
101
|
+
/**
|
|
102
|
+
* Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow.
|
|
103
|
+
*/
|
|
104
|
+
type: Flow.Type;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* If applicable, the ID of the Adjustment that created this Transaction.
|
|
108
|
+
*/
|
|
109
|
+
adjustment: string | null;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* If applicable, the ID of the FeeTransaction that created this Transaction.
|
|
113
|
+
*/
|
|
114
|
+
fee_transaction: string | null;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* If applicable, the ID of the InboundTransfer that created this Transaction.
|
|
118
|
+
*/
|
|
119
|
+
inbound_transfer: string | null;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* If applicable, the ID of the OutboundPayment that created this Transaction.
|
|
123
|
+
*/
|
|
124
|
+
outbound_payment: string | null;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* If applicable, the ID of the OutboundTransfer that created this Transaction.
|
|
128
|
+
*/
|
|
129
|
+
outbound_transfer: string | null;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* If applicable, the ID of the ReceivedCredit that created this Transaction.
|
|
133
|
+
*/
|
|
134
|
+
received_credit: string | null;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* If applicable, the ID of the ReceivedDebit that created this Transaction.
|
|
138
|
+
*/
|
|
139
|
+
received_debit: string | null;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
namespace Flow {
|
|
143
|
+
type Type =
|
|
144
|
+
| 'adjustment'
|
|
145
|
+
| 'fee_transaction'
|
|
146
|
+
| 'inbound_transfer'
|
|
147
|
+
| 'outbound_payment'
|
|
148
|
+
| 'outbound_transfer'
|
|
149
|
+
| 'received_credit'
|
|
150
|
+
| 'received_debit';
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
type Status = 'pending' | 'posted' | 'void';
|
|
154
|
+
|
|
155
|
+
interface StatusTransitions {
|
|
156
|
+
/**
|
|
157
|
+
* The time at which the Transaction became posted. Only present if status == posted.
|
|
158
|
+
*/
|
|
159
|
+
posted_at: string | null;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* The time at which the Transaction became void. Only present if status == void.
|
|
163
|
+
*/
|
|
164
|
+
void_at: string | null;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
|
|
3
|
+
declare module 'stripe' {
|
|
4
|
+
namespace Stripe {
|
|
5
|
+
namespace V2 {
|
|
6
|
+
namespace MoneyManagement {
|
|
7
|
+
interface TransactionRetrieveParams {}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
namespace MoneyManagement {
|
|
11
|
+
interface TransactionListParams {
|
|
12
|
+
/**
|
|
13
|
+
* Filter for Transactions created at an exact time.
|
|
14
|
+
*/
|
|
15
|
+
created?: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Filter for Transactions created after the specified timestamp.
|
|
19
|
+
*/
|
|
20
|
+
created_gt?: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Filter for Transactions created at or after the specified timestamp.
|
|
24
|
+
*/
|
|
25
|
+
created_gte?: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Filter for Transactions created before the specified timestamp.
|
|
29
|
+
*/
|
|
30
|
+
created_lt?: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Filter for Transactions created at or before the specified timestamp.
|
|
34
|
+
*/
|
|
35
|
+
created_lte?: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Filter for Transactions belonging to a FinancialAccount.
|
|
39
|
+
*/
|
|
40
|
+
financial_account?: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Filter for Transactions corresponding to a Flow.
|
|
44
|
+
*/
|
|
45
|
+
flow?: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* The page limit.
|
|
49
|
+
*/
|
|
50
|
+
limit?: number;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
namespace MoneyManagement {
|
|
55
|
+
class TransactionsResource {
|
|
56
|
+
/**
|
|
57
|
+
* Retrieves the details of a Transaction by ID.
|
|
58
|
+
*/
|
|
59
|
+
retrieve(
|
|
60
|
+
id: string,
|
|
61
|
+
params?: TransactionRetrieveParams,
|
|
62
|
+
options?: RequestOptions
|
|
63
|
+
): Promise<Stripe.Response<Stripe.V2.MoneyManagement.Transaction>>;
|
|
64
|
+
retrieve(
|
|
65
|
+
id: string,
|
|
66
|
+
options?: RequestOptions
|
|
67
|
+
): Promise<Stripe.Response<Stripe.V2.MoneyManagement.Transaction>>;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Returns a list of Transactions that match the provided filters.
|
|
71
|
+
*/
|
|
72
|
+
list(
|
|
73
|
+
params?: TransactionListParams,
|
|
74
|
+
options?: RequestOptions
|
|
75
|
+
): ApiListPromise<Stripe.V2.MoneyManagement.Transaction>;
|
|
76
|
+
list(
|
|
77
|
+
options?: RequestOptions
|
|
78
|
+
): ApiListPromise<Stripe.V2.MoneyManagement.Transaction>;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
|
|
3
|
+
declare module 'stripe' {
|
|
4
|
+
namespace Stripe {
|
|
5
|
+
namespace V2 {
|
|
6
|
+
namespace Payments {
|
|
7
|
+
/**
|
|
8
|
+
* Off-session payment resource.
|
|
9
|
+
*/
|
|
10
|
+
interface OffSessionPayment {
|
|
11
|
+
/**
|
|
12
|
+
* ID of the OSP.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
18
|
+
*/
|
|
19
|
+
object: 'v2.payments.off_session_payment';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* The amount you requested to be collected on the OSP upon creation.
|
|
23
|
+
*/
|
|
24
|
+
amount_requested: Amount;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Number of authorization attempts.
|
|
28
|
+
*/
|
|
29
|
+
attempts: number;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The frequency of the underlying payment that this OSP represents.
|
|
33
|
+
*/
|
|
34
|
+
cadence: OffSessionPayment.Cadence;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* ID of owning compartment.
|
|
38
|
+
*/
|
|
39
|
+
compartment_id: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Timestamp of creation.
|
|
43
|
+
*/
|
|
44
|
+
created: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Customer owning the supplied payment method.
|
|
48
|
+
*/
|
|
49
|
+
customer: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Reason why the OSP failed.
|
|
53
|
+
*/
|
|
54
|
+
failure_reason: OffSessionPayment.FailureReason | null;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Last error returned by the financial partner for a failed authorization.
|
|
58
|
+
*/
|
|
59
|
+
last_authorization_attempt_error: string | null;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Payment attempt record for the latest attempt, if one exists.
|
|
63
|
+
*/
|
|
64
|
+
latest_payment_attempt_record: string | null;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* True if the txn is livemode, false otherwise.
|
|
68
|
+
*/
|
|
69
|
+
livemode: boolean;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Metadata you provided.
|
|
73
|
+
*/
|
|
74
|
+
metadata: Stripe.Metadata;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* OBO, same as on the PI.
|
|
78
|
+
*/
|
|
79
|
+
on_behalf_of: string | null;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* ID of payment method.
|
|
83
|
+
*/
|
|
84
|
+
payment_method: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Payment record associated with the OSP. consistent across attempts.
|
|
88
|
+
*/
|
|
89
|
+
payment_record: string | null;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Details about the OSP retries.
|
|
93
|
+
*/
|
|
94
|
+
retry_details: OffSessionPayment.RetryDetails;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Statement descriptor you provided.
|
|
98
|
+
*/
|
|
99
|
+
statement_descriptor: string | null;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Statement descriptor suffix you provided, similar to that on the PI.
|
|
103
|
+
*/
|
|
104
|
+
statement_descriptor_suffix: string | null;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Status of the OSP.
|
|
108
|
+
*/
|
|
109
|
+
status: OffSessionPayment.Status;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Test clock to be used to advance the retry attempts.
|
|
113
|
+
*/
|
|
114
|
+
test_clock: string | null;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Instructions for the transfer to be made with this OSP after successful money movement.
|
|
118
|
+
*/
|
|
119
|
+
transfer_data: OffSessionPayment.TransferData | null;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
namespace OffSessionPayment {
|
|
123
|
+
type Cadence = 'recurring' | 'unscheduled';
|
|
124
|
+
|
|
125
|
+
type FailureReason = 'rejected_by_partner' | 'retries_exhausted';
|
|
126
|
+
|
|
127
|
+
interface RetryDetails {
|
|
128
|
+
/**
|
|
129
|
+
* Number of authorization attempts so far.
|
|
130
|
+
*/
|
|
131
|
+
attempts: number;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* How you want Stripe to retry the payment.
|
|
135
|
+
*/
|
|
136
|
+
retry_strategy: RetryDetails.RetryStrategy;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
namespace RetryDetails {
|
|
140
|
+
type RetryStrategy = 'none' | 'smart';
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
type Status =
|
|
144
|
+
| 'canceled'
|
|
145
|
+
| 'failed'
|
|
146
|
+
| 'pending'
|
|
147
|
+
| 'pending_retry'
|
|
148
|
+
| 'processing'
|
|
149
|
+
| 'requires_capture'
|
|
150
|
+
| 'succeeded';
|
|
151
|
+
|
|
152
|
+
interface TransferData {
|
|
153
|
+
/**
|
|
154
|
+
* Amount in minor units that you want to transfer.
|
|
155
|
+
*/
|
|
156
|
+
amount: number;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* ID of the connected account where you want money to go.
|
|
160
|
+
*/
|
|
161
|
+
destination: string;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
|
|
3
|
+
declare module 'stripe' {
|
|
4
|
+
namespace Stripe {
|
|
5
|
+
namespace V2 {
|
|
6
|
+
namespace Payments {
|
|
7
|
+
interface OffSessionPaymentCreateParams {
|
|
8
|
+
/**
|
|
9
|
+
* Amount you want to collect.
|
|
10
|
+
*/
|
|
11
|
+
amount: Amount;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The frequency of the OSP.
|
|
15
|
+
*/
|
|
16
|
+
cadence: OffSessionPaymentCreateParams.Cadence;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Customer that owns the provided payment method.
|
|
20
|
+
*/
|
|
21
|
+
customer: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Any of your internal data you want to track here.
|
|
25
|
+
*/
|
|
26
|
+
metadata: Stripe.MetadataParam;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Payment method you want to debit. Must be attached to a customer and set up for off-session usage.
|
|
30
|
+
*/
|
|
31
|
+
payment_method: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The OBO merchant you want to use.
|
|
35
|
+
*/
|
|
36
|
+
on_behalf_of?: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* How you want stripe to retry the OSP.
|
|
40
|
+
*/
|
|
41
|
+
retry_details?: OffSessionPaymentCreateParams.RetryDetails;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* String you want to appear on your customer's statement.
|
|
45
|
+
*/
|
|
46
|
+
statement_descriptor?: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Suffix appended to your account level descriptor.
|
|
50
|
+
*/
|
|
51
|
+
statement_descriptor_suffix?: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Test clock to be used for testing your retry handling. Only usable in a sandbox.
|
|
55
|
+
*/
|
|
56
|
+
test_clock?: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* How you want to transfer the funds to your connected accounts.
|
|
60
|
+
*/
|
|
61
|
+
transfer_data?: OffSessionPaymentCreateParams.TransferData;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
namespace OffSessionPaymentCreateParams {
|
|
65
|
+
type Cadence = 'recurring' | 'unscheduled';
|
|
66
|
+
|
|
67
|
+
interface RetryDetails {
|
|
68
|
+
/**
|
|
69
|
+
* How you want Stripe to retry the payment.
|
|
70
|
+
*/
|
|
71
|
+
retry_strategy: RetryDetails.RetryStrategy;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
namespace RetryDetails {
|
|
75
|
+
type RetryStrategy = 'none' | 'smart';
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
interface TransferData {
|
|
79
|
+
/**
|
|
80
|
+
* Amount in minor units that you want to transfer.
|
|
81
|
+
*/
|
|
82
|
+
amount: number;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* ID of the connected account where you want money to go.
|
|
86
|
+
*/
|
|
87
|
+
destination: string;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
namespace Payments {
|
|
93
|
+
interface OffSessionPaymentRetrieveParams {}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
namespace Payments {
|
|
97
|
+
interface OffSessionPaymentListParams {
|
|
98
|
+
/**
|
|
99
|
+
* The page size limit, if not provided the default is 20.
|
|
100
|
+
*/
|
|
101
|
+
limit?: number;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
namespace Payments {
|
|
106
|
+
interface OffSessionPaymentCancelParams {}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
namespace Payments {
|
|
110
|
+
class OffSessionPaymentsResource {
|
|
111
|
+
/**
|
|
112
|
+
* Create OSP.
|
|
113
|
+
*/
|
|
114
|
+
create(
|
|
115
|
+
params: OffSessionPaymentCreateParams,
|
|
116
|
+
options?: RequestOptions
|
|
117
|
+
): Promise<Stripe.Response<Stripe.V2.Payments.OffSessionPayment>>;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Retrieve OSP by ID.
|
|
121
|
+
*/
|
|
122
|
+
retrieve(
|
|
123
|
+
id: string,
|
|
124
|
+
params?: OffSessionPaymentRetrieveParams,
|
|
125
|
+
options?: RequestOptions
|
|
126
|
+
): Promise<Stripe.Response<Stripe.V2.Payments.OffSessionPayment>>;
|
|
127
|
+
retrieve(
|
|
128
|
+
id: string,
|
|
129
|
+
options?: RequestOptions
|
|
130
|
+
): Promise<Stripe.Response<Stripe.V2.Payments.OffSessionPayment>>;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* List OSPs matching filter.
|
|
134
|
+
*/
|
|
135
|
+
list(
|
|
136
|
+
params?: OffSessionPaymentListParams,
|
|
137
|
+
options?: RequestOptions
|
|
138
|
+
): ApiListPromise<Stripe.V2.Payments.OffSessionPayment>;
|
|
139
|
+
list(
|
|
140
|
+
options?: RequestOptions
|
|
141
|
+
): ApiListPromise<Stripe.V2.Payments.OffSessionPayment>;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Cancel OSP.
|
|
145
|
+
*/
|
|
146
|
+
cancel(
|
|
147
|
+
id: string,
|
|
148
|
+
params?: OffSessionPaymentCancelParams,
|
|
149
|
+
options?: RequestOptions
|
|
150
|
+
): Promise<Stripe.Response<Stripe.V2.Payments.OffSessionPayment>>;
|
|
151
|
+
cancel(
|
|
152
|
+
id: string,
|
|
153
|
+
options?: RequestOptions
|
|
154
|
+
): Promise<Stripe.Response<Stripe.V2.Payments.OffSessionPayment>>;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|