stripe 22.2.0 → 22.3.0-alpha.2
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 +2754 -12
- package/OPENAPI_VERSION +1 -1
- package/README.md +57 -65
- package/VERSION +1 -1
- package/cjs/Error.d.ts +53 -0
- package/cjs/Error.js +134 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +1 -1
- package/cjs/RequestSender.js +2 -2
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +471 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- package/cjs/Types.d.ts +4 -2
- package/cjs/apiVersion.d.ts +1 -2
- package/cjs/apiVersion.js +2 -3
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +5 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +463 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/AccountSignals.d.ts +110 -0
- package/cjs/resources/AccountSignals.js +4 -0
- package/cjs/resources/AccountSignals.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +1020 -6
- package/cjs/resources/Accounts.js +47 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +28 -1
- package/cjs/resources/Balance.d.ts +134 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BalanceTransfers.d.ts +160 -0
- package/cjs/resources/BalanceTransfers.js +15 -0
- package/cjs/resources/BalanceTransfers.js.map +1 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertRecovereds.d.ts +40 -0
- package/cjs/resources/Billing/AlertRecovereds.js +4 -0
- package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
- package/cjs/resources/Billing/AlertTriggereds.d.ts +57 -1
- package/cjs/resources/Billing/Alerts.d.ts +408 -5
- package/cjs/resources/Billing/Alerts.js +321 -5
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +126 -2
- package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +85 -3
- package/cjs/resources/Billing/CreditGrants.js +134 -5
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/cjs/resources/Billing/Meters.d.ts +31 -0
- package/cjs/resources/Billing/index.d.ts +6 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +25 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +191 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +98 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +143 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +15 -0
- package/cjs/resources/Charges.d.ts +3515 -70
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +792 -9
- package/cjs/resources/Checkout/Sessions.js +88 -0
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +1 -0
- package/cjs/resources/ConfirmationTokens.d.ts +130 -1
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +128 -2
- package/cjs/resources/Coupons.js +41 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +7 -1
- package/cjs/resources/CreditNotes.js +13 -0
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +74 -0
- package/cjs/resources/CustomerSessions.js +13 -0
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/Customers.d.ts +85 -1
- package/cjs/resources/Customers.js +195 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +130 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/Orders.d.ts +161 -0
- package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
- package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1418 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
- package/cjs/resources/DelegatedCheckout/index.js +15 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +19 -0
- package/cjs/resources/Disputes.d.ts +43 -0
- package/cjs/resources/Disputes.js +14 -0
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +573 -2
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +74 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +87 -0
- package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/cjs/resources/FinancialConnections/Institutions.d.ts +101 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +155 -7
- package/cjs/resources/FinancialConnections/index.d.ts +21 -6
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FrMealVouchersOnboardings.d.ts +173 -0
- package/cjs/resources/FrMealVouchersOnboardings.js +42 -0
- package/cjs/resources/FrMealVouchersOnboardings.js.map +1 -0
- package/cjs/resources/FxQuotes.d.ts +212 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/Identity/BlocklistEntries.d.ts +157 -0
- package/cjs/resources/Identity/BlocklistEntries.js +54 -0
- package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
- package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
- package/cjs/resources/Identity/index.d.ts +18 -10
- package/cjs/resources/Identity/index.js +2 -0
- package/cjs/resources/Identity/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +203 -2
- package/cjs/resources/InvoiceItems.js +41 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +2063 -20
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +290 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +5 -4
- package/cjs/resources/Issuing/Cards.d.ts +36 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +190 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Programs.d.ts +95 -0
- package/cjs/resources/Issuing/Programs.js +35 -0
- package/cjs/resources/Issuing/Programs.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +85 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Tokens.d.ts +22 -0
- package/cjs/resources/Issuing/Transactions.d.ts +157 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +55 -22
- package/cjs/resources/Issuing/index.js +8 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +33 -1
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/cjs/resources/Orchestration/index.d.ts +12 -0
- package/cjs/resources/Orchestration/index.js +13 -0
- package/cjs/resources/Orchestration/index.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4761 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +453 -1
- package/cjs/resources/PaymentAttemptRecords.js +42 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
- package/cjs/resources/PaymentIntents.d.ts +16660 -3570
- package/cjs/resources/PaymentIntents.js +40 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +74 -12
- package/cjs/resources/PaymentLocationCapabilities.d.ts +122 -0
- package/cjs/resources/PaymentLocationCapabilities.js +29 -0
- package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
- package/cjs/resources/PaymentLocations.d.ts +178 -0
- package/cjs/resources/PaymentLocations.js +41 -0
- package/cjs/resources/PaymentLocations.js.map +1 -0
- package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
- package/cjs/resources/PaymentMethodBalances.js +4 -0
- package/cjs/resources/PaymentMethodBalances.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +262 -3
- package/cjs/resources/PaymentMethods.js +20 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +351 -21
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Persons.d.ts +25 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +76 -0
- package/cjs/resources/Prices.js +27 -0
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +229 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +127 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +12 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +171 -0
- package/cjs/resources/Products.js +69 -0
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/Profiles.d.ts +26 -0
- package/cjs/resources/Profiles.js +4 -0
- package/cjs/resources/Profiles.js.map +1 -0
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +684 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1173 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +901 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +3548 -254
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/AccountEvaluations.d.ts +270 -0
- package/cjs/resources/Radar/AccountEvaluations.js +27 -0
- package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
- package/cjs/resources/Radar/CustomerEvaluations.d.ts +214 -0
- package/cjs/resources/Radar/CustomerEvaluations.js +21 -0
- package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +63 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +8 -0
- package/cjs/resources/Radar/ValueListItems.js +13 -0
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +34 -16
- package/cjs/resources/Radar/index.js +6 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +23 -0
- package/cjs/resources/Refunds.js +27 -0
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +16 -0
- package/cjs/resources/Reserve/Plans.js +11 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +14 -3
- package/cjs/resources/Reserve/index.js +10 -2
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/RiskSignals.d.ts +10 -0
- package/cjs/resources/RiskSignals.js +4 -0
- package/cjs/resources/RiskSignals.js.map +1 -0
- package/cjs/resources/SetupAttempts.d.ts +26 -1
- package/cjs/resources/SetupIntents.d.ts +561 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1137 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +322 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +16 -1
- package/cjs/resources/SubscriptionItems.d.ts +265 -0
- package/cjs/resources/SubscriptionItems.js +41 -0
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +1949 -19
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +965 -12
- package/cjs/resources/Subscriptions.js +289 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/cjs/resources/Tax/Calculations.d.ts +7 -3
- package/cjs/resources/Tax/Forms.d.ts +230 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Locations.d.ts +108 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +171 -2
- package/cjs/resources/Tax/Registrations.js +27 -0
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +8 -0
- package/cjs/resources/Tax/Settings.js +13 -0
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +10 -2
- package/cjs/resources/Tax/Transactions.js +13 -0
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +27 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +15 -0
- package/cjs/resources/TaxIds.d.ts +6 -0
- package/cjs/resources/TaxIds.js +13 -0
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.d.ts +12 -0
- package/cjs/resources/TaxRates.js +27 -0
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +52 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +17 -1
- package/cjs/resources/Terminal/index.d.ts +5 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/Capital/index.js +13 -0
- package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +88 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +104 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js +33 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
- package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +36 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +14 -6
- package/cjs/resources/TestHelpers/index.js +12 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +61 -0
- package/cjs/resources/Transfers.d.ts +12 -0
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/TransitBalances.d.ts +25 -0
- package/cjs/resources/TransitBalances.js +4 -0
- package/cjs/resources/TransitBalances.js.map +1 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +284 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +1015 -0
- package/cjs/resources/V2/Billing/Cadences.js +264 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.d.ts +45 -0
- package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js +17 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing.d.ts +8 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing.js +15 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts.d.ts +2028 -0
- package/cjs/resources/V2/Billing/Contracts.js +376 -0
- package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/cjs/resources/V2/Billing/IntentActions.d.ts +607 -0
- package/cjs/resources/V2/Billing/IntentActions.js +4 -0
- package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents.d.ts +1257 -0
- package/cjs/resources/V2/Billing/Intents.js +87 -0
- package/cjs/resources/V2/Billing/Intents.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees.d.ts +364 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
- package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/cjs/resources/V2/Billing/LicensedItems.d.ts +174 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
- package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +222 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
- package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/cjs/resources/V2/Billing/OneTimeItems.d.ts +174 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans.d.ts +173 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
- package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +166 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardRates.d.ts +115 -0
- package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards.d.ts +340 -0
- package/cjs/resources/V2/Billing/RateCards.js +76 -0
- package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +514 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
- package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +174 -6
- package/cjs/resources/V2/Billing/index.js +32 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountEvaluations.d.ts +160 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +220 -2
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +5570 -67
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +334 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +373 -0
- package/cjs/resources/V2/Core/BatchJobs.js +225 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/cjs/resources/V2/Core/ConnectionSessions.d.ts +90 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +7601 -232
- package/cjs/resources/V2/Core/FeeBatches.d.ts +172 -0
- package/cjs/resources/V2/Core/FeeBatches.js +23 -0
- package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
- package/cjs/resources/V2/Core/FeeEntries.d.ts +178 -0
- package/cjs/resources/V2/Core/FeeEntries.js +23 -0
- package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +62 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
- package/cjs/resources/V2/Core/Vault/index.js +15 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
- package/cjs/resources/V2/Core/index.d.ts +63 -14
- package/cjs/resources/V2/Core/index.js +16 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/cjs/resources/V2/Data/Analytics/index.js +13 -0
- package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +177 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +13 -0
- package/cjs/resources/V2/Data/index.js +15 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +123 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +20 -0
- package/cjs/resources/V2/Extend/index.js +15 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +214 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +280 -0
- package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
- package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +23 -0
- package/cjs/resources/V2/Iam/index.js +15 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +171 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +103 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +417 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +50 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +321 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +251 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +249 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +280 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +128 -0
- package/cjs/resources/V2/MoneyManagement/index.js +45 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +96 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/cjs/resources/V2/Payments/index.d.ts +31 -0
- package/cjs/resources/V2/Payments/index.js +15 -0
- package/cjs/resources/V2/Payments/index.js.map +1 -0
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +194 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Reporting/Reports.d.ts +110 -0
- package/cjs/resources/V2/Reporting/Reports.js +17 -0
- package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
- package/cjs/resources/V2/Reporting/index.d.ts +18 -0
- package/cjs/resources/V2/Reporting/index.js +15 -0
- package/cjs/resources/V2/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +176 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +58 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +13 -0
- package/cjs/resources/V2/Signals/index.js +13 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +335 -0
- package/cjs/resources/V2/Tax/ManualRules.js +193 -0
- package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
- package/cjs/resources/V2/Tax/index.d.ts +16 -0
- package/cjs/resources/V2/Tax/index.js +13 -0
- package/cjs/resources/V2/Tax/index.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
- package/cjs/resources/V2/TestHelpers/index.js +15 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +39 -0
- package/cjs/resources/V2/index.js +22 -0
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +16 -0
- package/cjs/resources.js +256 -14
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +115 -50
- package/cjs/stripe.core.js +67 -31
- 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 +53 -0
- package/esm/Error.js +117 -0
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +1 -1
- package/esm/RequestSender.js +2 -2
- package/esm/RequestSender.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +467 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- package/esm/Types.d.ts +4 -2
- package/esm/apiVersion.d.ts +1 -2
- package/esm/apiVersion.js +1 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +5 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +463 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/AccountSignals.d.ts +110 -0
- package/esm/resources/AccountSignals.js +3 -0
- package/esm/resources/AccountSignals.js.map +1 -0
- package/esm/resources/Accounts.d.ts +1020 -6
- package/esm/resources/Accounts.js +47 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +28 -1
- package/esm/resources/Balance.d.ts +134 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BalanceTransfers.d.ts +160 -0
- package/esm/resources/BalanceTransfers.js +11 -0
- package/esm/resources/BalanceTransfers.js.map +1 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertRecovereds.d.ts +40 -0
- package/esm/resources/Billing/AlertRecovereds.js +3 -0
- package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
- package/esm/resources/Billing/AlertTriggereds.d.ts +57 -1
- package/esm/resources/Billing/Alerts.d.ts +408 -5
- package/esm/resources/Billing/Alerts.js +321 -5
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +126 -2
- package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +85 -3
- package/esm/resources/Billing/CreditGrants.js +134 -5
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/esm/resources/Billing/Meters.d.ts +31 -0
- package/esm/resources/Billing/index.d.ts +6 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +25 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +191 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +98 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +143 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +15 -0
- package/esm/resources/Charges.d.ts +3515 -70
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +792 -9
- package/esm/resources/Checkout/Sessions.js +88 -0
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +1 -0
- package/esm/resources/ConfirmationTokens.d.ts +130 -1
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/Coupons.d.ts +128 -2
- package/esm/resources/Coupons.js +41 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +7 -1
- package/esm/resources/CreditNotes.js +13 -0
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +74 -0
- package/esm/resources/CustomerSessions.js +13 -0
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/Customers.d.ts +85 -1
- package/esm/resources/Customers.js +195 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +130 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/esm/resources/DelegatedCheckout/Orders.d.ts +161 -0
- package/esm/resources/DelegatedCheckout/Orders.js +11 -0
- package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1418 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
- package/esm/resources/DelegatedCheckout/index.js +11 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +19 -0
- package/esm/resources/Disputes.d.ts +43 -0
- package/esm/resources/Disputes.js +14 -0
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +573 -2
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +74 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +87 -0
- package/esm/resources/FinancialConnections/Authorizations.js +11 -0
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/esm/resources/FinancialConnections/Institutions.d.ts +101 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +155 -7
- package/esm/resources/FinancialConnections/index.d.ts +21 -6
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FrMealVouchersOnboardings.d.ts +173 -0
- package/esm/resources/FrMealVouchersOnboardings.js +38 -0
- package/esm/resources/FrMealVouchersOnboardings.js.map +1 -0
- package/esm/resources/FxQuotes.d.ts +212 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/Identity/BlocklistEntries.d.ts +157 -0
- package/esm/resources/Identity/BlocklistEntries.js +50 -0
- package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
- package/esm/resources/Identity/VerificationReports.d.ts +33 -2
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
- package/esm/resources/Identity/index.d.ts +18 -10
- package/esm/resources/Identity/index.js +2 -0
- package/esm/resources/Identity/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +203 -2
- package/esm/resources/InvoiceItems.js +41 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/esm/resources/InvoiceRenderingTemplates.js +28 -0
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +2063 -20
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +290 -0
- package/esm/resources/Issuing/Cardholders.d.ts +5 -4
- package/esm/resources/Issuing/Cards.d.ts +36 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +190 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Programs.d.ts +95 -0
- package/esm/resources/Issuing/Programs.js +31 -0
- package/esm/resources/Issuing/Programs.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +85 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Tokens.d.ts +22 -0
- package/esm/resources/Issuing/Transactions.d.ts +157 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +55 -22
- package/esm/resources/Issuing/index.js +8 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +33 -1
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
- package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/esm/resources/Orchestration/index.d.ts +12 -0
- package/esm/resources/Orchestration/index.js +9 -0
- package/esm/resources/Orchestration/index.js.map +1 -0
- package/esm/resources/Orders.d.ts +4761 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +453 -1
- package/esm/resources/PaymentAttemptRecords.js +42 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
- package/esm/resources/PaymentIntents.d.ts +16660 -3570
- package/esm/resources/PaymentIntents.js +40 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +74 -12
- package/esm/resources/PaymentLocationCapabilities.d.ts +122 -0
- package/esm/resources/PaymentLocationCapabilities.js +25 -0
- package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
- package/esm/resources/PaymentLocations.d.ts +178 -0
- package/esm/resources/PaymentLocations.js +37 -0
- package/esm/resources/PaymentLocations.js.map +1 -0
- package/esm/resources/PaymentMethodBalances.d.ts +46 -0
- package/esm/resources/PaymentMethodBalances.js +3 -0
- package/esm/resources/PaymentMethodBalances.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +262 -3
- package/esm/resources/PaymentMethods.js +20 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +351 -21
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Persons.d.ts +25 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +76 -0
- package/esm/resources/Prices.js +27 -0
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +229 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +127 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +12 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +171 -0
- package/esm/resources/Products.js +69 -0
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/Profiles.d.ts +26 -0
- package/esm/resources/Profiles.js +3 -0
- package/esm/resources/Profiles.js.map +1 -0
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +684 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1173 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +901 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +3548 -254
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/AccountEvaluations.d.ts +270 -0
- package/esm/resources/Radar/AccountEvaluations.js +23 -0
- package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
- package/esm/resources/Radar/CustomerEvaluations.d.ts +214 -0
- package/esm/resources/Radar/CustomerEvaluations.js +17 -0
- package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +63 -1
- package/esm/resources/Radar/ValueListItems.d.ts +8 -0
- package/esm/resources/Radar/ValueListItems.js +13 -0
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +34 -16
- package/esm/resources/Radar/index.js +6 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +23 -0
- package/esm/resources/Refunds.js +27 -0
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +16 -0
- package/esm/resources/Reserve/Plans.js +9 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +14 -3
- package/esm/resources/Reserve/index.js +10 -2
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/RiskSignals.d.ts +10 -0
- package/esm/resources/RiskSignals.js +3 -0
- package/esm/resources/RiskSignals.js.map +1 -0
- package/esm/resources/SetupAttempts.d.ts +26 -1
- package/esm/resources/SetupIntents.d.ts +561 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +1137 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +322 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +16 -1
- package/esm/resources/SubscriptionItems.d.ts +265 -0
- package/esm/resources/SubscriptionItems.js +41 -0
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +1949 -19
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +965 -12
- package/esm/resources/Subscriptions.js +289 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/esm/resources/Tax/Calculations.d.ts +7 -3
- package/esm/resources/Tax/Forms.d.ts +230 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Locations.d.ts +108 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +171 -2
- package/esm/resources/Tax/Registrations.js +27 -0
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +8 -0
- package/esm/resources/Tax/Settings.js +13 -0
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +10 -2
- package/esm/resources/Tax/Transactions.js +13 -0
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +27 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +15 -0
- package/esm/resources/TaxIds.d.ts +6 -0
- package/esm/resources/TaxIds.js +13 -0
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.d.ts +12 -0
- package/esm/resources/TaxRates.js +27 -0
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +52 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +17 -1
- package/esm/resources/Terminal/index.d.ts +5 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/esm/resources/TestHelpers/Capital/index.js +9 -0
- package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +88 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +104 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js +29 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
- package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +36 -0
- package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
- package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +14 -6
- package/esm/resources/TestHelpers/index.js +6 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +61 -0
- package/esm/resources/Transfers.d.ts +12 -0
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/TransitBalances.d.ts +25 -0
- package/esm/resources/TransitBalances.js +3 -0
- package/esm/resources/TransitBalances.js.map +1 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +284 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +1015 -0
- package/esm/resources/V2/Billing/Cadences.js +260 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.d.ts +45 -0
- package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js +13 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing.d.ts +8 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing.js +11 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts.d.ts +2028 -0
- package/esm/resources/V2/Billing/Contracts.js +372 -0
- package/esm/resources/V2/Billing/Contracts.js.map +1 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/esm/resources/V2/Billing/IntentActions.d.ts +607 -0
- package/esm/resources/V2/Billing/IntentActions.js +3 -0
- package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
- package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents.d.ts +1257 -0
- package/esm/resources/V2/Billing/Intents.js +83 -0
- package/esm/resources/V2/Billing/Intents.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees.d.ts +364 -0
- package/esm/resources/V2/Billing/LicenseFees.js +144 -0
- package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/esm/resources/V2/Billing/LicensedItems.d.ts +174 -0
- package/esm/resources/V2/Billing/LicensedItems.js +31 -0
- package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/esm/resources/V2/Billing/MeteredItems.d.ts +222 -0
- package/esm/resources/V2/Billing/MeteredItems.js +31 -0
- package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/esm/resources/V2/Billing/OneTimeItems.d.ts +174 -0
- package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
- package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans.d.ts +173 -0
- package/esm/resources/V2/Billing/PricingPlans.js +39 -0
- package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +166 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardRates.d.ts +115 -0
- package/esm/resources/V2/Billing/RateCardRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
- package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards.d.ts +340 -0
- package/esm/resources/V2/Billing/RateCards.js +72 -0
- package/esm/resources/V2/Billing/RateCards.js.map +1 -0
- package/esm/resources/V2/Billing/ServiceActions.d.ts +514 -0
- package/esm/resources/V2/Billing/ServiceActions.js +158 -0
- package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +174 -6
- package/esm/resources/V2/Billing/index.js +32 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountEvaluations.d.ts +160 -0
- package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
- package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +220 -2
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +5570 -67
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +334 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +373 -0
- package/esm/resources/V2/Core/BatchJobs.js +221 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/esm/resources/V2/Core/ConnectionSessions.d.ts +90 -0
- package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
- package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +7601 -232
- package/esm/resources/V2/Core/FeeBatches.d.ts +172 -0
- package/esm/resources/V2/Core/FeeBatches.js +19 -0
- package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
- package/esm/resources/V2/Core/FeeEntries.d.ts +178 -0
- package/esm/resources/V2/Core/FeeEntries.js +19 -0
- package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +58 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
- package/esm/resources/V2/Core/Vault/index.js +11 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -0
- package/esm/resources/V2/Core/index.d.ts +63 -14
- package/esm/resources/V2/Core/index.js +16 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/esm/resources/V2/Data/Analytics/index.js +9 -0
- package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +177 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +13 -0
- package/esm/resources/V2/Data/index.js +11 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +123 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +20 -0
- package/esm/resources/V2/Extend/index.js +11 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +214 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/ApiKeys.d.ts +280 -0
- package/esm/resources/V2/Iam/ApiKeys.js +43 -0
- package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +23 -0
- package/esm/resources/V2/Iam/index.js +11 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +171 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +103 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +417 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +46 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +321 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +251 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +249 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +280 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +128 -0
- package/esm/resources/V2/MoneyManagement/index.js +41 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +96 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/esm/resources/V2/Payments/index.d.ts +31 -0
- package/esm/resources/V2/Payments/index.js +11 -0
- package/esm/resources/V2/Payments/index.js.map +1 -0
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +194 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
- package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Reporting/Reports.d.ts +110 -0
- package/esm/resources/V2/Reporting/Reports.js +13 -0
- package/esm/resources/V2/Reporting/Reports.js.map +1 -0
- package/esm/resources/V2/Reporting/index.d.ts +18 -0
- package/esm/resources/V2/Reporting/index.js +11 -0
- package/esm/resources/V2/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +176 -0
- package/esm/resources/V2/Signals/AccountSignals.js +54 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +13 -0
- package/esm/resources/V2/Signals/index.js +9 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +335 -0
- package/esm/resources/V2/Tax/ManualRules.js +189 -0
- package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
- package/esm/resources/V2/Tax/index.d.ts +16 -0
- package/esm/resources/V2/Tax/index.js +9 -0
- package/esm/resources/V2/Tax/index.js.map +1 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
- package/esm/resources/V2/TestHelpers/index.js +11 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +39 -0
- package/esm/resources/V2/index.js +22 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +16 -0
- package/esm/resources.js +233 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +115 -50
- package/esm/stripe.core.js +37 -1
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +115 -50
- package/esm/stripe.esm.node.js +37 -1
- 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
|
@@ -77,14 +77,46 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
77
77
|
* to an hour behind during outages. Search functionality is not available to merchants in India.
|
|
78
78
|
*/
|
|
79
79
|
search(params: SubscriptionSearchParams, options?: RequestOptions): ApiSearchResultPromise<Subscription>;
|
|
80
|
+
/**
|
|
81
|
+
* Attach a Billing Cadence to an existing subscription. When attached, the subscription is billed by the Billing Cadence, potentially sharing invoices with the other subscriptions linked to the Billing Cadence.
|
|
82
|
+
*/
|
|
83
|
+
attachCadence(id: string, params: SubscriptionAttachCadenceParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
80
84
|
/**
|
|
81
85
|
* Upgrade the billing_mode of an existing subscription.
|
|
82
86
|
*/
|
|
83
87
|
migrate(id: string, params: SubscriptionMigrateParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
88
|
+
/**
|
|
89
|
+
* 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.
|
|
90
|
+
*/
|
|
91
|
+
pause(id: string, params?: SubscriptionPauseParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
84
92
|
/**
|
|
85
93
|
* 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).
|
|
86
94
|
*/
|
|
87
95
|
resume(id: string, params?: SubscriptionResumeParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
96
|
+
serializeBatchCancel(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
|
|
97
|
+
apiVersion?: string;
|
|
98
|
+
stripeContext?: string;
|
|
99
|
+
}): string;
|
|
100
|
+
serializeBatchUpdate(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
|
|
101
|
+
apiVersion?: string;
|
|
102
|
+
stripeContext?: string;
|
|
103
|
+
}): string;
|
|
104
|
+
serializeBatchCreate(params?: Record<string, unknown>, options?: {
|
|
105
|
+
apiVersion?: string;
|
|
106
|
+
stripeContext?: string;
|
|
107
|
+
}): string;
|
|
108
|
+
serializeBatchMigrate(subscription: string, params?: Record<string, unknown>, options?: {
|
|
109
|
+
apiVersion?: string;
|
|
110
|
+
stripeContext?: string;
|
|
111
|
+
}): string;
|
|
112
|
+
serializeBatchPause(subscription: string, params?: Record<string, unknown>, options?: {
|
|
113
|
+
apiVersion?: string;
|
|
114
|
+
stripeContext?: string;
|
|
115
|
+
}): string;
|
|
116
|
+
serializeBatchResume(subscription: string, params?: Record<string, unknown>, options?: {
|
|
117
|
+
apiVersion?: string;
|
|
118
|
+
stripeContext?: string;
|
|
119
|
+
}): string;
|
|
88
120
|
}
|
|
89
121
|
export interface Subscription {
|
|
90
122
|
/**
|
|
@@ -104,6 +136,10 @@ export interface Subscription {
|
|
|
104
136
|
*/
|
|
105
137
|
application_fee_percent: number | null;
|
|
106
138
|
automatic_tax: Subscription.AutomaticTax;
|
|
139
|
+
/**
|
|
140
|
+
* The Billing Cadence which controls the timing of recurring invoice generation for this subscription.If unset, the subscription will bill according to its own configured schedule and create its own invoices.If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
|
|
141
|
+
*/
|
|
142
|
+
billing_cadence?: string;
|
|
107
143
|
/**
|
|
108
144
|
* The reference point that aligns future [billing cycle](https://docs.stripe.com/subscriptions/billing-cycle) dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals. The timestamp is in UTC format.
|
|
109
145
|
*/
|
|
@@ -193,6 +229,10 @@ export interface Subscription {
|
|
|
193
229
|
* List of subscription items, each with an attached price.
|
|
194
230
|
*/
|
|
195
231
|
items: ApiList<SubscriptionItem>;
|
|
232
|
+
/**
|
|
233
|
+
* Details of the most recent price migration that failed for the subscription.
|
|
234
|
+
*/
|
|
235
|
+
last_price_migration_error?: Subscription.LastPriceMigrationError | null;
|
|
196
236
|
/**
|
|
197
237
|
* The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
|
|
198
238
|
*/
|
|
@@ -237,6 +277,10 @@ export interface Subscription {
|
|
|
237
277
|
* 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.
|
|
238
278
|
*/
|
|
239
279
|
pending_update: Subscription.PendingUpdate | null;
|
|
280
|
+
/**
|
|
281
|
+
* Time period and invoice for a Subscription billed in advance.
|
|
282
|
+
*/
|
|
283
|
+
prebilling?: Subscription.Prebilling | null;
|
|
240
284
|
presentment_details?: Subscription.PresentmentDetails;
|
|
241
285
|
/**
|
|
242
286
|
* The schedule attached to the subscription
|
|
@@ -260,6 +304,10 @@ export interface Subscription {
|
|
|
260
304
|
* 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.
|
|
261
305
|
*/
|
|
262
306
|
status: Subscription.Status;
|
|
307
|
+
/**
|
|
308
|
+
* Describes changes to the subscription's status.
|
|
309
|
+
*/
|
|
310
|
+
status_details?: Subscription.StatusDetails;
|
|
263
311
|
/**
|
|
264
312
|
* ID of the test clock this subscription belongs to.
|
|
265
313
|
*/
|
|
@@ -378,6 +426,20 @@ export declare namespace Subscription {
|
|
|
378
426
|
account_tax_ids: Array<string | TaxId | DeletedTaxId> | null;
|
|
379
427
|
issuer: InvoiceSettings.Issuer;
|
|
380
428
|
}
|
|
429
|
+
interface LastPriceMigrationError {
|
|
430
|
+
/**
|
|
431
|
+
* The time at which the price migration encountered an error.
|
|
432
|
+
*/
|
|
433
|
+
errored_at: number;
|
|
434
|
+
/**
|
|
435
|
+
* The involved price pairs in each failed transition.
|
|
436
|
+
*/
|
|
437
|
+
failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
|
|
438
|
+
/**
|
|
439
|
+
* The type of error encountered by the price migration.
|
|
440
|
+
*/
|
|
441
|
+
type: 'price_uniqueness_violation';
|
|
442
|
+
}
|
|
381
443
|
interface ManagedPayments {
|
|
382
444
|
/**
|
|
383
445
|
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
@@ -439,6 +501,10 @@ export declare namespace Subscription {
|
|
|
439
501
|
* 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.
|
|
440
502
|
*/
|
|
441
503
|
metadata: Metadata | null;
|
|
504
|
+
/**
|
|
505
|
+
* The number of iterations of prebilling to apply.
|
|
506
|
+
*/
|
|
507
|
+
prebilling_iterations?: number | null;
|
|
442
508
|
/**
|
|
443
509
|
* List of subscription items, each with an attached plan, that will be set if the update is applied.
|
|
444
510
|
*/
|
|
@@ -452,6 +518,24 @@ export declare namespace Subscription {
|
|
|
452
518
|
*/
|
|
453
519
|
trial_from_plan: boolean | null;
|
|
454
520
|
}
|
|
521
|
+
interface Prebilling {
|
|
522
|
+
/**
|
|
523
|
+
* ID of the prebilling invoice.
|
|
524
|
+
*/
|
|
525
|
+
invoice: string | Invoice;
|
|
526
|
+
/**
|
|
527
|
+
* The end of the last period for which the invoice pre-bills.
|
|
528
|
+
*/
|
|
529
|
+
period_end: number;
|
|
530
|
+
/**
|
|
531
|
+
* The start of the first period for which the invoice pre-bills.
|
|
532
|
+
*/
|
|
533
|
+
period_start: number;
|
|
534
|
+
/**
|
|
535
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
536
|
+
*/
|
|
537
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
538
|
+
}
|
|
455
539
|
interface PresentmentDetails {
|
|
456
540
|
/**
|
|
457
541
|
* Currency used for customer payments.
|
|
@@ -459,6 +543,12 @@ export declare namespace Subscription {
|
|
|
459
543
|
presentment_currency: string;
|
|
460
544
|
}
|
|
461
545
|
type Status = 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
|
|
546
|
+
interface StatusDetails {
|
|
547
|
+
/**
|
|
548
|
+
* Indicates when and why the subscription transitioned to the paused status.
|
|
549
|
+
*/
|
|
550
|
+
paused: StatusDetails.Paused;
|
|
551
|
+
}
|
|
462
552
|
interface TransferData {
|
|
463
553
|
/**
|
|
464
554
|
* 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.
|
|
@@ -487,7 +577,7 @@ export declare namespace Subscription {
|
|
|
487
577
|
type: Liability.Type;
|
|
488
578
|
}
|
|
489
579
|
namespace Liability {
|
|
490
|
-
type Type = 'account' | 'self';
|
|
580
|
+
type Type = 'account' | 'application' | 'self';
|
|
491
581
|
}
|
|
492
582
|
}
|
|
493
583
|
namespace BillingMode {
|
|
@@ -564,7 +654,19 @@ export declare namespace Subscription {
|
|
|
564
654
|
type: Issuer.Type;
|
|
565
655
|
}
|
|
566
656
|
namespace Issuer {
|
|
567
|
-
type Type = 'account' | 'self';
|
|
657
|
+
type Type = 'account' | 'application' | 'self';
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
namespace LastPriceMigrationError {
|
|
661
|
+
interface FailedTransition {
|
|
662
|
+
/**
|
|
663
|
+
* The original price to be migrated.
|
|
664
|
+
*/
|
|
665
|
+
source_price: string;
|
|
666
|
+
/**
|
|
667
|
+
* The intended resulting price of the migration.
|
|
668
|
+
*/
|
|
669
|
+
target_price: string;
|
|
568
670
|
}
|
|
569
671
|
}
|
|
570
672
|
namespace PauseCollection {
|
|
@@ -580,14 +682,30 @@ export declare namespace Subscription {
|
|
|
580
682
|
* This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
|
|
581
683
|
*/
|
|
582
684
|
bancontact: PaymentMethodOptions.Bancontact | null;
|
|
685
|
+
/**
|
|
686
|
+
* This sub-hash contains details about the Bizum payment method options to pass to invoices created by the subscription.
|
|
687
|
+
*/
|
|
688
|
+
bizum?: PaymentMethodOptions.Bizum | null;
|
|
689
|
+
/**
|
|
690
|
+
* This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
|
|
691
|
+
*/
|
|
692
|
+
blik?: PaymentMethodOptions.Blik | null;
|
|
583
693
|
/**
|
|
584
694
|
* This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
|
|
585
695
|
*/
|
|
586
696
|
card: PaymentMethodOptions.Card | null;
|
|
697
|
+
/**
|
|
698
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to invoices created by the subscription.
|
|
699
|
+
*/
|
|
700
|
+
check_scan?: PaymentMethodOptions.CheckScan | null;
|
|
587
701
|
/**
|
|
588
702
|
* This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
|
|
589
703
|
*/
|
|
590
704
|
customer_balance: PaymentMethodOptions.CustomerBalance | null;
|
|
705
|
+
/**
|
|
706
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
|
707
|
+
*/
|
|
708
|
+
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
|
|
591
709
|
/**
|
|
592
710
|
* This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
|
593
711
|
*/
|
|
@@ -612,8 +730,12 @@ export declare namespace Subscription {
|
|
|
612
730
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
|
|
613
731
|
*/
|
|
614
732
|
us_bank_account: PaymentMethodOptions.UsBankAccount | null;
|
|
733
|
+
/**
|
|
734
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to invoices created by the subscription.
|
|
735
|
+
*/
|
|
736
|
+
wechat_pay?: PaymentMethodOptions.WechatPay | null;
|
|
615
737
|
}
|
|
616
|
-
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' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
|
|
738
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'check_scan' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
|
|
617
739
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
|
|
618
740
|
namespace PaymentMethodOptions {
|
|
619
741
|
interface AcssDebit {
|
|
@@ -629,6 +751,12 @@ export declare namespace Subscription {
|
|
|
629
751
|
*/
|
|
630
752
|
preferred_language: Bancontact.PreferredLanguage;
|
|
631
753
|
}
|
|
754
|
+
interface Bizum {
|
|
755
|
+
mandate_options?: Bizum.MandateOptions;
|
|
756
|
+
}
|
|
757
|
+
interface Blik {
|
|
758
|
+
mandate_options?: Blik.MandateOptions;
|
|
759
|
+
}
|
|
632
760
|
interface Card {
|
|
633
761
|
mandate_options?: Card.MandateOptions;
|
|
634
762
|
/**
|
|
@@ -640,6 +768,8 @@ export declare namespace Subscription {
|
|
|
640
768
|
*/
|
|
641
769
|
request_three_d_secure: Card.RequestThreeDSecure | null;
|
|
642
770
|
}
|
|
771
|
+
interface CheckScan {
|
|
772
|
+
}
|
|
643
773
|
interface CustomerBalance {
|
|
644
774
|
bank_transfer?: CustomerBalance.BankTransfer;
|
|
645
775
|
/**
|
|
@@ -647,6 +777,8 @@ export declare namespace Subscription {
|
|
|
647
777
|
*/
|
|
648
778
|
funding_type: 'bank_transfer' | null;
|
|
649
779
|
}
|
|
780
|
+
interface IdBankTransfer {
|
|
781
|
+
}
|
|
650
782
|
interface Konbini {
|
|
651
783
|
}
|
|
652
784
|
interface Payto {
|
|
@@ -671,6 +803,16 @@ export declare namespace Subscription {
|
|
|
671
803
|
*/
|
|
672
804
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
673
805
|
}
|
|
806
|
+
interface WechatPay {
|
|
807
|
+
/**
|
|
808
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
809
|
+
*/
|
|
810
|
+
app_id?: string;
|
|
811
|
+
/**
|
|
812
|
+
* The client type that the end customer will pay from.
|
|
813
|
+
*/
|
|
814
|
+
client?: WechatPay.Client;
|
|
815
|
+
}
|
|
674
816
|
namespace AcssDebit {
|
|
675
817
|
interface MandateOptions {
|
|
676
818
|
/**
|
|
@@ -686,6 +828,26 @@ export declare namespace Subscription {
|
|
|
686
828
|
namespace Bancontact {
|
|
687
829
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
688
830
|
}
|
|
831
|
+
namespace Bizum {
|
|
832
|
+
interface MandateOptions {
|
|
833
|
+
/**
|
|
834
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
835
|
+
*/
|
|
836
|
+
amount?: number;
|
|
837
|
+
/**
|
|
838
|
+
* Indicates the mandate amount type.
|
|
839
|
+
*/
|
|
840
|
+
amount_type?: 'fixed';
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
namespace Blik {
|
|
844
|
+
interface MandateOptions {
|
|
845
|
+
/**
|
|
846
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
847
|
+
*/
|
|
848
|
+
expires_after: number | null;
|
|
849
|
+
}
|
|
850
|
+
}
|
|
689
851
|
namespace Card {
|
|
690
852
|
interface MandateOptions {
|
|
691
853
|
/**
|
|
@@ -813,27 +975,69 @@ export declare namespace Subscription {
|
|
|
813
975
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
814
976
|
*/
|
|
815
977
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
978
|
+
/**
|
|
979
|
+
* The institution to use to filter for possible accounts to link.
|
|
980
|
+
*/
|
|
981
|
+
institution?: string;
|
|
816
982
|
}
|
|
817
983
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
818
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
984
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
|
|
819
985
|
namespace Filters {
|
|
820
986
|
type AccountSubcategory = 'checking' | 'savings';
|
|
821
987
|
}
|
|
822
988
|
}
|
|
823
989
|
}
|
|
990
|
+
namespace WechatPay {
|
|
991
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web';
|
|
992
|
+
}
|
|
824
993
|
}
|
|
825
994
|
}
|
|
826
995
|
namespace PendingInvoiceItemInterval {
|
|
827
996
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
828
997
|
}
|
|
998
|
+
namespace Prebilling {
|
|
999
|
+
type UpdateBehavior = 'prebill' | 'reset';
|
|
1000
|
+
}
|
|
1001
|
+
namespace StatusDetails {
|
|
1002
|
+
interface Paused {
|
|
1003
|
+
/**
|
|
1004
|
+
* Information on the `type=subscription` pause.
|
|
1005
|
+
*/
|
|
1006
|
+
subscription: Paused.Subscription;
|
|
1007
|
+
/**
|
|
1008
|
+
* Unix timestamp in seconds of when the subscription status transitioned to `paused`.
|
|
1009
|
+
*/
|
|
1010
|
+
transitioned_at: number;
|
|
1011
|
+
/**
|
|
1012
|
+
* The type of pause.
|
|
1013
|
+
*/
|
|
1014
|
+
type: 'subscription';
|
|
1015
|
+
}
|
|
1016
|
+
namespace Paused {
|
|
1017
|
+
interface Subscription {
|
|
1018
|
+
/**
|
|
1019
|
+
* The reason that the subscription was paused.
|
|
1020
|
+
*/
|
|
1021
|
+
type: Subscription.Type;
|
|
1022
|
+
}
|
|
1023
|
+
namespace Subscription {
|
|
1024
|
+
type Type = 'pause_requested' | 'system' | 'trial_end_without_payment_method';
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
829
1028
|
namespace TrialSettings {
|
|
830
1029
|
interface EndBehavior {
|
|
1030
|
+
/**
|
|
1031
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
|
|
1032
|
+
*/
|
|
1033
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
|
|
831
1034
|
/**
|
|
832
1035
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
833
1036
|
*/
|
|
834
1037
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
835
1038
|
}
|
|
836
1039
|
namespace EndBehavior {
|
|
1040
|
+
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
837
1041
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
|
|
838
1042
|
}
|
|
839
1043
|
}
|
|
@@ -855,6 +1059,10 @@ export interface SubscriptionCreateParams {
|
|
|
855
1059
|
* A past timestamp to backdate the subscription's start date to. If set, the first invoice will contain line items for the timespan between the start date and the current time. Can be combined with trials and the billing cycle anchor.
|
|
856
1060
|
*/
|
|
857
1061
|
backdate_start_date?: number;
|
|
1062
|
+
/**
|
|
1063
|
+
* The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
|
|
1064
|
+
*/
|
|
1065
|
+
billing_cadence?: string;
|
|
858
1066
|
/**
|
|
859
1067
|
* A future timestamp in UTC format to anchor the subscription's [billing cycle](https://docs.stripe.com/subscriptions/billing-cycle). The anchor is the reference point that aligns future billing cycle dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals.
|
|
860
1068
|
*/
|
|
@@ -959,6 +1167,10 @@ export interface SubscriptionCreateParams {
|
|
|
959
1167
|
* 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.
|
|
960
1168
|
*/
|
|
961
1169
|
pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
|
|
1170
|
+
/**
|
|
1171
|
+
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
1172
|
+
*/
|
|
1173
|
+
prebilling?: SubscriptionCreateParams.Prebilling;
|
|
962
1174
|
/**
|
|
963
1175
|
* 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`.
|
|
964
1176
|
*/
|
|
@@ -1096,10 +1308,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1096
1308
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1097
1309
|
*/
|
|
1098
1310
|
discount?: string;
|
|
1311
|
+
/**
|
|
1312
|
+
* Details to determine how long the discount should be applied for.
|
|
1313
|
+
*/
|
|
1314
|
+
discount_end?: Discount.DiscountEnd;
|
|
1099
1315
|
/**
|
|
1100
1316
|
* ID of the promotion code to create a new discount for.
|
|
1101
1317
|
*/
|
|
1102
1318
|
promotion_code?: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* Settings for discount application including service period anchoring.
|
|
1321
|
+
*/
|
|
1322
|
+
settings?: Discount.Settings;
|
|
1103
1323
|
}
|
|
1104
1324
|
interface InvoiceSettings {
|
|
1105
1325
|
/**
|
|
@@ -1116,6 +1336,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1116
1336
|
* 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.
|
|
1117
1337
|
*/
|
|
1118
1338
|
billing_thresholds?: Emptyable<Item.BillingThresholds>;
|
|
1339
|
+
/**
|
|
1340
|
+
* The trial offer to apply to this subscription item.
|
|
1341
|
+
*/
|
|
1342
|
+
current_trial?: Item.CurrentTrial;
|
|
1119
1343
|
/**
|
|
1120
1344
|
* The coupons to redeem into discounts for the subscription item.
|
|
1121
1345
|
*/
|
|
@@ -1144,6 +1368,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1144
1368
|
* 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.
|
|
1145
1369
|
*/
|
|
1146
1370
|
tax_rates?: Emptyable<Array<string>>;
|
|
1371
|
+
/**
|
|
1372
|
+
* Define options to configure the trial on the subscription item.
|
|
1373
|
+
*/
|
|
1374
|
+
trial?: Item.Trial;
|
|
1147
1375
|
}
|
|
1148
1376
|
type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
|
|
1149
1377
|
interface PaymentSettings {
|
|
@@ -1170,6 +1398,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1170
1398
|
*/
|
|
1171
1399
|
interval_count?: number;
|
|
1172
1400
|
}
|
|
1401
|
+
interface Prebilling {
|
|
1402
|
+
/**
|
|
1403
|
+
* This is used to determine the number of billing cycles to prebill.
|
|
1404
|
+
*/
|
|
1405
|
+
iterations: number;
|
|
1406
|
+
/**
|
|
1407
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
1408
|
+
*/
|
|
1409
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
1410
|
+
}
|
|
1173
1411
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
|
|
1174
1412
|
interface TransferData {
|
|
1175
1413
|
/**
|
|
@@ -1197,6 +1435,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1197
1435
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1198
1436
|
*/
|
|
1199
1437
|
discount?: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* Details to determine how long the discount should be applied for.
|
|
1440
|
+
*/
|
|
1441
|
+
discount_end?: Discount.DiscountEnd;
|
|
1200
1442
|
/**
|
|
1201
1443
|
* ID of the promotion code to create a new discount for.
|
|
1202
1444
|
*/
|
|
@@ -1234,6 +1476,38 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1234
1476
|
*/
|
|
1235
1477
|
unit_amount_decimal?: Decimal;
|
|
1236
1478
|
}
|
|
1479
|
+
namespace Discount {
|
|
1480
|
+
interface DiscountEnd {
|
|
1481
|
+
/**
|
|
1482
|
+
* Time span for the redeemed discount.
|
|
1483
|
+
*/
|
|
1484
|
+
duration?: DiscountEnd.Duration;
|
|
1485
|
+
/**
|
|
1486
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1487
|
+
*/
|
|
1488
|
+
timestamp?: number;
|
|
1489
|
+
/**
|
|
1490
|
+
* The type of calculation made to determine when the discount ends.
|
|
1491
|
+
*/
|
|
1492
|
+
type: DiscountEnd.Type;
|
|
1493
|
+
}
|
|
1494
|
+
namespace DiscountEnd {
|
|
1495
|
+
interface Duration {
|
|
1496
|
+
/**
|
|
1497
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1498
|
+
*/
|
|
1499
|
+
interval: Duration.Interval;
|
|
1500
|
+
/**
|
|
1501
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1502
|
+
*/
|
|
1503
|
+
interval_count: number;
|
|
1504
|
+
}
|
|
1505
|
+
type Type = 'duration' | 'timestamp';
|
|
1506
|
+
namespace Duration {
|
|
1507
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1237
1511
|
namespace Period {
|
|
1238
1512
|
interface End {
|
|
1239
1513
|
/**
|
|
@@ -1278,7 +1552,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1278
1552
|
type: Liability.Type;
|
|
1279
1553
|
}
|
|
1280
1554
|
namespace Liability {
|
|
1281
|
-
type Type = 'account' | 'self';
|
|
1555
|
+
type Type = 'account' | 'application' | 'self';
|
|
1282
1556
|
}
|
|
1283
1557
|
}
|
|
1284
1558
|
namespace BillingMode {
|
|
@@ -1335,6 +1609,86 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1335
1609
|
}
|
|
1336
1610
|
}
|
|
1337
1611
|
}
|
|
1612
|
+
namespace Discount {
|
|
1613
|
+
interface DiscountEnd {
|
|
1614
|
+
/**
|
|
1615
|
+
* Time span for the redeemed discount.
|
|
1616
|
+
*/
|
|
1617
|
+
duration?: DiscountEnd.Duration;
|
|
1618
|
+
/**
|
|
1619
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1620
|
+
*/
|
|
1621
|
+
timestamp?: number;
|
|
1622
|
+
/**
|
|
1623
|
+
* The type of calculation made to determine when the discount ends.
|
|
1624
|
+
*/
|
|
1625
|
+
type: DiscountEnd.Type;
|
|
1626
|
+
}
|
|
1627
|
+
interface Settings {
|
|
1628
|
+
/**
|
|
1629
|
+
* Configures service period cycle anchoring.
|
|
1630
|
+
*/
|
|
1631
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
1632
|
+
/**
|
|
1633
|
+
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
|
|
1634
|
+
*/
|
|
1635
|
+
start_date?: Settings.StartDate;
|
|
1636
|
+
}
|
|
1637
|
+
namespace DiscountEnd {
|
|
1638
|
+
interface Duration {
|
|
1639
|
+
/**
|
|
1640
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1641
|
+
*/
|
|
1642
|
+
interval: Duration.Interval;
|
|
1643
|
+
/**
|
|
1644
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1645
|
+
*/
|
|
1646
|
+
interval_count: number;
|
|
1647
|
+
}
|
|
1648
|
+
type Type = 'duration' | 'timestamp';
|
|
1649
|
+
namespace Duration {
|
|
1650
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
namespace Settings {
|
|
1654
|
+
interface ServicePeriodAnchorConfig {
|
|
1655
|
+
/**
|
|
1656
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
1657
|
+
*/
|
|
1658
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
1659
|
+
/**
|
|
1660
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
1661
|
+
*/
|
|
1662
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
1663
|
+
}
|
|
1664
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now';
|
|
1665
|
+
namespace ServicePeriodAnchorConfig {
|
|
1666
|
+
interface Custom {
|
|
1667
|
+
/**
|
|
1668
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
1669
|
+
*/
|
|
1670
|
+
day_of_month: number;
|
|
1671
|
+
/**
|
|
1672
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
1673
|
+
*/
|
|
1674
|
+
hour?: number;
|
|
1675
|
+
/**
|
|
1676
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
1677
|
+
*/
|
|
1678
|
+
minute?: number;
|
|
1679
|
+
/**
|
|
1680
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
1681
|
+
*/
|
|
1682
|
+
month?: number;
|
|
1683
|
+
/**
|
|
1684
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
1685
|
+
*/
|
|
1686
|
+
second?: number;
|
|
1687
|
+
}
|
|
1688
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor';
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1338
1692
|
namespace InvoiceSettings {
|
|
1339
1693
|
interface Issuer {
|
|
1340
1694
|
/**
|
|
@@ -1347,7 +1701,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1347
1701
|
type: Issuer.Type;
|
|
1348
1702
|
}
|
|
1349
1703
|
namespace Issuer {
|
|
1350
|
-
type Type = 'account' | 'self';
|
|
1704
|
+
type Type = 'account' | 'application' | 'self';
|
|
1351
1705
|
}
|
|
1352
1706
|
}
|
|
1353
1707
|
namespace Item {
|
|
@@ -1357,6 +1711,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1357
1711
|
*/
|
|
1358
1712
|
usage_gte: number;
|
|
1359
1713
|
}
|
|
1714
|
+
interface CurrentTrial {
|
|
1715
|
+
/**
|
|
1716
|
+
* 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`.
|
|
1717
|
+
*/
|
|
1718
|
+
trial_end?: number;
|
|
1719
|
+
/**
|
|
1720
|
+
* The ID of the trial offer to apply to the subscription item.
|
|
1721
|
+
*/
|
|
1722
|
+
trial_offer: string;
|
|
1723
|
+
}
|
|
1360
1724
|
interface Discount {
|
|
1361
1725
|
/**
|
|
1362
1726
|
* ID of the coupon to create a new discount for.
|
|
@@ -1366,10 +1730,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1366
1730
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1367
1731
|
*/
|
|
1368
1732
|
discount?: string;
|
|
1733
|
+
/**
|
|
1734
|
+
* Details to determine how long the discount should be applied for.
|
|
1735
|
+
*/
|
|
1736
|
+
discount_end?: Discount.DiscountEnd;
|
|
1369
1737
|
/**
|
|
1370
1738
|
* ID of the promotion code to create a new discount for.
|
|
1371
1739
|
*/
|
|
1372
1740
|
promotion_code?: string;
|
|
1741
|
+
/**
|
|
1742
|
+
* Settings for discount application including service period anchoring.
|
|
1743
|
+
*/
|
|
1744
|
+
settings?: Discount.Settings;
|
|
1373
1745
|
}
|
|
1374
1746
|
interface PriceData {
|
|
1375
1747
|
/**
|
|
@@ -1397,6 +1769,96 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1397
1769
|
*/
|
|
1398
1770
|
unit_amount_decimal?: Decimal;
|
|
1399
1771
|
}
|
|
1772
|
+
interface Trial {
|
|
1773
|
+
/**
|
|
1774
|
+
* 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.
|
|
1775
|
+
*/
|
|
1776
|
+
converts_to?: Array<string>;
|
|
1777
|
+
/**
|
|
1778
|
+
* Determines the type of trial for this item.
|
|
1779
|
+
*/
|
|
1780
|
+
type: Trial.Type;
|
|
1781
|
+
}
|
|
1782
|
+
namespace Discount {
|
|
1783
|
+
interface DiscountEnd {
|
|
1784
|
+
/**
|
|
1785
|
+
* Time span for the redeemed discount.
|
|
1786
|
+
*/
|
|
1787
|
+
duration?: DiscountEnd.Duration;
|
|
1788
|
+
/**
|
|
1789
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1790
|
+
*/
|
|
1791
|
+
timestamp?: number;
|
|
1792
|
+
/**
|
|
1793
|
+
* The type of calculation made to determine when the discount ends.
|
|
1794
|
+
*/
|
|
1795
|
+
type: DiscountEnd.Type;
|
|
1796
|
+
}
|
|
1797
|
+
interface Settings {
|
|
1798
|
+
/**
|
|
1799
|
+
* Configures service period cycle anchoring.
|
|
1800
|
+
*/
|
|
1801
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
1802
|
+
/**
|
|
1803
|
+
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
|
|
1804
|
+
*/
|
|
1805
|
+
start_date?: Settings.StartDate;
|
|
1806
|
+
}
|
|
1807
|
+
namespace DiscountEnd {
|
|
1808
|
+
interface Duration {
|
|
1809
|
+
/**
|
|
1810
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1811
|
+
*/
|
|
1812
|
+
interval: Duration.Interval;
|
|
1813
|
+
/**
|
|
1814
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1815
|
+
*/
|
|
1816
|
+
interval_count: number;
|
|
1817
|
+
}
|
|
1818
|
+
type Type = 'duration' | 'timestamp';
|
|
1819
|
+
namespace Duration {
|
|
1820
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
namespace Settings {
|
|
1824
|
+
interface ServicePeriodAnchorConfig {
|
|
1825
|
+
/**
|
|
1826
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
1827
|
+
*/
|
|
1828
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
1829
|
+
/**
|
|
1830
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
1831
|
+
*/
|
|
1832
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
1833
|
+
}
|
|
1834
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now';
|
|
1835
|
+
namespace ServicePeriodAnchorConfig {
|
|
1836
|
+
interface Custom {
|
|
1837
|
+
/**
|
|
1838
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
1839
|
+
*/
|
|
1840
|
+
day_of_month: number;
|
|
1841
|
+
/**
|
|
1842
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
1843
|
+
*/
|
|
1844
|
+
hour?: number;
|
|
1845
|
+
/**
|
|
1846
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
1847
|
+
*/
|
|
1848
|
+
minute?: number;
|
|
1849
|
+
/**
|
|
1850
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
1851
|
+
*/
|
|
1852
|
+
month?: number;
|
|
1853
|
+
/**
|
|
1854
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
1855
|
+
*/
|
|
1856
|
+
second?: number;
|
|
1857
|
+
}
|
|
1858
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor';
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1400
1862
|
namespace PriceData {
|
|
1401
1863
|
interface Recurring {
|
|
1402
1864
|
/**
|
|
@@ -1413,6 +1875,9 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1413
1875
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1414
1876
|
}
|
|
1415
1877
|
}
|
|
1878
|
+
namespace Trial {
|
|
1879
|
+
type Type = 'free' | 'paid';
|
|
1880
|
+
}
|
|
1416
1881
|
}
|
|
1417
1882
|
namespace PaymentSettings {
|
|
1418
1883
|
interface PaymentMethodOptions {
|
|
@@ -1424,14 +1889,30 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1424
1889
|
* This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
|
|
1425
1890
|
*/
|
|
1426
1891
|
bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
|
|
1892
|
+
/**
|
|
1893
|
+
* This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
|
|
1894
|
+
*/
|
|
1895
|
+
bizum?: Emptyable<PaymentMethodOptions.Bizum>;
|
|
1896
|
+
/**
|
|
1897
|
+
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
1898
|
+
*/
|
|
1899
|
+
blik?: Emptyable<PaymentMethodOptions.Blik>;
|
|
1427
1900
|
/**
|
|
1428
1901
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
1429
1902
|
*/
|
|
1430
1903
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
1904
|
+
/**
|
|
1905
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
1906
|
+
*/
|
|
1907
|
+
check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
|
|
1431
1908
|
/**
|
|
1432
1909
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1433
1910
|
*/
|
|
1434
1911
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
1912
|
+
/**
|
|
1913
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1914
|
+
*/
|
|
1915
|
+
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
1435
1916
|
/**
|
|
1436
1917
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
1437
1918
|
*/
|
|
@@ -1456,8 +1937,12 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1456
1937
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
1457
1938
|
*/
|
|
1458
1939
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
1940
|
+
/**
|
|
1941
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
1942
|
+
*/
|
|
1943
|
+
wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
|
|
1459
1944
|
}
|
|
1460
|
-
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' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
|
|
1945
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'check_scan' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
|
|
1461
1946
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
|
|
1462
1947
|
namespace PaymentMethodOptions {
|
|
1463
1948
|
interface AcssDebit {
|
|
@@ -1476,6 +1961,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1476
1961
|
*/
|
|
1477
1962
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
1478
1963
|
}
|
|
1964
|
+
interface Bizum {
|
|
1965
|
+
/**
|
|
1966
|
+
* Configuration options for setting up a mandate
|
|
1967
|
+
*/
|
|
1968
|
+
mandate_options?: Bizum.MandateOptions;
|
|
1969
|
+
}
|
|
1970
|
+
interface Blik {
|
|
1971
|
+
/**
|
|
1972
|
+
* Configuration options for setting up a mandate
|
|
1973
|
+
*/
|
|
1974
|
+
mandate_options?: Blik.MandateOptions;
|
|
1975
|
+
}
|
|
1479
1976
|
interface Card {
|
|
1480
1977
|
/**
|
|
1481
1978
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -1490,6 +1987,8 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1490
1987
|
*/
|
|
1491
1988
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
1492
1989
|
}
|
|
1990
|
+
interface CheckScan {
|
|
1991
|
+
}
|
|
1493
1992
|
interface CustomerBalance {
|
|
1494
1993
|
/**
|
|
1495
1994
|
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
@@ -1500,6 +1999,8 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1500
1999
|
*/
|
|
1501
2000
|
funding_type?: string;
|
|
1502
2001
|
}
|
|
2002
|
+
interface IdBankTransfer {
|
|
2003
|
+
}
|
|
1503
2004
|
interface Konbini {
|
|
1504
2005
|
}
|
|
1505
2006
|
interface Payto {
|
|
@@ -1536,6 +2037,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1536
2037
|
*/
|
|
1537
2038
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
1538
2039
|
}
|
|
2040
|
+
interface WechatPay {
|
|
2041
|
+
/**
|
|
2042
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
2043
|
+
*/
|
|
2044
|
+
app_id?: string;
|
|
2045
|
+
/**
|
|
2046
|
+
* The client type that the end customer will pay from.
|
|
2047
|
+
*/
|
|
2048
|
+
client?: WechatPay.Client;
|
|
2049
|
+
}
|
|
1539
2050
|
namespace AcssDebit {
|
|
1540
2051
|
interface MandateOptions {
|
|
1541
2052
|
/**
|
|
@@ -1551,6 +2062,26 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1551
2062
|
namespace Bancontact {
|
|
1552
2063
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
1553
2064
|
}
|
|
2065
|
+
namespace Bizum {
|
|
2066
|
+
interface MandateOptions {
|
|
2067
|
+
/**
|
|
2068
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
2069
|
+
*/
|
|
2070
|
+
amount: number;
|
|
2071
|
+
/**
|
|
2072
|
+
* Indicates the mandate amount type.
|
|
2073
|
+
*/
|
|
2074
|
+
amount_type: 'fixed';
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
namespace Blik {
|
|
2078
|
+
interface MandateOptions {
|
|
2079
|
+
/**
|
|
2080
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
2081
|
+
*/
|
|
2082
|
+
expires_after?: number;
|
|
2083
|
+
}
|
|
2084
|
+
}
|
|
1554
2085
|
namespace Card {
|
|
1555
2086
|
interface MandateOptions {
|
|
1556
2087
|
/**
|
|
@@ -1676,27 +2207,42 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1676
2207
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1677
2208
|
*/
|
|
1678
2209
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2210
|
+
/**
|
|
2211
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
2212
|
+
*/
|
|
2213
|
+
institution?: string;
|
|
1679
2214
|
}
|
|
1680
2215
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
1681
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
2216
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
|
|
1682
2217
|
namespace Filters {
|
|
1683
2218
|
type AccountSubcategory = 'checking' | 'savings';
|
|
1684
2219
|
}
|
|
1685
2220
|
}
|
|
1686
2221
|
}
|
|
2222
|
+
namespace WechatPay {
|
|
2223
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web';
|
|
2224
|
+
}
|
|
1687
2225
|
}
|
|
1688
2226
|
}
|
|
1689
2227
|
namespace PendingInvoiceItemInterval {
|
|
1690
2228
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1691
2229
|
}
|
|
2230
|
+
namespace Prebilling {
|
|
2231
|
+
type UpdateBehavior = 'prebill' | 'reset';
|
|
2232
|
+
}
|
|
1692
2233
|
namespace TrialSettings {
|
|
1693
2234
|
interface EndBehavior {
|
|
2235
|
+
/**
|
|
2236
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
2237
|
+
*/
|
|
2238
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
1694
2239
|
/**
|
|
1695
2240
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
1696
2241
|
*/
|
|
1697
2242
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
1698
2243
|
}
|
|
1699
2244
|
namespace EndBehavior {
|
|
2245
|
+
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
1700
2246
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
|
|
1701
2247
|
}
|
|
1702
2248
|
}
|
|
@@ -1720,6 +2266,10 @@ export interface SubscriptionUpdateParams {
|
|
|
1720
2266
|
* Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
|
|
1721
2267
|
*/
|
|
1722
2268
|
automatic_tax?: SubscriptionUpdateParams.AutomaticTax;
|
|
2269
|
+
/**
|
|
2270
|
+
* The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
|
|
2271
|
+
*/
|
|
2272
|
+
billing_cadence?: string;
|
|
1723
2273
|
/**
|
|
1724
2274
|
* Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time (in UTC). For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
|
|
1725
2275
|
*/
|
|
@@ -1812,6 +2362,10 @@ export interface SubscriptionUpdateParams {
|
|
|
1812
2362
|
* 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.
|
|
1813
2363
|
*/
|
|
1814
2364
|
pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
|
|
2365
|
+
/**
|
|
2366
|
+
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
2367
|
+
*/
|
|
2368
|
+
prebilling?: SubscriptionUpdateParams.Prebilling;
|
|
1815
2369
|
/**
|
|
1816
2370
|
* 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`.
|
|
1817
2371
|
*/
|
|
@@ -1928,10 +2482,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
1928
2482
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1929
2483
|
*/
|
|
1930
2484
|
discount?: string;
|
|
2485
|
+
/**
|
|
2486
|
+
* Details to determine how long the discount should be applied for.
|
|
2487
|
+
*/
|
|
2488
|
+
discount_end?: Discount.DiscountEnd;
|
|
1931
2489
|
/**
|
|
1932
2490
|
* ID of the promotion code to create a new discount for.
|
|
1933
2491
|
*/
|
|
1934
2492
|
promotion_code?: string;
|
|
2493
|
+
/**
|
|
2494
|
+
* Settings for discount application including service period anchoring.
|
|
2495
|
+
*/
|
|
2496
|
+
settings?: Discount.Settings;
|
|
1935
2497
|
}
|
|
1936
2498
|
interface InvoiceSettings {
|
|
1937
2499
|
/**
|
|
@@ -1952,6 +2514,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
1952
2514
|
* 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.
|
|
1953
2515
|
*/
|
|
1954
2516
|
clear_usage?: boolean;
|
|
2517
|
+
/**
|
|
2518
|
+
* The trial offer to apply to this subscription item.
|
|
2519
|
+
*/
|
|
2520
|
+
current_trial?: Item.CurrentTrial;
|
|
1955
2521
|
/**
|
|
1956
2522
|
* A flag that, if set to `true`, will delete the specified item.
|
|
1957
2523
|
*/
|
|
@@ -2024,6 +2590,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2024
2590
|
*/
|
|
2025
2591
|
interval_count?: number;
|
|
2026
2592
|
}
|
|
2593
|
+
interface Prebilling {
|
|
2594
|
+
/**
|
|
2595
|
+
* This is used to determine the number of billing cycles to prebill.
|
|
2596
|
+
*/
|
|
2597
|
+
iterations: number;
|
|
2598
|
+
/**
|
|
2599
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
2600
|
+
*/
|
|
2601
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
2602
|
+
}
|
|
2027
2603
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
|
|
2028
2604
|
interface TransferData {
|
|
2029
2605
|
/**
|
|
@@ -2051,6 +2627,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2051
2627
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2052
2628
|
*/
|
|
2053
2629
|
discount?: string;
|
|
2630
|
+
/**
|
|
2631
|
+
* Details to determine how long the discount should be applied for.
|
|
2632
|
+
*/
|
|
2633
|
+
discount_end?: Discount.DiscountEnd;
|
|
2054
2634
|
/**
|
|
2055
2635
|
* ID of the promotion code to create a new discount for.
|
|
2056
2636
|
*/
|
|
@@ -2088,6 +2668,38 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2088
2668
|
*/
|
|
2089
2669
|
unit_amount_decimal?: Decimal;
|
|
2090
2670
|
}
|
|
2671
|
+
namespace Discount {
|
|
2672
|
+
interface DiscountEnd {
|
|
2673
|
+
/**
|
|
2674
|
+
* Time span for the redeemed discount.
|
|
2675
|
+
*/
|
|
2676
|
+
duration?: DiscountEnd.Duration;
|
|
2677
|
+
/**
|
|
2678
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2679
|
+
*/
|
|
2680
|
+
timestamp?: number;
|
|
2681
|
+
/**
|
|
2682
|
+
* The type of calculation made to determine when the discount ends.
|
|
2683
|
+
*/
|
|
2684
|
+
type: DiscountEnd.Type;
|
|
2685
|
+
}
|
|
2686
|
+
namespace DiscountEnd {
|
|
2687
|
+
interface Duration {
|
|
2688
|
+
/**
|
|
2689
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2690
|
+
*/
|
|
2691
|
+
interval: Duration.Interval;
|
|
2692
|
+
/**
|
|
2693
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2694
|
+
*/
|
|
2695
|
+
interval_count: number;
|
|
2696
|
+
}
|
|
2697
|
+
type Type = 'duration' | 'timestamp';
|
|
2698
|
+
namespace Duration {
|
|
2699
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2091
2703
|
namespace Period {
|
|
2092
2704
|
interface End {
|
|
2093
2705
|
/**
|
|
@@ -2132,7 +2744,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2132
2744
|
type: Liability.Type;
|
|
2133
2745
|
}
|
|
2134
2746
|
namespace Liability {
|
|
2135
|
-
type Type = 'account' | 'self';
|
|
2747
|
+
type Type = 'account' | 'application' | 'self';
|
|
2136
2748
|
}
|
|
2137
2749
|
}
|
|
2138
2750
|
namespace BillingSchedule {
|
|
@@ -2180,6 +2792,86 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2180
2792
|
namespace CancellationDetails {
|
|
2181
2793
|
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
|
|
2182
2794
|
}
|
|
2795
|
+
namespace Discount {
|
|
2796
|
+
interface DiscountEnd {
|
|
2797
|
+
/**
|
|
2798
|
+
* Time span for the redeemed discount.
|
|
2799
|
+
*/
|
|
2800
|
+
duration?: DiscountEnd.Duration;
|
|
2801
|
+
/**
|
|
2802
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2803
|
+
*/
|
|
2804
|
+
timestamp?: number;
|
|
2805
|
+
/**
|
|
2806
|
+
* The type of calculation made to determine when the discount ends.
|
|
2807
|
+
*/
|
|
2808
|
+
type: DiscountEnd.Type;
|
|
2809
|
+
}
|
|
2810
|
+
interface Settings {
|
|
2811
|
+
/**
|
|
2812
|
+
* Configures service period cycle anchoring.
|
|
2813
|
+
*/
|
|
2814
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
2815
|
+
/**
|
|
2816
|
+
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
|
|
2817
|
+
*/
|
|
2818
|
+
start_date?: Settings.StartDate;
|
|
2819
|
+
}
|
|
2820
|
+
namespace DiscountEnd {
|
|
2821
|
+
interface Duration {
|
|
2822
|
+
/**
|
|
2823
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2824
|
+
*/
|
|
2825
|
+
interval: Duration.Interval;
|
|
2826
|
+
/**
|
|
2827
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2828
|
+
*/
|
|
2829
|
+
interval_count: number;
|
|
2830
|
+
}
|
|
2831
|
+
type Type = 'duration' | 'timestamp';
|
|
2832
|
+
namespace Duration {
|
|
2833
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2834
|
+
}
|
|
2835
|
+
}
|
|
2836
|
+
namespace Settings {
|
|
2837
|
+
interface ServicePeriodAnchorConfig {
|
|
2838
|
+
/**
|
|
2839
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
2840
|
+
*/
|
|
2841
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
2842
|
+
/**
|
|
2843
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
2844
|
+
*/
|
|
2845
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
2846
|
+
}
|
|
2847
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now';
|
|
2848
|
+
namespace ServicePeriodAnchorConfig {
|
|
2849
|
+
interface Custom {
|
|
2850
|
+
/**
|
|
2851
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
2852
|
+
*/
|
|
2853
|
+
day_of_month: number;
|
|
2854
|
+
/**
|
|
2855
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
2856
|
+
*/
|
|
2857
|
+
hour?: number;
|
|
2858
|
+
/**
|
|
2859
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
2860
|
+
*/
|
|
2861
|
+
minute?: number;
|
|
2862
|
+
/**
|
|
2863
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
2864
|
+
*/
|
|
2865
|
+
month?: number;
|
|
2866
|
+
/**
|
|
2867
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
2868
|
+
*/
|
|
2869
|
+
second?: number;
|
|
2870
|
+
}
|
|
2871
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor';
|
|
2872
|
+
}
|
|
2873
|
+
}
|
|
2874
|
+
}
|
|
2183
2875
|
namespace InvoiceSettings {
|
|
2184
2876
|
interface Issuer {
|
|
2185
2877
|
/**
|
|
@@ -2192,7 +2884,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2192
2884
|
type: Issuer.Type;
|
|
2193
2885
|
}
|
|
2194
2886
|
namespace Issuer {
|
|
2195
|
-
type Type = 'account' | 'self';
|
|
2887
|
+
type Type = 'account' | 'application' | 'self';
|
|
2196
2888
|
}
|
|
2197
2889
|
}
|
|
2198
2890
|
namespace Item {
|
|
@@ -2202,6 +2894,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2202
2894
|
*/
|
|
2203
2895
|
usage_gte: number;
|
|
2204
2896
|
}
|
|
2897
|
+
interface CurrentTrial {
|
|
2898
|
+
/**
|
|
2899
|
+
* 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`.
|
|
2900
|
+
*/
|
|
2901
|
+
trial_end?: number;
|
|
2902
|
+
/**
|
|
2903
|
+
* The ID of the trial offer to apply to the subscription item.
|
|
2904
|
+
*/
|
|
2905
|
+
trial_offer: string;
|
|
2906
|
+
}
|
|
2205
2907
|
interface Discount {
|
|
2206
2908
|
/**
|
|
2207
2909
|
* ID of the coupon to create a new discount for.
|
|
@@ -2211,10 +2913,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2211
2913
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2212
2914
|
*/
|
|
2213
2915
|
discount?: string;
|
|
2916
|
+
/**
|
|
2917
|
+
* Details to determine how long the discount should be applied for.
|
|
2918
|
+
*/
|
|
2919
|
+
discount_end?: Discount.DiscountEnd;
|
|
2214
2920
|
/**
|
|
2215
2921
|
* ID of the promotion code to create a new discount for.
|
|
2216
2922
|
*/
|
|
2217
2923
|
promotion_code?: string;
|
|
2924
|
+
/**
|
|
2925
|
+
* Settings for discount application including service period anchoring.
|
|
2926
|
+
*/
|
|
2927
|
+
settings?: Discount.Settings;
|
|
2218
2928
|
}
|
|
2219
2929
|
interface PriceData {
|
|
2220
2930
|
/**
|
|
@@ -2242,6 +2952,86 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2242
2952
|
*/
|
|
2243
2953
|
unit_amount_decimal?: Decimal;
|
|
2244
2954
|
}
|
|
2955
|
+
namespace Discount {
|
|
2956
|
+
interface DiscountEnd {
|
|
2957
|
+
/**
|
|
2958
|
+
* Time span for the redeemed discount.
|
|
2959
|
+
*/
|
|
2960
|
+
duration?: DiscountEnd.Duration;
|
|
2961
|
+
/**
|
|
2962
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2963
|
+
*/
|
|
2964
|
+
timestamp?: number;
|
|
2965
|
+
/**
|
|
2966
|
+
* The type of calculation made to determine when the discount ends.
|
|
2967
|
+
*/
|
|
2968
|
+
type: DiscountEnd.Type;
|
|
2969
|
+
}
|
|
2970
|
+
interface Settings {
|
|
2971
|
+
/**
|
|
2972
|
+
* Configures service period cycle anchoring.
|
|
2973
|
+
*/
|
|
2974
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
2975
|
+
/**
|
|
2976
|
+
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
|
|
2977
|
+
*/
|
|
2978
|
+
start_date?: Settings.StartDate;
|
|
2979
|
+
}
|
|
2980
|
+
namespace DiscountEnd {
|
|
2981
|
+
interface Duration {
|
|
2982
|
+
/**
|
|
2983
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2984
|
+
*/
|
|
2985
|
+
interval: Duration.Interval;
|
|
2986
|
+
/**
|
|
2987
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2988
|
+
*/
|
|
2989
|
+
interval_count: number;
|
|
2990
|
+
}
|
|
2991
|
+
type Type = 'duration' | 'timestamp';
|
|
2992
|
+
namespace Duration {
|
|
2993
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2994
|
+
}
|
|
2995
|
+
}
|
|
2996
|
+
namespace Settings {
|
|
2997
|
+
interface ServicePeriodAnchorConfig {
|
|
2998
|
+
/**
|
|
2999
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
3000
|
+
*/
|
|
3001
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
3002
|
+
/**
|
|
3003
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
3004
|
+
*/
|
|
3005
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
3006
|
+
}
|
|
3007
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now';
|
|
3008
|
+
namespace ServicePeriodAnchorConfig {
|
|
3009
|
+
interface Custom {
|
|
3010
|
+
/**
|
|
3011
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3012
|
+
*/
|
|
3013
|
+
day_of_month: number;
|
|
3014
|
+
/**
|
|
3015
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3016
|
+
*/
|
|
3017
|
+
hour?: number;
|
|
3018
|
+
/**
|
|
3019
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3020
|
+
*/
|
|
3021
|
+
minute?: number;
|
|
3022
|
+
/**
|
|
3023
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3024
|
+
*/
|
|
3025
|
+
month?: number;
|
|
3026
|
+
/**
|
|
3027
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3028
|
+
*/
|
|
3029
|
+
second?: number;
|
|
3030
|
+
}
|
|
3031
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor';
|
|
3032
|
+
}
|
|
3033
|
+
}
|
|
3034
|
+
}
|
|
2245
3035
|
namespace PriceData {
|
|
2246
3036
|
interface Recurring {
|
|
2247
3037
|
/**
|
|
@@ -2272,14 +3062,30 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2272
3062
|
* This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
|
|
2273
3063
|
*/
|
|
2274
3064
|
bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
|
|
3065
|
+
/**
|
|
3066
|
+
* This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
|
|
3067
|
+
*/
|
|
3068
|
+
bizum?: Emptyable<PaymentMethodOptions.Bizum>;
|
|
3069
|
+
/**
|
|
3070
|
+
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
3071
|
+
*/
|
|
3072
|
+
blik?: Emptyable<PaymentMethodOptions.Blik>;
|
|
2275
3073
|
/**
|
|
2276
3074
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
2277
3075
|
*/
|
|
2278
3076
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
3077
|
+
/**
|
|
3078
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
3079
|
+
*/
|
|
3080
|
+
check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
|
|
2279
3081
|
/**
|
|
2280
3082
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2281
3083
|
*/
|
|
2282
3084
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
3085
|
+
/**
|
|
3086
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
3087
|
+
*/
|
|
3088
|
+
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
2283
3089
|
/**
|
|
2284
3090
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
2285
3091
|
*/
|
|
@@ -2304,8 +3110,12 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2304
3110
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
2305
3111
|
*/
|
|
2306
3112
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
3113
|
+
/**
|
|
3114
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
3115
|
+
*/
|
|
3116
|
+
wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
|
|
2307
3117
|
}
|
|
2308
|
-
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' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
|
|
3118
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'check_scan' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
|
|
2309
3119
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
|
|
2310
3120
|
namespace PaymentMethodOptions {
|
|
2311
3121
|
interface AcssDebit {
|
|
@@ -2324,6 +3134,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2324
3134
|
*/
|
|
2325
3135
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
2326
3136
|
}
|
|
3137
|
+
interface Bizum {
|
|
3138
|
+
/**
|
|
3139
|
+
* Configuration options for setting up a mandate
|
|
3140
|
+
*/
|
|
3141
|
+
mandate_options?: Bizum.MandateOptions;
|
|
3142
|
+
}
|
|
3143
|
+
interface Blik {
|
|
3144
|
+
/**
|
|
3145
|
+
* Configuration options for setting up a mandate
|
|
3146
|
+
*/
|
|
3147
|
+
mandate_options?: Blik.MandateOptions;
|
|
3148
|
+
}
|
|
2327
3149
|
interface Card {
|
|
2328
3150
|
/**
|
|
2329
3151
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -2338,6 +3160,8 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2338
3160
|
*/
|
|
2339
3161
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
2340
3162
|
}
|
|
3163
|
+
interface CheckScan {
|
|
3164
|
+
}
|
|
2341
3165
|
interface CustomerBalance {
|
|
2342
3166
|
/**
|
|
2343
3167
|
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
@@ -2348,6 +3172,8 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2348
3172
|
*/
|
|
2349
3173
|
funding_type?: string;
|
|
2350
3174
|
}
|
|
3175
|
+
interface IdBankTransfer {
|
|
3176
|
+
}
|
|
2351
3177
|
interface Konbini {
|
|
2352
3178
|
}
|
|
2353
3179
|
interface Payto {
|
|
@@ -2384,6 +3210,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2384
3210
|
*/
|
|
2385
3211
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
2386
3212
|
}
|
|
3213
|
+
interface WechatPay {
|
|
3214
|
+
/**
|
|
3215
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
3216
|
+
*/
|
|
3217
|
+
app_id?: string;
|
|
3218
|
+
/**
|
|
3219
|
+
* The client type that the end customer will pay from.
|
|
3220
|
+
*/
|
|
3221
|
+
client?: WechatPay.Client;
|
|
3222
|
+
}
|
|
2387
3223
|
namespace AcssDebit {
|
|
2388
3224
|
interface MandateOptions {
|
|
2389
3225
|
/**
|
|
@@ -2399,6 +3235,26 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2399
3235
|
namespace Bancontact {
|
|
2400
3236
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
2401
3237
|
}
|
|
3238
|
+
namespace Bizum {
|
|
3239
|
+
interface MandateOptions {
|
|
3240
|
+
/**
|
|
3241
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
3242
|
+
*/
|
|
3243
|
+
amount: number;
|
|
3244
|
+
/**
|
|
3245
|
+
* Indicates the mandate amount type.
|
|
3246
|
+
*/
|
|
3247
|
+
amount_type: 'fixed';
|
|
3248
|
+
}
|
|
3249
|
+
}
|
|
3250
|
+
namespace Blik {
|
|
3251
|
+
interface MandateOptions {
|
|
3252
|
+
/**
|
|
3253
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
3254
|
+
*/
|
|
3255
|
+
expires_after?: number;
|
|
3256
|
+
}
|
|
3257
|
+
}
|
|
2402
3258
|
namespace Card {
|
|
2403
3259
|
interface MandateOptions {
|
|
2404
3260
|
/**
|
|
@@ -2524,27 +3380,42 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2524
3380
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2525
3381
|
*/
|
|
2526
3382
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3383
|
+
/**
|
|
3384
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
3385
|
+
*/
|
|
3386
|
+
institution?: string;
|
|
2527
3387
|
}
|
|
2528
3388
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
2529
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3389
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
|
|
2530
3390
|
namespace Filters {
|
|
2531
3391
|
type AccountSubcategory = 'checking' | 'savings';
|
|
2532
3392
|
}
|
|
2533
3393
|
}
|
|
2534
3394
|
}
|
|
3395
|
+
namespace WechatPay {
|
|
3396
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web';
|
|
3397
|
+
}
|
|
2535
3398
|
}
|
|
2536
3399
|
}
|
|
2537
3400
|
namespace PendingInvoiceItemInterval {
|
|
2538
3401
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2539
3402
|
}
|
|
3403
|
+
namespace Prebilling {
|
|
3404
|
+
type UpdateBehavior = 'prebill' | 'reset';
|
|
3405
|
+
}
|
|
2540
3406
|
namespace TrialSettings {
|
|
2541
3407
|
interface EndBehavior {
|
|
3408
|
+
/**
|
|
3409
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
3410
|
+
*/
|
|
3411
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
2542
3412
|
/**
|
|
2543
3413
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
2544
3414
|
*/
|
|
2545
3415
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
2546
3416
|
}
|
|
2547
3417
|
namespace EndBehavior {
|
|
3418
|
+
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
2548
3419
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
|
|
2549
3420
|
}
|
|
2550
3421
|
}
|
|
@@ -2554,6 +3425,10 @@ export interface SubscriptionListParams extends PaginationParams {
|
|
|
2554
3425
|
* Filter subscriptions by their automatic tax settings.
|
|
2555
3426
|
*/
|
|
2556
3427
|
automatic_tax?: SubscriptionListParams.AutomaticTax;
|
|
3428
|
+
/**
|
|
3429
|
+
* Filter for subscriptions that have the specified billing cadence.
|
|
3430
|
+
*/
|
|
3431
|
+
billing_cadence?: string;
|
|
2557
3432
|
/**
|
|
2558
3433
|
* The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
|
|
2559
3434
|
*/
|
|
@@ -2609,6 +3484,16 @@ export declare namespace SubscriptionListParams {
|
|
|
2609
3484
|
type CollectionMethod = 'charge_automatically' | 'send_invoice';
|
|
2610
3485
|
type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
|
|
2611
3486
|
}
|
|
3487
|
+
export interface SubscriptionAttachCadenceParams {
|
|
3488
|
+
/**
|
|
3489
|
+
* The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
|
|
3490
|
+
*/
|
|
3491
|
+
billing_cadence: string;
|
|
3492
|
+
/**
|
|
3493
|
+
* Specifies which fields in the response should be expanded.
|
|
3494
|
+
*/
|
|
3495
|
+
expand?: Array<string>;
|
|
3496
|
+
}
|
|
2612
3497
|
export interface SubscriptionCancelParams {
|
|
2613
3498
|
/**
|
|
2614
3499
|
* Details about why this subscription was cancelled
|
|
@@ -2677,6 +3562,57 @@ export declare namespace SubscriptionMigrateParams {
|
|
|
2677
3562
|
}
|
|
2678
3563
|
}
|
|
2679
3564
|
}
|
|
3565
|
+
export interface SubscriptionPauseParams {
|
|
3566
|
+
/**
|
|
3567
|
+
* Controls what to bill for when pausing the subscription.
|
|
3568
|
+
*/
|
|
3569
|
+
bill_for?: SubscriptionPauseParams.BillFor;
|
|
3570
|
+
/**
|
|
3571
|
+
* Specifies which fields in the response should be expanded.
|
|
3572
|
+
*/
|
|
3573
|
+
expand?: Array<string>;
|
|
3574
|
+
/**
|
|
3575
|
+
* Determines how to handle debits and credits when pausing. The default is `pending_invoice_item`.
|
|
3576
|
+
*/
|
|
3577
|
+
invoicing_behavior?: SubscriptionPauseParams.InvoicingBehavior;
|
|
3578
|
+
/**
|
|
3579
|
+
* The type of pause to apply. Defaults to `subscription`.
|
|
3580
|
+
*/
|
|
3581
|
+
type?: 'subscription';
|
|
3582
|
+
}
|
|
3583
|
+
export declare namespace SubscriptionPauseParams {
|
|
3584
|
+
interface BillFor {
|
|
3585
|
+
/**
|
|
3586
|
+
* Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
|
|
3587
|
+
*/
|
|
3588
|
+
outstanding_usage_through?: BillFor.OutstandingUsageThrough;
|
|
3589
|
+
/**
|
|
3590
|
+
* Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
|
|
3591
|
+
*/
|
|
3592
|
+
unused_time_from?: BillFor.UnusedTimeFrom;
|
|
3593
|
+
}
|
|
3594
|
+
type InvoicingBehavior = 'invoice' | 'pending_invoice_item';
|
|
3595
|
+
namespace BillFor {
|
|
3596
|
+
interface OutstandingUsageThrough {
|
|
3597
|
+
/**
|
|
3598
|
+
* When to bill metered usage in the current period.
|
|
3599
|
+
*/
|
|
3600
|
+
type: OutstandingUsageThrough.Type;
|
|
3601
|
+
}
|
|
3602
|
+
interface UnusedTimeFrom {
|
|
3603
|
+
/**
|
|
3604
|
+
* When to credit for unused time.
|
|
3605
|
+
*/
|
|
3606
|
+
type: UnusedTimeFrom.Type;
|
|
3607
|
+
}
|
|
3608
|
+
namespace OutstandingUsageThrough {
|
|
3609
|
+
type Type = 'none' | 'now';
|
|
3610
|
+
}
|
|
3611
|
+
namespace UnusedTimeFrom {
|
|
3612
|
+
type Type = 'item_current_period_start' | 'none' | 'now';
|
|
3613
|
+
}
|
|
3614
|
+
}
|
|
3615
|
+
}
|
|
2680
3616
|
export interface SubscriptionResumeParams {
|
|
2681
3617
|
/**
|
|
2682
3618
|
* 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).
|
|
@@ -2686,6 +3622,10 @@ export interface SubscriptionResumeParams {
|
|
|
2686
3622
|
* Specifies which fields in the response should be expanded.
|
|
2687
3623
|
*/
|
|
2688
3624
|
expand?: Array<string>;
|
|
3625
|
+
/**
|
|
3626
|
+
* 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`.
|
|
3627
|
+
*/
|
|
3628
|
+
payment_behavior?: SubscriptionResumeParams.PaymentBehavior;
|
|
2689
3629
|
/**
|
|
2690
3630
|
* 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`.
|
|
2691
3631
|
*/
|
|
@@ -2697,6 +3637,7 @@ export interface SubscriptionResumeParams {
|
|
|
2697
3637
|
}
|
|
2698
3638
|
export declare namespace SubscriptionResumeParams {
|
|
2699
3639
|
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
3640
|
+
type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
|
|
2700
3641
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
|
|
2701
3642
|
}
|
|
2702
3643
|
export interface SubscriptionSearchParams {
|
|
@@ -2717,3 +3658,15 @@ export interface SubscriptionSearchParams {
|
|
|
2717
3658
|
*/
|
|
2718
3659
|
page?: string;
|
|
2719
3660
|
}
|
|
3661
|
+
export interface SubscriptionSerializeBatchCancelParams {
|
|
3662
|
+
}
|
|
3663
|
+
export interface SubscriptionSerializeBatchCreateParams {
|
|
3664
|
+
}
|
|
3665
|
+
export interface SubscriptionSerializeBatchMigrateParams {
|
|
3666
|
+
}
|
|
3667
|
+
export interface SubscriptionSerializeBatchPauseParams {
|
|
3668
|
+
}
|
|
3669
|
+
export interface SubscriptionSerializeBatchResumeParams {
|
|
3670
|
+
}
|
|
3671
|
+
export interface SubscriptionSerializeBatchUpdateParams {
|
|
3672
|
+
}
|