stripe 22.3.0-beta.1 → 22.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 +151 -1770
- package/OPENAPI_VERSION +1 -1
- package/README.md +73 -58
- package/VERSION +1 -1
- package/cjs/Error.d.ts +0 -50
- package/cjs/Error.js +1 -125
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +2 -1
- package/cjs/RequestSender.js +10 -2
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/Types.d.ts +2 -4
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/autoPagination.js +27 -2
- package/cjs/autoPagination.js.map +1 -1
- package/cjs/platform/NodePlatformFunctions.d.ts +3 -0
- package/cjs/platform/NodePlatformFunctions.js +36 -2
- package/cjs/platform/NodePlatformFunctions.js.map +1 -1
- package/cjs/platform/PlatformFunctions.d.ts +1 -0
- package/cjs/platform/PlatformFunctions.js +3 -0
- package/cjs/platform/PlatformFunctions.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +0 -262
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +5 -829
- package/cjs/resources/Accounts.js +18 -32
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplePayDomains.js +2 -2
- package/cjs/resources/ApplePayDomains.js.map +1 -1
- package/cjs/resources/ApplicationFees.js +5 -5
- package/cjs/resources/ApplicationFees.js.map +1 -1
- package/cjs/resources/Apps/Secrets.d.ts +14 -16
- package/cjs/resources/Apps/index.d.ts +1 -1
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BalanceTransactions.d.ts +5 -5
- package/cjs/resources/BalanceTransactions.js +3 -3
- package/cjs/resources/BalanceTransactions.js.map +1 -1
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/Alerts.d.ts +27 -29
- package/cjs/resources/Billing/Alerts.js +4 -4
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +40 -42
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +74 -76
- package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +41 -43
- package/cjs/resources/Billing/CreditGrants.js +4 -4
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventAdjustments.d.ts +9 -11
- package/cjs/resources/Billing/Meters.d.ts +39 -41
- package/cjs/resources/Billing/Meters.js +5 -5
- package/cjs/resources/Billing/Meters.js.map +1 -1
- package/cjs/resources/Billing/index.d.ts +7 -10
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Configurations.d.ts +132 -134
- package/cjs/resources/BillingPortal/Configurations.js +2 -2
- package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
- package/cjs/resources/BillingPortal/Sessions.d.ts +100 -102
- package/cjs/resources/BillingPortal/index.d.ts +2 -2
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +0 -4
- package/cjs/resources/Charges.d.ts +84 -3066
- package/cjs/resources/Charges.js +3 -3
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +1598 -1900
- package/cjs/resources/Checkout/Sessions.js +4 -4
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +1 -1
- package/cjs/resources/Climate/Orders.d.ts +47 -49
- package/cjs/resources/Climate/Orders.js +3 -3
- package/cjs/resources/Climate/Orders.js.map +1 -1
- package/cjs/resources/Climate/Products.d.ts +15 -17
- package/cjs/resources/Climate/Products.js +1 -1
- package/cjs/resources/Climate/Products.js.map +1 -1
- package/cjs/resources/Climate/Suppliers.d.ts +25 -27
- package/cjs/resources/Climate/Suppliers.js +1 -1
- package/cjs/resources/Climate/Suppliers.js.map +1 -1
- package/cjs/resources/Climate/index.d.ts +3 -3
- package/cjs/resources/ConfirmationTokens.d.ts +13 -67
- package/cjs/resources/ConfirmationTokens.js +1 -1
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/CountrySpecs.js +1 -1
- package/cjs/resources/CountrySpecs.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +0 -53
- package/cjs/resources/Coupons.js +3 -16
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +8 -5
- package/cjs/resources/CreditNotes.js +6 -4
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +1 -7
- package/cjs/resources/Customers.js +31 -41
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +28 -30
- package/cjs/resources/Disputes.js +3 -3
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Entitlements/ActiveEntitlements.js +1 -1
- package/cjs/resources/Entitlements/ActiveEntitlements.js.map +1 -1
- package/cjs/resources/Entitlements/Features.js +2 -2
- package/cjs/resources/Entitlements/Features.js.map +1 -1
- package/cjs/resources/Entitlements/index.d.ts +2 -2
- package/cjs/resources/EphemeralKeys.js +1 -1
- package/cjs/resources/EphemeralKeys.js.map +1 -1
- package/cjs/resources/Events.d.ts +3 -548
- package/cjs/resources/Events.js +1 -1
- package/cjs/resources/Events.js.map +1 -1
- package/cjs/resources/ExchangeRates.js +1 -1
- package/cjs/resources/ExchangeRates.js.map +1 -1
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FileLinks.js +2 -2
- package/cjs/resources/FileLinks.js.map +1 -1
- package/cjs/resources/Files.js +1 -1
- package/cjs/resources/Files.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +169 -217
- package/cjs/resources/FinancialConnections/Accounts.js +6 -14
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +43 -193
- package/cjs/resources/FinancialConnections/Sessions.js +1 -1
- package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
- package/cjs/resources/FinancialConnections/Transactions.d.ts +13 -15
- package/cjs/resources/FinancialConnections/Transactions.js +1 -1
- package/cjs/resources/FinancialConnections/Transactions.js.map +1 -1
- package/cjs/resources/FinancialConnections/index.d.ts +9 -24
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/Forwarding/Requests.d.ts +57 -59
- package/cjs/resources/Forwarding/Requests.js +1 -1
- package/cjs/resources/Forwarding/Requests.js.map +1 -1
- package/cjs/resources/Forwarding/index.d.ts +1 -1
- package/cjs/resources/Identity/VerificationReports.d.ts +255 -257
- package/cjs/resources/Identity/VerificationReports.js +1 -1
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +148 -150
- package/cjs/resources/Identity/VerificationSessions.js +4 -4
- package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
- package/cjs/resources/Identity/index.d.ts +2 -2
- package/cjs/resources/InvoiceItems.d.ts +0 -85
- package/cjs/resources/InvoiceItems.js +3 -3
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/InvoicePayments.js +1 -1
- package/cjs/resources/InvoicePayments.js.map +1 -1
- package/cjs/resources/InvoiceRenderingTemplates.js +3 -3
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +23 -1341
- package/cjs/resources/Invoices.js +14 -55
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +354 -356
- package/cjs/resources/Issuing/Authorizations.js +4 -4
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +144 -147
- package/cjs/resources/Issuing/Cardholders.js +2 -2
- package/cjs/resources/Issuing/Cardholders.js.map +1 -1
- package/cjs/resources/Issuing/Cards.d.ts +183 -185
- package/cjs/resources/Issuing/Cards.js +2 -2
- package/cjs/resources/Issuing/Cards.js.map +1 -1
- package/cjs/resources/Issuing/Disputes.d.ts +215 -217
- package/cjs/resources/Issuing/Disputes.js +3 -3
- package/cjs/resources/Issuing/Disputes.js.map +1 -1
- package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +47 -49
- package/cjs/resources/Issuing/PersonalizationDesigns.js +2 -2
- package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
- package/cjs/resources/Issuing/PhysicalBundles.d.ts +24 -26
- package/cjs/resources/Issuing/PhysicalBundles.js +1 -1
- package/cjs/resources/Issuing/PhysicalBundles.js.map +1 -1
- package/cjs/resources/Issuing/Tokens.d.ts +130 -132
- package/cjs/resources/Issuing/Tokens.js +2 -2
- package/cjs/resources/Issuing/Tokens.js.map +1 -1
- package/cjs/resources/Issuing/Transactions.d.ts +223 -234
- package/cjs/resources/Issuing/Transactions.js +2 -2
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +30 -55
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +4 -30
- package/cjs/resources/Mandates.d.ts +1 -33
- package/cjs/resources/Mandates.js +1 -9
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/PaymentAttemptRecords.d.ts +9 -92
- package/cjs/resources/PaymentAttemptRecords.js +1 -1
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntents.d.ts +6495 -17272
- package/cjs/resources/PaymentIntents.js +9 -36
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +6 -19
- package/cjs/resources/PaymentLinks.js +3 -3
- package/cjs/resources/PaymentLinks.js.map +1 -1
- package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -350
- package/cjs/resources/PaymentMethodConfigurations.js +2 -2
- package/cjs/resources/PaymentMethodConfigurations.js.map +1 -1
- package/cjs/resources/PaymentMethodDomains.js +3 -3
- package/cjs/resources/PaymentMethodDomains.js.map +1 -1
- package/cjs/resources/PaymentMethods.d.ts +16 -152
- package/cjs/resources/PaymentMethods.js +4 -4
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +19 -102
- package/cjs/resources/PaymentRecords.js +7 -7
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Payouts.js +4 -4
- package/cjs/resources/Payouts.js.map +1 -1
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Plans.d.ts +0 -16
- package/cjs/resources/Plans.js +3 -3
- package/cjs/resources/Plans.js.map +1 -1
- package/cjs/resources/Prices.d.ts +0 -52
- package/cjs/resources/Prices.js +2 -2
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Products.d.ts +0 -42
- package/cjs/resources/Products.js +7 -7
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +2 -29
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +165 -2374
- package/cjs/resources/Quotes.js +20 -1180
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/EarlyFraudWarnings.js +1 -1
- package/cjs/resources/Radar/EarlyFraudWarnings.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +294 -296
- package/cjs/resources/Radar/ValueListItems.d.ts +14 -16
- package/cjs/resources/Radar/ValueListItems.js +2 -2
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/ValueLists.d.ts +18 -20
- package/cjs/resources/Radar/ValueLists.js +3 -3
- package/cjs/resources/Radar/ValueLists.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +8 -6
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +0 -11
- package/cjs/resources/Refunds.js +3 -3
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reporting/ReportRuns.d.ts +35 -37
- package/cjs/resources/Reporting/ReportRuns.js +1 -1
- package/cjs/resources/Reporting/ReportRuns.js.map +1 -1
- package/cjs/resources/Reporting/ReportTypes.js +1 -1
- package/cjs/resources/Reporting/ReportTypes.js.map +1 -1
- package/cjs/resources/Reporting/index.d.ts +2 -2
- package/cjs/resources/Reserve/Holds.d.ts +24 -64
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +25 -43
- package/cjs/resources/Reserve/Plans.js +0 -11
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +17 -59
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +3 -14
- package/cjs/resources/Reserve/index.js +0 -9
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/Reviews.js +2 -2
- package/cjs/resources/Reviews.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +8 -26
- package/cjs/resources/SetupIntents.d.ts +14 -333
- package/cjs/resources/SetupIntents.js +5 -5
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/ShippingRates.js +2 -2
- package/cjs/resources/ShippingRates.js.map +1 -1
- package/cjs/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
- package/cjs/resources/Sigma/ScheduledQueryRuns.js +1 -1
- package/cjs/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
- package/cjs/resources/Sigma/index.d.ts +1 -1
- package/cjs/resources/Sources.d.ts +1 -16
- package/cjs/resources/Sources.js +4 -4
- package/cjs/resources/Sources.js.map +1 -1
- package/cjs/resources/SubscriptionItems.d.ts +0 -143
- package/cjs/resources/SubscriptionItems.js +3 -3
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +4 -1155
- package/cjs/resources/SubscriptionSchedules.js +4 -10
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +61 -560
- package/cjs/resources/Subscriptions.js +7 -152
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/Associations.d.ts +24 -26
- package/cjs/resources/Tax/CalculationLineItems.d.ts +56 -62
- package/cjs/resources/Tax/Calculations.d.ts +158 -164
- package/cjs/resources/Tax/Calculations.js +2 -2
- package/cjs/resources/Tax/Calculations.js.map +1 -1
- package/cjs/resources/Tax/Registrations.d.ts +1095 -1233
- package/cjs/resources/Tax/Registrations.js +2 -2
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +37 -39
- package/cjs/resources/Tax/TransactionLineItems.d.ts +11 -13
- package/cjs/resources/Tax/Transactions.d.ts +113 -115
- package/cjs/resources/Tax/Transactions.js +2 -2
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +18 -32
- package/cjs/resources/Tax/index.js +0 -4
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +0 -15
- package/cjs/resources/TaxCodes.js +1 -1
- package/cjs/resources/TaxCodes.js.map +1 -1
- package/cjs/resources/TaxIds.js +2 -2
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.js +2 -2
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +479 -508
- package/cjs/resources/Terminal/Configurations.js +3 -3
- package/cjs/resources/Terminal/Configurations.js.map +1 -1
- package/cjs/resources/Terminal/Locations.d.ts +72 -74
- package/cjs/resources/Terminal/Locations.js +3 -3
- package/cjs/resources/Terminal/Locations.js.map +1 -1
- package/cjs/resources/Terminal/OnboardingLinks.d.ts +16 -18
- package/cjs/resources/Terminal/Readers.d.ts +479 -497
- package/cjs/resources/Terminal/Readers.js +11 -11
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +11 -13
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +2 -79
- package/cjs/resources/TestHelpers/Customers.js +1 -1
- package/cjs/resources/TestHelpers/Customers.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js +6 -6
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Cards.js +5 -5
- package/cjs/resources/TestHelpers/Issuing/Cards.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Transactions.js +1 -1
- package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/TestHelpers/Refunds.js +1 -1
- package/cjs/resources/TestHelpers/Refunds.js.map +1 -1
- package/cjs/resources/TestHelpers/Terminal/Readers.js +3 -3
- package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
- package/cjs/resources/TestHelpers/TestClocks.d.ts +27 -29
- package/cjs/resources/TestHelpers/TestClocks.js +3 -3
- package/cjs/resources/TestHelpers/TestClocks.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +3 -5
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.js +1 -1
- package/cjs/resources/Tokens.js.map +1 -1
- package/cjs/resources/Topups.d.ts +18 -0
- package/cjs/resources/Topups.js +3 -3
- package/cjs/resources/Topups.js.map +1 -1
- package/cjs/resources/Transfers.d.ts +0 -8
- package/cjs/resources/Transfers.js +6 -6
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/Treasury/CreditReversals.d.ts +11 -13
- package/cjs/resources/Treasury/CreditReversals.js +1 -1
- package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
- package/cjs/resources/Treasury/DebitReversals.d.ts +18 -20
- package/cjs/resources/Treasury/DebitReversals.js +1 -1
- package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +252 -259
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +88 -123
- package/cjs/resources/Treasury/FinancialAccounts.js +5 -5
- package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
- package/cjs/resources/Treasury/InboundTransfers.d.ts +79 -81
- package/cjs/resources/Treasury/InboundTransfers.js +2 -2
- package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +125 -135
- package/cjs/resources/Treasury/OutboundPayments.js +2 -2
- package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +114 -160
- package/cjs/resources/Treasury/OutboundTransfers.js +2 -2
- package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +118 -142
- package/cjs/resources/Treasury/ReceivedCredits.js +1 -1
- package/cjs/resources/Treasury/ReceivedCredits.js.map +1 -1
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +86 -114
- package/cjs/resources/Treasury/ReceivedDebits.js +1 -1
- package/cjs/resources/Treasury/ReceivedDebits.js.map +1 -1
- package/cjs/resources/Treasury/TransactionEntries.d.ts +75 -77
- package/cjs/resources/Treasury/TransactionEntries.js +1 -1
- package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
- package/cjs/resources/Treasury/Transactions.d.ts +86 -88
- package/cjs/resources/Treasury/Transactions.js +1 -1
- package/cjs/resources/Treasury/Transactions.js.map +1 -1
- package/cjs/resources/Treasury/index.d.ts +10 -10
- package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +9 -13
- package/cjs/resources/V2/Billing/index.d.ts +9 -48
- package/cjs/resources/V2/Billing/index.js +0 -8
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
- package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +132 -131
- package/cjs/resources/V2/Core/AccountLinks.d.ts +81 -85
- package/cjs/resources/V2/Core/AccountPersons.d.ts +369 -373
- package/cjs/resources/V2/Core/AccountTokens.d.ts +0 -10
- package/cjs/resources/V2/Core/AccountTokens.js +1 -1
- package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js +3 -3
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts/Persons.js +7 -7
- package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +3043 -4006
- package/cjs/resources/V2/Core/Accounts.js +3 -3
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/EventDestinations.d.ts +78 -82
- package/cjs/resources/V2/Core/EventDestinations.js +6 -6
- package/cjs/resources/V2/Core/EventDestinations.js.map +1 -1
- package/cjs/resources/V2/Core/Events.d.ts +31 -1154
- package/cjs/resources/V2/Core/Events.js +1 -1
- package/cjs/resources/V2/Core/Events.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +14 -24
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/index.d.ts +0 -27
- package/cjs/resources/V2/index.js +0 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources/WebhookEndpoints.js +3 -3
- package/cjs/resources/WebhookEndpoints.js.map +1 -1
- package/cjs/resources.d.ts +0 -10
- package/cjs/resources.js +10 -146
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +14384 -3
- package/cjs/stripe.cjs.node.js +1 -4
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +69 -62
- package/cjs/stripe.core.js +37 -55
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +1 -1
- package/cjs/utils.js +13 -2
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +0 -50
- package/esm/Error.js +0 -109
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +2 -1
- package/esm/RequestSender.js +10 -2
- package/esm/RequestSender.js.map +1 -1
- package/esm/Types.d.ts +2 -4
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -1
- package/esm/apiVersion.js +2 -1
- package/esm/apiVersion.js.map +1 -1
- package/esm/autoPagination.js +27 -2
- package/esm/autoPagination.js.map +1 -1
- package/esm/platform/NodePlatformFunctions.d.ts +3 -0
- package/esm/platform/NodePlatformFunctions.js +36 -2
- package/esm/platform/NodePlatformFunctions.js.map +1 -1
- package/esm/platform/PlatformFunctions.d.ts +1 -0
- package/esm/platform/PlatformFunctions.js +3 -0
- package/esm/platform/PlatformFunctions.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +0 -262
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +5 -829
- package/esm/resources/Accounts.js +18 -32
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplePayDomains.js +2 -2
- package/esm/resources/ApplePayDomains.js.map +1 -1
- package/esm/resources/ApplicationFees.js +5 -5
- package/esm/resources/ApplicationFees.js.map +1 -1
- package/esm/resources/Apps/Secrets.d.ts +14 -16
- package/esm/resources/Apps/index.d.ts +1 -1
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BalanceTransactions.d.ts +5 -5
- package/esm/resources/BalanceTransactions.js +3 -3
- package/esm/resources/BalanceTransactions.js.map +1 -1
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/Alerts.d.ts +27 -29
- package/esm/resources/Billing/Alerts.js +4 -4
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +40 -42
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +74 -76
- package/esm/resources/Billing/CreditBalanceTransactions.js +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +41 -43
- package/esm/resources/Billing/CreditGrants.js +4 -4
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventAdjustments.d.ts +9 -11
- package/esm/resources/Billing/Meters.d.ts +39 -41
- package/esm/resources/Billing/Meters.js +5 -5
- package/esm/resources/Billing/Meters.js.map +1 -1
- package/esm/resources/Billing/index.d.ts +7 -10
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Configurations.d.ts +132 -134
- package/esm/resources/BillingPortal/Configurations.js +2 -2
- package/esm/resources/BillingPortal/Configurations.js.map +1 -1
- package/esm/resources/BillingPortal/Sessions.d.ts +100 -102
- package/esm/resources/BillingPortal/index.d.ts +2 -2
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +0 -4
- package/esm/resources/Charges.d.ts +84 -3066
- package/esm/resources/Charges.js +3 -3
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +1598 -1900
- package/esm/resources/Checkout/Sessions.js +4 -4
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +1 -1
- package/esm/resources/Climate/Orders.d.ts +47 -49
- package/esm/resources/Climate/Orders.js +3 -3
- package/esm/resources/Climate/Orders.js.map +1 -1
- package/esm/resources/Climate/Products.d.ts +15 -17
- package/esm/resources/Climate/Products.js +1 -1
- package/esm/resources/Climate/Products.js.map +1 -1
- package/esm/resources/Climate/Suppliers.d.ts +25 -27
- package/esm/resources/Climate/Suppliers.js +1 -1
- package/esm/resources/Climate/Suppliers.js.map +1 -1
- package/esm/resources/Climate/index.d.ts +3 -3
- package/esm/resources/ConfirmationTokens.d.ts +13 -67
- package/esm/resources/ConfirmationTokens.js +1 -1
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/CountrySpecs.js +1 -1
- package/esm/resources/CountrySpecs.js.map +1 -1
- package/esm/resources/Coupons.d.ts +0 -53
- package/esm/resources/Coupons.js +3 -16
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +8 -5
- package/esm/resources/CreditNotes.js +6 -4
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +1 -7
- package/esm/resources/Customers.js +31 -41
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +28 -30
- package/esm/resources/Disputes.js +3 -3
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Entitlements/ActiveEntitlements.js +1 -1
- package/esm/resources/Entitlements/ActiveEntitlements.js.map +1 -1
- package/esm/resources/Entitlements/Features.js +2 -2
- package/esm/resources/Entitlements/Features.js.map +1 -1
- package/esm/resources/Entitlements/index.d.ts +2 -2
- package/esm/resources/EphemeralKeys.js +1 -1
- package/esm/resources/EphemeralKeys.js.map +1 -1
- package/esm/resources/Events.d.ts +3 -548
- package/esm/resources/Events.js +1 -1
- package/esm/resources/Events.js.map +1 -1
- package/esm/resources/ExchangeRates.js +1 -1
- package/esm/resources/ExchangeRates.js.map +1 -1
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FileLinks.js +2 -2
- package/esm/resources/FileLinks.js.map +1 -1
- package/esm/resources/Files.js +1 -1
- package/esm/resources/Files.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +169 -217
- package/esm/resources/FinancialConnections/Accounts.js +6 -14
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +43 -193
- package/esm/resources/FinancialConnections/Sessions.js +1 -1
- package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
- package/esm/resources/FinancialConnections/Transactions.d.ts +13 -15
- package/esm/resources/FinancialConnections/Transactions.js +1 -1
- package/esm/resources/FinancialConnections/Transactions.js.map +1 -1
- package/esm/resources/FinancialConnections/index.d.ts +9 -24
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/Forwarding/Requests.d.ts +57 -59
- package/esm/resources/Forwarding/Requests.js +1 -1
- package/esm/resources/Forwarding/Requests.js.map +1 -1
- package/esm/resources/Forwarding/index.d.ts +1 -1
- package/esm/resources/Identity/VerificationReports.d.ts +255 -257
- package/esm/resources/Identity/VerificationReports.js +1 -1
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +148 -150
- package/esm/resources/Identity/VerificationSessions.js +4 -4
- package/esm/resources/Identity/VerificationSessions.js.map +1 -1
- package/esm/resources/Identity/index.d.ts +2 -2
- package/esm/resources/InvoiceItems.d.ts +0 -85
- package/esm/resources/InvoiceItems.js +3 -3
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/InvoicePayments.js +1 -1
- package/esm/resources/InvoicePayments.js.map +1 -1
- package/esm/resources/InvoiceRenderingTemplates.js +3 -3
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +23 -1341
- package/esm/resources/Invoices.js +14 -55
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +354 -356
- package/esm/resources/Issuing/Authorizations.js +4 -4
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +144 -147
- package/esm/resources/Issuing/Cardholders.js +2 -2
- package/esm/resources/Issuing/Cardholders.js.map +1 -1
- package/esm/resources/Issuing/Cards.d.ts +183 -185
- package/esm/resources/Issuing/Cards.js +2 -2
- package/esm/resources/Issuing/Cards.js.map +1 -1
- package/esm/resources/Issuing/Disputes.d.ts +215 -217
- package/esm/resources/Issuing/Disputes.js +3 -3
- package/esm/resources/Issuing/Disputes.js.map +1 -1
- package/esm/resources/Issuing/PersonalizationDesigns.d.ts +47 -49
- package/esm/resources/Issuing/PersonalizationDesigns.js +2 -2
- package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
- package/esm/resources/Issuing/PhysicalBundles.d.ts +24 -26
- package/esm/resources/Issuing/PhysicalBundles.js +1 -1
- package/esm/resources/Issuing/PhysicalBundles.js.map +1 -1
- package/esm/resources/Issuing/Tokens.d.ts +130 -132
- package/esm/resources/Issuing/Tokens.js +2 -2
- package/esm/resources/Issuing/Tokens.js.map +1 -1
- package/esm/resources/Issuing/Transactions.d.ts +223 -234
- package/esm/resources/Issuing/Transactions.js +2 -2
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +30 -55
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +4 -30
- package/esm/resources/Mandates.d.ts +1 -33
- package/esm/resources/Mandates.js +1 -9
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/PaymentAttemptRecords.d.ts +9 -92
- package/esm/resources/PaymentAttemptRecords.js +1 -1
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntents.d.ts +6495 -17272
- package/esm/resources/PaymentIntents.js +9 -36
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +6 -19
- package/esm/resources/PaymentLinks.js +3 -3
- package/esm/resources/PaymentLinks.js.map +1 -1
- package/esm/resources/PaymentMethodConfigurations.d.ts +0 -350
- package/esm/resources/PaymentMethodConfigurations.js +2 -2
- package/esm/resources/PaymentMethodConfigurations.js.map +1 -1
- package/esm/resources/PaymentMethodDomains.js +3 -3
- package/esm/resources/PaymentMethodDomains.js.map +1 -1
- package/esm/resources/PaymentMethods.d.ts +16 -152
- package/esm/resources/PaymentMethods.js +4 -4
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +19 -102
- package/esm/resources/PaymentRecords.js +7 -7
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Payouts.js +4 -4
- package/esm/resources/Payouts.js.map +1 -1
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Plans.d.ts +0 -16
- package/esm/resources/Plans.js +3 -3
- package/esm/resources/Plans.js.map +1 -1
- package/esm/resources/Prices.d.ts +0 -52
- package/esm/resources/Prices.js +2 -2
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Products.d.ts +0 -42
- package/esm/resources/Products.js +7 -7
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +2 -29
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +165 -2374
- package/esm/resources/Quotes.js +20 -1180
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/EarlyFraudWarnings.js +1 -1
- package/esm/resources/Radar/EarlyFraudWarnings.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +294 -296
- package/esm/resources/Radar/ValueListItems.d.ts +14 -16
- package/esm/resources/Radar/ValueListItems.js +2 -2
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/ValueLists.d.ts +18 -20
- package/esm/resources/Radar/ValueLists.js +3 -3
- package/esm/resources/Radar/ValueLists.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +8 -6
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +0 -11
- package/esm/resources/Refunds.js +3 -3
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reporting/ReportRuns.d.ts +35 -37
- package/esm/resources/Reporting/ReportRuns.js +1 -1
- package/esm/resources/Reporting/ReportRuns.js.map +1 -1
- package/esm/resources/Reporting/ReportTypes.js +1 -1
- package/esm/resources/Reporting/ReportTypes.js.map +1 -1
- package/esm/resources/Reporting/index.d.ts +2 -2
- package/esm/resources/Reserve/Holds.d.ts +24 -64
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +25 -43
- package/esm/resources/Reserve/Plans.js +1 -9
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +17 -59
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +3 -14
- package/esm/resources/Reserve/index.js +0 -9
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/Reviews.js +2 -2
- package/esm/resources/Reviews.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +8 -26
- package/esm/resources/SetupIntents.d.ts +14 -333
- package/esm/resources/SetupIntents.js +5 -5
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/ShippingRates.js +2 -2
- package/esm/resources/ShippingRates.js.map +1 -1
- package/esm/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
- package/esm/resources/Sigma/ScheduledQueryRuns.js +1 -1
- package/esm/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
- package/esm/resources/Sigma/index.d.ts +1 -1
- package/esm/resources/Sources.d.ts +1 -16
- package/esm/resources/Sources.js +4 -4
- package/esm/resources/Sources.js.map +1 -1
- package/esm/resources/SubscriptionItems.d.ts +0 -143
- package/esm/resources/SubscriptionItems.js +3 -3
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +4 -1155
- package/esm/resources/SubscriptionSchedules.js +4 -10
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +61 -560
- package/esm/resources/Subscriptions.js +7 -152
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/Associations.d.ts +24 -26
- package/esm/resources/Tax/CalculationLineItems.d.ts +56 -62
- package/esm/resources/Tax/Calculations.d.ts +158 -164
- package/esm/resources/Tax/Calculations.js +2 -2
- package/esm/resources/Tax/Calculations.js.map +1 -1
- package/esm/resources/Tax/Registrations.d.ts +1095 -1233
- package/esm/resources/Tax/Registrations.js +2 -2
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +37 -39
- package/esm/resources/Tax/TransactionLineItems.d.ts +11 -13
- package/esm/resources/Tax/Transactions.d.ts +113 -115
- package/esm/resources/Tax/Transactions.js +2 -2
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +18 -32
- package/esm/resources/Tax/index.js +0 -4
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +0 -15
- package/esm/resources/TaxCodes.js +1 -1
- package/esm/resources/TaxCodes.js.map +1 -1
- package/esm/resources/TaxIds.js +2 -2
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.js +2 -2
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +479 -508
- package/esm/resources/Terminal/Configurations.js +3 -3
- package/esm/resources/Terminal/Configurations.js.map +1 -1
- package/esm/resources/Terminal/Locations.d.ts +72 -74
- package/esm/resources/Terminal/Locations.js +3 -3
- package/esm/resources/Terminal/Locations.js.map +1 -1
- package/esm/resources/Terminal/OnboardingLinks.d.ts +16 -18
- package/esm/resources/Terminal/Readers.d.ts +479 -497
- package/esm/resources/Terminal/Readers.js +11 -11
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +11 -13
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +2 -79
- package/esm/resources/TestHelpers/Customers.js +1 -1
- package/esm/resources/TestHelpers/Customers.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.js +6 -6
- package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Cards.js +5 -5
- package/esm/resources/TestHelpers/Issuing/Cards.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Transactions.js +1 -1
- package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
- package/esm/resources/TestHelpers/Refunds.js +1 -1
- package/esm/resources/TestHelpers/Refunds.js.map +1 -1
- package/esm/resources/TestHelpers/Terminal/Readers.js +3 -3
- package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
- package/esm/resources/TestHelpers/TestClocks.d.ts +27 -29
- package/esm/resources/TestHelpers/TestClocks.js +3 -3
- package/esm/resources/TestHelpers/TestClocks.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +3 -5
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.js +1 -1
- package/esm/resources/Tokens.js.map +1 -1
- package/esm/resources/Topups.d.ts +18 -0
- package/esm/resources/Topups.js +3 -3
- package/esm/resources/Topups.js.map +1 -1
- package/esm/resources/Transfers.d.ts +0 -8
- package/esm/resources/Transfers.js +6 -6
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/Treasury/CreditReversals.d.ts +11 -13
- package/esm/resources/Treasury/CreditReversals.js +1 -1
- package/esm/resources/Treasury/CreditReversals.js.map +1 -1
- package/esm/resources/Treasury/DebitReversals.d.ts +18 -20
- package/esm/resources/Treasury/DebitReversals.js +1 -1
- package/esm/resources/Treasury/DebitReversals.js.map +1 -1
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +252 -259
- package/esm/resources/Treasury/FinancialAccounts.d.ts +88 -123
- package/esm/resources/Treasury/FinancialAccounts.js +5 -5
- package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
- package/esm/resources/Treasury/InboundTransfers.d.ts +79 -81
- package/esm/resources/Treasury/InboundTransfers.js +2 -2
- package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +125 -135
- package/esm/resources/Treasury/OutboundPayments.js +2 -2
- package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
- package/esm/resources/Treasury/OutboundTransfers.d.ts +114 -160
- package/esm/resources/Treasury/OutboundTransfers.js +2 -2
- package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
- package/esm/resources/Treasury/ReceivedCredits.d.ts +118 -142
- package/esm/resources/Treasury/ReceivedCredits.js +1 -1
- package/esm/resources/Treasury/ReceivedCredits.js.map +1 -1
- package/esm/resources/Treasury/ReceivedDebits.d.ts +86 -114
- package/esm/resources/Treasury/ReceivedDebits.js +1 -1
- package/esm/resources/Treasury/ReceivedDebits.js.map +1 -1
- package/esm/resources/Treasury/TransactionEntries.d.ts +75 -77
- package/esm/resources/Treasury/TransactionEntries.js +1 -1
- package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
- package/esm/resources/Treasury/Transactions.d.ts +86 -88
- package/esm/resources/Treasury/Transactions.js +1 -1
- package/esm/resources/Treasury/Transactions.js.map +1 -1
- package/esm/resources/Treasury/index.d.ts +10 -10
- package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +9 -13
- package/esm/resources/V2/Billing/index.d.ts +9 -48
- package/esm/resources/V2/Billing/index.js +0 -8
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
- package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +132 -131
- package/esm/resources/V2/Core/AccountLinks.d.ts +81 -85
- package/esm/resources/V2/Core/AccountPersons.d.ts +369 -373
- package/esm/resources/V2/Core/AccountTokens.d.ts +0 -10
- package/esm/resources/V2/Core/AccountTokens.js +1 -1
- package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/esm/resources/V2/Core/Accounts/PersonTokens.js +3 -3
- package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts/Persons.js +7 -7
- package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
- package/esm/resources/V2/Core/Accounts.d.ts +3043 -4006
- package/esm/resources/V2/Core/Accounts.js +3 -3
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/EventDestinations.d.ts +78 -82
- package/esm/resources/V2/Core/EventDestinations.js +6 -6
- package/esm/resources/V2/Core/EventDestinations.js.map +1 -1
- package/esm/resources/V2/Core/Events.d.ts +31 -1154
- package/esm/resources/V2/Core/Events.js +1 -1
- package/esm/resources/V2/Core/Events.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +14 -24
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/index.d.ts +0 -27
- package/esm/resources/V2/index.js +0 -14
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources/WebhookEndpoints.js +3 -3
- package/esm/resources/WebhookEndpoints.js.map +1 -1
- package/esm/resources.d.ts +0 -10
- package/esm/resources.js +0 -131
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +69 -62
- package/esm/stripe.core.js +7 -25
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +68 -63
- package/esm/stripe.esm.node.js +2 -25
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +1 -1
- package/esm/utils.js +13 -2
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +0 -19
- package/cjs/StripeEventNotificationHandler.js +0 -148
- package/cjs/StripeEventNotificationHandler.js.map +0 -1
- package/cjs/resources/AccountNotices.d.ts +0 -140
- package/cjs/resources/AccountNotices.js +0 -29
- package/cjs/resources/AccountNotices.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
- package/cjs/resources/Billing/Analytics/index.js +0 -13
- package/cjs/resources/Billing/Analytics/index.js.map +0 -1
- package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
- package/cjs/resources/Capital/FinancingOffers.js +0 -30
- package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
- package/cjs/resources/Capital/FinancingSummary.js +0 -15
- package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
- package/cjs/resources/Capital/FinancingTransactions.js +0 -24
- package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
- package/cjs/resources/Capital/index.d.ts +0 -25
- package/cjs/resources/Capital/index.js +0 -17
- package/cjs/resources/Capital/index.js.map +0 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
- package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
- package/cjs/resources/FinancialConnections/Institutions.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
- package/cjs/resources/FxQuotes.d.ts +0 -212
- package/cjs/resources/FxQuotes.js +0 -29
- package/cjs/resources/FxQuotes.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/cjs/resources/Issuing/Settlements.d.ts +0 -85
- package/cjs/resources/Issuing/Settlements.js +0 -4
- package/cjs/resources/Issuing/Settlements.js.map +0 -1
- package/cjs/resources/Margins.d.ts +0 -115
- package/cjs/resources/Margins.js +0 -35
- package/cjs/resources/Margins.js.map +0 -1
- package/cjs/resources/Orders.d.ts +0 -4693
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
- package/cjs/resources/Privacy/RedactionJobs.js +0 -73
- package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
- package/cjs/resources/Privacy/index.d.ts +0 -22
- package/cjs/resources/Privacy/index.js +0 -13
- package/cjs/resources/Privacy/index.js.map +0 -1
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
- package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/cjs/resources/ProductCatalog/index.d.ts +0 -12
- package/cjs/resources/ProductCatalog/index.js +0 -13
- package/cjs/resources/ProductCatalog/index.js.map +0 -1
- package/cjs/resources/QuoteLines.d.ts +0 -507
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1120
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -737
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1095
- package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
- package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/index.d.ts +0 -19
- package/cjs/resources/SharedPayment/index.js +0 -15
- package/cjs/resources/SharedPayment/index.js.map +0 -1
- package/cjs/resources/Tax/Forms.d.ts +0 -230
- package/cjs/resources/Tax/Forms.js +0 -32
- package/cjs/resources/Tax/Forms.js.map +0 -1
- package/cjs/resources/Tax/Locations.d.ts +0 -108
- package/cjs/resources/Tax/Locations.js +0 -33
- package/cjs/resources/Tax/Locations.js.map +0 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
- package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
- package/cjs/resources/V2/Billing/BillSettings.js +0 -41
- package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
- package/cjs/resources/V2/Billing/Cadences.js +0 -198
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
- package/cjs/resources/V2/Billing/Profiles.js +0 -35
- package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
- package/cjs/resources/V2/Core/BatchJobs.js +0 -225
- package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
- package/cjs/resources/V2/Core/Vault/index.js +0 -15
- package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Data/index.d.ts +0 -10
- package/cjs/resources/V2/Data/index.js +0 -13
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +0 -2
- package/cjs/resources/V2/EventMisc.js.map +0 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
- package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
- package/cjs/resources/V2/Extend/Workflows.js +0 -30
- package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
- package/cjs/resources/V2/Extend/index.d.ts +0 -20
- package/cjs/resources/V2/Extend/index.js +0 -15
- package/cjs/resources/V2/Extend/index.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -214
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -13
- package/cjs/resources/V2/Iam/index.js +0 -13
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -300
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -295
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/cjs/resources/V2/MoneyManagement/index.js +0 -39
- package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
- package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/cjs/resources/V2/Network/index.d.ts +0 -13
- package/cjs/resources/V2/Network/index.js +0 -13
- package/cjs/resources/V2/Network/index.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
- package/esm/StripeEventNotificationHandler.d.ts +0 -19
- package/esm/StripeEventNotificationHandler.js +0 -144
- package/esm/StripeEventNotificationHandler.js.map +0 -1
- package/esm/resources/AccountNotices.d.ts +0 -140
- package/esm/resources/AccountNotices.js +0 -25
- package/esm/resources/AccountNotices.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/esm/resources/Billing/Analytics/index.d.ts +0 -15
- package/esm/resources/Billing/Analytics/index.js +0 -9
- package/esm/resources/Billing/Analytics/index.js.map +0 -1
- package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
- package/esm/resources/Capital/FinancingOffers.js +0 -26
- package/esm/resources/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
- package/esm/resources/Capital/FinancingSummary.js +0 -11
- package/esm/resources/Capital/FinancingSummary.js.map +0 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
- package/esm/resources/Capital/FinancingTransactions.js +0 -20
- package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
- package/esm/resources/Capital/index.d.ts +0 -25
- package/esm/resources/Capital/index.js +0 -13
- package/esm/resources/Capital/index.js.map +0 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
- package/esm/resources/FinancialConnections/Authorizations.js +0 -11
- package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
- package/esm/resources/FinancialConnections/Institutions.js +0 -19
- package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
- package/esm/resources/FxQuotes.d.ts +0 -212
- package/esm/resources/FxQuotes.js +0 -25
- package/esm/resources/FxQuotes.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/esm/resources/Issuing/Settlements.d.ts +0 -85
- package/esm/resources/Issuing/Settlements.js +0 -3
- package/esm/resources/Issuing/Settlements.js.map +0 -1
- package/esm/resources/Margins.d.ts +0 -115
- package/esm/resources/Margins.js +0 -31
- package/esm/resources/Margins.js.map +0 -1
- package/esm/resources/Orders.d.ts +0 -4693
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
- package/esm/resources/Privacy/RedactionJobs.js +0 -69
- package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
- package/esm/resources/Privacy/index.d.ts +0 -22
- package/esm/resources/Privacy/index.js +0 -9
- package/esm/resources/Privacy/index.js.map +0 -1
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
- package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
- package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/esm/resources/ProductCatalog/index.d.ts +0 -12
- package/esm/resources/ProductCatalog/index.js +0 -9
- package/esm/resources/ProductCatalog/index.js.map +0 -1
- package/esm/resources/QuoteLines.d.ts +0 -507
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1120
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -737
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1095
- package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
- package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
- package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
- package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/index.d.ts +0 -19
- package/esm/resources/SharedPayment/index.js +0 -11
- package/esm/resources/SharedPayment/index.js.map +0 -1
- package/esm/resources/Tax/Forms.d.ts +0 -230
- package/esm/resources/Tax/Forms.js +0 -28
- package/esm/resources/Tax/Forms.js.map +0 -1
- package/esm/resources/Tax/Locations.d.ts +0 -108
- package/esm/resources/Tax/Locations.js +0 -29
- package/esm/resources/Tax/Locations.js.map +0 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
- package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
- package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
- package/esm/resources/V2/Billing/BillSettings.js +0 -37
- package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
- package/esm/resources/V2/Billing/Cadences.js +0 -194
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
- package/esm/resources/V2/Billing/Profiles.js +0 -31
- package/esm/resources/V2/Billing/Profiles.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
- package/esm/resources/V2/Core/BatchJobs.js +0 -221
- package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
- package/esm/resources/V2/Core/Vault/index.js +0 -11
- package/esm/resources/V2/Core/Vault/index.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/esm/resources/V2/Data/Reporting/index.js +0 -9
- package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Data/index.d.ts +0 -10
- package/esm/resources/V2/Data/index.js +0 -9
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +0 -2
- package/esm/resources/V2/EventMisc.js.map +0 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
- package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
- package/esm/resources/V2/Extend/Workflows.js +0 -26
- package/esm/resources/V2/Extend/Workflows.js.map +0 -1
- package/esm/resources/V2/Extend/index.d.ts +0 -20
- package/esm/resources/V2/Extend/index.js +0 -11
- package/esm/resources/V2/Extend/index.js.map +0 -1
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -214
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -13
- package/esm/resources/V2/Iam/index.js +0 -9
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -300
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -295
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/esm/resources/V2/MoneyManagement/index.js +0 -35
- package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
- package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
- package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/esm/resources/V2/Network/index.d.ts +0 -13
- package/esm/resources/V2/Network/index.js +0 -9
- package/esm/resources/V2/Network/index.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/TestHelpers/index.js +0 -9
- package/esm/resources/V2/TestHelpers/index.js.map +0 -1
|
@@ -19,7 +19,7 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
19
19
|
/**
|
|
20
20
|
* Cancels a customer's subscription immediately. The customer won't be charged again for the subscription. After it's canceled, the subscription is largely immutable. You can still update its [metadata](https://docs.stripe.com/metadata) and cancellation_details.
|
|
21
21
|
*
|
|
22
|
-
* Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://docs.stripe.com/api/invoiceitems/delete). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed if invoice_now and prorate are both set to
|
|
22
|
+
* Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://docs.stripe.com/api/invoiceitems/delete). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed if invoice_now and prorate are both set to false.
|
|
23
23
|
*
|
|
24
24
|
* By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.
|
|
25
25
|
*/
|
|
@@ -81,26 +81,10 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
81
81
|
* Upgrade the billing_mode of an existing subscription.
|
|
82
82
|
*/
|
|
83
83
|
migrate(id: string, params: SubscriptionMigrateParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
84
|
-
/**
|
|
85
|
-
* Pauses a subscription by transitioning it to the paused status. A paused subscription does not generate invoices and will not advance to new billing periods. The subscription can be resumed later using the resume endpoint. Cannot pause subscriptions with attached schedules.
|
|
86
|
-
*/
|
|
87
|
-
pause(id: string, params?: SubscriptionPauseParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
88
84
|
/**
|
|
89
85
|
* Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. Resume is only available for subscriptions that use charge_automatically collection. If Stripe doesn't generate a resumption invoice, the subscription becomes active immediately. When a resumption invoice is generated, Stripe finalizes it immediately. If the invoice is paid or marked uncollectible, the subscription becomes active. If the invoice is manually voided, the subscription stays paused. If there is no payment attempt within 23 hours, Stripe voids the invoice and the subscription stays paused. Learn more about [resuming subscriptions](https://docs.stripe.com/docs/billing/subscriptions/pause#resume-subscriptions).
|
|
90
86
|
*/
|
|
91
87
|
resume(id: string, params?: SubscriptionResumeParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
92
|
-
serializeBatchCancel(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
|
|
93
|
-
apiVersion?: string;
|
|
94
|
-
stripeContext?: string;
|
|
95
|
-
}): string;
|
|
96
|
-
serializeBatchUpdate(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
|
|
97
|
-
apiVersion?: string;
|
|
98
|
-
stripeContext?: string;
|
|
99
|
-
}): string;
|
|
100
|
-
serializeBatchMigrate(subscription: string, params?: Record<string, unknown>, options?: {
|
|
101
|
-
apiVersion?: string;
|
|
102
|
-
stripeContext?: string;
|
|
103
|
-
}): string;
|
|
104
88
|
}
|
|
105
89
|
export interface Subscription {
|
|
106
90
|
/**
|
|
@@ -209,10 +193,6 @@ export interface Subscription {
|
|
|
209
193
|
* List of subscription items, each with an attached price.
|
|
210
194
|
*/
|
|
211
195
|
items: ApiList<SubscriptionItem>;
|
|
212
|
-
/**
|
|
213
|
-
* Details of the most recent price migration that failed for the subscription.
|
|
214
|
-
*/
|
|
215
|
-
last_price_migration_error?: Subscription.LastPriceMigrationError | null;
|
|
216
196
|
/**
|
|
217
197
|
* The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
|
|
218
198
|
*/
|
|
@@ -257,10 +237,6 @@ export interface Subscription {
|
|
|
257
237
|
* If specified, [pending updates](https://docs.stripe.com/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid.
|
|
258
238
|
*/
|
|
259
239
|
pending_update: Subscription.PendingUpdate | null;
|
|
260
|
-
/**
|
|
261
|
-
* Time period and invoice for a Subscription billed in advance.
|
|
262
|
-
*/
|
|
263
|
-
prebilling?: Subscription.Prebilling | null;
|
|
264
240
|
presentment_details?: Subscription.PresentmentDetails;
|
|
265
241
|
/**
|
|
266
242
|
* The schedule attached to the subscription
|
|
@@ -284,10 +260,6 @@ export interface Subscription {
|
|
|
284
260
|
* If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.
|
|
285
261
|
*/
|
|
286
262
|
status: Subscription.Status;
|
|
287
|
-
/**
|
|
288
|
-
* Describes changes to the subscription's status.
|
|
289
|
-
*/
|
|
290
|
-
status_details?: Subscription.StatusDetails;
|
|
291
263
|
/**
|
|
292
264
|
* ID of the test clock this subscription belongs to.
|
|
293
265
|
*/
|
|
@@ -404,21 +376,19 @@ export declare namespace Subscription {
|
|
|
404
376
|
* The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
|
|
405
377
|
*/
|
|
406
378
|
account_tax_ids: Array<string | TaxId | DeletedTaxId> | null;
|
|
407
|
-
issuer: InvoiceSettings.Issuer;
|
|
408
|
-
}
|
|
409
|
-
interface LastPriceMigrationError {
|
|
410
379
|
/**
|
|
411
|
-
*
|
|
380
|
+
* A list of up to 4 custom fields to be displayed on the invoice.
|
|
412
381
|
*/
|
|
413
|
-
|
|
382
|
+
custom_fields: Array<InvoiceSettings.CustomField> | null;
|
|
414
383
|
/**
|
|
415
|
-
*
|
|
384
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
416
385
|
*/
|
|
417
|
-
|
|
386
|
+
description: string | null;
|
|
418
387
|
/**
|
|
419
|
-
*
|
|
388
|
+
* Footer to be displayed on the invoice.
|
|
420
389
|
*/
|
|
421
|
-
|
|
390
|
+
footer: string | null;
|
|
391
|
+
issuer: InvoiceSettings.Issuer;
|
|
422
392
|
}
|
|
423
393
|
interface ManagedPayments {
|
|
424
394
|
/**
|
|
@@ -481,10 +451,6 @@ export declare namespace Subscription {
|
|
|
481
451
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
482
452
|
*/
|
|
483
453
|
metadata: Metadata | null;
|
|
484
|
-
/**
|
|
485
|
-
* The number of iterations of prebilling to apply.
|
|
486
|
-
*/
|
|
487
|
-
prebilling_iterations?: number | null;
|
|
488
454
|
/**
|
|
489
455
|
* List of subscription items, each with an attached plan, that will be set if the update is applied.
|
|
490
456
|
*/
|
|
@@ -498,24 +464,6 @@ export declare namespace Subscription {
|
|
|
498
464
|
*/
|
|
499
465
|
trial_from_plan: boolean | null;
|
|
500
466
|
}
|
|
501
|
-
interface Prebilling {
|
|
502
|
-
/**
|
|
503
|
-
* ID of the prebilling invoice.
|
|
504
|
-
*/
|
|
505
|
-
invoice: string | Invoice;
|
|
506
|
-
/**
|
|
507
|
-
* The end of the last period for which the invoice pre-bills.
|
|
508
|
-
*/
|
|
509
|
-
period_end: number;
|
|
510
|
-
/**
|
|
511
|
-
* The start of the first period for which the invoice pre-bills.
|
|
512
|
-
*/
|
|
513
|
-
period_start: number;
|
|
514
|
-
/**
|
|
515
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
516
|
-
*/
|
|
517
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
518
|
-
}
|
|
519
467
|
interface PresentmentDetails {
|
|
520
468
|
/**
|
|
521
469
|
* Currency used for customer payments.
|
|
@@ -523,12 +471,6 @@ export declare namespace Subscription {
|
|
|
523
471
|
presentment_currency: string;
|
|
524
472
|
}
|
|
525
473
|
type Status = 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
|
|
526
|
-
interface StatusDetails {
|
|
527
|
-
/**
|
|
528
|
-
* Indicates when and why the subscription transitioned to the paused status.
|
|
529
|
-
*/
|
|
530
|
-
paused: StatusDetails.Paused;
|
|
531
|
-
}
|
|
532
474
|
interface TransferData {
|
|
533
475
|
/**
|
|
534
476
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
|
@@ -623,6 +565,16 @@ export declare namespace Subscription {
|
|
|
623
565
|
type Reason = 'canceled_by_retention_policy' | 'cancellation_requested' | 'payment_disputed' | 'payment_failed';
|
|
624
566
|
}
|
|
625
567
|
namespace InvoiceSettings {
|
|
568
|
+
interface CustomField {
|
|
569
|
+
/**
|
|
570
|
+
* The name of the custom field.
|
|
571
|
+
*/
|
|
572
|
+
name: string;
|
|
573
|
+
/**
|
|
574
|
+
* The value of the custom field.
|
|
575
|
+
*/
|
|
576
|
+
value: string;
|
|
577
|
+
}
|
|
626
578
|
interface Issuer {
|
|
627
579
|
/**
|
|
628
580
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -637,18 +589,6 @@ export declare namespace Subscription {
|
|
|
637
589
|
type Type = 'account' | 'self';
|
|
638
590
|
}
|
|
639
591
|
}
|
|
640
|
-
namespace LastPriceMigrationError {
|
|
641
|
-
interface FailedTransition {
|
|
642
|
-
/**
|
|
643
|
-
* The original price to be migrated.
|
|
644
|
-
*/
|
|
645
|
-
source_price: string;
|
|
646
|
-
/**
|
|
647
|
-
* The intended resulting price of the migration.
|
|
648
|
-
*/
|
|
649
|
-
target_price: string;
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
592
|
namespace PauseCollection {
|
|
653
593
|
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
|
|
654
594
|
}
|
|
@@ -662,10 +602,6 @@ export declare namespace Subscription {
|
|
|
662
602
|
* This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
|
|
663
603
|
*/
|
|
664
604
|
bancontact: PaymentMethodOptions.Bancontact | null;
|
|
665
|
-
/**
|
|
666
|
-
* This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
|
|
667
|
-
*/
|
|
668
|
-
blik?: PaymentMethodOptions.Blik | null;
|
|
669
605
|
/**
|
|
670
606
|
* This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
|
|
671
607
|
*/
|
|
@@ -674,10 +610,6 @@ export declare namespace Subscription {
|
|
|
674
610
|
* This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
|
|
675
611
|
*/
|
|
676
612
|
customer_balance: PaymentMethodOptions.CustomerBalance | null;
|
|
677
|
-
/**
|
|
678
|
-
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
|
679
|
-
*/
|
|
680
|
-
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
|
|
681
613
|
/**
|
|
682
614
|
* This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
|
683
615
|
*/
|
|
@@ -703,7 +635,7 @@ export declare namespace Subscription {
|
|
|
703
635
|
*/
|
|
704
636
|
us_bank_account: PaymentMethodOptions.UsBankAccount | null;
|
|
705
637
|
}
|
|
706
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | '
|
|
638
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
|
|
707
639
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
|
|
708
640
|
namespace PaymentMethodOptions {
|
|
709
641
|
interface AcssDebit {
|
|
@@ -719,9 +651,6 @@ export declare namespace Subscription {
|
|
|
719
651
|
*/
|
|
720
652
|
preferred_language: Bancontact.PreferredLanguage;
|
|
721
653
|
}
|
|
722
|
-
interface Blik {
|
|
723
|
-
mandate_options?: Blik.MandateOptions;
|
|
724
|
-
}
|
|
725
654
|
interface Card {
|
|
726
655
|
mandate_options?: Card.MandateOptions;
|
|
727
656
|
/**
|
|
@@ -740,8 +669,6 @@ export declare namespace Subscription {
|
|
|
740
669
|
*/
|
|
741
670
|
funding_type: 'bank_transfer' | null;
|
|
742
671
|
}
|
|
743
|
-
interface IdBankTransfer {
|
|
744
|
-
}
|
|
745
672
|
interface Konbini {
|
|
746
673
|
}
|
|
747
674
|
interface Payto {
|
|
@@ -781,14 +708,6 @@ export declare namespace Subscription {
|
|
|
781
708
|
namespace Bancontact {
|
|
782
709
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
783
710
|
}
|
|
784
|
-
namespace Blik {
|
|
785
|
-
interface MandateOptions {
|
|
786
|
-
/**
|
|
787
|
-
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
788
|
-
*/
|
|
789
|
-
expires_after: number | null;
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
711
|
namespace Card {
|
|
793
712
|
interface MandateOptions {
|
|
794
713
|
/**
|
|
@@ -916,13 +835,9 @@ export declare namespace Subscription {
|
|
|
916
835
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
917
836
|
*/
|
|
918
837
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
919
|
-
/**
|
|
920
|
-
* The institution to use to filter for possible accounts to link.
|
|
921
|
-
*/
|
|
922
|
-
institution?: string;
|
|
923
838
|
}
|
|
924
839
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
925
|
-
type Prefetch = 'balances' | '
|
|
840
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
926
841
|
namespace Filters {
|
|
927
842
|
type AccountSubcategory = 'checking' | 'savings';
|
|
928
843
|
}
|
|
@@ -933,49 +848,14 @@ export declare namespace Subscription {
|
|
|
933
848
|
namespace PendingInvoiceItemInterval {
|
|
934
849
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
935
850
|
}
|
|
936
|
-
namespace Prebilling {
|
|
937
|
-
type UpdateBehavior = 'prebill' | 'reset';
|
|
938
|
-
}
|
|
939
|
-
namespace StatusDetails {
|
|
940
|
-
interface Paused {
|
|
941
|
-
/**
|
|
942
|
-
* Information on the `type=subscription` pause.
|
|
943
|
-
*/
|
|
944
|
-
subscription: Paused.Subscription;
|
|
945
|
-
/**
|
|
946
|
-
* Unix timestamp in seconds of when the subscription status transitioned to `paused`.
|
|
947
|
-
*/
|
|
948
|
-
transitioned_at: number;
|
|
949
|
-
/**
|
|
950
|
-
* The type of pause.
|
|
951
|
-
*/
|
|
952
|
-
type: 'subscription';
|
|
953
|
-
}
|
|
954
|
-
namespace Paused {
|
|
955
|
-
interface Subscription {
|
|
956
|
-
/**
|
|
957
|
-
* The reason that the subscription was paused.
|
|
958
|
-
*/
|
|
959
|
-
type: Subscription.Type;
|
|
960
|
-
}
|
|
961
|
-
namespace Subscription {
|
|
962
|
-
type Type = 'pause_requested' | 'system' | 'trial_end_without_payment_method';
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
851
|
namespace TrialSettings {
|
|
967
852
|
interface EndBehavior {
|
|
968
|
-
/**
|
|
969
|
-
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
|
|
970
|
-
*/
|
|
971
|
-
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
|
|
972
853
|
/**
|
|
973
854
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
974
855
|
*/
|
|
975
856
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
976
857
|
}
|
|
977
858
|
namespace EndBehavior {
|
|
978
|
-
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
979
859
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
|
|
980
860
|
}
|
|
981
861
|
}
|
|
@@ -1101,10 +981,6 @@ export interface SubscriptionCreateParams {
|
|
|
1101
981
|
* Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api/invoices/create) for the given subscription at the specified interval.
|
|
1102
982
|
*/
|
|
1103
983
|
pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
|
|
1104
|
-
/**
|
|
1105
|
-
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
1106
|
-
*/
|
|
1107
|
-
prebilling?: SubscriptionCreateParams.Prebilling;
|
|
1108
984
|
/**
|
|
1109
985
|
* Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
|
|
1110
986
|
*/
|
|
@@ -1242,10 +1118,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1242
1118
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1243
1119
|
*/
|
|
1244
1120
|
discount?: string;
|
|
1245
|
-
/**
|
|
1246
|
-
* Details to determine how long the discount should be applied for.
|
|
1247
|
-
*/
|
|
1248
|
-
discount_end?: Discount.DiscountEnd;
|
|
1249
1121
|
/**
|
|
1250
1122
|
* ID of the promotion code to create a new discount for.
|
|
1251
1123
|
*/
|
|
@@ -1256,6 +1128,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1256
1128
|
* The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
|
|
1257
1129
|
*/
|
|
1258
1130
|
account_tax_ids?: Emptyable<Array<string>>;
|
|
1131
|
+
/**
|
|
1132
|
+
* A list of up to 4 custom fields to be displayed on the invoice.
|
|
1133
|
+
*/
|
|
1134
|
+
custom_fields?: Emptyable<Array<InvoiceSettings.CustomField>>;
|
|
1135
|
+
/**
|
|
1136
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
1137
|
+
*/
|
|
1138
|
+
description?: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* Footer to be displayed on the invoice.
|
|
1141
|
+
*/
|
|
1142
|
+
footer?: string;
|
|
1259
1143
|
/**
|
|
1260
1144
|
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
1261
1145
|
*/
|
|
@@ -1266,10 +1150,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1266
1150
|
* Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
|
|
1267
1151
|
*/
|
|
1268
1152
|
billing_thresholds?: Emptyable<Item.BillingThresholds>;
|
|
1269
|
-
/**
|
|
1270
|
-
* The trial offer to apply to this subscription item.
|
|
1271
|
-
*/
|
|
1272
|
-
current_trial?: Item.CurrentTrial;
|
|
1273
1153
|
/**
|
|
1274
1154
|
* The coupons to redeem into discounts for the subscription item.
|
|
1275
1155
|
*/
|
|
@@ -1298,10 +1178,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1298
1178
|
* A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
|
|
1299
1179
|
*/
|
|
1300
1180
|
tax_rates?: Emptyable<Array<string>>;
|
|
1301
|
-
/**
|
|
1302
|
-
* Define options to configure the trial on the subscription item.
|
|
1303
|
-
*/
|
|
1304
|
-
trial?: Item.Trial;
|
|
1305
1181
|
}
|
|
1306
1182
|
type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
|
|
1307
1183
|
interface PaymentSettings {
|
|
@@ -1328,16 +1204,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1328
1204
|
*/
|
|
1329
1205
|
interval_count?: number;
|
|
1330
1206
|
}
|
|
1331
|
-
interface Prebilling {
|
|
1332
|
-
/**
|
|
1333
|
-
* This is used to determine the number of billing cycles to prebill.
|
|
1334
|
-
*/
|
|
1335
|
-
iterations: number;
|
|
1336
|
-
/**
|
|
1337
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
1338
|
-
*/
|
|
1339
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
1340
|
-
}
|
|
1341
1207
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
|
|
1342
1208
|
interface TransferData {
|
|
1343
1209
|
/**
|
|
@@ -1365,10 +1231,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1365
1231
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1366
1232
|
*/
|
|
1367
1233
|
discount?: string;
|
|
1368
|
-
/**
|
|
1369
|
-
* Details to determine how long the discount should be applied for.
|
|
1370
|
-
*/
|
|
1371
|
-
discount_end?: Discount.DiscountEnd;
|
|
1372
1234
|
/**
|
|
1373
1235
|
* ID of the promotion code to create a new discount for.
|
|
1374
1236
|
*/
|
|
@@ -1406,38 +1268,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1406
1268
|
*/
|
|
1407
1269
|
unit_amount_decimal?: Decimal;
|
|
1408
1270
|
}
|
|
1409
|
-
namespace Discount {
|
|
1410
|
-
interface DiscountEnd {
|
|
1411
|
-
/**
|
|
1412
|
-
* Time span for the redeemed discount.
|
|
1413
|
-
*/
|
|
1414
|
-
duration?: DiscountEnd.Duration;
|
|
1415
|
-
/**
|
|
1416
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1417
|
-
*/
|
|
1418
|
-
timestamp?: number;
|
|
1419
|
-
/**
|
|
1420
|
-
* The type of calculation made to determine when the discount ends.
|
|
1421
|
-
*/
|
|
1422
|
-
type: DiscountEnd.Type;
|
|
1423
|
-
}
|
|
1424
|
-
namespace DiscountEnd {
|
|
1425
|
-
interface Duration {
|
|
1426
|
-
/**
|
|
1427
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1428
|
-
*/
|
|
1429
|
-
interval: Duration.Interval;
|
|
1430
|
-
/**
|
|
1431
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1432
|
-
*/
|
|
1433
|
-
interval_count: number;
|
|
1434
|
-
}
|
|
1435
|
-
type Type = 'duration' | 'timestamp';
|
|
1436
|
-
namespace Duration {
|
|
1437
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1438
|
-
}
|
|
1439
|
-
}
|
|
1440
|
-
}
|
|
1441
1271
|
namespace Period {
|
|
1442
1272
|
interface End {
|
|
1443
1273
|
/**
|
|
@@ -1539,39 +1369,17 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1539
1369
|
}
|
|
1540
1370
|
}
|
|
1541
1371
|
}
|
|
1542
|
-
namespace
|
|
1543
|
-
interface
|
|
1372
|
+
namespace InvoiceSettings {
|
|
1373
|
+
interface CustomField {
|
|
1544
1374
|
/**
|
|
1545
|
-
*
|
|
1375
|
+
* The name of the custom field. This may be up to 40 characters.
|
|
1546
1376
|
*/
|
|
1547
|
-
|
|
1377
|
+
name: string;
|
|
1548
1378
|
/**
|
|
1549
|
-
*
|
|
1379
|
+
* The value of the custom field. This may be up to 140 characters.
|
|
1550
1380
|
*/
|
|
1551
|
-
|
|
1552
|
-
/**
|
|
1553
|
-
* The type of calculation made to determine when the discount ends.
|
|
1554
|
-
*/
|
|
1555
|
-
type: DiscountEnd.Type;
|
|
1381
|
+
value: string;
|
|
1556
1382
|
}
|
|
1557
|
-
namespace DiscountEnd {
|
|
1558
|
-
interface Duration {
|
|
1559
|
-
/**
|
|
1560
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1561
|
-
*/
|
|
1562
|
-
interval: Duration.Interval;
|
|
1563
|
-
/**
|
|
1564
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1565
|
-
*/
|
|
1566
|
-
interval_count: number;
|
|
1567
|
-
}
|
|
1568
|
-
type Type = 'duration' | 'timestamp';
|
|
1569
|
-
namespace Duration {
|
|
1570
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1571
|
-
}
|
|
1572
|
-
}
|
|
1573
|
-
}
|
|
1574
|
-
namespace InvoiceSettings {
|
|
1575
1383
|
interface Issuer {
|
|
1576
1384
|
/**
|
|
1577
1385
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -1593,16 +1401,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1593
1401
|
*/
|
|
1594
1402
|
usage_gte: number;
|
|
1595
1403
|
}
|
|
1596
|
-
interface CurrentTrial {
|
|
1597
|
-
/**
|
|
1598
|
-
* Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
|
|
1599
|
-
*/
|
|
1600
|
-
trial_end?: number;
|
|
1601
|
-
/**
|
|
1602
|
-
* The ID of the trial offer to apply to the subscription item.
|
|
1603
|
-
*/
|
|
1604
|
-
trial_offer: string;
|
|
1605
|
-
}
|
|
1606
1404
|
interface Discount {
|
|
1607
1405
|
/**
|
|
1608
1406
|
* ID of the coupon to create a new discount for.
|
|
@@ -1612,10 +1410,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1612
1410
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1613
1411
|
*/
|
|
1614
1412
|
discount?: string;
|
|
1615
|
-
/**
|
|
1616
|
-
* Details to determine how long the discount should be applied for.
|
|
1617
|
-
*/
|
|
1618
|
-
discount_end?: Discount.DiscountEnd;
|
|
1619
1413
|
/**
|
|
1620
1414
|
* ID of the promotion code to create a new discount for.
|
|
1621
1415
|
*/
|
|
@@ -1647,48 +1441,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1647
1441
|
*/
|
|
1648
1442
|
unit_amount_decimal?: Decimal;
|
|
1649
1443
|
}
|
|
1650
|
-
interface Trial {
|
|
1651
|
-
/**
|
|
1652
|
-
* List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
|
|
1653
|
-
*/
|
|
1654
|
-
converts_to?: Array<string>;
|
|
1655
|
-
/**
|
|
1656
|
-
* Determines the type of trial for this item.
|
|
1657
|
-
*/
|
|
1658
|
-
type: Trial.Type;
|
|
1659
|
-
}
|
|
1660
|
-
namespace Discount {
|
|
1661
|
-
interface DiscountEnd {
|
|
1662
|
-
/**
|
|
1663
|
-
* Time span for the redeemed discount.
|
|
1664
|
-
*/
|
|
1665
|
-
duration?: DiscountEnd.Duration;
|
|
1666
|
-
/**
|
|
1667
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1668
|
-
*/
|
|
1669
|
-
timestamp?: number;
|
|
1670
|
-
/**
|
|
1671
|
-
* The type of calculation made to determine when the discount ends.
|
|
1672
|
-
*/
|
|
1673
|
-
type: DiscountEnd.Type;
|
|
1674
|
-
}
|
|
1675
|
-
namespace DiscountEnd {
|
|
1676
|
-
interface Duration {
|
|
1677
|
-
/**
|
|
1678
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1679
|
-
*/
|
|
1680
|
-
interval: Duration.Interval;
|
|
1681
|
-
/**
|
|
1682
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1683
|
-
*/
|
|
1684
|
-
interval_count: number;
|
|
1685
|
-
}
|
|
1686
|
-
type Type = 'duration' | 'timestamp';
|
|
1687
|
-
namespace Duration {
|
|
1688
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1689
|
-
}
|
|
1690
|
-
}
|
|
1691
|
-
}
|
|
1692
1444
|
namespace PriceData {
|
|
1693
1445
|
interface Recurring {
|
|
1694
1446
|
/**
|
|
@@ -1705,9 +1457,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1705
1457
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1706
1458
|
}
|
|
1707
1459
|
}
|
|
1708
|
-
namespace Trial {
|
|
1709
|
-
type Type = 'free' | 'paid';
|
|
1710
|
-
}
|
|
1711
1460
|
}
|
|
1712
1461
|
namespace PaymentSettings {
|
|
1713
1462
|
interface PaymentMethodOptions {
|
|
@@ -1719,10 +1468,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1719
1468
|
* This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
|
|
1720
1469
|
*/
|
|
1721
1470
|
bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
|
|
1722
|
-
/**
|
|
1723
|
-
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
1724
|
-
*/
|
|
1725
|
-
blik?: Emptyable<PaymentMethodOptions.Blik>;
|
|
1726
1471
|
/**
|
|
1727
1472
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
1728
1473
|
*/
|
|
@@ -1731,10 +1476,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1731
1476
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1732
1477
|
*/
|
|
1733
1478
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
1734
|
-
/**
|
|
1735
|
-
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1736
|
-
*/
|
|
1737
|
-
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
1738
1479
|
/**
|
|
1739
1480
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
1740
1481
|
*/
|
|
@@ -1760,7 +1501,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1760
1501
|
*/
|
|
1761
1502
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
1762
1503
|
}
|
|
1763
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | '
|
|
1504
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
|
|
1764
1505
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
|
|
1765
1506
|
namespace PaymentMethodOptions {
|
|
1766
1507
|
interface AcssDebit {
|
|
@@ -1779,12 +1520,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1779
1520
|
*/
|
|
1780
1521
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
1781
1522
|
}
|
|
1782
|
-
interface Blik {
|
|
1783
|
-
/**
|
|
1784
|
-
* Configuration options for setting up a mandate
|
|
1785
|
-
*/
|
|
1786
|
-
mandate_options?: Blik.MandateOptions;
|
|
1787
|
-
}
|
|
1788
1523
|
interface Card {
|
|
1789
1524
|
/**
|
|
1790
1525
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -1809,8 +1544,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1809
1544
|
*/
|
|
1810
1545
|
funding_type?: string;
|
|
1811
1546
|
}
|
|
1812
|
-
interface IdBankTransfer {
|
|
1813
|
-
}
|
|
1814
1547
|
interface Konbini {
|
|
1815
1548
|
}
|
|
1816
1549
|
interface Payto {
|
|
@@ -1862,14 +1595,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1862
1595
|
namespace Bancontact {
|
|
1863
1596
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
1864
1597
|
}
|
|
1865
|
-
namespace Blik {
|
|
1866
|
-
interface MandateOptions {
|
|
1867
|
-
/**
|
|
1868
|
-
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
1869
|
-
*/
|
|
1870
|
-
expires_after?: number;
|
|
1871
|
-
}
|
|
1872
|
-
}
|
|
1873
1598
|
namespace Card {
|
|
1874
1599
|
interface MandateOptions {
|
|
1875
1600
|
/**
|
|
@@ -1995,13 +1720,9 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1995
1720
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1996
1721
|
*/
|
|
1997
1722
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1998
|
-
/**
|
|
1999
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
2000
|
-
*/
|
|
2001
|
-
institution?: string;
|
|
2002
1723
|
}
|
|
2003
1724
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
2004
|
-
type Prefetch = 'balances' | '
|
|
1725
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
2005
1726
|
namespace Filters {
|
|
2006
1727
|
type AccountSubcategory = 'checking' | 'savings';
|
|
2007
1728
|
}
|
|
@@ -2012,22 +1733,14 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2012
1733
|
namespace PendingInvoiceItemInterval {
|
|
2013
1734
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2014
1735
|
}
|
|
2015
|
-
namespace Prebilling {
|
|
2016
|
-
type UpdateBehavior = 'prebill' | 'reset';
|
|
2017
|
-
}
|
|
2018
1736
|
namespace TrialSettings {
|
|
2019
1737
|
interface EndBehavior {
|
|
2020
|
-
/**
|
|
2021
|
-
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
2022
|
-
*/
|
|
2023
|
-
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
2024
1738
|
/**
|
|
2025
1739
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
2026
1740
|
*/
|
|
2027
1741
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
2028
1742
|
}
|
|
2029
1743
|
namespace EndBehavior {
|
|
2030
|
-
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
2031
1744
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
|
|
2032
1745
|
}
|
|
2033
1746
|
}
|
|
@@ -2143,10 +1856,6 @@ export interface SubscriptionUpdateParams {
|
|
|
2143
1856
|
* Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api/invoices/create) for the given subscription at the specified interval.
|
|
2144
1857
|
*/
|
|
2145
1858
|
pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
|
|
2146
|
-
/**
|
|
2147
|
-
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
2148
|
-
*/
|
|
2149
|
-
prebilling?: SubscriptionUpdateParams.Prebilling;
|
|
2150
1859
|
/**
|
|
2151
1860
|
* Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
|
|
2152
1861
|
*/
|
|
@@ -2263,10 +1972,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2263
1972
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2264
1973
|
*/
|
|
2265
1974
|
discount?: string;
|
|
2266
|
-
/**
|
|
2267
|
-
* Details to determine how long the discount should be applied for.
|
|
2268
|
-
*/
|
|
2269
|
-
discount_end?: Discount.DiscountEnd;
|
|
2270
1975
|
/**
|
|
2271
1976
|
* ID of the promotion code to create a new discount for.
|
|
2272
1977
|
*/
|
|
@@ -2277,6 +1982,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2277
1982
|
* The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
|
|
2278
1983
|
*/
|
|
2279
1984
|
account_tax_ids?: Emptyable<Array<string>>;
|
|
1985
|
+
/**
|
|
1986
|
+
* A list of up to 4 custom fields to be displayed on the invoice.
|
|
1987
|
+
*/
|
|
1988
|
+
custom_fields?: Emptyable<Array<InvoiceSettings.CustomField>>;
|
|
1989
|
+
/**
|
|
1990
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
1991
|
+
*/
|
|
1992
|
+
description?: Emptyable<string>;
|
|
1993
|
+
/**
|
|
1994
|
+
* Footer to be displayed on the invoice.
|
|
1995
|
+
*/
|
|
1996
|
+
footer?: Emptyable<string>;
|
|
2280
1997
|
/**
|
|
2281
1998
|
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
2282
1999
|
*/
|
|
@@ -2291,10 +2008,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2291
2008
|
* Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
|
|
2292
2009
|
*/
|
|
2293
2010
|
clear_usage?: boolean;
|
|
2294
|
-
/**
|
|
2295
|
-
* The trial offer to apply to this subscription item.
|
|
2296
|
-
*/
|
|
2297
|
-
current_trial?: Item.CurrentTrial;
|
|
2298
2011
|
/**
|
|
2299
2012
|
* A flag that, if set to `true`, will delete the specified item.
|
|
2300
2013
|
*/
|
|
@@ -2304,7 +2017,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2304
2017
|
*/
|
|
2305
2018
|
discounts?: Emptyable<Array<Item.Discount>>;
|
|
2306
2019
|
/**
|
|
2307
|
-
* Subscription item to update.
|
|
2020
|
+
* Subscription item to update. If you omit `id`, the API adds a new subscription item rather than updating the existing one. See [Changing a subscription's price](https://docs.stripe.com/billing/subscriptions/change-price#changing).
|
|
2308
2021
|
*/
|
|
2309
2022
|
id?: string;
|
|
2310
2023
|
/**
|
|
@@ -2367,16 +2080,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2367
2080
|
*/
|
|
2368
2081
|
interval_count?: number;
|
|
2369
2082
|
}
|
|
2370
|
-
interface Prebilling {
|
|
2371
|
-
/**
|
|
2372
|
-
* This is used to determine the number of billing cycles to prebill.
|
|
2373
|
-
*/
|
|
2374
|
-
iterations: number;
|
|
2375
|
-
/**
|
|
2376
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
2377
|
-
*/
|
|
2378
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
2379
|
-
}
|
|
2380
2083
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
|
|
2381
2084
|
interface TransferData {
|
|
2382
2085
|
/**
|
|
@@ -2404,10 +2107,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2404
2107
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2405
2108
|
*/
|
|
2406
2109
|
discount?: string;
|
|
2407
|
-
/**
|
|
2408
|
-
* Details to determine how long the discount should be applied for.
|
|
2409
|
-
*/
|
|
2410
|
-
discount_end?: Discount.DiscountEnd;
|
|
2411
2110
|
/**
|
|
2412
2111
|
* ID of the promotion code to create a new discount for.
|
|
2413
2112
|
*/
|
|
@@ -2445,38 +2144,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2445
2144
|
*/
|
|
2446
2145
|
unit_amount_decimal?: Decimal;
|
|
2447
2146
|
}
|
|
2448
|
-
namespace Discount {
|
|
2449
|
-
interface DiscountEnd {
|
|
2450
|
-
/**
|
|
2451
|
-
* Time span for the redeemed discount.
|
|
2452
|
-
*/
|
|
2453
|
-
duration?: DiscountEnd.Duration;
|
|
2454
|
-
/**
|
|
2455
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2456
|
-
*/
|
|
2457
|
-
timestamp?: number;
|
|
2458
|
-
/**
|
|
2459
|
-
* The type of calculation made to determine when the discount ends.
|
|
2460
|
-
*/
|
|
2461
|
-
type: DiscountEnd.Type;
|
|
2462
|
-
}
|
|
2463
|
-
namespace DiscountEnd {
|
|
2464
|
-
interface Duration {
|
|
2465
|
-
/**
|
|
2466
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2467
|
-
*/
|
|
2468
|
-
interval: Duration.Interval;
|
|
2469
|
-
/**
|
|
2470
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2471
|
-
*/
|
|
2472
|
-
interval_count: number;
|
|
2473
|
-
}
|
|
2474
|
-
type Type = 'duration' | 'timestamp';
|
|
2475
|
-
namespace Duration {
|
|
2476
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2477
|
-
}
|
|
2478
|
-
}
|
|
2479
|
-
}
|
|
2480
2147
|
namespace Period {
|
|
2481
2148
|
interface End {
|
|
2482
2149
|
/**
|
|
@@ -2569,39 +2236,17 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2569
2236
|
namespace CancellationDetails {
|
|
2570
2237
|
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
|
|
2571
2238
|
}
|
|
2572
|
-
namespace
|
|
2573
|
-
interface
|
|
2239
|
+
namespace InvoiceSettings {
|
|
2240
|
+
interface CustomField {
|
|
2574
2241
|
/**
|
|
2575
|
-
*
|
|
2242
|
+
* The name of the custom field. This may be up to 40 characters.
|
|
2576
2243
|
*/
|
|
2577
|
-
|
|
2244
|
+
name: string;
|
|
2578
2245
|
/**
|
|
2579
|
-
*
|
|
2246
|
+
* The value of the custom field. This may be up to 140 characters.
|
|
2580
2247
|
*/
|
|
2581
|
-
|
|
2582
|
-
/**
|
|
2583
|
-
* The type of calculation made to determine when the discount ends.
|
|
2584
|
-
*/
|
|
2585
|
-
type: DiscountEnd.Type;
|
|
2586
|
-
}
|
|
2587
|
-
namespace DiscountEnd {
|
|
2588
|
-
interface Duration {
|
|
2589
|
-
/**
|
|
2590
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2591
|
-
*/
|
|
2592
|
-
interval: Duration.Interval;
|
|
2593
|
-
/**
|
|
2594
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2595
|
-
*/
|
|
2596
|
-
interval_count: number;
|
|
2597
|
-
}
|
|
2598
|
-
type Type = 'duration' | 'timestamp';
|
|
2599
|
-
namespace Duration {
|
|
2600
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2601
|
-
}
|
|
2248
|
+
value: string;
|
|
2602
2249
|
}
|
|
2603
|
-
}
|
|
2604
|
-
namespace InvoiceSettings {
|
|
2605
2250
|
interface Issuer {
|
|
2606
2251
|
/**
|
|
2607
2252
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -2623,16 +2268,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2623
2268
|
*/
|
|
2624
2269
|
usage_gte: number;
|
|
2625
2270
|
}
|
|
2626
|
-
interface CurrentTrial {
|
|
2627
|
-
/**
|
|
2628
|
-
* Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
|
|
2629
|
-
*/
|
|
2630
|
-
trial_end?: number;
|
|
2631
|
-
/**
|
|
2632
|
-
* The ID of the trial offer to apply to the subscription item.
|
|
2633
|
-
*/
|
|
2634
|
-
trial_offer: string;
|
|
2635
|
-
}
|
|
2636
2271
|
interface Discount {
|
|
2637
2272
|
/**
|
|
2638
2273
|
* ID of the coupon to create a new discount for.
|
|
@@ -2642,10 +2277,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2642
2277
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2643
2278
|
*/
|
|
2644
2279
|
discount?: string;
|
|
2645
|
-
/**
|
|
2646
|
-
* Details to determine how long the discount should be applied for.
|
|
2647
|
-
*/
|
|
2648
|
-
discount_end?: Discount.DiscountEnd;
|
|
2649
2280
|
/**
|
|
2650
2281
|
* ID of the promotion code to create a new discount for.
|
|
2651
2282
|
*/
|
|
@@ -2677,38 +2308,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2677
2308
|
*/
|
|
2678
2309
|
unit_amount_decimal?: Decimal;
|
|
2679
2310
|
}
|
|
2680
|
-
namespace Discount {
|
|
2681
|
-
interface DiscountEnd {
|
|
2682
|
-
/**
|
|
2683
|
-
* Time span for the redeemed discount.
|
|
2684
|
-
*/
|
|
2685
|
-
duration?: DiscountEnd.Duration;
|
|
2686
|
-
/**
|
|
2687
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2688
|
-
*/
|
|
2689
|
-
timestamp?: number;
|
|
2690
|
-
/**
|
|
2691
|
-
* The type of calculation made to determine when the discount ends.
|
|
2692
|
-
*/
|
|
2693
|
-
type: DiscountEnd.Type;
|
|
2694
|
-
}
|
|
2695
|
-
namespace DiscountEnd {
|
|
2696
|
-
interface Duration {
|
|
2697
|
-
/**
|
|
2698
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2699
|
-
*/
|
|
2700
|
-
interval: Duration.Interval;
|
|
2701
|
-
/**
|
|
2702
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2703
|
-
*/
|
|
2704
|
-
interval_count: number;
|
|
2705
|
-
}
|
|
2706
|
-
type Type = 'duration' | 'timestamp';
|
|
2707
|
-
namespace Duration {
|
|
2708
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2709
|
-
}
|
|
2710
|
-
}
|
|
2711
|
-
}
|
|
2712
2311
|
namespace PriceData {
|
|
2713
2312
|
interface Recurring {
|
|
2714
2313
|
/**
|
|
@@ -2739,10 +2338,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2739
2338
|
* This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
|
|
2740
2339
|
*/
|
|
2741
2340
|
bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
|
|
2742
|
-
/**
|
|
2743
|
-
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
2744
|
-
*/
|
|
2745
|
-
blik?: Emptyable<PaymentMethodOptions.Blik>;
|
|
2746
2341
|
/**
|
|
2747
2342
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
2748
2343
|
*/
|
|
@@ -2751,10 +2346,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2751
2346
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2752
2347
|
*/
|
|
2753
2348
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
2754
|
-
/**
|
|
2755
|
-
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2756
|
-
*/
|
|
2757
|
-
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
2758
2349
|
/**
|
|
2759
2350
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
2760
2351
|
*/
|
|
@@ -2780,7 +2371,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2780
2371
|
*/
|
|
2781
2372
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
2782
2373
|
}
|
|
2783
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | '
|
|
2374
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
|
|
2784
2375
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
|
|
2785
2376
|
namespace PaymentMethodOptions {
|
|
2786
2377
|
interface AcssDebit {
|
|
@@ -2799,12 +2390,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2799
2390
|
*/
|
|
2800
2391
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
2801
2392
|
}
|
|
2802
|
-
interface Blik {
|
|
2803
|
-
/**
|
|
2804
|
-
* Configuration options for setting up a mandate
|
|
2805
|
-
*/
|
|
2806
|
-
mandate_options?: Blik.MandateOptions;
|
|
2807
|
-
}
|
|
2808
2393
|
interface Card {
|
|
2809
2394
|
/**
|
|
2810
2395
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -2829,8 +2414,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2829
2414
|
*/
|
|
2830
2415
|
funding_type?: string;
|
|
2831
2416
|
}
|
|
2832
|
-
interface IdBankTransfer {
|
|
2833
|
-
}
|
|
2834
2417
|
interface Konbini {
|
|
2835
2418
|
}
|
|
2836
2419
|
interface Payto {
|
|
@@ -2882,14 +2465,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2882
2465
|
namespace Bancontact {
|
|
2883
2466
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
2884
2467
|
}
|
|
2885
|
-
namespace Blik {
|
|
2886
|
-
interface MandateOptions {
|
|
2887
|
-
/**
|
|
2888
|
-
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
2889
|
-
*/
|
|
2890
|
-
expires_after?: number;
|
|
2891
|
-
}
|
|
2892
|
-
}
|
|
2893
2468
|
namespace Card {
|
|
2894
2469
|
interface MandateOptions {
|
|
2895
2470
|
/**
|
|
@@ -3015,13 +2590,9 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
3015
2590
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3016
2591
|
*/
|
|
3017
2592
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3018
|
-
/**
|
|
3019
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
3020
|
-
*/
|
|
3021
|
-
institution?: string;
|
|
3022
2593
|
}
|
|
3023
2594
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
3024
|
-
type Prefetch = 'balances' | '
|
|
2595
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3025
2596
|
namespace Filters {
|
|
3026
2597
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3027
2598
|
}
|
|
@@ -3032,22 +2603,14 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
3032
2603
|
namespace PendingInvoiceItemInterval {
|
|
3033
2604
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
3034
2605
|
}
|
|
3035
|
-
namespace Prebilling {
|
|
3036
|
-
type UpdateBehavior = 'prebill' | 'reset';
|
|
3037
|
-
}
|
|
3038
2606
|
namespace TrialSettings {
|
|
3039
2607
|
interface EndBehavior {
|
|
3040
|
-
/**
|
|
3041
|
-
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
3042
|
-
*/
|
|
3043
|
-
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
3044
2608
|
/**
|
|
3045
2609
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
3046
2610
|
*/
|
|
3047
2611
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
3048
2612
|
}
|
|
3049
2613
|
namespace EndBehavior {
|
|
3050
|
-
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
3051
2614
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
|
|
3052
2615
|
}
|
|
3053
2616
|
}
|
|
@@ -3180,57 +2743,6 @@ export declare namespace SubscriptionMigrateParams {
|
|
|
3180
2743
|
}
|
|
3181
2744
|
}
|
|
3182
2745
|
}
|
|
3183
|
-
export interface SubscriptionPauseParams {
|
|
3184
|
-
/**
|
|
3185
|
-
* Controls what to bill for when pausing the subscription.
|
|
3186
|
-
*/
|
|
3187
|
-
bill_for?: SubscriptionPauseParams.BillFor;
|
|
3188
|
-
/**
|
|
3189
|
-
* Specifies which fields in the response should be expanded.
|
|
3190
|
-
*/
|
|
3191
|
-
expand?: Array<string>;
|
|
3192
|
-
/**
|
|
3193
|
-
* Determines how to handle debits and credits when pausing. The default is `pending_invoice_item`.
|
|
3194
|
-
*/
|
|
3195
|
-
invoicing_behavior?: SubscriptionPauseParams.InvoicingBehavior;
|
|
3196
|
-
/**
|
|
3197
|
-
* The type of pause to apply. Defaults to `subscription`.
|
|
3198
|
-
*/
|
|
3199
|
-
type?: 'subscription';
|
|
3200
|
-
}
|
|
3201
|
-
export declare namespace SubscriptionPauseParams {
|
|
3202
|
-
interface BillFor {
|
|
3203
|
-
/**
|
|
3204
|
-
* Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
|
|
3205
|
-
*/
|
|
3206
|
-
outstanding_usage_through?: BillFor.OutstandingUsageThrough;
|
|
3207
|
-
/**
|
|
3208
|
-
* Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
|
|
3209
|
-
*/
|
|
3210
|
-
unused_time_from?: BillFor.UnusedTimeFrom;
|
|
3211
|
-
}
|
|
3212
|
-
type InvoicingBehavior = 'invoice' | 'pending_invoice_item';
|
|
3213
|
-
namespace BillFor {
|
|
3214
|
-
interface OutstandingUsageThrough {
|
|
3215
|
-
/**
|
|
3216
|
-
* When to bill metered usage in the current period.
|
|
3217
|
-
*/
|
|
3218
|
-
type: OutstandingUsageThrough.Type;
|
|
3219
|
-
}
|
|
3220
|
-
interface UnusedTimeFrom {
|
|
3221
|
-
/**
|
|
3222
|
-
* When to credit for unused time.
|
|
3223
|
-
*/
|
|
3224
|
-
type: UnusedTimeFrom.Type;
|
|
3225
|
-
}
|
|
3226
|
-
namespace OutstandingUsageThrough {
|
|
3227
|
-
type Type = 'none' | 'now';
|
|
3228
|
-
}
|
|
3229
|
-
namespace UnusedTimeFrom {
|
|
3230
|
-
type Type = 'item_current_period_start' | 'none' | 'now';
|
|
3231
|
-
}
|
|
3232
|
-
}
|
|
3233
|
-
}
|
|
3234
2746
|
export interface SubscriptionResumeParams {
|
|
3235
2747
|
/**
|
|
3236
2748
|
* The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
|
|
@@ -3240,10 +2752,6 @@ export interface SubscriptionResumeParams {
|
|
|
3240
2752
|
* Specifies which fields in the response should be expanded.
|
|
3241
2753
|
*/
|
|
3242
2754
|
expand?: Array<string>;
|
|
3243
|
-
/**
|
|
3244
|
-
* Controls whether Stripe attempts payment on the resumption invoice in the resume request, and how payment on that invoice affects the subscription's status. The default is `resume_on_payment_attempt`.
|
|
3245
|
-
*/
|
|
3246
|
-
payment_behavior?: SubscriptionResumeParams.PaymentBehavior;
|
|
3247
2755
|
/**
|
|
3248
2756
|
* Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor` being `unchanged`. When the `billing_cycle_anchor` is set to `now` (default value), no prorations are generated. If no value is passed, the default is `create_prorations`.
|
|
3249
2757
|
*/
|
|
@@ -3255,7 +2763,6 @@ export interface SubscriptionResumeParams {
|
|
|
3255
2763
|
}
|
|
3256
2764
|
export declare namespace SubscriptionResumeParams {
|
|
3257
2765
|
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
3258
|
-
type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
|
|
3259
2766
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
|
|
3260
2767
|
}
|
|
3261
2768
|
export interface SubscriptionSearchParams {
|
|
@@ -3276,9 +2783,3 @@ export interface SubscriptionSearchParams {
|
|
|
3276
2783
|
*/
|
|
3277
2784
|
page?: string;
|
|
3278
2785
|
}
|
|
3279
|
-
export interface SubscriptionSerializeBatchCancelParams {
|
|
3280
|
-
}
|
|
3281
|
-
export interface SubscriptionSerializeBatchMigrateParams {
|
|
3282
|
-
}
|
|
3283
|
-
export interface SubscriptionSerializeBatchUpdateParams {
|
|
3284
|
-
}
|