stripe 22.4.0 → 22.5.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 +3171 -13
- package/OPENAPI_VERSION +1 -1
- package/README.md +44 -60
- package/VERSION +1 -1
- package/cjs/Error.d.ts +58 -0
- package/cjs/Error.js +135 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +491 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- package/cjs/Types.d.ts +9 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- 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 +564 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/AccountSignals.d.ts +111 -0
- package/cjs/resources/AccountSignals.js +4 -0
- package/cjs/resources/AccountSignals.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +1037 -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/AlertNotifications.d.ts +75 -0
- package/cjs/resources/Billing/AlertNotifications.js +4 -0
- package/cjs/resources/Billing/AlertNotifications.js.map +1 -0
- package/cjs/resources/Billing/AlertRecovereds.d.ts +56 -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 +55 -1
- package/cjs/resources/Billing/Alerts.d.ts +448 -5
- package/cjs/resources/Billing/Alerts.js +329 -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 +136 -3
- 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 +105 -3
- package/cjs/resources/Billing/CreditGrants.js +134 -5
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/FeedbackOptions.d.ts +32 -0
- package/cjs/resources/Billing/FeedbackOptions.js +4 -0
- package/cjs/resources/Billing/FeedbackOptions.js.map +1 -0
- 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 +13 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Configurations.d.ts +5 -0
- package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +25 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +194 -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 +102 -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 +141 -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 +28 -0
- package/cjs/resources/Charges.d.ts +3367 -70
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +1193 -12
- package/cjs/resources/Checkout/Sessions.js +115 -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 +146 -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/Crypto/CustomerConsumerWallets.d.ts +30 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js +4 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js +4 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/cjs/resources/Crypto/Customers.d.ts +111 -0
- package/cjs/resources/Crypto/Customers.js +31 -0
- package/cjs/resources/Crypto/Customers.js.map +1 -0
- package/cjs/resources/Crypto/DepositAddresses.d.ts +128 -0
- package/cjs/resources/Crypto/DepositAddresses.js +31 -0
- package/cjs/resources/Crypto/DepositAddresses.js.map +1 -0
- package/cjs/resources/Crypto/OnrampSessions.d.ts +421 -0
- package/cjs/resources/Crypto/OnrampSessions.js +47 -0
- package/cjs/resources/Crypto/OnrampSessions.js.map +1 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js +15 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/cjs/resources/Crypto/index.d.ts +41 -0
- package/cjs/resources/Crypto/index.js +19 -0
- package/cjs/resources/Crypto/index.js.map +1 -0
- 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 +98 -1
- package/cjs/resources/Customers.js +195 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +129 -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 +159 -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 +1420 -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 +574 -3
- 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 +69 -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 +46 -1
- package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -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 +124 -9
- package/cjs/resources/FinancialConnections/index.d.ts +21 -9
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- 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/GiftCardOperations.d.ts +249 -0
- package/cjs/resources/GiftCardOperations.js +15 -0
- package/cjs/resources/GiftCardOperations.js.map +1 -0
- package/cjs/resources/GiftCards.d.ts +181 -0
- package/cjs/resources/GiftCards.js +51 -0
- package/cjs/resources/GiftCards.js.map +1 -0
- package/cjs/resources/Identity/BlocklistEntries.d.ts +155 -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 +204 -3
- 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 +2125 -21
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +524 -1
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +22 -4
- package/cjs/resources/Issuing/Cards.d.ts +82 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +53 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -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 +246 -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 +83 -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 +26 -0
- package/cjs/resources/Issuing/Transactions.d.ts +233 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +56 -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 +47 -2
- 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 +4773 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +679 -2
- package/cjs/resources/PaymentAttemptRecords.js +48 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +52 -0
- package/cjs/resources/PaymentIntents.d.ts +16109 -2361
- package/cjs/resources/PaymentIntents.js +46 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +77 -15
- package/cjs/resources/PaymentLocationCapabilities.d.ts +123 -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 +420 -0
- package/cjs/resources/PaymentMethods.d.ts +300 -3
- package/cjs/resources/PaymentMethods.js +20 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +737 -20
- package/cjs/resources/PaymentRecords.js +18 -0
- 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 +77 -1
- package/cjs/resources/Prices.js +27 -0
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -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 +227 -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 +158 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +29 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +14 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +199 -1
- package/cjs/resources/Products.js +69 -0
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/Profiles.d.ts +68 -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 +1179 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +1045 -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 +308 -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 +245 -0
- package/cjs/resources/Radar/CustomerEvaluations.js +27 -0
- package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -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 +115 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +39 -1
- package/cjs/resources/Radar/ValueListItems.js +13 -0
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +36 -16
- package/cjs/resources/Radar/index.js +6 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +39 -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 +17 -6
- package/cjs/resources/Reserve/index.js +9 -0
- 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 +35 -1
- package/cjs/resources/SetupAttempts.js.map +1 -1
- package/cjs/resources/SetupIntents.d.ts +627 -11
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +425 -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 +344 -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 +29 -1
- package/cjs/resources/SubscriptionItems.d.ts +266 -1
- package/cjs/resources/SubscriptionItems.js +41 -0
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +2398 -67
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +971 -13
- package/cjs/resources/Subscriptions.js +290 -1
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/cjs/resources/Tax/Calculations.d.ts +46 -4
- package/cjs/resources/Tax/Forms.d.ts +228 -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 +112 -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 +31 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +16 -1
- package/cjs/resources/TaxFunds.d.ts +174 -0
- package/cjs/resources/TaxFunds.js +23 -0
- package/cjs/resources/TaxFunds.js.map +1 -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 +50 -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 +207 -2
- package/cjs/resources/Terminal/Readers.js +24 -0
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +9 -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 +100 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +102 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js +39 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +110 -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 +38 -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/Terminal/Readers.d.ts +15 -1
- 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 +82 -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 +72 -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 +281 -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 +84 -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 +1011 -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 +237 -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 +776 -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/ContractPricingLineQuantityChanges.d.ts +47 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +29 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js +15 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts.d.ts +1484 -0
- package/cjs/resources/V2/Billing/Contracts.js +331 -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 +603 -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 +1261 -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 +78 -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 +360 -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 +170 -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 +218 -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 +170 -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 +80 -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 +620 -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 +169 -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 +162 -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 +111 -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 +215 -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 +336 -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 +510 -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 +175 -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 +159 -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 +16128 -1981
- package/cjs/resources/V2/Core/Accounts.js +10379 -53
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +331 -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 +360 -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 +225 -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 +86 -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 +7881 -232
- package/cjs/resources/V2/Core/FeeBatches.d.ts +234 -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 +200 -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/Health/AlertHistoryEntries.d.ts +416 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +4 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js +101 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts.d.ts +530 -0
- package/cjs/resources/V2/Core/Health/Alerts.js +182 -0
- package/cjs/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/cjs/resources/V2/Core/Health/index.d.ts +16 -0
- package/cjs/resources/V2/Core/Health/index.js +13 -0
- package/cjs/resources/V2/Core/Health/index.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +280 -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 +252 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +65 -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 +66 -14
- package/cjs/resources/V2/Core/index.js +18 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -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 +76 -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 +172 -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 +163 -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 +120 -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 +218 -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 +305 -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 +135 -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 +131 -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 +169 -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 +99 -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 +49 -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 +438 -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/FinancialAddressDebitSimulations.d.ts +14 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -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 +251 -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 +219 -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 +638 -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 +318 -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 +394 -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/PayoutIntents.d.ts +525 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +277 -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 +92 -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 +481 -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/ReceivedDebitMandates.d.ts +166 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +29 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +308 -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 +116 -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/TestHelpers/FinancialAddresses.d.ts +34 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +15 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +266 -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 +297 -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 +150 -0
- package/cjs/resources/V2/MoneyManagement/index.js +51 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -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 +143 -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 +835 -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 +73 -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 +209 -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 +191 -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 +106 -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/Risk/Inquiries.d.ts +143 -0
- package/cjs/resources/V2/Risk/Inquiries.js +29 -0
- package/cjs/resources/V2/Risk/Inquiries.js.map +1 -0
- package/cjs/resources/V2/Risk/index.d.ts +14 -0
- package/cjs/resources/V2/Risk/index.js +13 -0
- package/cjs/resources/V2/Risk/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountActivity.d.ts +424 -0
- package/cjs/resources/V2/Signals/AccountActivity.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivity.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +396 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js +59 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +281 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +110 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +26 -0
- package/cjs/resources/V2/Signals/index.js +17 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +331 -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 +45 -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 +42 -0
- package/cjs/resources/V2/index.js +24 -0
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +19 -0
- package/cjs/resources.js +290 -18
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +15353 -1281
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +158 -54
- package/cjs/stripe.core.js +72 -31
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +58 -0
- package/esm/Error.js +118 -0
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +487 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- package/esm/Types.d.ts +9 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -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 +564 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/AccountSignals.d.ts +111 -0
- package/esm/resources/AccountSignals.js +3 -0
- package/esm/resources/AccountSignals.js.map +1 -0
- package/esm/resources/Accounts.d.ts +1037 -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/AlertNotifications.d.ts +75 -0
- package/esm/resources/Billing/AlertNotifications.js +3 -0
- package/esm/resources/Billing/AlertNotifications.js.map +1 -0
- package/esm/resources/Billing/AlertRecovereds.d.ts +56 -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 +55 -1
- package/esm/resources/Billing/Alerts.d.ts +448 -5
- package/esm/resources/Billing/Alerts.js +329 -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 +136 -3
- 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 +105 -3
- package/esm/resources/Billing/CreditGrants.js +134 -5
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/FeedbackOptions.d.ts +32 -0
- package/esm/resources/Billing/FeedbackOptions.js +3 -0
- package/esm/resources/Billing/FeedbackOptions.js.map +1 -0
- 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 +13 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Configurations.d.ts +5 -0
- package/esm/resources/BillingPortal/Configurations.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +25 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +194 -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 +102 -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 +141 -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 +28 -0
- package/esm/resources/Charges.d.ts +3367 -70
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +1193 -12
- package/esm/resources/Checkout/Sessions.js +115 -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 +146 -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/Crypto/CustomerConsumerWallets.d.ts +30 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js +3 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js +3 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/esm/resources/Crypto/Customers.d.ts +111 -0
- package/esm/resources/Crypto/Customers.js +27 -0
- package/esm/resources/Crypto/Customers.js.map +1 -0
- package/esm/resources/Crypto/DepositAddresses.d.ts +128 -0
- package/esm/resources/Crypto/DepositAddresses.js +27 -0
- package/esm/resources/Crypto/DepositAddresses.js.map +1 -0
- package/esm/resources/Crypto/OnrampSessions.d.ts +421 -0
- package/esm/resources/Crypto/OnrampSessions.js +43 -0
- package/esm/resources/Crypto/OnrampSessions.js.map +1 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js +11 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/esm/resources/Crypto/index.d.ts +41 -0
- package/esm/resources/Crypto/index.js +15 -0
- package/esm/resources/Crypto/index.js.map +1 -0
- 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 +98 -1
- package/esm/resources/Customers.js +195 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +129 -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 +159 -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 +1420 -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 +574 -3
- 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 +69 -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 +46 -1
- package/esm/resources/FinancialConnections/Authorizations.js +9 -1
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +99 -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 +124 -9
- package/esm/resources/FinancialConnections/index.d.ts +21 -9
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- 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/GiftCardOperations.d.ts +249 -0
- package/esm/resources/GiftCardOperations.js +11 -0
- package/esm/resources/GiftCardOperations.js.map +1 -0
- package/esm/resources/GiftCards.d.ts +181 -0
- package/esm/resources/GiftCards.js +47 -0
- package/esm/resources/GiftCards.js.map +1 -0
- package/esm/resources/Identity/BlocklistEntries.d.ts +155 -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 +204 -3
- 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 +2125 -21
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +524 -1
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +22 -4
- package/esm/resources/Issuing/Cards.d.ts +82 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +49 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -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 +246 -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 +83 -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 +26 -0
- package/esm/resources/Issuing/Transactions.d.ts +233 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +56 -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 +47 -2
- 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 +4773 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +679 -2
- package/esm/resources/PaymentAttemptRecords.js +48 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +52 -0
- package/esm/resources/PaymentIntents.d.ts +16109 -2361
- package/esm/resources/PaymentIntents.js +46 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +77 -15
- package/esm/resources/PaymentLocationCapabilities.d.ts +123 -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 +420 -0
- package/esm/resources/PaymentMethods.d.ts +300 -3
- package/esm/resources/PaymentMethods.js +20 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +737 -20
- package/esm/resources/PaymentRecords.js +18 -0
- 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 +77 -1
- package/esm/resources/Prices.js +27 -0
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -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 +227 -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 +158 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +25 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +14 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +199 -1
- package/esm/resources/Products.js +69 -0
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/Profiles.d.ts +68 -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 +1179 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +1045 -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 +308 -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 +245 -0
- package/esm/resources/Radar/CustomerEvaluations.js +23 -0
- package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -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 +115 -1
- package/esm/resources/Radar/ValueListItems.d.ts +39 -1
- package/esm/resources/Radar/ValueListItems.js +13 -0
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +36 -16
- package/esm/resources/Radar/index.js +6 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +39 -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 +17 -6
- package/esm/resources/Reserve/index.js +9 -0
- 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 +35 -1
- package/esm/resources/SetupAttempts.js.map +1 -1
- package/esm/resources/SetupIntents.d.ts +627 -11
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +425 -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 +344 -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 +29 -1
- package/esm/resources/SubscriptionItems.d.ts +266 -1
- package/esm/resources/SubscriptionItems.js +41 -0
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +2398 -67
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +971 -13
- package/esm/resources/Subscriptions.js +290 -1
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/esm/resources/Tax/Calculations.d.ts +46 -4
- package/esm/resources/Tax/Forms.d.ts +228 -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 +112 -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 +31 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +16 -1
- package/esm/resources/TaxFunds.d.ts +174 -0
- package/esm/resources/TaxFunds.js +19 -0
- package/esm/resources/TaxFunds.js.map +1 -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 +50 -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 +207 -2
- package/esm/resources/Terminal/Readers.js +24 -0
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +9 -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 +100 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +102 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js +35 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +110 -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 +38 -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/Terminal/Readers.d.ts +15 -1
- 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 +82 -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 +72 -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 +281 -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 +84 -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 +1011 -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 +237 -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 +776 -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/ContractPricingLineQuantityChanges.d.ts +47 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +25 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js +11 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts.d.ts +1484 -0
- package/esm/resources/V2/Billing/Contracts.js +327 -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 +603 -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 +1261 -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 +78 -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 +360 -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 +170 -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 +218 -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 +170 -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 +80 -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 +620 -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 +169 -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 +162 -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 +111 -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 +215 -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 +336 -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 +510 -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 +175 -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 +159 -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 +16128 -1981
- package/esm/resources/V2/Core/Accounts.js +10379 -53
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +331 -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 +360 -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 +225 -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 +86 -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 +7881 -232
- package/esm/resources/V2/Core/FeeBatches.d.ts +234 -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 +200 -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/Health/AlertHistoryEntries.d.ts +416 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +3 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js +97 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts.d.ts +530 -0
- package/esm/resources/V2/Core/Health/Alerts.js +178 -0
- package/esm/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/esm/resources/V2/Core/Health/index.d.ts +16 -0
- package/esm/resources/V2/Core/Health/index.js +9 -0
- package/esm/resources/V2/Core/Health/index.js.map +1 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +280 -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 +252 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +61 -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 +66 -14
- package/esm/resources/V2/Core/index.js +18 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -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 +76 -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 +172 -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 +163 -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 +120 -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 +218 -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 +305 -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 +135 -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 +131 -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 +169 -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 +99 -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 +49 -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 +438 -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/FinancialAddressDebitSimulations.d.ts +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -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 +251 -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 +219 -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 +638 -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 +318 -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 +394 -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/PayoutIntents.d.ts +525 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +277 -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 +92 -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 +481 -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/ReceivedDebitMandates.d.ts +166 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +25 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +308 -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 +116 -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/TestHelpers/FinancialAddresses.d.ts +34 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +11 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +9 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +266 -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 +297 -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 +150 -0
- package/esm/resources/V2/MoneyManagement/index.js +47 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -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 +143 -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 +835 -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 +73 -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 +209 -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 +191 -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 +106 -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/Risk/Inquiries.d.ts +143 -0
- package/esm/resources/V2/Risk/Inquiries.js +25 -0
- package/esm/resources/V2/Risk/Inquiries.js.map +1 -0
- package/esm/resources/V2/Risk/index.d.ts +14 -0
- package/esm/resources/V2/Risk/index.js +9 -0
- package/esm/resources/V2/Risk/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountActivity.d.ts +424 -0
- package/esm/resources/V2/Signals/AccountActivity.js +23 -0
- package/esm/resources/V2/Signals/AccountActivity.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +396 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js +55 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +281 -0
- package/esm/resources/V2/Signals/AccountSignals.js +106 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +26 -0
- package/esm/resources/V2/Signals/index.js +13 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +331 -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 +45 -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 +42 -0
- package/esm/resources/V2/index.js +24 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +19 -0
- package/esm/resources.js +261 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +158 -54
- package/esm/stripe.core.js +43 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +158 -54
- package/esm/stripe.esm.node.js +43 -2
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ import { SubscriptionSchedule } from './SubscriptionSchedules.js';
|
|
|
13
13
|
import { Price } from './Prices.js';
|
|
14
14
|
import { TaxId, DeletedTaxId } from './TaxIds.js';
|
|
15
15
|
import * as TestHelpers from './TestHelpers/index.js';
|
|
16
|
+
import * as Billing from './Billing/index.js';
|
|
16
17
|
import { Emptyable, MetadataParam, OtherString, Decimal, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
|
|
17
18
|
import { RequestOptions, Response, ApiListPromise, ApiList, ApiSearchResultPromise } from '../lib.js';
|
|
18
19
|
export declare class SubscriptionResource extends StripeResource {
|
|
@@ -33,7 +34,7 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
33
34
|
* When changing prices or quantities, we optionally prorate the price we charge next month to make up for any price changes.
|
|
34
35
|
* To preview how the proration is calculated, use the [create preview](https://docs.stripe.com/docs/api/invoices/create_preview) endpoint.
|
|
35
36
|
*
|
|
36
|
-
* By default, we prorate subscription changes. For example, if a customer signs up on May 1 for a 100 price, they'll be billed 100 immediately. If on May 15 they switch to a 200 price, then on June 1 they'll be billed 250 (200 for a renewal of her subscription, plus a 50 prorating adjustment for half of the previous month's 100 difference). Similarly, a downgrade generates a credit that is applied to the next invoice. We also prorate when you make quantity changes.
|
|
37
|
+
* By default, we prorate subscription changes. For example, if a customer signs up on May 1 for a 100 price, they'll be billed 100 immediately. If on May 15 they switch to a 200 price, then on June 1 they'll be billed 250 (200 for a renewal of her subscription, plus a 50 prorating adjustment for half of the previous month's 100 difference). Similarly, a downgrade generates a credit that is applied to the next invoice. We also prorate when you make quantity changes. You can also [use scripts to prorate your billing. To learn more, see <a href="/billing/subscriptions/prorations">Prorations](https://docs.stripe.com/billing/scripts/stripe-authored/proration).
|
|
37
38
|
*
|
|
38
39
|
* Switching prices does not normally change the billing date or generate an immediate charge unless:
|
|
39
40
|
*
|
|
@@ -77,14 +78,46 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
77
78
|
* to an hour behind during outages. Search functionality is not available to merchants in India.
|
|
78
79
|
*/
|
|
79
80
|
search(params: SubscriptionSearchParams, options?: RequestOptions): ApiSearchResultPromise<Subscription>;
|
|
81
|
+
/**
|
|
82
|
+
* 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.
|
|
83
|
+
*/
|
|
84
|
+
attachCadence(id: string, params: SubscriptionAttachCadenceParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
80
85
|
/**
|
|
81
86
|
* Upgrade the billing_mode of an existing subscription.
|
|
82
87
|
*/
|
|
83
88
|
migrate(id: string, params: SubscriptionMigrateParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
89
|
+
/**
|
|
90
|
+
* 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.
|
|
91
|
+
*/
|
|
92
|
+
pause(id: string, params?: SubscriptionPauseParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
84
93
|
/**
|
|
85
94
|
* 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
95
|
*/
|
|
87
96
|
resume(id: string, params?: SubscriptionResumeParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
97
|
+
serializeBatchCancel(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
|
|
98
|
+
apiVersion?: string;
|
|
99
|
+
stripeContext?: string;
|
|
100
|
+
}): string;
|
|
101
|
+
serializeBatchUpdate(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
|
|
102
|
+
apiVersion?: string;
|
|
103
|
+
stripeContext?: string;
|
|
104
|
+
}): string;
|
|
105
|
+
serializeBatchCreate(params?: Record<string, unknown>, options?: {
|
|
106
|
+
apiVersion?: string;
|
|
107
|
+
stripeContext?: string;
|
|
108
|
+
}): string;
|
|
109
|
+
serializeBatchMigrate(subscription: string, params?: Record<string, unknown>, options?: {
|
|
110
|
+
apiVersion?: string;
|
|
111
|
+
stripeContext?: string;
|
|
112
|
+
}): string;
|
|
113
|
+
serializeBatchPause(subscription: string, params?: Record<string, unknown>, options?: {
|
|
114
|
+
apiVersion?: string;
|
|
115
|
+
stripeContext?: string;
|
|
116
|
+
}): string;
|
|
117
|
+
serializeBatchResume(subscription: string, params?: Record<string, unknown>, options?: {
|
|
118
|
+
apiVersion?: string;
|
|
119
|
+
stripeContext?: string;
|
|
120
|
+
}): string;
|
|
88
121
|
}
|
|
89
122
|
export interface Subscription {
|
|
90
123
|
/**
|
|
@@ -104,6 +137,10 @@ export interface Subscription {
|
|
|
104
137
|
*/
|
|
105
138
|
application_fee_percent: number | null;
|
|
106
139
|
automatic_tax: Subscription.AutomaticTax;
|
|
140
|
+
/**
|
|
141
|
+
* 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.
|
|
142
|
+
*/
|
|
143
|
+
billing_cadence?: string;
|
|
107
144
|
/**
|
|
108
145
|
* 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
146
|
*/
|
|
@@ -193,6 +230,10 @@ export interface Subscription {
|
|
|
193
230
|
* List of subscription items, each with an attached price.
|
|
194
231
|
*/
|
|
195
232
|
items: ApiList<SubscriptionItem>;
|
|
233
|
+
/**
|
|
234
|
+
* Details of the most recent price migration that failed for the subscription.
|
|
235
|
+
*/
|
|
236
|
+
last_price_migration_error?: Subscription.LastPriceMigrationError | null;
|
|
196
237
|
/**
|
|
197
238
|
* The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
|
|
198
239
|
*/
|
|
@@ -237,6 +278,10 @@ export interface Subscription {
|
|
|
237
278
|
* 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
279
|
*/
|
|
239
280
|
pending_update: Subscription.PendingUpdate | null;
|
|
281
|
+
/**
|
|
282
|
+
* Time period and invoice for a Subscription billed in advance.
|
|
283
|
+
*/
|
|
284
|
+
prebilling?: Subscription.Prebilling | null;
|
|
240
285
|
presentment_details?: Subscription.PresentmentDetails;
|
|
241
286
|
/**
|
|
242
287
|
* The schedule attached to the subscription
|
|
@@ -260,6 +305,10 @@ export interface Subscription {
|
|
|
260
305
|
* 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
306
|
*/
|
|
262
307
|
status: Subscription.Status;
|
|
308
|
+
/**
|
|
309
|
+
* Describes changes to the subscription's status.
|
|
310
|
+
*/
|
|
311
|
+
status_details?: Subscription.StatusDetails;
|
|
263
312
|
/**
|
|
264
313
|
* ID of the test clock this subscription belongs to.
|
|
265
314
|
*/
|
|
@@ -365,6 +414,10 @@ export declare namespace Subscription {
|
|
|
365
414
|
* The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
|
|
366
415
|
*/
|
|
367
416
|
feedback: CancellationDetails.Feedback | null;
|
|
417
|
+
/**
|
|
418
|
+
* Customized feedback options that provide deeper insight into why the subscription was canceled, if the subscription was canceled explicitly by the user.
|
|
419
|
+
*/
|
|
420
|
+
feedback_option?: string | Billing.FeedbackOptions | null;
|
|
368
421
|
/**
|
|
369
422
|
* Why this subscription was canceled.
|
|
370
423
|
*/
|
|
@@ -390,6 +443,20 @@ export declare namespace Subscription {
|
|
|
390
443
|
footer: string | null;
|
|
391
444
|
issuer: InvoiceSettings.Issuer;
|
|
392
445
|
}
|
|
446
|
+
interface LastPriceMigrationError {
|
|
447
|
+
/**
|
|
448
|
+
* The time at which the price migration encountered an error.
|
|
449
|
+
*/
|
|
450
|
+
errored_at: number;
|
|
451
|
+
/**
|
|
452
|
+
* The involved price pairs in each failed transition.
|
|
453
|
+
*/
|
|
454
|
+
failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
|
|
455
|
+
/**
|
|
456
|
+
* The type of error encountered by the price migration.
|
|
457
|
+
*/
|
|
458
|
+
type: 'price_uniqueness_violation';
|
|
459
|
+
}
|
|
393
460
|
interface ManagedPayments {
|
|
394
461
|
/**
|
|
395
462
|
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
@@ -451,6 +518,10 @@ export declare namespace Subscription {
|
|
|
451
518
|
* 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.
|
|
452
519
|
*/
|
|
453
520
|
metadata: Metadata | null;
|
|
521
|
+
/**
|
|
522
|
+
* The number of iterations of prebilling to apply.
|
|
523
|
+
*/
|
|
524
|
+
prebilling_iterations?: number | null;
|
|
454
525
|
/**
|
|
455
526
|
* List of subscription items, each with an attached plan, that will be set if the update is applied.
|
|
456
527
|
*/
|
|
@@ -464,6 +535,24 @@ export declare namespace Subscription {
|
|
|
464
535
|
*/
|
|
465
536
|
trial_from_plan: boolean | null;
|
|
466
537
|
}
|
|
538
|
+
interface Prebilling {
|
|
539
|
+
/**
|
|
540
|
+
* ID of the prebilling invoice.
|
|
541
|
+
*/
|
|
542
|
+
invoice: string | Invoice;
|
|
543
|
+
/**
|
|
544
|
+
* The end of the last period for which the invoice pre-bills.
|
|
545
|
+
*/
|
|
546
|
+
period_end: number;
|
|
547
|
+
/**
|
|
548
|
+
* The start of the first period for which the invoice pre-bills.
|
|
549
|
+
*/
|
|
550
|
+
period_start: number;
|
|
551
|
+
/**
|
|
552
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
553
|
+
*/
|
|
554
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
555
|
+
}
|
|
467
556
|
interface PresentmentDetails {
|
|
468
557
|
/**
|
|
469
558
|
* Currency used for customer payments.
|
|
@@ -471,6 +560,12 @@ export declare namespace Subscription {
|
|
|
471
560
|
presentment_currency: string;
|
|
472
561
|
}
|
|
473
562
|
type Status = 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
|
|
563
|
+
interface StatusDetails {
|
|
564
|
+
/**
|
|
565
|
+
* Indicates when and why the subscription transitioned to the paused status.
|
|
566
|
+
*/
|
|
567
|
+
paused: StatusDetails.Paused;
|
|
568
|
+
}
|
|
474
569
|
interface TransferData {
|
|
475
570
|
/**
|
|
476
571
|
* 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.
|
|
@@ -499,7 +594,7 @@ export declare namespace Subscription {
|
|
|
499
594
|
type: Liability.Type;
|
|
500
595
|
}
|
|
501
596
|
namespace Liability {
|
|
502
|
-
type Type = 'account' | 'self' | OtherString;
|
|
597
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
503
598
|
}
|
|
504
599
|
}
|
|
505
600
|
namespace BillingMode {
|
|
@@ -586,7 +681,19 @@ export declare namespace Subscription {
|
|
|
586
681
|
type: Issuer.Type;
|
|
587
682
|
}
|
|
588
683
|
namespace Issuer {
|
|
589
|
-
type Type = 'account' | 'self' | OtherString;
|
|
684
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
namespace LastPriceMigrationError {
|
|
688
|
+
interface FailedTransition {
|
|
689
|
+
/**
|
|
690
|
+
* The original price to be migrated.
|
|
691
|
+
*/
|
|
692
|
+
source_price: string;
|
|
693
|
+
/**
|
|
694
|
+
* The intended resulting price of the migration.
|
|
695
|
+
*/
|
|
696
|
+
target_price: string;
|
|
590
697
|
}
|
|
591
698
|
}
|
|
592
699
|
namespace PauseCollection {
|
|
@@ -602,14 +709,30 @@ export declare namespace Subscription {
|
|
|
602
709
|
* This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
|
|
603
710
|
*/
|
|
604
711
|
bancontact: PaymentMethodOptions.Bancontact | null;
|
|
712
|
+
/**
|
|
713
|
+
* This sub-hash contains details about the Bizum payment method options to pass to invoices created by the subscription.
|
|
714
|
+
*/
|
|
715
|
+
bizum?: PaymentMethodOptions.Bizum | null;
|
|
716
|
+
/**
|
|
717
|
+
* This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
|
|
718
|
+
*/
|
|
719
|
+
blik?: PaymentMethodOptions.Blik | null;
|
|
605
720
|
/**
|
|
606
721
|
* This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
|
|
607
722
|
*/
|
|
608
723
|
card: PaymentMethodOptions.Card | null;
|
|
724
|
+
/**
|
|
725
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to invoices created by the subscription.
|
|
726
|
+
*/
|
|
727
|
+
check_scan?: PaymentMethodOptions.CheckScan | null;
|
|
609
728
|
/**
|
|
610
729
|
* This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
|
|
611
730
|
*/
|
|
612
731
|
customer_balance: PaymentMethodOptions.CustomerBalance | null;
|
|
732
|
+
/**
|
|
733
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
|
734
|
+
*/
|
|
735
|
+
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
|
|
613
736
|
/**
|
|
614
737
|
* This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
|
615
738
|
*/
|
|
@@ -634,8 +757,12 @@ export declare namespace Subscription {
|
|
|
634
757
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
|
|
635
758
|
*/
|
|
636
759
|
us_bank_account: PaymentMethodOptions.UsBankAccount | null;
|
|
760
|
+
/**
|
|
761
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to invoices created by the subscription.
|
|
762
|
+
*/
|
|
763
|
+
wechat_pay?: PaymentMethodOptions.WechatPay | null;
|
|
637
764
|
}
|
|
638
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | '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' | 'mb_way' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
765
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | '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' | 'mb_way' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
639
766
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
640
767
|
namespace PaymentMethodOptions {
|
|
641
768
|
interface AcssDebit {
|
|
@@ -651,6 +778,12 @@ export declare namespace Subscription {
|
|
|
651
778
|
*/
|
|
652
779
|
preferred_language: Bancontact.PreferredLanguage;
|
|
653
780
|
}
|
|
781
|
+
interface Bizum {
|
|
782
|
+
mandate_options?: Bizum.MandateOptions;
|
|
783
|
+
}
|
|
784
|
+
interface Blik {
|
|
785
|
+
mandate_options?: Blik.MandateOptions;
|
|
786
|
+
}
|
|
654
787
|
interface Card {
|
|
655
788
|
mandate_options?: Card.MandateOptions;
|
|
656
789
|
/**
|
|
@@ -662,6 +795,8 @@ export declare namespace Subscription {
|
|
|
662
795
|
*/
|
|
663
796
|
request_three_d_secure: Card.RequestThreeDSecure | null;
|
|
664
797
|
}
|
|
798
|
+
interface CheckScan {
|
|
799
|
+
}
|
|
665
800
|
interface CustomerBalance {
|
|
666
801
|
bank_transfer?: CustomerBalance.BankTransfer;
|
|
667
802
|
/**
|
|
@@ -669,6 +804,8 @@ export declare namespace Subscription {
|
|
|
669
804
|
*/
|
|
670
805
|
funding_type: 'bank_transfer' | null;
|
|
671
806
|
}
|
|
807
|
+
interface IdBankTransfer {
|
|
808
|
+
}
|
|
672
809
|
interface Konbini {
|
|
673
810
|
}
|
|
674
811
|
interface Payto {
|
|
@@ -693,6 +830,16 @@ export declare namespace Subscription {
|
|
|
693
830
|
*/
|
|
694
831
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
695
832
|
}
|
|
833
|
+
interface WechatPay {
|
|
834
|
+
/**
|
|
835
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
836
|
+
*/
|
|
837
|
+
app_id?: string;
|
|
838
|
+
/**
|
|
839
|
+
* The client type that the end customer will pay from.
|
|
840
|
+
*/
|
|
841
|
+
client?: WechatPay.Client;
|
|
842
|
+
}
|
|
696
843
|
namespace AcssDebit {
|
|
697
844
|
interface MandateOptions {
|
|
698
845
|
/**
|
|
@@ -708,6 +855,26 @@ export declare namespace Subscription {
|
|
|
708
855
|
namespace Bancontact {
|
|
709
856
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
710
857
|
}
|
|
858
|
+
namespace Bizum {
|
|
859
|
+
interface MandateOptions {
|
|
860
|
+
/**
|
|
861
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
862
|
+
*/
|
|
863
|
+
amount?: number;
|
|
864
|
+
/**
|
|
865
|
+
* Indicates the mandate amount type.
|
|
866
|
+
*/
|
|
867
|
+
amount_type?: 'fixed';
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
namespace Blik {
|
|
871
|
+
interface MandateOptions {
|
|
872
|
+
/**
|
|
873
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
874
|
+
*/
|
|
875
|
+
expires_after: number | null;
|
|
876
|
+
}
|
|
877
|
+
}
|
|
711
878
|
namespace Card {
|
|
712
879
|
interface MandateOptions {
|
|
713
880
|
/**
|
|
@@ -835,27 +1002,69 @@ export declare namespace Subscription {
|
|
|
835
1002
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
836
1003
|
*/
|
|
837
1004
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1005
|
+
/**
|
|
1006
|
+
* The institution to use to filter for possible accounts to link.
|
|
1007
|
+
*/
|
|
1008
|
+
institution?: string;
|
|
838
1009
|
}
|
|
839
1010
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
840
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
1011
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
841
1012
|
namespace Filters {
|
|
842
1013
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
843
1014
|
}
|
|
844
1015
|
}
|
|
845
1016
|
}
|
|
1017
|
+
namespace WechatPay {
|
|
1018
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web';
|
|
1019
|
+
}
|
|
846
1020
|
}
|
|
847
1021
|
}
|
|
848
1022
|
namespace PendingInvoiceItemInterval {
|
|
849
1023
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
850
1024
|
}
|
|
1025
|
+
namespace Prebilling {
|
|
1026
|
+
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
1027
|
+
}
|
|
1028
|
+
namespace StatusDetails {
|
|
1029
|
+
interface Paused {
|
|
1030
|
+
/**
|
|
1031
|
+
* Information on the `type=subscription` pause.
|
|
1032
|
+
*/
|
|
1033
|
+
subscription: Paused.Subscription;
|
|
1034
|
+
/**
|
|
1035
|
+
* Unix timestamp in seconds of when the subscription status transitioned to `paused`.
|
|
1036
|
+
*/
|
|
1037
|
+
transitioned_at: number;
|
|
1038
|
+
/**
|
|
1039
|
+
* The type of pause.
|
|
1040
|
+
*/
|
|
1041
|
+
type: 'subscription';
|
|
1042
|
+
}
|
|
1043
|
+
namespace Paused {
|
|
1044
|
+
interface Subscription {
|
|
1045
|
+
/**
|
|
1046
|
+
* The reason that the subscription was paused.
|
|
1047
|
+
*/
|
|
1048
|
+
type: Subscription.Type;
|
|
1049
|
+
}
|
|
1050
|
+
namespace Subscription {
|
|
1051
|
+
type Type = 'pause_requested' | 'system' | 'trial_end_without_payment_method' | OtherString;
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
851
1055
|
namespace TrialSettings {
|
|
852
1056
|
interface EndBehavior {
|
|
1057
|
+
/**
|
|
1058
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
|
|
1059
|
+
*/
|
|
1060
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
|
|
853
1061
|
/**
|
|
854
1062
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
855
1063
|
*/
|
|
856
1064
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
857
1065
|
}
|
|
858
1066
|
namespace EndBehavior {
|
|
1067
|
+
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
859
1068
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
860
1069
|
}
|
|
861
1070
|
}
|
|
@@ -877,6 +1086,10 @@ export interface SubscriptionCreateParams {
|
|
|
877
1086
|
* 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.
|
|
878
1087
|
*/
|
|
879
1088
|
backdate_start_date?: number;
|
|
1089
|
+
/**
|
|
1090
|
+
* 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.
|
|
1091
|
+
*/
|
|
1092
|
+
billing_cadence?: string;
|
|
880
1093
|
/**
|
|
881
1094
|
* 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.
|
|
882
1095
|
*/
|
|
@@ -981,6 +1194,10 @@ export interface SubscriptionCreateParams {
|
|
|
981
1194
|
* 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.
|
|
982
1195
|
*/
|
|
983
1196
|
pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
|
|
1197
|
+
/**
|
|
1198
|
+
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
1199
|
+
*/
|
|
1200
|
+
prebilling?: SubscriptionCreateParams.Prebilling;
|
|
984
1201
|
/**
|
|
985
1202
|
* 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`.
|
|
986
1203
|
*/
|
|
@@ -1118,10 +1335,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1118
1335
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1119
1336
|
*/
|
|
1120
1337
|
discount?: string;
|
|
1338
|
+
/**
|
|
1339
|
+
* Details to determine how long the discount should be applied for.
|
|
1340
|
+
*/
|
|
1341
|
+
discount_end?: Discount.DiscountEnd;
|
|
1121
1342
|
/**
|
|
1122
1343
|
* ID of the promotion code to create a new discount for.
|
|
1123
1344
|
*/
|
|
1124
1345
|
promotion_code?: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* Settings for discount application including service period anchoring.
|
|
1348
|
+
*/
|
|
1349
|
+
settings?: Discount.Settings;
|
|
1125
1350
|
}
|
|
1126
1351
|
interface InvoiceSettings {
|
|
1127
1352
|
/**
|
|
@@ -1150,6 +1375,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1150
1375
|
* 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.
|
|
1151
1376
|
*/
|
|
1152
1377
|
billing_thresholds?: Emptyable<Item.BillingThresholds>;
|
|
1378
|
+
/**
|
|
1379
|
+
* The trial offer to apply to this subscription item.
|
|
1380
|
+
*/
|
|
1381
|
+
current_trial?: Item.CurrentTrial;
|
|
1153
1382
|
/**
|
|
1154
1383
|
* The coupons to redeem into discounts for the subscription item.
|
|
1155
1384
|
*/
|
|
@@ -1178,6 +1407,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1178
1407
|
* 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.
|
|
1179
1408
|
*/
|
|
1180
1409
|
tax_rates?: Emptyable<Array<string>>;
|
|
1410
|
+
/**
|
|
1411
|
+
* Define options to configure the trial on the subscription item.
|
|
1412
|
+
*/
|
|
1413
|
+
trial?: Item.Trial;
|
|
1181
1414
|
}
|
|
1182
1415
|
type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
|
|
1183
1416
|
interface PaymentSettings {
|
|
@@ -1204,6 +1437,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1204
1437
|
*/
|
|
1205
1438
|
interval_count?: number;
|
|
1206
1439
|
}
|
|
1440
|
+
interface Prebilling {
|
|
1441
|
+
/**
|
|
1442
|
+
* This is used to determine the number of billing cycles to prebill.
|
|
1443
|
+
*/
|
|
1444
|
+
iterations: number;
|
|
1445
|
+
/**
|
|
1446
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
1447
|
+
*/
|
|
1448
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
1449
|
+
}
|
|
1207
1450
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
1208
1451
|
interface TransferData {
|
|
1209
1452
|
/**
|
|
@@ -1231,6 +1474,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1231
1474
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1232
1475
|
*/
|
|
1233
1476
|
discount?: string;
|
|
1477
|
+
/**
|
|
1478
|
+
* Details to determine how long the discount should be applied for.
|
|
1479
|
+
*/
|
|
1480
|
+
discount_end?: Discount.DiscountEnd;
|
|
1234
1481
|
/**
|
|
1235
1482
|
* ID of the promotion code to create a new discount for.
|
|
1236
1483
|
*/
|
|
@@ -1268,6 +1515,38 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1268
1515
|
*/
|
|
1269
1516
|
unit_amount_decimal?: Decimal;
|
|
1270
1517
|
}
|
|
1518
|
+
namespace Discount {
|
|
1519
|
+
interface DiscountEnd {
|
|
1520
|
+
/**
|
|
1521
|
+
* Time span for the redeemed discount.
|
|
1522
|
+
*/
|
|
1523
|
+
duration?: DiscountEnd.Duration;
|
|
1524
|
+
/**
|
|
1525
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1526
|
+
*/
|
|
1527
|
+
timestamp?: number;
|
|
1528
|
+
/**
|
|
1529
|
+
* The type of calculation made to determine when the discount ends.
|
|
1530
|
+
*/
|
|
1531
|
+
type: DiscountEnd.Type;
|
|
1532
|
+
}
|
|
1533
|
+
namespace DiscountEnd {
|
|
1534
|
+
interface Duration {
|
|
1535
|
+
/**
|
|
1536
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1537
|
+
*/
|
|
1538
|
+
interval: Duration.Interval;
|
|
1539
|
+
/**
|
|
1540
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1541
|
+
*/
|
|
1542
|
+
interval_count: number;
|
|
1543
|
+
}
|
|
1544
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1545
|
+
namespace Duration {
|
|
1546
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1271
1550
|
namespace Period {
|
|
1272
1551
|
interface End {
|
|
1273
1552
|
/**
|
|
@@ -1312,7 +1591,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1312
1591
|
type: Liability.Type;
|
|
1313
1592
|
}
|
|
1314
1593
|
namespace Liability {
|
|
1315
|
-
type Type = 'account' | 'self' | OtherString;
|
|
1594
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
1316
1595
|
}
|
|
1317
1596
|
}
|
|
1318
1597
|
namespace BillingMode {
|
|
@@ -1369,6 +1648,86 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1369
1648
|
}
|
|
1370
1649
|
}
|
|
1371
1650
|
}
|
|
1651
|
+
namespace Discount {
|
|
1652
|
+
interface DiscountEnd {
|
|
1653
|
+
/**
|
|
1654
|
+
* Time span for the redeemed discount.
|
|
1655
|
+
*/
|
|
1656
|
+
duration?: DiscountEnd.Duration;
|
|
1657
|
+
/**
|
|
1658
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1659
|
+
*/
|
|
1660
|
+
timestamp?: number;
|
|
1661
|
+
/**
|
|
1662
|
+
* The type of calculation made to determine when the discount ends.
|
|
1663
|
+
*/
|
|
1664
|
+
type: DiscountEnd.Type;
|
|
1665
|
+
}
|
|
1666
|
+
interface Settings {
|
|
1667
|
+
/**
|
|
1668
|
+
* Configures service period cycle anchoring.
|
|
1669
|
+
*/
|
|
1670
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
1671
|
+
/**
|
|
1672
|
+
* 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.
|
|
1673
|
+
*/
|
|
1674
|
+
start_date?: Settings.StartDate;
|
|
1675
|
+
}
|
|
1676
|
+
namespace DiscountEnd {
|
|
1677
|
+
interface Duration {
|
|
1678
|
+
/**
|
|
1679
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1680
|
+
*/
|
|
1681
|
+
interval: Duration.Interval;
|
|
1682
|
+
/**
|
|
1683
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1684
|
+
*/
|
|
1685
|
+
interval_count: number;
|
|
1686
|
+
}
|
|
1687
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1688
|
+
namespace Duration {
|
|
1689
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
namespace Settings {
|
|
1693
|
+
interface ServicePeriodAnchorConfig {
|
|
1694
|
+
/**
|
|
1695
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
1696
|
+
*/
|
|
1697
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
1698
|
+
/**
|
|
1699
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
1700
|
+
*/
|
|
1701
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
1702
|
+
}
|
|
1703
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
1704
|
+
namespace ServicePeriodAnchorConfig {
|
|
1705
|
+
interface Custom {
|
|
1706
|
+
/**
|
|
1707
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
1708
|
+
*/
|
|
1709
|
+
day_of_month: number;
|
|
1710
|
+
/**
|
|
1711
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
1712
|
+
*/
|
|
1713
|
+
hour?: number;
|
|
1714
|
+
/**
|
|
1715
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
1716
|
+
*/
|
|
1717
|
+
minute?: number;
|
|
1718
|
+
/**
|
|
1719
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
1720
|
+
*/
|
|
1721
|
+
month?: number;
|
|
1722
|
+
/**
|
|
1723
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
1724
|
+
*/
|
|
1725
|
+
second?: number;
|
|
1726
|
+
}
|
|
1727
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1372
1731
|
namespace InvoiceSettings {
|
|
1373
1732
|
interface CustomField {
|
|
1374
1733
|
/**
|
|
@@ -1391,7 +1750,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1391
1750
|
type: Issuer.Type;
|
|
1392
1751
|
}
|
|
1393
1752
|
namespace Issuer {
|
|
1394
|
-
type Type = 'account' | 'self' | OtherString;
|
|
1753
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
1395
1754
|
}
|
|
1396
1755
|
}
|
|
1397
1756
|
namespace Item {
|
|
@@ -1401,6 +1760,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1401
1760
|
*/
|
|
1402
1761
|
usage_gte: number;
|
|
1403
1762
|
}
|
|
1763
|
+
interface CurrentTrial {
|
|
1764
|
+
/**
|
|
1765
|
+
* 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`.
|
|
1766
|
+
*/
|
|
1767
|
+
trial_end?: number;
|
|
1768
|
+
/**
|
|
1769
|
+
* The ID of the trial offer to apply to the subscription item.
|
|
1770
|
+
*/
|
|
1771
|
+
trial_offer: string;
|
|
1772
|
+
}
|
|
1404
1773
|
interface Discount {
|
|
1405
1774
|
/**
|
|
1406
1775
|
* ID of the coupon to create a new discount for.
|
|
@@ -1410,10 +1779,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1410
1779
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1411
1780
|
*/
|
|
1412
1781
|
discount?: string;
|
|
1782
|
+
/**
|
|
1783
|
+
* Details to determine how long the discount should be applied for.
|
|
1784
|
+
*/
|
|
1785
|
+
discount_end?: Discount.DiscountEnd;
|
|
1413
1786
|
/**
|
|
1414
1787
|
* ID of the promotion code to create a new discount for.
|
|
1415
1788
|
*/
|
|
1416
1789
|
promotion_code?: string;
|
|
1790
|
+
/**
|
|
1791
|
+
* Settings for discount application including service period anchoring.
|
|
1792
|
+
*/
|
|
1793
|
+
settings?: Discount.Settings;
|
|
1417
1794
|
}
|
|
1418
1795
|
interface PriceData {
|
|
1419
1796
|
/**
|
|
@@ -1441,6 +1818,96 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1441
1818
|
*/
|
|
1442
1819
|
unit_amount_decimal?: Decimal;
|
|
1443
1820
|
}
|
|
1821
|
+
interface Trial {
|
|
1822
|
+
/**
|
|
1823
|
+
* 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.
|
|
1824
|
+
*/
|
|
1825
|
+
converts_to?: Array<string>;
|
|
1826
|
+
/**
|
|
1827
|
+
* Determines the type of trial for this item.
|
|
1828
|
+
*/
|
|
1829
|
+
type: Trial.Type;
|
|
1830
|
+
}
|
|
1831
|
+
namespace Discount {
|
|
1832
|
+
interface DiscountEnd {
|
|
1833
|
+
/**
|
|
1834
|
+
* Time span for the redeemed discount.
|
|
1835
|
+
*/
|
|
1836
|
+
duration?: DiscountEnd.Duration;
|
|
1837
|
+
/**
|
|
1838
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1839
|
+
*/
|
|
1840
|
+
timestamp?: number;
|
|
1841
|
+
/**
|
|
1842
|
+
* The type of calculation made to determine when the discount ends.
|
|
1843
|
+
*/
|
|
1844
|
+
type: DiscountEnd.Type;
|
|
1845
|
+
}
|
|
1846
|
+
interface Settings {
|
|
1847
|
+
/**
|
|
1848
|
+
* Configures service period cycle anchoring.
|
|
1849
|
+
*/
|
|
1850
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
1851
|
+
/**
|
|
1852
|
+
* 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.
|
|
1853
|
+
*/
|
|
1854
|
+
start_date?: Settings.StartDate;
|
|
1855
|
+
}
|
|
1856
|
+
namespace DiscountEnd {
|
|
1857
|
+
interface Duration {
|
|
1858
|
+
/**
|
|
1859
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1860
|
+
*/
|
|
1861
|
+
interval: Duration.Interval;
|
|
1862
|
+
/**
|
|
1863
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1864
|
+
*/
|
|
1865
|
+
interval_count: number;
|
|
1866
|
+
}
|
|
1867
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1868
|
+
namespace Duration {
|
|
1869
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1872
|
+
namespace Settings {
|
|
1873
|
+
interface ServicePeriodAnchorConfig {
|
|
1874
|
+
/**
|
|
1875
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
1876
|
+
*/
|
|
1877
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
1878
|
+
/**
|
|
1879
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
1880
|
+
*/
|
|
1881
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
1882
|
+
}
|
|
1883
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
1884
|
+
namespace ServicePeriodAnchorConfig {
|
|
1885
|
+
interface Custom {
|
|
1886
|
+
/**
|
|
1887
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
1888
|
+
*/
|
|
1889
|
+
day_of_month: number;
|
|
1890
|
+
/**
|
|
1891
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
1892
|
+
*/
|
|
1893
|
+
hour?: number;
|
|
1894
|
+
/**
|
|
1895
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
1896
|
+
*/
|
|
1897
|
+
minute?: number;
|
|
1898
|
+
/**
|
|
1899
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
1900
|
+
*/
|
|
1901
|
+
month?: number;
|
|
1902
|
+
/**
|
|
1903
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
1904
|
+
*/
|
|
1905
|
+
second?: number;
|
|
1906
|
+
}
|
|
1907
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1444
1911
|
namespace PriceData {
|
|
1445
1912
|
interface Recurring {
|
|
1446
1913
|
/**
|
|
@@ -1457,6 +1924,9 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1457
1924
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1458
1925
|
}
|
|
1459
1926
|
}
|
|
1927
|
+
namespace Trial {
|
|
1928
|
+
type Type = 'free' | 'paid' | OtherString;
|
|
1929
|
+
}
|
|
1460
1930
|
}
|
|
1461
1931
|
namespace PaymentSettings {
|
|
1462
1932
|
interface PaymentMethodOptions {
|
|
@@ -1468,14 +1938,30 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1468
1938
|
* This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
|
|
1469
1939
|
*/
|
|
1470
1940
|
bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
|
|
1941
|
+
/**
|
|
1942
|
+
* This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
|
|
1943
|
+
*/
|
|
1944
|
+
bizum?: Emptyable<PaymentMethodOptions.Bizum>;
|
|
1945
|
+
/**
|
|
1946
|
+
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
1947
|
+
*/
|
|
1948
|
+
blik?: Emptyable<PaymentMethodOptions.Blik>;
|
|
1471
1949
|
/**
|
|
1472
1950
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
1473
1951
|
*/
|
|
1474
1952
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
1953
|
+
/**
|
|
1954
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
1955
|
+
*/
|
|
1956
|
+
check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
|
|
1475
1957
|
/**
|
|
1476
1958
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1477
1959
|
*/
|
|
1478
1960
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
1961
|
+
/**
|
|
1962
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1963
|
+
*/
|
|
1964
|
+
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
1479
1965
|
/**
|
|
1480
1966
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
1481
1967
|
*/
|
|
@@ -1500,8 +1986,12 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1500
1986
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
1501
1987
|
*/
|
|
1502
1988
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
1989
|
+
/**
|
|
1990
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
1991
|
+
*/
|
|
1992
|
+
wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
|
|
1503
1993
|
}
|
|
1504
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | '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' | 'mb_way' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
1994
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | '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' | 'mb_way' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
1505
1995
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
1506
1996
|
namespace PaymentMethodOptions {
|
|
1507
1997
|
interface AcssDebit {
|
|
@@ -1520,6 +2010,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1520
2010
|
*/
|
|
1521
2011
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
1522
2012
|
}
|
|
2013
|
+
interface Bizum {
|
|
2014
|
+
/**
|
|
2015
|
+
* Configuration options for setting up a mandate
|
|
2016
|
+
*/
|
|
2017
|
+
mandate_options?: Bizum.MandateOptions;
|
|
2018
|
+
}
|
|
2019
|
+
interface Blik {
|
|
2020
|
+
/**
|
|
2021
|
+
* Configuration options for setting up a mandate
|
|
2022
|
+
*/
|
|
2023
|
+
mandate_options?: Blik.MandateOptions;
|
|
2024
|
+
}
|
|
1523
2025
|
interface Card {
|
|
1524
2026
|
/**
|
|
1525
2027
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -1534,6 +2036,8 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1534
2036
|
*/
|
|
1535
2037
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
1536
2038
|
}
|
|
2039
|
+
interface CheckScan {
|
|
2040
|
+
}
|
|
1537
2041
|
interface CustomerBalance {
|
|
1538
2042
|
/**
|
|
1539
2043
|
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
@@ -1544,6 +2048,8 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1544
2048
|
*/
|
|
1545
2049
|
funding_type?: string;
|
|
1546
2050
|
}
|
|
2051
|
+
interface IdBankTransfer {
|
|
2052
|
+
}
|
|
1547
2053
|
interface Konbini {
|
|
1548
2054
|
}
|
|
1549
2055
|
interface Payto {
|
|
@@ -1580,6 +2086,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1580
2086
|
*/
|
|
1581
2087
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
1582
2088
|
}
|
|
2089
|
+
interface WechatPay {
|
|
2090
|
+
/**
|
|
2091
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
2092
|
+
*/
|
|
2093
|
+
app_id?: string;
|
|
2094
|
+
/**
|
|
2095
|
+
* The client type that the end customer will pay from.
|
|
2096
|
+
*/
|
|
2097
|
+
client?: WechatPay.Client;
|
|
2098
|
+
}
|
|
1583
2099
|
namespace AcssDebit {
|
|
1584
2100
|
interface MandateOptions {
|
|
1585
2101
|
/**
|
|
@@ -1595,6 +2111,26 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1595
2111
|
namespace Bancontact {
|
|
1596
2112
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
1597
2113
|
}
|
|
2114
|
+
namespace Bizum {
|
|
2115
|
+
interface MandateOptions {
|
|
2116
|
+
/**
|
|
2117
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
2118
|
+
*/
|
|
2119
|
+
amount: number;
|
|
2120
|
+
/**
|
|
2121
|
+
* Indicates the mandate amount type.
|
|
2122
|
+
*/
|
|
2123
|
+
amount_type: 'fixed';
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
2126
|
+
namespace Blik {
|
|
2127
|
+
interface MandateOptions {
|
|
2128
|
+
/**
|
|
2129
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
2130
|
+
*/
|
|
2131
|
+
expires_after?: number;
|
|
2132
|
+
}
|
|
2133
|
+
}
|
|
1598
2134
|
namespace Card {
|
|
1599
2135
|
interface MandateOptions {
|
|
1600
2136
|
/**
|
|
@@ -1720,27 +2256,42 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1720
2256
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1721
2257
|
*/
|
|
1722
2258
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2259
|
+
/**
|
|
2260
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
2261
|
+
*/
|
|
2262
|
+
institution?: string;
|
|
1723
2263
|
}
|
|
1724
2264
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
1725
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2265
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
1726
2266
|
namespace Filters {
|
|
1727
2267
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
1728
2268
|
}
|
|
1729
2269
|
}
|
|
1730
2270
|
}
|
|
2271
|
+
namespace WechatPay {
|
|
2272
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web';
|
|
2273
|
+
}
|
|
1731
2274
|
}
|
|
1732
2275
|
}
|
|
1733
2276
|
namespace PendingInvoiceItemInterval {
|
|
1734
2277
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1735
2278
|
}
|
|
2279
|
+
namespace Prebilling {
|
|
2280
|
+
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
2281
|
+
}
|
|
1736
2282
|
namespace TrialSettings {
|
|
1737
2283
|
interface EndBehavior {
|
|
2284
|
+
/**
|
|
2285
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
2286
|
+
*/
|
|
2287
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
1738
2288
|
/**
|
|
1739
2289
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
1740
2290
|
*/
|
|
1741
2291
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
1742
2292
|
}
|
|
1743
2293
|
namespace EndBehavior {
|
|
2294
|
+
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
1744
2295
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
1745
2296
|
}
|
|
1746
2297
|
}
|
|
@@ -1764,6 +2315,10 @@ export interface SubscriptionUpdateParams {
|
|
|
1764
2315
|
* Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
|
|
1765
2316
|
*/
|
|
1766
2317
|
automatic_tax?: SubscriptionUpdateParams.AutomaticTax;
|
|
2318
|
+
/**
|
|
2319
|
+
* 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.
|
|
2320
|
+
*/
|
|
2321
|
+
billing_cadence?: string;
|
|
1767
2322
|
/**
|
|
1768
2323
|
* 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).
|
|
1769
2324
|
*/
|
|
@@ -1856,6 +2411,10 @@ export interface SubscriptionUpdateParams {
|
|
|
1856
2411
|
* 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.
|
|
1857
2412
|
*/
|
|
1858
2413
|
pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
|
|
2414
|
+
/**
|
|
2415
|
+
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
2416
|
+
*/
|
|
2417
|
+
prebilling?: SubscriptionUpdateParams.Prebilling;
|
|
1859
2418
|
/**
|
|
1860
2419
|
* 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`.
|
|
1861
2420
|
*/
|
|
@@ -1972,10 +2531,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
1972
2531
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1973
2532
|
*/
|
|
1974
2533
|
discount?: string;
|
|
2534
|
+
/**
|
|
2535
|
+
* Details to determine how long the discount should be applied for.
|
|
2536
|
+
*/
|
|
2537
|
+
discount_end?: Discount.DiscountEnd;
|
|
1975
2538
|
/**
|
|
1976
2539
|
* ID of the promotion code to create a new discount for.
|
|
1977
2540
|
*/
|
|
1978
2541
|
promotion_code?: string;
|
|
2542
|
+
/**
|
|
2543
|
+
* Settings for discount application including service period anchoring.
|
|
2544
|
+
*/
|
|
2545
|
+
settings?: Discount.Settings;
|
|
1979
2546
|
}
|
|
1980
2547
|
interface InvoiceSettings {
|
|
1981
2548
|
/**
|
|
@@ -2008,6 +2575,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2008
2575
|
* 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.
|
|
2009
2576
|
*/
|
|
2010
2577
|
clear_usage?: boolean;
|
|
2578
|
+
/**
|
|
2579
|
+
* The trial offer to apply to this subscription item.
|
|
2580
|
+
*/
|
|
2581
|
+
current_trial?: Item.CurrentTrial;
|
|
2011
2582
|
/**
|
|
2012
2583
|
* A flag that, if set to `true`, will delete the specified item.
|
|
2013
2584
|
*/
|
|
@@ -2080,6 +2651,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2080
2651
|
*/
|
|
2081
2652
|
interval_count?: number;
|
|
2082
2653
|
}
|
|
2654
|
+
interface Prebilling {
|
|
2655
|
+
/**
|
|
2656
|
+
* This is used to determine the number of billing cycles to prebill.
|
|
2657
|
+
*/
|
|
2658
|
+
iterations: number;
|
|
2659
|
+
/**
|
|
2660
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
2661
|
+
*/
|
|
2662
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
2663
|
+
}
|
|
2083
2664
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2084
2665
|
interface TransferData {
|
|
2085
2666
|
/**
|
|
@@ -2107,6 +2688,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2107
2688
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2108
2689
|
*/
|
|
2109
2690
|
discount?: string;
|
|
2691
|
+
/**
|
|
2692
|
+
* Details to determine how long the discount should be applied for.
|
|
2693
|
+
*/
|
|
2694
|
+
discount_end?: Discount.DiscountEnd;
|
|
2110
2695
|
/**
|
|
2111
2696
|
* ID of the promotion code to create a new discount for.
|
|
2112
2697
|
*/
|
|
@@ -2144,6 +2729,38 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2144
2729
|
*/
|
|
2145
2730
|
unit_amount_decimal?: Decimal;
|
|
2146
2731
|
}
|
|
2732
|
+
namespace Discount {
|
|
2733
|
+
interface DiscountEnd {
|
|
2734
|
+
/**
|
|
2735
|
+
* Time span for the redeemed discount.
|
|
2736
|
+
*/
|
|
2737
|
+
duration?: DiscountEnd.Duration;
|
|
2738
|
+
/**
|
|
2739
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2740
|
+
*/
|
|
2741
|
+
timestamp?: number;
|
|
2742
|
+
/**
|
|
2743
|
+
* The type of calculation made to determine when the discount ends.
|
|
2744
|
+
*/
|
|
2745
|
+
type: DiscountEnd.Type;
|
|
2746
|
+
}
|
|
2747
|
+
namespace DiscountEnd {
|
|
2748
|
+
interface Duration {
|
|
2749
|
+
/**
|
|
2750
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2751
|
+
*/
|
|
2752
|
+
interval: Duration.Interval;
|
|
2753
|
+
/**
|
|
2754
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2755
|
+
*/
|
|
2756
|
+
interval_count: number;
|
|
2757
|
+
}
|
|
2758
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2759
|
+
namespace Duration {
|
|
2760
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2761
|
+
}
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2147
2764
|
namespace Period {
|
|
2148
2765
|
interface End {
|
|
2149
2766
|
/**
|
|
@@ -2188,7 +2805,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2188
2805
|
type: Liability.Type;
|
|
2189
2806
|
}
|
|
2190
2807
|
namespace Liability {
|
|
2191
|
-
type Type = 'account' | 'self' | OtherString;
|
|
2808
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
2192
2809
|
}
|
|
2193
2810
|
}
|
|
2194
2811
|
namespace BillingSchedule {
|
|
@@ -2236,6 +2853,86 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2236
2853
|
namespace CancellationDetails {
|
|
2237
2854
|
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused' | OtherString;
|
|
2238
2855
|
}
|
|
2856
|
+
namespace Discount {
|
|
2857
|
+
interface DiscountEnd {
|
|
2858
|
+
/**
|
|
2859
|
+
* Time span for the redeemed discount.
|
|
2860
|
+
*/
|
|
2861
|
+
duration?: DiscountEnd.Duration;
|
|
2862
|
+
/**
|
|
2863
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2864
|
+
*/
|
|
2865
|
+
timestamp?: number;
|
|
2866
|
+
/**
|
|
2867
|
+
* The type of calculation made to determine when the discount ends.
|
|
2868
|
+
*/
|
|
2869
|
+
type: DiscountEnd.Type;
|
|
2870
|
+
}
|
|
2871
|
+
interface Settings {
|
|
2872
|
+
/**
|
|
2873
|
+
* Configures service period cycle anchoring.
|
|
2874
|
+
*/
|
|
2875
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
2876
|
+
/**
|
|
2877
|
+
* 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.
|
|
2878
|
+
*/
|
|
2879
|
+
start_date?: Settings.StartDate;
|
|
2880
|
+
}
|
|
2881
|
+
namespace DiscountEnd {
|
|
2882
|
+
interface Duration {
|
|
2883
|
+
/**
|
|
2884
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2885
|
+
*/
|
|
2886
|
+
interval: Duration.Interval;
|
|
2887
|
+
/**
|
|
2888
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2889
|
+
*/
|
|
2890
|
+
interval_count: number;
|
|
2891
|
+
}
|
|
2892
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2893
|
+
namespace Duration {
|
|
2894
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2895
|
+
}
|
|
2896
|
+
}
|
|
2897
|
+
namespace Settings {
|
|
2898
|
+
interface ServicePeriodAnchorConfig {
|
|
2899
|
+
/**
|
|
2900
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
2901
|
+
*/
|
|
2902
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
2903
|
+
/**
|
|
2904
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
2905
|
+
*/
|
|
2906
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
2907
|
+
}
|
|
2908
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
2909
|
+
namespace ServicePeriodAnchorConfig {
|
|
2910
|
+
interface Custom {
|
|
2911
|
+
/**
|
|
2912
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
2913
|
+
*/
|
|
2914
|
+
day_of_month: number;
|
|
2915
|
+
/**
|
|
2916
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
2917
|
+
*/
|
|
2918
|
+
hour?: number;
|
|
2919
|
+
/**
|
|
2920
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
2921
|
+
*/
|
|
2922
|
+
minute?: number;
|
|
2923
|
+
/**
|
|
2924
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
2925
|
+
*/
|
|
2926
|
+
month?: number;
|
|
2927
|
+
/**
|
|
2928
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
2929
|
+
*/
|
|
2930
|
+
second?: number;
|
|
2931
|
+
}
|
|
2932
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2239
2936
|
namespace InvoiceSettings {
|
|
2240
2937
|
interface CustomField {
|
|
2241
2938
|
/**
|
|
@@ -2258,7 +2955,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2258
2955
|
type: Issuer.Type;
|
|
2259
2956
|
}
|
|
2260
2957
|
namespace Issuer {
|
|
2261
|
-
type Type = 'account' | 'self' | OtherString;
|
|
2958
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
2262
2959
|
}
|
|
2263
2960
|
}
|
|
2264
2961
|
namespace Item {
|
|
@@ -2268,6 +2965,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2268
2965
|
*/
|
|
2269
2966
|
usage_gte: number;
|
|
2270
2967
|
}
|
|
2968
|
+
interface CurrentTrial {
|
|
2969
|
+
/**
|
|
2970
|
+
* 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`.
|
|
2971
|
+
*/
|
|
2972
|
+
trial_end?: number;
|
|
2973
|
+
/**
|
|
2974
|
+
* The ID of the trial offer to apply to the subscription item.
|
|
2975
|
+
*/
|
|
2976
|
+
trial_offer: string;
|
|
2977
|
+
}
|
|
2271
2978
|
interface Discount {
|
|
2272
2979
|
/**
|
|
2273
2980
|
* ID of the coupon to create a new discount for.
|
|
@@ -2277,10 +2984,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2277
2984
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2278
2985
|
*/
|
|
2279
2986
|
discount?: string;
|
|
2987
|
+
/**
|
|
2988
|
+
* Details to determine how long the discount should be applied for.
|
|
2989
|
+
*/
|
|
2990
|
+
discount_end?: Discount.DiscountEnd;
|
|
2280
2991
|
/**
|
|
2281
2992
|
* ID of the promotion code to create a new discount for.
|
|
2282
2993
|
*/
|
|
2283
2994
|
promotion_code?: string;
|
|
2995
|
+
/**
|
|
2996
|
+
* Settings for discount application including service period anchoring.
|
|
2997
|
+
*/
|
|
2998
|
+
settings?: Discount.Settings;
|
|
2284
2999
|
}
|
|
2285
3000
|
interface PriceData {
|
|
2286
3001
|
/**
|
|
@@ -2308,6 +3023,86 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2308
3023
|
*/
|
|
2309
3024
|
unit_amount_decimal?: Decimal;
|
|
2310
3025
|
}
|
|
3026
|
+
namespace Discount {
|
|
3027
|
+
interface DiscountEnd {
|
|
3028
|
+
/**
|
|
3029
|
+
* Time span for the redeemed discount.
|
|
3030
|
+
*/
|
|
3031
|
+
duration?: DiscountEnd.Duration;
|
|
3032
|
+
/**
|
|
3033
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3034
|
+
*/
|
|
3035
|
+
timestamp?: number;
|
|
3036
|
+
/**
|
|
3037
|
+
* The type of calculation made to determine when the discount ends.
|
|
3038
|
+
*/
|
|
3039
|
+
type: DiscountEnd.Type;
|
|
3040
|
+
}
|
|
3041
|
+
interface Settings {
|
|
3042
|
+
/**
|
|
3043
|
+
* Configures service period cycle anchoring.
|
|
3044
|
+
*/
|
|
3045
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
3046
|
+
/**
|
|
3047
|
+
* 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.
|
|
3048
|
+
*/
|
|
3049
|
+
start_date?: Settings.StartDate;
|
|
3050
|
+
}
|
|
3051
|
+
namespace DiscountEnd {
|
|
3052
|
+
interface Duration {
|
|
3053
|
+
/**
|
|
3054
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3055
|
+
*/
|
|
3056
|
+
interval: Duration.Interval;
|
|
3057
|
+
/**
|
|
3058
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3059
|
+
*/
|
|
3060
|
+
interval_count: number;
|
|
3061
|
+
}
|
|
3062
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3063
|
+
namespace Duration {
|
|
3064
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
namespace Settings {
|
|
3068
|
+
interface ServicePeriodAnchorConfig {
|
|
3069
|
+
/**
|
|
3070
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
3071
|
+
*/
|
|
3072
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
3073
|
+
/**
|
|
3074
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
3075
|
+
*/
|
|
3076
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
3077
|
+
}
|
|
3078
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
3079
|
+
namespace ServicePeriodAnchorConfig {
|
|
3080
|
+
interface Custom {
|
|
3081
|
+
/**
|
|
3082
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3083
|
+
*/
|
|
3084
|
+
day_of_month: number;
|
|
3085
|
+
/**
|
|
3086
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3087
|
+
*/
|
|
3088
|
+
hour?: number;
|
|
3089
|
+
/**
|
|
3090
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3091
|
+
*/
|
|
3092
|
+
minute?: number;
|
|
3093
|
+
/**
|
|
3094
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3095
|
+
*/
|
|
3096
|
+
month?: number;
|
|
3097
|
+
/**
|
|
3098
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3099
|
+
*/
|
|
3100
|
+
second?: number;
|
|
3101
|
+
}
|
|
3102
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
3103
|
+
}
|
|
3104
|
+
}
|
|
3105
|
+
}
|
|
2311
3106
|
namespace PriceData {
|
|
2312
3107
|
interface Recurring {
|
|
2313
3108
|
/**
|
|
@@ -2338,14 +3133,30 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2338
3133
|
* This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
|
|
2339
3134
|
*/
|
|
2340
3135
|
bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
|
|
3136
|
+
/**
|
|
3137
|
+
* This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
|
|
3138
|
+
*/
|
|
3139
|
+
bizum?: Emptyable<PaymentMethodOptions.Bizum>;
|
|
3140
|
+
/**
|
|
3141
|
+
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
3142
|
+
*/
|
|
3143
|
+
blik?: Emptyable<PaymentMethodOptions.Blik>;
|
|
2341
3144
|
/**
|
|
2342
3145
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
2343
3146
|
*/
|
|
2344
3147
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
3148
|
+
/**
|
|
3149
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
3150
|
+
*/
|
|
3151
|
+
check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
|
|
2345
3152
|
/**
|
|
2346
3153
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2347
3154
|
*/
|
|
2348
3155
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
3156
|
+
/**
|
|
3157
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
3158
|
+
*/
|
|
3159
|
+
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
2349
3160
|
/**
|
|
2350
3161
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
2351
3162
|
*/
|
|
@@ -2370,8 +3181,12 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2370
3181
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
2371
3182
|
*/
|
|
2372
3183
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
3184
|
+
/**
|
|
3185
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
3186
|
+
*/
|
|
3187
|
+
wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
|
|
2373
3188
|
}
|
|
2374
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | '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' | 'mb_way' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
3189
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | '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' | 'mb_way' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
2375
3190
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
2376
3191
|
namespace PaymentMethodOptions {
|
|
2377
3192
|
interface AcssDebit {
|
|
@@ -2390,6 +3205,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2390
3205
|
*/
|
|
2391
3206
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
2392
3207
|
}
|
|
3208
|
+
interface Bizum {
|
|
3209
|
+
/**
|
|
3210
|
+
* Configuration options for setting up a mandate
|
|
3211
|
+
*/
|
|
3212
|
+
mandate_options?: Bizum.MandateOptions;
|
|
3213
|
+
}
|
|
3214
|
+
interface Blik {
|
|
3215
|
+
/**
|
|
3216
|
+
* Configuration options for setting up a mandate
|
|
3217
|
+
*/
|
|
3218
|
+
mandate_options?: Blik.MandateOptions;
|
|
3219
|
+
}
|
|
2393
3220
|
interface Card {
|
|
2394
3221
|
/**
|
|
2395
3222
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -2404,6 +3231,8 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2404
3231
|
*/
|
|
2405
3232
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
2406
3233
|
}
|
|
3234
|
+
interface CheckScan {
|
|
3235
|
+
}
|
|
2407
3236
|
interface CustomerBalance {
|
|
2408
3237
|
/**
|
|
2409
3238
|
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
@@ -2414,6 +3243,8 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2414
3243
|
*/
|
|
2415
3244
|
funding_type?: string;
|
|
2416
3245
|
}
|
|
3246
|
+
interface IdBankTransfer {
|
|
3247
|
+
}
|
|
2417
3248
|
interface Konbini {
|
|
2418
3249
|
}
|
|
2419
3250
|
interface Payto {
|
|
@@ -2450,6 +3281,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2450
3281
|
*/
|
|
2451
3282
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
2452
3283
|
}
|
|
3284
|
+
interface WechatPay {
|
|
3285
|
+
/**
|
|
3286
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
3287
|
+
*/
|
|
3288
|
+
app_id?: string;
|
|
3289
|
+
/**
|
|
3290
|
+
* The client type that the end customer will pay from.
|
|
3291
|
+
*/
|
|
3292
|
+
client?: WechatPay.Client;
|
|
3293
|
+
}
|
|
2453
3294
|
namespace AcssDebit {
|
|
2454
3295
|
interface MandateOptions {
|
|
2455
3296
|
/**
|
|
@@ -2465,6 +3306,26 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2465
3306
|
namespace Bancontact {
|
|
2466
3307
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
2467
3308
|
}
|
|
3309
|
+
namespace Bizum {
|
|
3310
|
+
interface MandateOptions {
|
|
3311
|
+
/**
|
|
3312
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
3313
|
+
*/
|
|
3314
|
+
amount: number;
|
|
3315
|
+
/**
|
|
3316
|
+
* Indicates the mandate amount type.
|
|
3317
|
+
*/
|
|
3318
|
+
amount_type: 'fixed';
|
|
3319
|
+
}
|
|
3320
|
+
}
|
|
3321
|
+
namespace Blik {
|
|
3322
|
+
interface MandateOptions {
|
|
3323
|
+
/**
|
|
3324
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
3325
|
+
*/
|
|
3326
|
+
expires_after?: number;
|
|
3327
|
+
}
|
|
3328
|
+
}
|
|
2468
3329
|
namespace Card {
|
|
2469
3330
|
interface MandateOptions {
|
|
2470
3331
|
/**
|
|
@@ -2590,27 +3451,42 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2590
3451
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2591
3452
|
*/
|
|
2592
3453
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3454
|
+
/**
|
|
3455
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
3456
|
+
*/
|
|
3457
|
+
institution?: string;
|
|
2593
3458
|
}
|
|
2594
3459
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
2595
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
3460
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
2596
3461
|
namespace Filters {
|
|
2597
3462
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2598
3463
|
}
|
|
2599
3464
|
}
|
|
2600
3465
|
}
|
|
3466
|
+
namespace WechatPay {
|
|
3467
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web';
|
|
3468
|
+
}
|
|
2601
3469
|
}
|
|
2602
3470
|
}
|
|
2603
3471
|
namespace PendingInvoiceItemInterval {
|
|
2604
3472
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2605
3473
|
}
|
|
3474
|
+
namespace Prebilling {
|
|
3475
|
+
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
3476
|
+
}
|
|
2606
3477
|
namespace TrialSettings {
|
|
2607
3478
|
interface EndBehavior {
|
|
3479
|
+
/**
|
|
3480
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
3481
|
+
*/
|
|
3482
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
2608
3483
|
/**
|
|
2609
3484
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
2610
3485
|
*/
|
|
2611
3486
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
2612
3487
|
}
|
|
2613
3488
|
namespace EndBehavior {
|
|
3489
|
+
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
2614
3490
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
2615
3491
|
}
|
|
2616
3492
|
}
|
|
@@ -2620,6 +3496,10 @@ export interface SubscriptionListParams extends PaginationParams {
|
|
|
2620
3496
|
* Filter subscriptions by their automatic tax settings.
|
|
2621
3497
|
*/
|
|
2622
3498
|
automatic_tax?: SubscriptionListParams.AutomaticTax;
|
|
3499
|
+
/**
|
|
3500
|
+
* Filter for subscriptions that have the specified billing cadence.
|
|
3501
|
+
*/
|
|
3502
|
+
billing_cadence?: string;
|
|
2623
3503
|
/**
|
|
2624
3504
|
* The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
|
|
2625
3505
|
*/
|
|
@@ -2675,6 +3555,16 @@ export declare namespace SubscriptionListParams {
|
|
|
2675
3555
|
type CollectionMethod = 'charge_automatically' | 'send_invoice';
|
|
2676
3556
|
type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
|
|
2677
3557
|
}
|
|
3558
|
+
export interface SubscriptionAttachCadenceParams {
|
|
3559
|
+
/**
|
|
3560
|
+
* 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.
|
|
3561
|
+
*/
|
|
3562
|
+
billing_cadence: string;
|
|
3563
|
+
/**
|
|
3564
|
+
* Specifies which fields in the response should be expanded.
|
|
3565
|
+
*/
|
|
3566
|
+
expand?: Array<string>;
|
|
3567
|
+
}
|
|
2678
3568
|
export interface SubscriptionCancelParams {
|
|
2679
3569
|
/**
|
|
2680
3570
|
* Details about why this subscription was cancelled
|
|
@@ -2743,6 +3633,57 @@ export declare namespace SubscriptionMigrateParams {
|
|
|
2743
3633
|
}
|
|
2744
3634
|
}
|
|
2745
3635
|
}
|
|
3636
|
+
export interface SubscriptionPauseParams {
|
|
3637
|
+
/**
|
|
3638
|
+
* Controls what to bill for when pausing the subscription.
|
|
3639
|
+
*/
|
|
3640
|
+
bill_for?: SubscriptionPauseParams.BillFor;
|
|
3641
|
+
/**
|
|
3642
|
+
* Specifies which fields in the response should be expanded.
|
|
3643
|
+
*/
|
|
3644
|
+
expand?: Array<string>;
|
|
3645
|
+
/**
|
|
3646
|
+
* Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`.
|
|
3647
|
+
*/
|
|
3648
|
+
invoicing_behavior?: SubscriptionPauseParams.InvoicingBehavior;
|
|
3649
|
+
/**
|
|
3650
|
+
* The type of pause to apply. Defaults to `subscription`.
|
|
3651
|
+
*/
|
|
3652
|
+
type?: 'subscription';
|
|
3653
|
+
}
|
|
3654
|
+
export declare namespace SubscriptionPauseParams {
|
|
3655
|
+
interface BillFor {
|
|
3656
|
+
/**
|
|
3657
|
+
* Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
|
|
3658
|
+
*/
|
|
3659
|
+
outstanding_usage_through?: BillFor.OutstandingUsageThrough;
|
|
3660
|
+
/**
|
|
3661
|
+
* Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
|
|
3662
|
+
*/
|
|
3663
|
+
unused_time_from?: BillFor.UnusedTimeFrom;
|
|
3664
|
+
}
|
|
3665
|
+
type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
|
|
3666
|
+
namespace BillFor {
|
|
3667
|
+
interface OutstandingUsageThrough {
|
|
3668
|
+
/**
|
|
3669
|
+
* When to bill metered usage in the current period.
|
|
3670
|
+
*/
|
|
3671
|
+
type: OutstandingUsageThrough.Type;
|
|
3672
|
+
}
|
|
3673
|
+
interface UnusedTimeFrom {
|
|
3674
|
+
/**
|
|
3675
|
+
* When to credit for unused time.
|
|
3676
|
+
*/
|
|
3677
|
+
type: UnusedTimeFrom.Type;
|
|
3678
|
+
}
|
|
3679
|
+
namespace OutstandingUsageThrough {
|
|
3680
|
+
type Type = 'none' | 'now';
|
|
3681
|
+
}
|
|
3682
|
+
namespace UnusedTimeFrom {
|
|
3683
|
+
type Type = 'item_current_period_start' | 'none' | 'now';
|
|
3684
|
+
}
|
|
3685
|
+
}
|
|
3686
|
+
}
|
|
2746
3687
|
export interface SubscriptionResumeParams {
|
|
2747
3688
|
/**
|
|
2748
3689
|
* 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).
|
|
@@ -2752,6 +3693,10 @@ export interface SubscriptionResumeParams {
|
|
|
2752
3693
|
* Specifies which fields in the response should be expanded.
|
|
2753
3694
|
*/
|
|
2754
3695
|
expand?: Array<string>;
|
|
3696
|
+
/**
|
|
3697
|
+
* 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`.
|
|
3698
|
+
*/
|
|
3699
|
+
payment_behavior?: SubscriptionResumeParams.PaymentBehavior;
|
|
2755
3700
|
/**
|
|
2756
3701
|
* 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`.
|
|
2757
3702
|
*/
|
|
@@ -2763,6 +3708,7 @@ export interface SubscriptionResumeParams {
|
|
|
2763
3708
|
}
|
|
2764
3709
|
export declare namespace SubscriptionResumeParams {
|
|
2765
3710
|
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
3711
|
+
type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
|
|
2766
3712
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2767
3713
|
}
|
|
2768
3714
|
export interface SubscriptionSearchParams {
|
|
@@ -2783,3 +3729,15 @@ export interface SubscriptionSearchParams {
|
|
|
2783
3729
|
*/
|
|
2784
3730
|
page?: string;
|
|
2785
3731
|
}
|
|
3732
|
+
export interface SubscriptionSerializeBatchCancelParams {
|
|
3733
|
+
}
|
|
3734
|
+
export interface SubscriptionSerializeBatchCreateParams {
|
|
3735
|
+
}
|
|
3736
|
+
export interface SubscriptionSerializeBatchMigrateParams {
|
|
3737
|
+
}
|
|
3738
|
+
export interface SubscriptionSerializeBatchPauseParams {
|
|
3739
|
+
}
|
|
3740
|
+
export interface SubscriptionSerializeBatchResumeParams {
|
|
3741
|
+
}
|
|
3742
|
+
export interface SubscriptionSerializeBatchUpdateParams {
|
|
3743
|
+
}
|