stripe 23.1.0 → 23.2.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 +2269 -4845
- package/OPENAPI_VERSION +1 -1
- package/README.md +69 -60
- package/VERSION +1 -1
- package/cjs/Error.d.ts +29 -0
- package/cjs/Error.js +54 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.js +25 -4
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +226 -3
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +21 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/WorkloadIdentity.d.ts +99 -0
- package/cjs/WorkloadIdentity.js +292 -0
- package/cjs/WorkloadIdentity.js.map +1 -0
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/net/WorkloadIdentityTokenTransport.d.ts +27 -0
- package/cjs/net/WorkloadIdentityTokenTransport.js +53 -0
- package/cjs/net/WorkloadIdentityTokenTransport.js.map +1 -0
- 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 +729 -8
- 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 +871 -3
- 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/Apps/Installs.d.ts +1 -1
- package/cjs/resources/Apps/Installs.js +1 -1
- package/cjs/resources/Balance.d.ts +205 -0
- package/cjs/resources/BalanceSettings.d.ts +26 -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 +16 -2
- package/cjs/resources/Billing/AlertNotifications.d.ts +79 -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 +59 -1
- package/cjs/resources/Billing/Alerts.d.ts +462 -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 +89 -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/MeterEventSummaries.d.ts +6 -0
- package/cjs/resources/Billing/Meters.d.ts +31 -0
- package/cjs/resources/Billing/index.d.ts +10 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +39 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +217 -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 +123 -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 +3783 -94
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +2287 -79
- package/cjs/resources/Checkout/Sessions.js +668 -12
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +1 -0
- package/cjs/resources/ConfirmationTokens.d.ts +201 -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 +425 -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/CustomerCashBalanceTransactions.d.ts +15 -0
- package/cjs/resources/CustomerSessions.d.ts +82 -0
- package/cjs/resources/CustomerSessions.js +13 -0
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/CustomerTaxExemptions.d.ts +107 -0
- package/cjs/resources/CustomerTaxExemptions.js +4 -0
- package/cjs/resources/CustomerTaxExemptions.js.map +1 -0
- package/cjs/resources/Customers.d.ts +334 -1
- package/cjs/resources/Customers.js +221 -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 +1427 -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 +29 -1
- package/cjs/resources/Disputes.js +14 -0
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +640 -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 +105 -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/Consents.d.ts +113 -0
- package/cjs/resources/FinancialConnections/Consents.js +21 -0
- package/cjs/resources/FinancialConnections/Consents.js.map +1 -0
- 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 +134 -9
- package/cjs/resources/FinancialConnections/Transactions.d.ts +70 -0
- package/cjs/resources/FinancialConnections/index.d.ts +27 -9
- package/cjs/resources/FinancialConnections/index.js +6 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +216 -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 +188 -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 +203 -2
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +45 -1
- 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 +215 -2
- package/cjs/resources/InvoiceItems.js +41 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +2167 -73
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +821 -1
- package/cjs/resources/Issuing/Authorizations.js +177 -0
- 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 +141 -2
- 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 +259 -0
- package/cjs/resources/Issuing/Transactions.js +48 -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 +36 -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 +4776 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +908 -2
- package/cjs/resources/PaymentAttemptRecords.js +48 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +104 -0
- package/cjs/resources/PaymentIntents.d.ts +19847 -4859
- package/cjs/resources/PaymentIntents.js +46 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +73 -12
- package/cjs/resources/PaymentLocationCapabilities.d.ts +124 -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 +423 -3
- package/cjs/resources/PaymentMethods.js +20 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentPlans.d.ts +427 -0
- package/cjs/resources/PaymentPlans.js +35 -0
- package/cjs/resources/PaymentPlans.js.map +1 -0
- package/cjs/resources/PaymentRecords.d.ts +906 -20
- package/cjs/resources/PaymentRecords.js +18 -0
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Payouts.d.ts +30 -0
- package/cjs/resources/Persons.d.ts +39 -2
- package/cjs/resources/Prices.d.ts +60 -0
- 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 +2 -2
- package/cjs/resources/Products.d.ts +156 -0
- 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 +1291 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +1134 -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 +309 -0
- package/cjs/resources/Radar/AccountEvaluations.js +27 -0
- package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
- package/cjs/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/cjs/resources/Radar/BillingEvaluations.js +15 -0
- package/cjs/resources/Radar/BillingEvaluations.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 +234 -5
- package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
- package/cjs/resources/Radar/Rules.d.ts +18 -0
- package/cjs/resources/Radar/Rules.js +4 -0
- package/cjs/resources/Radar/Rules.js.map +1 -0
- 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 +44 -16
- package/cjs/resources/Radar/index.js +8 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +113 -0
- package/cjs/resources/Refunds.js +27 -0
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reporting/ReportRuns.d.ts +4 -0
- 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 +41 -1
- package/cjs/resources/Reserve/Plans.js +19 -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 +18 -6
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/Risk/Forms.d.ts +380 -0
- package/cjs/resources/Risk/Forms.js +38 -0
- package/cjs/resources/Risk/Forms.js.map +1 -0
- package/cjs/resources/Risk/index.d.ts +13 -0
- package/cjs/resources/Risk/index.js +13 -0
- package/cjs/resources/Risk/index.js.map +1 -0
- 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 +39 -1
- package/cjs/resources/SetupAttempts.js.map +1 -1
- package/cjs/resources/SetupIntents.d.ts +877 -16
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +442 -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 +378 -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 +236 -0
- package/cjs/resources/SubscriptionItems.js +41 -0
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +2007 -31
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +910 -14
- package/cjs/resources/Subscriptions.js +186 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +12 -1
- package/cjs/resources/Tax/Calculations.d.ts +43 -1
- package/cjs/resources/Tax/Certificates.d.ts +107 -0
- package/cjs/resources/Tax/Certificates.js +35 -0
- package/cjs/resources/Tax/Certificates.js.map +1 -0
- package/cjs/resources/Tax/FormCorrections.d.ts +29 -0
- package/cjs/resources/Tax/FormCorrections.js +4 -0
- package/cjs/resources/Tax/FormCorrections.js.map +1 -0
- package/cjs/resources/Tax/Forms.d.ts +973 -0
- package/cjs/resources/Tax/Forms.js +38 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +60 -4
- 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 +12 -0
- package/cjs/resources/Tax/Transactions.js +13 -0
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +41 -17
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -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/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 +235 -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 +82 -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 +165 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +95 -0
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js +245 -0
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
- 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 +48 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.js +48 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
- 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 +92 -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 +18 -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 +76 -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/InboundTransfers.d.ts +60 -0
- package/cjs/resources/Treasury/OutboundPayments.d.ts +48 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +66 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/Treasury/TransactionEntries.js +76 -0
- package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
- package/cjs/resources/Treasury/Transactions.js +82 -0
- package/cjs/resources/Treasury/Transactions.js.map +1 -1
- 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 +87 -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 +1022 -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 +238 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +50 -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/ContractTermQuantityChanges.d.ts +35 -0
- package/cjs/resources/V2/Billing/ContractTermQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractTermQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractTerms.d.ts +216 -0
- package/cjs/resources/V2/Billing/ContractTerms.js +4 -0
- package/cjs/resources/V2/Billing/ContractTerms.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/Terms/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/Terms/QuantityChanges.js +29 -0
- package/cjs/resources/V2/Billing/Contracts/Terms/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/Terms.d.ts +46 -0
- package/cjs/resources/V2/Billing/Contracts/Terms.js +82 -0
- package/cjs/resources/V2/Billing/Contracts/Terms.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts.d.ts +2762 -0
- package/cjs/resources/V2/Billing/Contracts.js +657 -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 +609 -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 +1267 -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 +636 -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 +218 -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 +536 -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 +181 -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 +167 -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 +138 -2
- package/cjs/resources/V2/Core/AccountPersons.d.ts +5 -2
- package/cjs/resources/V2/Core/AccountSessions.d.ts +1649 -0
- package/cjs/resources/V2/Core/AccountSessions.js +16 -0
- package/cjs/resources/V2/Core/AccountSessions.js.map +1 -0
- package/cjs/resources/V2/Core/AccountTokens.d.ts +242 -4
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +5 -2
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +10 -4
- package/cjs/resources/V2/Core/Accounts.d.ts +22332 -1163
- package/cjs/resources/V2/Core/Accounts.js +23373 -30
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +410 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +39 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/cjs/resources/V2/Core/BatchJobs.js +252 -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 +6062 -593
- package/cjs/resources/V2/Core/FeeBatches.d.ts +228 -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 +196 -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 +426 -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 +540 -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 +117 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/NetworkTokens.d.ts +199 -0
- package/cjs/resources/V2/Core/Vault/NetworkTokens.js +42 -0
- package/cjs/resources/V2/Core/Vault/NetworkTokens.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +17 -9
- package/cjs/resources/V2/Core/Vault/index.js +2 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +69 -14
- package/cjs/resources/V2/Core/index.js +20 -2
- 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/Operations.d.ts +37 -0
- package/cjs/resources/V2/Data/Operations.js +40 -0
- package/cjs/resources/V2/Data/Operations.js.map +1 -0
- package/cjs/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/cjs/resources/V2/Data/QueryRuns.js +51 -0
- package/cjs/resources/V2/Data/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/cjs/resources/V2/Data/ReportRuns.js +53 -0
- package/cjs/resources/V2/Data/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +176 -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/Reports.d.ts +140 -0
- package/cjs/resources/V2/Data/Reports.js +25 -0
- package/cjs/resources/V2/Data/Reports.js.map +1 -0
- package/cjs/resources/V2/Data/Schemas.d.ts +161 -0
- package/cjs/resources/V2/Data/Schemas.js +23 -0
- package/cjs/resources/V2/Data/Schemas.js.map +1 -0
- package/cjs/resources/V2/Data/SearchResultLists.d.ts +348 -0
- package/cjs/resources/V2/Data/SearchResultLists.js +4 -0
- package/cjs/resources/V2/Data/SearchResultLists.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +42 -0
- package/cjs/resources/V2/Data/index.js +25 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/Extend/ObjectDefinitionVersions.d.ts +222 -0
- package/cjs/resources/V2/Extend/ObjectDefinitionVersions.js +4 -0
- package/cjs/resources/V2/Extend/ObjectDefinitionVersions.js.map +1 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.d.ts +33 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.js +23 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.js.map +1 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions.d.ts +63 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions.js +29 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions.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 +29 -0
- package/cjs/resources/V2/Extend/index.js +17 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +457 -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 +306 -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 +44 -2
- 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 +173 -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/EarnedCreditSimulations.d.ts +18 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCreditSimulations.js +4 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCredits.d.ts +134 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCredits.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/FinancialAccountWalletExportCredentials.d.ts +62 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExports.d.ts +50 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExports.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExports.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/WalletExport.d.ts +51 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js +22 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +437 -4
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +132 -2
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- 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/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +144 -6
- package/cjs/resources/V2/MoneyManagement/FundingIntents.d.ts +504 -0
- package/cjs/resources/V2/MoneyManagement/FundingIntents.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FundingIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FundingSessions.d.ts +111 -0
- package/cjs/resources/V2/MoneyManagement/FundingSessions.js +15 -0
- package/cjs/resources/V2/MoneyManagement/FundingSessions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundFundings.d.ts +178 -0
- package/cjs/resources/V2/MoneyManagement/InboundFundings.js +23 -0
- package/cjs/resources/V2/MoneyManagement/InboundFundings.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.d.ts +265 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.js +39 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +88 -2
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +374 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +23 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +246 -6
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +143 -2
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +434 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +40 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +18 -6
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +125 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +344 -6
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +171 -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 +373 -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 +5 -1
- package/cjs/resources/V2/MoneyManagement/RewardProgramEnrollments.d.ts +140 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramEnrollments.js +46 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramEnrollments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramRules.d.ts +85 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramRules.js +4 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramRules.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms/Rules.d.ts +205 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms/Rules.js +177 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms/Rules.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms.d.ts +135 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms.js +57 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +43 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +13 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers.d.ts +37 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers.js +21 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +140 -4
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +140 -4
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +175 -57
- package/cjs/resources/V2/MoneyManagement/index.js +28 -2
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- 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 +736 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +47 -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 +212 -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 +30 -0
- package/cjs/resources/V2/Payments/index.js +15 -0
- package/cjs/resources/V2/Payments/index.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Catalog/Providers.d.ts +33 -0
- package/cjs/resources/V2/Provisioning/Catalog/Providers.js +17 -0
- package/cjs/resources/V2/Provisioning/Catalog/Providers.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Catalog/Services.d.ts +37 -0
- package/cjs/resources/V2/Provisioning/Catalog/Services.js +17 -0
- package/cjs/resources/V2/Provisioning/Catalog/Services.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Catalog/index.d.ts +10 -0
- package/cjs/resources/V2/Provisioning/Catalog/index.js +15 -0
- package/cjs/resources/V2/Provisioning/Catalog/index.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Eligibility.d.ts +33 -0
- package/cjs/resources/V2/Provisioning/Eligibility.js +16 -0
- package/cjs/resources/V2/Provisioning/Eligibility.js.map +1 -0
- package/cjs/resources/V2/Provisioning/PaymentMethodRequests.d.ts +79 -0
- package/cjs/resources/V2/Provisioning/PaymentMethodRequests.js +25 -0
- package/cjs/resources/V2/Provisioning/PaymentMethodRequests.js.map +1 -0
- package/cjs/resources/V2/Provisioning/PaymentProfile.d.ts +139 -0
- package/cjs/resources/V2/Provisioning/PaymentProfile.js +74 -0
- package/cjs/resources/V2/Provisioning/PaymentProfile.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Projects.d.ts +79 -0
- package/cjs/resources/V2/Provisioning/Projects.js +15 -0
- package/cjs/resources/V2/Provisioning/Projects.js.map +1 -0
- package/cjs/resources/V2/Provisioning/ProviderConnectionRequests.d.ts +145 -0
- package/cjs/resources/V2/Provisioning/ProviderConnectionRequests.js +27 -0
- package/cjs/resources/V2/Provisioning/ProviderConnectionRequests.js.map +1 -0
- package/cjs/resources/V2/Provisioning/ProviderConnections.d.ts +115 -0
- package/cjs/resources/V2/Provisioning/ProviderConnections.js +23 -0
- package/cjs/resources/V2/Provisioning/ProviderConnections.js.map +1 -0
- package/cjs/resources/V2/Provisioning/ProviderServiceDetails.d.ts +243 -0
- package/cjs/resources/V2/Provisioning/ProviderServiceDetails.js +4 -0
- package/cjs/resources/V2/Provisioning/ProviderServiceDetails.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Providers.d.ts +67 -0
- package/cjs/resources/V2/Provisioning/Providers.js +4 -0
- package/cjs/resources/V2/Provisioning/Providers.js.map +1 -0
- package/cjs/resources/V2/Provisioning/ResourceAccessConfigurations.d.ts +28 -0
- package/cjs/resources/V2/Provisioning/ResourceAccessConfigurations.js +4 -0
- package/cjs/resources/V2/Provisioning/ResourceAccessConfigurations.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Resources.d.ts +287 -0
- package/cjs/resources/V2/Provisioning/Resources.js +66 -0
- package/cjs/resources/V2/Provisioning/Resources.js.map +1 -0
- package/cjs/resources/V2/Provisioning/index.d.ts +66 -0
- package/cjs/resources/V2/Provisioning/index.js +27 -0
- package/cjs/resources/V2/Provisioning/index.js.map +1 -0
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +195 -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/Forms.d.ts +253 -0
- package/cjs/resources/V2/Risk/Forms.js +21 -0
- package/cjs/resources/V2/Risk/Forms.js.map +1 -0
- package/cjs/resources/V2/Risk/index.d.ts +13 -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/AccountActivities.d.ts +747 -0
- package/cjs/resources/V2/Signals/AccountActivities.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +516 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js +67 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +361 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +118 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/PaymentRetryEvaluations.d.ts +116 -0
- package/cjs/resources/V2/Signals/PaymentRetryEvaluations.js +38 -0
- package/cjs/resources/V2/Signals/PaymentRetryEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/PaymentRetrySignals.d.ts +63 -0
- package/cjs/resources/V2/Signals/PaymentRetrySignals.js +15 -0
- package/cjs/resources/V2/Signals/PaymentRetrySignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +39 -0
- package/cjs/resources/V2/Signals/index.js +21 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/Tax/IntegrationConfigurations.d.ts +116 -0
- package/cjs/resources/V2/Tax/IntegrationConfigurations.js +21 -0
- package/cjs/resources/V2/Tax/IntegrationConfigurations.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/Operations.d.ts +43 -0
- package/cjs/resources/V2/Tax/Operations.js +15 -0
- package/cjs/resources/V2/Tax/Operations.js.map +1 -0
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.d.ts +70 -0
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js +4 -0
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
- package/cjs/resources/V2/Tax/index.d.ts +27 -0
- package/cjs/resources/V2/Tax/index.js +17 -0
- package/cjs/resources/V2/Tax/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +33 -0
- package/cjs/resources/V2/index.js +26 -4
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +20 -0
- package/cjs/resources.js +313 -21
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +20042 -2747
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +170 -56
- package/cjs/stripe.core.js +156 -45
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +29 -0
- package/esm/Error.js +47 -0
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.js +26 -5
- package/esm/RequestSender.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +226 -3
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +21 -2
- package/esm/Types.js.map +1 -1
- package/esm/WorkloadIdentity.d.ts +99 -0
- package/esm/WorkloadIdentity.js +282 -0
- package/esm/WorkloadIdentity.js.map +1 -0
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/net/WorkloadIdentityTokenTransport.d.ts +27 -0
- package/esm/net/WorkloadIdentityTokenTransport.js +49 -0
- package/esm/net/WorkloadIdentityTokenTransport.js.map +1 -0
- 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 +729 -8
- 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 +871 -3
- 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/Apps/Installs.d.ts +1 -1
- package/esm/resources/Apps/Installs.js +1 -1
- package/esm/resources/Balance.d.ts +205 -0
- package/esm/resources/BalanceSettings.d.ts +26 -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 +16 -2
- package/esm/resources/Billing/AlertNotifications.d.ts +79 -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 +59 -1
- package/esm/resources/Billing/Alerts.d.ts +462 -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 +89 -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/MeterEventSummaries.d.ts +6 -0
- package/esm/resources/Billing/Meters.d.ts +31 -0
- package/esm/resources/Billing/index.d.ts +10 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +39 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +217 -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 +123 -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 +3783 -94
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +2287 -79
- package/esm/resources/Checkout/Sessions.js +668 -12
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +1 -0
- package/esm/resources/ConfirmationTokens.d.ts +201 -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 +425 -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/CustomerCashBalanceTransactions.d.ts +15 -0
- package/esm/resources/CustomerSessions.d.ts +82 -0
- package/esm/resources/CustomerSessions.js +13 -0
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/CustomerTaxExemptions.d.ts +107 -0
- package/esm/resources/CustomerTaxExemptions.js +3 -0
- package/esm/resources/CustomerTaxExemptions.js.map +1 -0
- package/esm/resources/Customers.d.ts +334 -1
- package/esm/resources/Customers.js +221 -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 +1427 -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 +29 -1
- package/esm/resources/Disputes.js +14 -0
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +640 -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 +105 -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/Consents.d.ts +113 -0
- package/esm/resources/FinancialConnections/Consents.js +17 -0
- package/esm/resources/FinancialConnections/Consents.js.map +1 -0
- 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 +134 -9
- package/esm/resources/FinancialConnections/Transactions.d.ts +70 -0
- package/esm/resources/FinancialConnections/index.d.ts +27 -9
- package/esm/resources/FinancialConnections/index.js +6 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +216 -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 +188 -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 +203 -2
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +45 -1
- 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 +215 -2
- package/esm/resources/InvoiceItems.js +41 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/esm/resources/InvoiceRenderingTemplates.js +28 -0
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +2167 -73
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +821 -1
- package/esm/resources/Issuing/Authorizations.js +177 -0
- 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 +141 -2
- 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 +259 -0
- package/esm/resources/Issuing/Transactions.js +48 -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 +36 -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 +4776 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +908 -2
- package/esm/resources/PaymentAttemptRecords.js +48 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +104 -0
- package/esm/resources/PaymentIntents.d.ts +19847 -4859
- package/esm/resources/PaymentIntents.js +46 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +73 -12
- package/esm/resources/PaymentLocationCapabilities.d.ts +124 -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 +423 -3
- package/esm/resources/PaymentMethods.js +20 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentPlans.d.ts +427 -0
- package/esm/resources/PaymentPlans.js +31 -0
- package/esm/resources/PaymentPlans.js.map +1 -0
- package/esm/resources/PaymentRecords.d.ts +906 -20
- package/esm/resources/PaymentRecords.js +18 -0
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Payouts.d.ts +30 -0
- package/esm/resources/Persons.d.ts +39 -2
- package/esm/resources/Prices.d.ts +60 -0
- 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 +2 -2
- package/esm/resources/Products.d.ts +156 -0
- 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 +1291 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +1134 -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 +309 -0
- package/esm/resources/Radar/AccountEvaluations.js +23 -0
- package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
- package/esm/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/esm/resources/Radar/BillingEvaluations.js +11 -0
- package/esm/resources/Radar/BillingEvaluations.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 +234 -5
- package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
- package/esm/resources/Radar/Rules.d.ts +18 -0
- package/esm/resources/Radar/Rules.js +3 -0
- package/esm/resources/Radar/Rules.js.map +1 -0
- 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 +44 -16
- package/esm/resources/Radar/index.js +8 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +113 -0
- package/esm/resources/Refunds.js +27 -0
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reporting/ReportRuns.d.ts +4 -0
- 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 +41 -1
- package/esm/resources/Reserve/Plans.js +17 -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 +18 -6
- package/esm/resources/Reserve/index.js +9 -0
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/Risk/Forms.d.ts +380 -0
- package/esm/resources/Risk/Forms.js +34 -0
- package/esm/resources/Risk/Forms.js.map +1 -0
- package/esm/resources/Risk/index.d.ts +13 -0
- package/esm/resources/Risk/index.js +9 -0
- package/esm/resources/Risk/index.js.map +1 -0
- 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 +39 -1
- package/esm/resources/SetupAttempts.js.map +1 -1
- package/esm/resources/SetupIntents.d.ts +877 -16
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +442 -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 +378 -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 +236 -0
- package/esm/resources/SubscriptionItems.js +41 -0
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +2007 -31
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +910 -14
- package/esm/resources/Subscriptions.js +186 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +12 -1
- package/esm/resources/Tax/Calculations.d.ts +43 -1
- package/esm/resources/Tax/Certificates.d.ts +107 -0
- package/esm/resources/Tax/Certificates.js +31 -0
- package/esm/resources/Tax/Certificates.js.map +1 -0
- package/esm/resources/Tax/FormCorrections.d.ts +29 -0
- package/esm/resources/Tax/FormCorrections.js +3 -0
- package/esm/resources/Tax/FormCorrections.js.map +1 -0
- package/esm/resources/Tax/Forms.d.ts +973 -0
- package/esm/resources/Tax/Forms.js +34 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +60 -4
- 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 +12 -0
- package/esm/resources/Tax/Transactions.js +13 -0
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +41 -17
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -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/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 +235 -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 +82 -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 +165 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +95 -0
- package/esm/resources/TestHelpers/Issuing/Authorizations.js +245 -0
- package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
- 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 +48 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.js +48 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
- 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 +92 -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 +18 -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 +76 -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/InboundTransfers.d.ts +60 -0
- package/esm/resources/Treasury/OutboundPayments.d.ts +48 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +66 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/Treasury/TransactionEntries.js +76 -0
- package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
- package/esm/resources/Treasury/Transactions.js +82 -0
- package/esm/resources/Treasury/Transactions.js.map +1 -1
- 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 +87 -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 +1022 -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 +238 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +50 -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/ContractTermQuantityChanges.d.ts +35 -0
- package/esm/resources/V2/Billing/ContractTermQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractTermQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/ContractTerms.d.ts +216 -0
- package/esm/resources/V2/Billing/ContractTerms.js +3 -0
- package/esm/resources/V2/Billing/ContractTerms.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/Terms/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/Terms/QuantityChanges.js +25 -0
- package/esm/resources/V2/Billing/Contracts/Terms/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/Terms.d.ts +46 -0
- package/esm/resources/V2/Billing/Contracts/Terms.js +78 -0
- package/esm/resources/V2/Billing/Contracts/Terms.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts.d.ts +2762 -0
- package/esm/resources/V2/Billing/Contracts.js +653 -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 +609 -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 +1267 -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 +636 -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 +218 -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 +536 -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 +181 -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 +167 -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 +138 -2
- package/esm/resources/V2/Core/AccountPersons.d.ts +5 -2
- package/esm/resources/V2/Core/AccountSessions.d.ts +1649 -0
- package/esm/resources/V2/Core/AccountSessions.js +12 -0
- package/esm/resources/V2/Core/AccountSessions.js.map +1 -0
- package/esm/resources/V2/Core/AccountTokens.d.ts +242 -4
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +5 -2
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +10 -4
- package/esm/resources/V2/Core/Accounts.d.ts +22332 -1163
- package/esm/resources/V2/Core/Accounts.js +23373 -30
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +410 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +35 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/esm/resources/V2/Core/BatchJobs.js +248 -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 +6062 -593
- package/esm/resources/V2/Core/FeeBatches.d.ts +228 -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 +196 -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 +426 -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 +540 -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 +117 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/NetworkTokens.d.ts +199 -0
- package/esm/resources/V2/Core/Vault/NetworkTokens.js +38 -0
- package/esm/resources/V2/Core/Vault/NetworkTokens.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +17 -9
- package/esm/resources/V2/Core/Vault/index.js +2 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +69 -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/Operations.d.ts +37 -0
- package/esm/resources/V2/Data/Operations.js +36 -0
- package/esm/resources/V2/Data/Operations.js.map +1 -0
- package/esm/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/esm/resources/V2/Data/QueryRuns.js +47 -0
- package/esm/resources/V2/Data/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/esm/resources/V2/Data/ReportRuns.js +49 -0
- package/esm/resources/V2/Data/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +176 -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/Reports.d.ts +140 -0
- package/esm/resources/V2/Data/Reports.js +21 -0
- package/esm/resources/V2/Data/Reports.js.map +1 -0
- package/esm/resources/V2/Data/Schemas.d.ts +161 -0
- package/esm/resources/V2/Data/Schemas.js +19 -0
- package/esm/resources/V2/Data/Schemas.js.map +1 -0
- package/esm/resources/V2/Data/SearchResultLists.d.ts +348 -0
- package/esm/resources/V2/Data/SearchResultLists.js +3 -0
- package/esm/resources/V2/Data/SearchResultLists.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +42 -0
- package/esm/resources/V2/Data/index.js +21 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/Extend/ObjectDefinitionVersions.d.ts +222 -0
- package/esm/resources/V2/Extend/ObjectDefinitionVersions.js +3 -0
- package/esm/resources/V2/Extend/ObjectDefinitionVersions.js.map +1 -0
- package/esm/resources/V2/Extend/ObjectDefinitions/Versions.d.ts +33 -0
- package/esm/resources/V2/Extend/ObjectDefinitions/Versions.js +19 -0
- package/esm/resources/V2/Extend/ObjectDefinitions/Versions.js.map +1 -0
- package/esm/resources/V2/Extend/ObjectDefinitions.d.ts +63 -0
- package/esm/resources/V2/Extend/ObjectDefinitions.js +25 -0
- package/esm/resources/V2/Extend/ObjectDefinitions.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 +29 -0
- package/esm/resources/V2/Extend/index.js +13 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +457 -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 +306 -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 +44 -2
- 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 +173 -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/EarnedCreditSimulations.d.ts +18 -0
- package/esm/resources/V2/MoneyManagement/EarnedCreditSimulations.js +3 -0
- package/esm/resources/V2/MoneyManagement/EarnedCreditSimulations.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/EarnedCredits.d.ts +134 -0
- package/esm/resources/V2/MoneyManagement/EarnedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/EarnedCredits.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/FinancialAccountWalletExportCredentials.d.ts +62 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExports.d.ts +50 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExports.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExports.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/WalletExport.d.ts +51 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js +18 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +437 -4
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +132 -2
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- 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/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +144 -6
- package/esm/resources/V2/MoneyManagement/FundingIntents.d.ts +504 -0
- package/esm/resources/V2/MoneyManagement/FundingIntents.js +49 -0
- package/esm/resources/V2/MoneyManagement/FundingIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FundingSessions.d.ts +111 -0
- package/esm/resources/V2/MoneyManagement/FundingSessions.js +11 -0
- package/esm/resources/V2/MoneyManagement/FundingSessions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundFundings.d.ts +178 -0
- package/esm/resources/V2/MoneyManagement/InboundFundings.js +19 -0
- package/esm/resources/V2/MoneyManagement/InboundFundings.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransferMandates.d.ts +265 -0
- package/esm/resources/V2/MoneyManagement/InboundTransferMandates.js +35 -0
- package/esm/resources/V2/MoneyManagement/InboundTransferMandates.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +88 -2
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +374 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +19 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +246 -6
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +143 -2
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +434 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +36 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +18 -6
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +125 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +344 -6
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +171 -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 +373 -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 +5 -1
- package/esm/resources/V2/MoneyManagement/RewardProgramEnrollments.d.ts +140 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramEnrollments.js +42 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramEnrollments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramRules.d.ts +85 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramRules.js +3 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramRules.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms/Rules.d.ts +205 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms/Rules.js +173 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms/Rules.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms.d.ts +135 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms.js +53 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +43 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers.d.ts +37 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers.js +17 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +140 -4
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +140 -4
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +175 -57
- package/esm/resources/V2/MoneyManagement/index.js +28 -2
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- 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 +736 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +43 -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 +212 -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 +30 -0
- package/esm/resources/V2/Payments/index.js +11 -0
- package/esm/resources/V2/Payments/index.js.map +1 -0
- package/esm/resources/V2/Provisioning/Catalog/Providers.d.ts +33 -0
- package/esm/resources/V2/Provisioning/Catalog/Providers.js +13 -0
- package/esm/resources/V2/Provisioning/Catalog/Providers.js.map +1 -0
- package/esm/resources/V2/Provisioning/Catalog/Services.d.ts +37 -0
- package/esm/resources/V2/Provisioning/Catalog/Services.js +13 -0
- package/esm/resources/V2/Provisioning/Catalog/Services.js.map +1 -0
- package/esm/resources/V2/Provisioning/Catalog/index.d.ts +10 -0
- package/esm/resources/V2/Provisioning/Catalog/index.js +11 -0
- package/esm/resources/V2/Provisioning/Catalog/index.js.map +1 -0
- package/esm/resources/V2/Provisioning/Eligibility.d.ts +33 -0
- package/esm/resources/V2/Provisioning/Eligibility.js +12 -0
- package/esm/resources/V2/Provisioning/Eligibility.js.map +1 -0
- package/esm/resources/V2/Provisioning/PaymentMethodRequests.d.ts +79 -0
- package/esm/resources/V2/Provisioning/PaymentMethodRequests.js +21 -0
- package/esm/resources/V2/Provisioning/PaymentMethodRequests.js.map +1 -0
- package/esm/resources/V2/Provisioning/PaymentProfile.d.ts +139 -0
- package/esm/resources/V2/Provisioning/PaymentProfile.js +70 -0
- package/esm/resources/V2/Provisioning/PaymentProfile.js.map +1 -0
- package/esm/resources/V2/Provisioning/Projects.d.ts +79 -0
- package/esm/resources/V2/Provisioning/Projects.js +11 -0
- package/esm/resources/V2/Provisioning/Projects.js.map +1 -0
- package/esm/resources/V2/Provisioning/ProviderConnectionRequests.d.ts +145 -0
- package/esm/resources/V2/Provisioning/ProviderConnectionRequests.js +23 -0
- package/esm/resources/V2/Provisioning/ProviderConnectionRequests.js.map +1 -0
- package/esm/resources/V2/Provisioning/ProviderConnections.d.ts +115 -0
- package/esm/resources/V2/Provisioning/ProviderConnections.js +19 -0
- package/esm/resources/V2/Provisioning/ProviderConnections.js.map +1 -0
- package/esm/resources/V2/Provisioning/ProviderServiceDetails.d.ts +243 -0
- package/esm/resources/V2/Provisioning/ProviderServiceDetails.js +3 -0
- package/esm/resources/V2/Provisioning/ProviderServiceDetails.js.map +1 -0
- package/esm/resources/V2/Provisioning/Providers.d.ts +67 -0
- package/esm/resources/V2/Provisioning/Providers.js +3 -0
- package/esm/resources/V2/Provisioning/Providers.js.map +1 -0
- package/esm/resources/V2/Provisioning/ResourceAccessConfigurations.d.ts +28 -0
- package/esm/resources/V2/Provisioning/ResourceAccessConfigurations.js +3 -0
- package/esm/resources/V2/Provisioning/ResourceAccessConfigurations.js.map +1 -0
- package/esm/resources/V2/Provisioning/Resources.d.ts +287 -0
- package/esm/resources/V2/Provisioning/Resources.js +62 -0
- package/esm/resources/V2/Provisioning/Resources.js.map +1 -0
- package/esm/resources/V2/Provisioning/index.d.ts +66 -0
- package/esm/resources/V2/Provisioning/index.js +23 -0
- package/esm/resources/V2/Provisioning/index.js.map +1 -0
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +195 -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/Forms.d.ts +253 -0
- package/esm/resources/V2/Risk/Forms.js +17 -0
- package/esm/resources/V2/Risk/Forms.js.map +1 -0
- package/esm/resources/V2/Risk/index.d.ts +13 -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/AccountActivities.d.ts +747 -0
- package/esm/resources/V2/Signals/AccountActivities.js +23 -0
- package/esm/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +516 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js +63 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +361 -0
- package/esm/resources/V2/Signals/AccountSignals.js +114 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/PaymentRetryEvaluations.d.ts +116 -0
- package/esm/resources/V2/Signals/PaymentRetryEvaluations.js +34 -0
- package/esm/resources/V2/Signals/PaymentRetryEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/PaymentRetrySignals.d.ts +63 -0
- package/esm/resources/V2/Signals/PaymentRetrySignals.js +11 -0
- package/esm/resources/V2/Signals/PaymentRetrySignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +39 -0
- package/esm/resources/V2/Signals/index.js +17 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/Tax/IntegrationConfigurations.d.ts +116 -0
- package/esm/resources/V2/Tax/IntegrationConfigurations.js +17 -0
- package/esm/resources/V2/Tax/IntegrationConfigurations.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/Operations.d.ts +43 -0
- package/esm/resources/V2/Tax/Operations.js +11 -0
- package/esm/resources/V2/Tax/Operations.js.map +1 -0
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.d.ts +70 -0
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.js +3 -0
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
- package/esm/resources/V2/Tax/index.d.ts +27 -0
- package/esm/resources/V2/Tax/index.js +13 -0
- package/esm/resources/V2/Tax/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +33 -0
- package/esm/resources/V2/index.js +22 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +20 -0
- package/esm/resources.js +283 -3
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +170 -56
- package/esm/stripe.core.js +122 -11
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +172 -58
- package/esm/stripe.esm.node.js +123 -9
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +0 -9
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
|
@@ -78,6 +78,10 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
78
78
|
* to an hour behind during outages. Search functionality is not available to merchants in India.
|
|
79
79
|
*/
|
|
80
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>>;
|
|
81
85
|
/**
|
|
82
86
|
* Upgrade the billing_mode of an existing subscription.
|
|
83
87
|
*/
|
|
@@ -90,6 +94,30 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
90
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).
|
|
91
95
|
*/
|
|
92
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;
|
|
93
121
|
}
|
|
94
122
|
export interface Subscription {
|
|
95
123
|
/**
|
|
@@ -109,6 +137,10 @@ export interface Subscription {
|
|
|
109
137
|
*/
|
|
110
138
|
application_fee_percent: number | null;
|
|
111
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;
|
|
112
144
|
/**
|
|
113
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.
|
|
114
146
|
*/
|
|
@@ -117,6 +149,10 @@ export interface Subscription {
|
|
|
117
149
|
* The fixed values used to calculate the `billing_cycle_anchor`.
|
|
118
150
|
*/
|
|
119
151
|
billing_cycle_anchor_config: Subscription.BillingCycleAnchorConfig | null;
|
|
152
|
+
/**
|
|
153
|
+
* The Billing Group 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.
|
|
154
|
+
*/
|
|
155
|
+
billing_group?: string;
|
|
120
156
|
/**
|
|
121
157
|
* The billing mode of the subscription.
|
|
122
158
|
*/
|
|
@@ -198,6 +234,10 @@ export interface Subscription {
|
|
|
198
234
|
* List of subscription items, each with an attached price.
|
|
199
235
|
*/
|
|
200
236
|
items: ApiList<SubscriptionItem>;
|
|
237
|
+
/**
|
|
238
|
+
* Details of the most recent price migration that failed for the subscription.
|
|
239
|
+
*/
|
|
240
|
+
last_price_migration_error?: Subscription.LastPriceMigrationError | null;
|
|
201
241
|
/**
|
|
202
242
|
* The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
|
|
203
243
|
*/
|
|
@@ -242,6 +282,10 @@ export interface Subscription {
|
|
|
242
282
|
* 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.
|
|
243
283
|
*/
|
|
244
284
|
pending_update: Subscription.PendingUpdate | null;
|
|
285
|
+
/**
|
|
286
|
+
* Time period and invoice for a Subscription billed in advance.
|
|
287
|
+
*/
|
|
288
|
+
prebilling?: Subscription.Prebilling | null;
|
|
245
289
|
presentment_details?: Subscription.PresentmentDetails;
|
|
246
290
|
/**
|
|
247
291
|
* The schedule attached to the subscription
|
|
@@ -300,6 +344,10 @@ export declare namespace Subscription {
|
|
|
300
344
|
* Whether Stripe automatically computes tax on this subscription.
|
|
301
345
|
*/
|
|
302
346
|
enabled: boolean;
|
|
347
|
+
/**
|
|
348
|
+
* How `automatic_tax` was set (`explicit`, `managed_payments`, or `tax_integration_configuration`) and why it may have been disabled.
|
|
349
|
+
*/
|
|
350
|
+
enablement_details?: AutomaticTax.EnablementDetails | null;
|
|
303
351
|
/**
|
|
304
352
|
* The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
|
305
353
|
*/
|
|
@@ -403,6 +451,20 @@ export declare namespace Subscription {
|
|
|
403
451
|
footer: string | null;
|
|
404
452
|
issuer: InvoiceSettings.Issuer;
|
|
405
453
|
}
|
|
454
|
+
interface LastPriceMigrationError {
|
|
455
|
+
/**
|
|
456
|
+
* The time at which the price migration encountered an error.
|
|
457
|
+
*/
|
|
458
|
+
errored_at: number;
|
|
459
|
+
/**
|
|
460
|
+
* The involved price pairs in each failed transition.
|
|
461
|
+
*/
|
|
462
|
+
failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
|
|
463
|
+
/**
|
|
464
|
+
* The type of error encountered by the price migration.
|
|
465
|
+
*/
|
|
466
|
+
type: 'price_uniqueness_violation';
|
|
467
|
+
}
|
|
406
468
|
interface ManagedPayments {
|
|
407
469
|
/**
|
|
408
470
|
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
@@ -420,6 +482,10 @@ export declare namespace Subscription {
|
|
|
420
482
|
resumes_at: number | null;
|
|
421
483
|
}
|
|
422
484
|
interface PaymentSettings {
|
|
485
|
+
/**
|
|
486
|
+
* The ID of the mandate for the subscription's default payment method.
|
|
487
|
+
*/
|
|
488
|
+
mandate?: string | null;
|
|
423
489
|
/**
|
|
424
490
|
* Payment-method-specific configuration to provide to invoices created by the subscription.
|
|
425
491
|
*/
|
|
@@ -468,6 +534,10 @@ export declare namespace Subscription {
|
|
|
468
534
|
* 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.
|
|
469
535
|
*/
|
|
470
536
|
metadata: Metadata | null;
|
|
537
|
+
/**
|
|
538
|
+
* The number of iterations of prebilling to apply.
|
|
539
|
+
*/
|
|
540
|
+
prebilling_iterations?: number | null;
|
|
471
541
|
/**
|
|
472
542
|
* List of subscription items, each with an attached plan, that will be set if the update is applied.
|
|
473
543
|
*/
|
|
@@ -481,6 +551,24 @@ export declare namespace Subscription {
|
|
|
481
551
|
*/
|
|
482
552
|
trial_from_plan: boolean | null;
|
|
483
553
|
}
|
|
554
|
+
interface Prebilling {
|
|
555
|
+
/**
|
|
556
|
+
* ID of the prebilling invoice.
|
|
557
|
+
*/
|
|
558
|
+
invoice: string | Invoice;
|
|
559
|
+
/**
|
|
560
|
+
* The end of the last period for which the invoice pre-bills.
|
|
561
|
+
*/
|
|
562
|
+
period_end: number;
|
|
563
|
+
/**
|
|
564
|
+
* The start of the first period for which the invoice pre-bills.
|
|
565
|
+
*/
|
|
566
|
+
period_start: number;
|
|
567
|
+
/**
|
|
568
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
569
|
+
*/
|
|
570
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
571
|
+
}
|
|
484
572
|
interface PresentmentDetails {
|
|
485
573
|
/**
|
|
486
574
|
* Currency used for customer payments.
|
|
@@ -511,6 +599,16 @@ export declare namespace Subscription {
|
|
|
511
599
|
end_behavior: TrialSettings.EndBehavior;
|
|
512
600
|
}
|
|
513
601
|
namespace AutomaticTax {
|
|
602
|
+
interface EnablementDetails {
|
|
603
|
+
/**
|
|
604
|
+
* Present when `source=tax_integration_configuration`, `automatic_tax[enabled]=false`, and a conflicting parameter is recorded.
|
|
605
|
+
*/
|
|
606
|
+
integration_configuration_disabled_reason: EnablementDetails.IntegrationConfigurationDisabledReason | null;
|
|
607
|
+
/**
|
|
608
|
+
* How `automatic_tax` was set: `explicit`, `managed_payments`, or `tax_integration_configuration`.
|
|
609
|
+
*/
|
|
610
|
+
source: EnablementDetails.Source;
|
|
611
|
+
}
|
|
514
612
|
interface Liability {
|
|
515
613
|
/**
|
|
516
614
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -521,8 +619,17 @@ export declare namespace Subscription {
|
|
|
521
619
|
*/
|
|
522
620
|
type: Liability.Type;
|
|
523
621
|
}
|
|
622
|
+
namespace EnablementDetails {
|
|
623
|
+
interface IntegrationConfigurationDisabledReason {
|
|
624
|
+
/**
|
|
625
|
+
* The parameter that prevented `automatic_tax` from being enabled (for example `default_tax_rates`).
|
|
626
|
+
*/
|
|
627
|
+
conflicting_field: string;
|
|
628
|
+
}
|
|
629
|
+
type Source = 'explicit' | 'managed_payments' | 'tax_integration_configuration';
|
|
630
|
+
}
|
|
524
631
|
namespace Liability {
|
|
525
|
-
type Type = 'account' | 'self' | OtherString;
|
|
632
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
526
633
|
}
|
|
527
634
|
}
|
|
528
635
|
namespace BillingMode {
|
|
@@ -609,7 +716,19 @@ export declare namespace Subscription {
|
|
|
609
716
|
type: Issuer.Type;
|
|
610
717
|
}
|
|
611
718
|
namespace Issuer {
|
|
612
|
-
type Type = 'account' | 'self' | OtherString;
|
|
719
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
namespace LastPriceMigrationError {
|
|
723
|
+
interface FailedTransition {
|
|
724
|
+
/**
|
|
725
|
+
* The original price to be migrated.
|
|
726
|
+
*/
|
|
727
|
+
source_price: string;
|
|
728
|
+
/**
|
|
729
|
+
* The intended resulting price of the migration.
|
|
730
|
+
*/
|
|
731
|
+
target_price: string;
|
|
613
732
|
}
|
|
614
733
|
}
|
|
615
734
|
namespace PauseCollection {
|
|
@@ -621,6 +740,10 @@ export declare namespace Subscription {
|
|
|
621
740
|
* This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to invoices created by the subscription.
|
|
622
741
|
*/
|
|
623
742
|
acss_debit: PaymentMethodOptions.AcssDebit | null;
|
|
743
|
+
/**
|
|
744
|
+
* This sub-hash contains details about the Bacs Direct Debit payment method options to pass to invoices created by the subscription.
|
|
745
|
+
*/
|
|
746
|
+
bacs_debit?: PaymentMethodOptions.BacsDebit | null;
|
|
624
747
|
/**
|
|
625
748
|
* This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
|
|
626
749
|
*/
|
|
@@ -629,6 +752,10 @@ export declare namespace Subscription {
|
|
|
629
752
|
* This sub-hash contains details about the Billie payment method options to pass to invoices created by the subscription.
|
|
630
753
|
*/
|
|
631
754
|
billie?: PaymentMethodOptions.Billie | null;
|
|
755
|
+
/**
|
|
756
|
+
* This sub-hash contains details about the Bizum payment method options to pass to invoices created by the subscription.
|
|
757
|
+
*/
|
|
758
|
+
bizum?: PaymentMethodOptions.Bizum | null;
|
|
632
759
|
/**
|
|
633
760
|
* This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
|
|
634
761
|
*/
|
|
@@ -637,10 +764,18 @@ export declare namespace Subscription {
|
|
|
637
764
|
* This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
|
|
638
765
|
*/
|
|
639
766
|
card: PaymentMethodOptions.Card | null;
|
|
767
|
+
/**
|
|
768
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to invoices created by the subscription.
|
|
769
|
+
*/
|
|
770
|
+
check_scan?: PaymentMethodOptions.CheckScan | null;
|
|
640
771
|
/**
|
|
641
772
|
* This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
|
|
642
773
|
*/
|
|
643
774
|
customer_balance: PaymentMethodOptions.CustomerBalance | null;
|
|
775
|
+
/**
|
|
776
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
|
777
|
+
*/
|
|
778
|
+
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
|
|
644
779
|
/**
|
|
645
780
|
* This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
|
646
781
|
*/
|
|
@@ -665,8 +800,12 @@ export declare namespace Subscription {
|
|
|
665
800
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
|
|
666
801
|
*/
|
|
667
802
|
us_bank_account: PaymentMethodOptions.UsBankAccount | null;
|
|
803
|
+
/**
|
|
804
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to invoices created by the subscription.
|
|
805
|
+
*/
|
|
806
|
+
wechat_pay?: PaymentMethodOptions.WechatPay | null;
|
|
668
807
|
}
|
|
669
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | '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' | 'sequra' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
808
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | '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' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'stripe_balance' | 'swish' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | OtherString;
|
|
670
809
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
671
810
|
namespace PaymentMethodOptions {
|
|
672
811
|
interface AcssDebit {
|
|
@@ -676,6 +815,13 @@ export declare namespace Subscription {
|
|
|
676
815
|
*/
|
|
677
816
|
verification_method?: AcssDebit.VerificationMethod;
|
|
678
817
|
}
|
|
818
|
+
interface BacsDebit {
|
|
819
|
+
/**
|
|
820
|
+
* Controls when the funds will be captured from the customer's account.
|
|
821
|
+
*/
|
|
822
|
+
debit_behavior: string;
|
|
823
|
+
verification_method?: BacsDebit.VerificationMethod;
|
|
824
|
+
}
|
|
679
825
|
interface Bancontact {
|
|
680
826
|
/**
|
|
681
827
|
* Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
@@ -685,6 +831,9 @@ export declare namespace Subscription {
|
|
|
685
831
|
interface Billie {
|
|
686
832
|
company_details?: Billie.CompanyDetails;
|
|
687
833
|
}
|
|
834
|
+
interface Bizum {
|
|
835
|
+
mandate_options?: Bizum.MandateOptions;
|
|
836
|
+
}
|
|
688
837
|
interface Blik {
|
|
689
838
|
mandate_options?: Blik.MandateOptions;
|
|
690
839
|
}
|
|
@@ -699,6 +848,8 @@ export declare namespace Subscription {
|
|
|
699
848
|
*/
|
|
700
849
|
request_three_d_secure: Card.RequestThreeDSecure | null;
|
|
701
850
|
}
|
|
851
|
+
interface CheckScan {
|
|
852
|
+
}
|
|
702
853
|
interface CustomerBalance {
|
|
703
854
|
bank_transfer?: CustomerBalance.BankTransfer;
|
|
704
855
|
/**
|
|
@@ -706,6 +857,8 @@ export declare namespace Subscription {
|
|
|
706
857
|
*/
|
|
707
858
|
funding_type: 'bank_transfer' | null;
|
|
708
859
|
}
|
|
860
|
+
interface IdBankTransfer {
|
|
861
|
+
}
|
|
709
862
|
interface Konbini {
|
|
710
863
|
}
|
|
711
864
|
interface Payto {
|
|
@@ -719,6 +872,10 @@ export declare namespace Subscription {
|
|
|
719
872
|
mandate_options?: Pix.MandateOptions;
|
|
720
873
|
}
|
|
721
874
|
interface SepaDebit {
|
|
875
|
+
/**
|
|
876
|
+
* Controls when the funds will be captured from the customer's account.
|
|
877
|
+
*/
|
|
878
|
+
debit_behavior?: string;
|
|
722
879
|
}
|
|
723
880
|
interface Upi {
|
|
724
881
|
mandate_options?: Upi.MandateOptions;
|
|
@@ -730,6 +887,16 @@ export declare namespace Subscription {
|
|
|
730
887
|
*/
|
|
731
888
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
732
889
|
}
|
|
890
|
+
interface WechatPay {
|
|
891
|
+
/**
|
|
892
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
893
|
+
*/
|
|
894
|
+
app_id?: string;
|
|
895
|
+
/**
|
|
896
|
+
* The client type that the end customer will pay from.
|
|
897
|
+
*/
|
|
898
|
+
client?: WechatPay.Client;
|
|
899
|
+
}
|
|
733
900
|
namespace AcssDebit {
|
|
734
901
|
interface MandateOptions {
|
|
735
902
|
/**
|
|
@@ -742,6 +909,9 @@ export declare namespace Subscription {
|
|
|
742
909
|
type TransactionType = 'business' | 'personal' | OtherString;
|
|
743
910
|
}
|
|
744
911
|
}
|
|
912
|
+
namespace BacsDebit {
|
|
913
|
+
type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
|
|
914
|
+
}
|
|
745
915
|
namespace Bancontact {
|
|
746
916
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
747
917
|
}
|
|
@@ -769,6 +939,21 @@ export declare namespace Subscription {
|
|
|
769
939
|
type RegistrationType = 'ch_ein' | 'de_hrb' | 'dk_cvr' | 'es_cif' | 'fi_tunnus' | 'fr_siren' | 'fr_siret' | 'it_rea' | 'nl_kvk' | 'no_org_number' | 'no_pno' | 'se_org_number' | 'se_pno' | 'uk_crn';
|
|
770
940
|
}
|
|
771
941
|
}
|
|
942
|
+
namespace Bizum {
|
|
943
|
+
interface MandateOptions {
|
|
944
|
+
/**
|
|
945
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
946
|
+
*/
|
|
947
|
+
amount?: number;
|
|
948
|
+
/**
|
|
949
|
+
* Indicates the mandate amount type.
|
|
950
|
+
*/
|
|
951
|
+
amount_type?: MandateOptions.AmountType;
|
|
952
|
+
}
|
|
953
|
+
namespace MandateOptions {
|
|
954
|
+
type AmountType = 'fixed' | OtherString;
|
|
955
|
+
}
|
|
956
|
+
}
|
|
772
957
|
namespace Blik {
|
|
773
958
|
interface MandateOptions {
|
|
774
959
|
/**
|
|
@@ -904,19 +1089,29 @@ export declare namespace Subscription {
|
|
|
904
1089
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
905
1090
|
*/
|
|
906
1091
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1092
|
+
/**
|
|
1093
|
+
* The institution to use to filter for possible accounts to link.
|
|
1094
|
+
*/
|
|
1095
|
+
institution?: string;
|
|
907
1096
|
}
|
|
908
1097
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
909
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
1098
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
910
1099
|
namespace Filters {
|
|
911
1100
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
912
1101
|
}
|
|
913
1102
|
}
|
|
914
1103
|
}
|
|
1104
|
+
namespace WechatPay {
|
|
1105
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
|
|
1106
|
+
}
|
|
915
1107
|
}
|
|
916
1108
|
}
|
|
917
1109
|
namespace PendingInvoiceItemInterval {
|
|
918
1110
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
919
1111
|
}
|
|
1112
|
+
namespace Prebilling {
|
|
1113
|
+
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
1114
|
+
}
|
|
920
1115
|
namespace StatusDetails {
|
|
921
1116
|
interface Paused {
|
|
922
1117
|
/**
|
|
@@ -979,6 +1174,10 @@ export interface SubscriptionCreateParams {
|
|
|
979
1174
|
* 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.
|
|
980
1175
|
*/
|
|
981
1176
|
backdate_start_date?: number;
|
|
1177
|
+
/**
|
|
1178
|
+
* 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.
|
|
1179
|
+
*/
|
|
1180
|
+
billing_cadence?: string;
|
|
982
1181
|
/**
|
|
983
1182
|
* 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.
|
|
984
1183
|
*/
|
|
@@ -987,6 +1186,10 @@ export interface SubscriptionCreateParams {
|
|
|
987
1186
|
* Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurrence of the day_of_month at the hour, minute, and second UTC.
|
|
988
1187
|
*/
|
|
989
1188
|
billing_cycle_anchor_config?: SubscriptionCreateParams.BillingCycleAnchorConfig;
|
|
1189
|
+
/**
|
|
1190
|
+
* The Billing Group 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.
|
|
1191
|
+
*/
|
|
1192
|
+
billing_group?: string;
|
|
990
1193
|
/**
|
|
991
1194
|
* Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
|
992
1195
|
*/
|
|
@@ -1083,6 +1286,10 @@ export interface SubscriptionCreateParams {
|
|
|
1083
1286
|
* 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.
|
|
1084
1287
|
*/
|
|
1085
1288
|
pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
|
|
1289
|
+
/**
|
|
1290
|
+
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
1291
|
+
*/
|
|
1292
|
+
prebilling?: SubscriptionCreateParams.Prebilling;
|
|
1086
1293
|
/**
|
|
1087
1294
|
* 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`.
|
|
1088
1295
|
*/
|
|
@@ -1220,10 +1427,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1220
1427
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1221
1428
|
*/
|
|
1222
1429
|
discount?: string;
|
|
1430
|
+
/**
|
|
1431
|
+
* Details to determine how long the discount should be applied for.
|
|
1432
|
+
*/
|
|
1433
|
+
discount_end?: Discount.DiscountEnd;
|
|
1223
1434
|
/**
|
|
1224
1435
|
* ID of the promotion code to create a new discount for.
|
|
1225
1436
|
*/
|
|
1226
1437
|
promotion_code?: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* Settings for discount application including service period anchoring.
|
|
1440
|
+
*/
|
|
1441
|
+
settings?: Discount.Settings;
|
|
1227
1442
|
}
|
|
1228
1443
|
interface InvoiceSettings {
|
|
1229
1444
|
/**
|
|
@@ -1284,9 +1499,17 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1284
1499
|
* 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.
|
|
1285
1500
|
*/
|
|
1286
1501
|
tax_rates?: Emptyable<Array<string>>;
|
|
1502
|
+
/**
|
|
1503
|
+
* Define options to configure the trial on the subscription item.
|
|
1504
|
+
*/
|
|
1505
|
+
trial?: Item.Trial;
|
|
1287
1506
|
}
|
|
1288
1507
|
type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete' | OtherString;
|
|
1289
1508
|
interface PaymentSettings {
|
|
1509
|
+
/**
|
|
1510
|
+
* The ID of the mandate to use for the subscription's default payment method.
|
|
1511
|
+
*/
|
|
1512
|
+
mandate?: string;
|
|
1290
1513
|
/**
|
|
1291
1514
|
* Payment-method-specific configuration to provide to invoices created by the subscription.
|
|
1292
1515
|
*/
|
|
@@ -1310,6 +1533,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1310
1533
|
*/
|
|
1311
1534
|
interval_count?: number;
|
|
1312
1535
|
}
|
|
1536
|
+
interface Prebilling {
|
|
1537
|
+
/**
|
|
1538
|
+
* This is used to determine the number of billing cycles to prebill.
|
|
1539
|
+
*/
|
|
1540
|
+
iterations: number;
|
|
1541
|
+
/**
|
|
1542
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
1543
|
+
*/
|
|
1544
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
1545
|
+
}
|
|
1313
1546
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
1314
1547
|
interface TransferData {
|
|
1315
1548
|
/**
|
|
@@ -1337,6 +1570,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1337
1570
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1338
1571
|
*/
|
|
1339
1572
|
discount?: string;
|
|
1573
|
+
/**
|
|
1574
|
+
* Details to determine how long the discount should be applied for.
|
|
1575
|
+
*/
|
|
1576
|
+
discount_end?: Discount.DiscountEnd;
|
|
1340
1577
|
/**
|
|
1341
1578
|
* ID of the promotion code to create a new discount for.
|
|
1342
1579
|
*/
|
|
@@ -1374,6 +1611,38 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1374
1611
|
*/
|
|
1375
1612
|
unit_amount_decimal?: Decimal;
|
|
1376
1613
|
}
|
|
1614
|
+
namespace Discount {
|
|
1615
|
+
interface DiscountEnd {
|
|
1616
|
+
/**
|
|
1617
|
+
* Time span for the redeemed discount.
|
|
1618
|
+
*/
|
|
1619
|
+
duration?: DiscountEnd.Duration;
|
|
1620
|
+
/**
|
|
1621
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1622
|
+
*/
|
|
1623
|
+
timestamp?: number;
|
|
1624
|
+
/**
|
|
1625
|
+
* The type of calculation made to determine when the discount ends.
|
|
1626
|
+
*/
|
|
1627
|
+
type: DiscountEnd.Type;
|
|
1628
|
+
}
|
|
1629
|
+
namespace DiscountEnd {
|
|
1630
|
+
interface Duration {
|
|
1631
|
+
/**
|
|
1632
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1633
|
+
*/
|
|
1634
|
+
interval: Duration.Interval;
|
|
1635
|
+
/**
|
|
1636
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1637
|
+
*/
|
|
1638
|
+
interval_count: number;
|
|
1639
|
+
}
|
|
1640
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1641
|
+
namespace Duration {
|
|
1642
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1377
1646
|
namespace Period {
|
|
1378
1647
|
interface End {
|
|
1379
1648
|
/**
|
|
@@ -1418,7 +1687,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1418
1687
|
type: Liability.Type;
|
|
1419
1688
|
}
|
|
1420
1689
|
namespace Liability {
|
|
1421
|
-
type Type = 'account' | 'self' | OtherString;
|
|
1690
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
1422
1691
|
}
|
|
1423
1692
|
}
|
|
1424
1693
|
namespace BillingMode {
|
|
@@ -1475,6 +1744,86 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1475
1744
|
}
|
|
1476
1745
|
}
|
|
1477
1746
|
}
|
|
1747
|
+
namespace Discount {
|
|
1748
|
+
interface DiscountEnd {
|
|
1749
|
+
/**
|
|
1750
|
+
* Time span for the redeemed discount.
|
|
1751
|
+
*/
|
|
1752
|
+
duration?: DiscountEnd.Duration;
|
|
1753
|
+
/**
|
|
1754
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1755
|
+
*/
|
|
1756
|
+
timestamp?: number;
|
|
1757
|
+
/**
|
|
1758
|
+
* The type of calculation made to determine when the discount ends.
|
|
1759
|
+
*/
|
|
1760
|
+
type: DiscountEnd.Type;
|
|
1761
|
+
}
|
|
1762
|
+
interface Settings {
|
|
1763
|
+
/**
|
|
1764
|
+
* Configures service period cycle anchoring.
|
|
1765
|
+
*/
|
|
1766
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
1767
|
+
/**
|
|
1768
|
+
* 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.
|
|
1769
|
+
*/
|
|
1770
|
+
start_date?: Settings.StartDate;
|
|
1771
|
+
}
|
|
1772
|
+
namespace DiscountEnd {
|
|
1773
|
+
interface Duration {
|
|
1774
|
+
/**
|
|
1775
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1776
|
+
*/
|
|
1777
|
+
interval: Duration.Interval;
|
|
1778
|
+
/**
|
|
1779
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1780
|
+
*/
|
|
1781
|
+
interval_count: number;
|
|
1782
|
+
}
|
|
1783
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1784
|
+
namespace Duration {
|
|
1785
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
namespace Settings {
|
|
1789
|
+
interface ServicePeriodAnchorConfig {
|
|
1790
|
+
/**
|
|
1791
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
1792
|
+
*/
|
|
1793
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
1794
|
+
/**
|
|
1795
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
1796
|
+
*/
|
|
1797
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
1798
|
+
}
|
|
1799
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
1800
|
+
namespace ServicePeriodAnchorConfig {
|
|
1801
|
+
interface Custom {
|
|
1802
|
+
/**
|
|
1803
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
1804
|
+
*/
|
|
1805
|
+
day_of_month: number;
|
|
1806
|
+
/**
|
|
1807
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
1808
|
+
*/
|
|
1809
|
+
hour?: number;
|
|
1810
|
+
/**
|
|
1811
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
1812
|
+
*/
|
|
1813
|
+
minute?: number;
|
|
1814
|
+
/**
|
|
1815
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
1816
|
+
*/
|
|
1817
|
+
month?: number;
|
|
1818
|
+
/**
|
|
1819
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
1820
|
+
*/
|
|
1821
|
+
second?: number;
|
|
1822
|
+
}
|
|
1823
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1478
1827
|
namespace InvoiceSettings {
|
|
1479
1828
|
interface CustomField {
|
|
1480
1829
|
/**
|
|
@@ -1497,7 +1846,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1497
1846
|
type: Issuer.Type;
|
|
1498
1847
|
}
|
|
1499
1848
|
namespace Issuer {
|
|
1500
|
-
type Type = 'account' | 'self' | OtherString;
|
|
1849
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
1501
1850
|
}
|
|
1502
1851
|
}
|
|
1503
1852
|
namespace Item {
|
|
@@ -1508,6 +1857,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1508
1857
|
usage_gte: number;
|
|
1509
1858
|
}
|
|
1510
1859
|
interface CurrentTrial {
|
|
1860
|
+
/**
|
|
1861
|
+
* 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`.
|
|
1862
|
+
*/
|
|
1863
|
+
trial_end?: number;
|
|
1511
1864
|
/**
|
|
1512
1865
|
* The ID of the trial offer to apply to the subscription item.
|
|
1513
1866
|
*/
|
|
@@ -1522,10 +1875,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1522
1875
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1523
1876
|
*/
|
|
1524
1877
|
discount?: string;
|
|
1878
|
+
/**
|
|
1879
|
+
* Details to determine how long the discount should be applied for.
|
|
1880
|
+
*/
|
|
1881
|
+
discount_end?: Discount.DiscountEnd;
|
|
1525
1882
|
/**
|
|
1526
1883
|
* ID of the promotion code to create a new discount for.
|
|
1527
1884
|
*/
|
|
1528
1885
|
promotion_code?: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* Settings for discount application including service period anchoring.
|
|
1888
|
+
*/
|
|
1889
|
+
settings?: Discount.Settings;
|
|
1529
1890
|
}
|
|
1530
1891
|
interface PriceData {
|
|
1531
1892
|
/**
|
|
@@ -1553,6 +1914,96 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1553
1914
|
*/
|
|
1554
1915
|
unit_amount_decimal?: Decimal;
|
|
1555
1916
|
}
|
|
1917
|
+
interface Trial {
|
|
1918
|
+
/**
|
|
1919
|
+
* 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.
|
|
1920
|
+
*/
|
|
1921
|
+
converts_to?: Array<string>;
|
|
1922
|
+
/**
|
|
1923
|
+
* Determines the type of trial for this item.
|
|
1924
|
+
*/
|
|
1925
|
+
type: Trial.Type;
|
|
1926
|
+
}
|
|
1927
|
+
namespace Discount {
|
|
1928
|
+
interface DiscountEnd {
|
|
1929
|
+
/**
|
|
1930
|
+
* Time span for the redeemed discount.
|
|
1931
|
+
*/
|
|
1932
|
+
duration?: DiscountEnd.Duration;
|
|
1933
|
+
/**
|
|
1934
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1935
|
+
*/
|
|
1936
|
+
timestamp?: number;
|
|
1937
|
+
/**
|
|
1938
|
+
* The type of calculation made to determine when the discount ends.
|
|
1939
|
+
*/
|
|
1940
|
+
type: DiscountEnd.Type;
|
|
1941
|
+
}
|
|
1942
|
+
interface Settings {
|
|
1943
|
+
/**
|
|
1944
|
+
* Configures service period cycle anchoring.
|
|
1945
|
+
*/
|
|
1946
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
1947
|
+
/**
|
|
1948
|
+
* 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.
|
|
1949
|
+
*/
|
|
1950
|
+
start_date?: Settings.StartDate;
|
|
1951
|
+
}
|
|
1952
|
+
namespace DiscountEnd {
|
|
1953
|
+
interface Duration {
|
|
1954
|
+
/**
|
|
1955
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1956
|
+
*/
|
|
1957
|
+
interval: Duration.Interval;
|
|
1958
|
+
/**
|
|
1959
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1960
|
+
*/
|
|
1961
|
+
interval_count: number;
|
|
1962
|
+
}
|
|
1963
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1964
|
+
namespace Duration {
|
|
1965
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1966
|
+
}
|
|
1967
|
+
}
|
|
1968
|
+
namespace Settings {
|
|
1969
|
+
interface ServicePeriodAnchorConfig {
|
|
1970
|
+
/**
|
|
1971
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
1972
|
+
*/
|
|
1973
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
1974
|
+
/**
|
|
1975
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
1976
|
+
*/
|
|
1977
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
1978
|
+
}
|
|
1979
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
1980
|
+
namespace ServicePeriodAnchorConfig {
|
|
1981
|
+
interface Custom {
|
|
1982
|
+
/**
|
|
1983
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
1984
|
+
*/
|
|
1985
|
+
day_of_month: number;
|
|
1986
|
+
/**
|
|
1987
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
1988
|
+
*/
|
|
1989
|
+
hour?: number;
|
|
1990
|
+
/**
|
|
1991
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
1992
|
+
*/
|
|
1993
|
+
minute?: number;
|
|
1994
|
+
/**
|
|
1995
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
1996
|
+
*/
|
|
1997
|
+
month?: number;
|
|
1998
|
+
/**
|
|
1999
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
2000
|
+
*/
|
|
2001
|
+
second?: number;
|
|
2002
|
+
}
|
|
2003
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
1556
2007
|
namespace PriceData {
|
|
1557
2008
|
interface Recurring {
|
|
1558
2009
|
/**
|
|
@@ -1569,6 +2020,9 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1569
2020
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1570
2021
|
}
|
|
1571
2022
|
}
|
|
2023
|
+
namespace Trial {
|
|
2024
|
+
type Type = 'free' | 'paid' | OtherString;
|
|
2025
|
+
}
|
|
1572
2026
|
}
|
|
1573
2027
|
namespace PaymentSettings {
|
|
1574
2028
|
interface PaymentMethodOptions {
|
|
@@ -1576,6 +2030,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1576
2030
|
* This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice's PaymentIntent.
|
|
1577
2031
|
*/
|
|
1578
2032
|
acss_debit?: Emptyable<PaymentMethodOptions.AcssDebit>;
|
|
2033
|
+
/**
|
|
2034
|
+
* This sub-hash contains details about the Bacs Direct Debit payment method options to pass to the invoice's PaymentIntent.
|
|
2035
|
+
*/
|
|
2036
|
+
bacs_debit?: Emptyable<PaymentMethodOptions.BacsDebit>;
|
|
1579
2037
|
/**
|
|
1580
2038
|
* This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
|
|
1581
2039
|
*/
|
|
@@ -1584,6 +2042,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1584
2042
|
* This sub-hash contains details about the Billie payment method options to pass to the invoice's PaymentIntent.
|
|
1585
2043
|
*/
|
|
1586
2044
|
billie?: Emptyable<PaymentMethodOptions.Billie>;
|
|
2045
|
+
/**
|
|
2046
|
+
* This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
|
|
2047
|
+
*/
|
|
2048
|
+
bizum?: Emptyable<PaymentMethodOptions.Bizum>;
|
|
1587
2049
|
/**
|
|
1588
2050
|
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
1589
2051
|
*/
|
|
@@ -1592,10 +2054,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1592
2054
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
1593
2055
|
*/
|
|
1594
2056
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
2057
|
+
/**
|
|
2058
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
2059
|
+
*/
|
|
2060
|
+
check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
|
|
1595
2061
|
/**
|
|
1596
2062
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1597
2063
|
*/
|
|
1598
2064
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
2065
|
+
/**
|
|
2066
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2067
|
+
*/
|
|
2068
|
+
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
1599
2069
|
/**
|
|
1600
2070
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
1601
2071
|
*/
|
|
@@ -1620,8 +2090,12 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1620
2090
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
1621
2091
|
*/
|
|
1622
2092
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
2093
|
+
/**
|
|
2094
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
2095
|
+
*/
|
|
2096
|
+
wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
|
|
1623
2097
|
}
|
|
1624
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | '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' | 'sequra' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
2098
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | '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' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'stripe_balance' | 'swish' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | OtherString;
|
|
1625
2099
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
1626
2100
|
namespace PaymentMethodOptions {
|
|
1627
2101
|
interface AcssDebit {
|
|
@@ -1634,6 +2108,13 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1634
2108
|
*/
|
|
1635
2109
|
verification_method?: AcssDebit.VerificationMethod;
|
|
1636
2110
|
}
|
|
2111
|
+
interface BacsDebit {
|
|
2112
|
+
/**
|
|
2113
|
+
* Controls when the funds will be captured from the customer's account.
|
|
2114
|
+
*/
|
|
2115
|
+
debit_behavior?: string;
|
|
2116
|
+
verification_method?: BacsDebit.VerificationMethod;
|
|
2117
|
+
}
|
|
1637
2118
|
interface Bancontact {
|
|
1638
2119
|
/**
|
|
1639
2120
|
* Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
@@ -1646,6 +2127,12 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1646
2127
|
*/
|
|
1647
2128
|
company_details?: Emptyable<Billie.CompanyDetails>;
|
|
1648
2129
|
}
|
|
2130
|
+
interface Bizum {
|
|
2131
|
+
/**
|
|
2132
|
+
* Configuration options for setting up a mandate
|
|
2133
|
+
*/
|
|
2134
|
+
mandate_options?: Bizum.MandateOptions;
|
|
2135
|
+
}
|
|
1649
2136
|
interface Blik {
|
|
1650
2137
|
/**
|
|
1651
2138
|
* Configuration options for setting up a mandate
|
|
@@ -1666,6 +2153,8 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1666
2153
|
*/
|
|
1667
2154
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
1668
2155
|
}
|
|
2156
|
+
interface CheckScan {
|
|
2157
|
+
}
|
|
1669
2158
|
interface CustomerBalance {
|
|
1670
2159
|
/**
|
|
1671
2160
|
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
@@ -1676,6 +2165,8 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1676
2165
|
*/
|
|
1677
2166
|
funding_type?: string;
|
|
1678
2167
|
}
|
|
2168
|
+
interface IdBankTransfer {
|
|
2169
|
+
}
|
|
1679
2170
|
interface Konbini {
|
|
1680
2171
|
}
|
|
1681
2172
|
interface Payto {
|
|
@@ -1695,6 +2186,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1695
2186
|
mandate_options?: Pix.MandateOptions;
|
|
1696
2187
|
}
|
|
1697
2188
|
interface SepaDebit {
|
|
2189
|
+
/**
|
|
2190
|
+
* Controls when the funds will be captured from the customer's account.
|
|
2191
|
+
*/
|
|
2192
|
+
debit_behavior?: string;
|
|
1698
2193
|
}
|
|
1699
2194
|
interface Upi {
|
|
1700
2195
|
/**
|
|
@@ -1712,6 +2207,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1712
2207
|
*/
|
|
1713
2208
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
1714
2209
|
}
|
|
2210
|
+
interface WechatPay {
|
|
2211
|
+
/**
|
|
2212
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
2213
|
+
*/
|
|
2214
|
+
app_id?: string;
|
|
2215
|
+
/**
|
|
2216
|
+
* The client type that the end customer will pay from.
|
|
2217
|
+
*/
|
|
2218
|
+
client?: WechatPay.Client;
|
|
2219
|
+
}
|
|
1715
2220
|
namespace AcssDebit {
|
|
1716
2221
|
interface MandateOptions {
|
|
1717
2222
|
/**
|
|
@@ -1724,6 +2229,9 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1724
2229
|
type TransactionType = 'business' | 'personal' | OtherString;
|
|
1725
2230
|
}
|
|
1726
2231
|
}
|
|
2232
|
+
namespace BacsDebit {
|
|
2233
|
+
type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
|
|
2234
|
+
}
|
|
1727
2235
|
namespace Bancontact {
|
|
1728
2236
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
1729
2237
|
}
|
|
@@ -1754,6 +2262,21 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1754
2262
|
type RegistrationType = 'ch_ein' | 'de_hrb' | 'dk_cvr' | 'es_cif' | 'fi_tunnus' | 'fr_siren' | 'fr_siret' | 'it_rea' | 'nl_kvk' | 'no_org_number' | 'no_pno' | 'se_org_number' | 'se_pno' | 'uk_crn' | OtherString;
|
|
1755
2263
|
}
|
|
1756
2264
|
}
|
|
2265
|
+
namespace Bizum {
|
|
2266
|
+
interface MandateOptions {
|
|
2267
|
+
/**
|
|
2268
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
2269
|
+
*/
|
|
2270
|
+
amount: number;
|
|
2271
|
+
/**
|
|
2272
|
+
* Indicates the mandate amount type.
|
|
2273
|
+
*/
|
|
2274
|
+
amount_type: MandateOptions.AmountType;
|
|
2275
|
+
}
|
|
2276
|
+
namespace MandateOptions {
|
|
2277
|
+
type AmountType = 'fixed' | OtherString;
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
1757
2280
|
namespace Blik {
|
|
1758
2281
|
interface MandateOptions {
|
|
1759
2282
|
/**
|
|
@@ -1887,19 +2410,29 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1887
2410
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1888
2411
|
*/
|
|
1889
2412
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2413
|
+
/**
|
|
2414
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
2415
|
+
*/
|
|
2416
|
+
institution?: string;
|
|
1890
2417
|
}
|
|
1891
2418
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
1892
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2419
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
1893
2420
|
namespace Filters {
|
|
1894
2421
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
1895
2422
|
}
|
|
1896
2423
|
}
|
|
1897
2424
|
}
|
|
2425
|
+
namespace WechatPay {
|
|
2426
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
|
|
2427
|
+
}
|
|
1898
2428
|
}
|
|
1899
2429
|
}
|
|
1900
2430
|
namespace PendingInvoiceItemInterval {
|
|
1901
2431
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1902
2432
|
}
|
|
2433
|
+
namespace Prebilling {
|
|
2434
|
+
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
2435
|
+
}
|
|
1903
2436
|
namespace TrialSettings {
|
|
1904
2437
|
interface EndBehavior {
|
|
1905
2438
|
/**
|
|
@@ -1936,10 +2469,18 @@ export interface SubscriptionUpdateParams {
|
|
|
1936
2469
|
* Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
|
|
1937
2470
|
*/
|
|
1938
2471
|
automatic_tax?: SubscriptionUpdateParams.AutomaticTax;
|
|
2472
|
+
/**
|
|
2473
|
+
* 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.
|
|
2474
|
+
*/
|
|
2475
|
+
billing_cadence?: string;
|
|
1939
2476
|
/**
|
|
1940
2477
|
* Controls how the subscription's billing cycle anchor changes. Set `type` to `now` to reset the billing cycle anchor to the current time (in UTC), or `unchanged` to preserve it. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
|
|
1941
2478
|
*/
|
|
1942
2479
|
billing_cycle_anchor?: SubscriptionUpdateParams.BillingCycleAnchor;
|
|
2480
|
+
/**
|
|
2481
|
+
* The Billing Group 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.
|
|
2482
|
+
*/
|
|
2483
|
+
billing_group?: string;
|
|
1943
2484
|
/**
|
|
1944
2485
|
* An array of billing schedules, which allow you to bill customers in advance for multiple service periods. Requires flexible billing mode and API version 2026-05-27.dahlia or later. Learn more about [prebilling](https://docs.stripe.com/billing/subscriptions/prebilling).
|
|
1945
2486
|
*/
|
|
@@ -2028,6 +2569,14 @@ export interface SubscriptionUpdateParams {
|
|
|
2028
2569
|
* 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.
|
|
2029
2570
|
*/
|
|
2030
2571
|
pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
|
|
2572
|
+
/**
|
|
2573
|
+
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
2574
|
+
*/
|
|
2575
|
+
prebilling?: SubscriptionUpdateParams.Prebilling;
|
|
2576
|
+
/**
|
|
2577
|
+
* Token used to resolve the presentment currency and FX rate applied to this subscription's adaptive pricing.
|
|
2578
|
+
*/
|
|
2579
|
+
pricing_token?: string;
|
|
2031
2580
|
/**
|
|
2032
2581
|
* 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`.
|
|
2033
2582
|
*/
|
|
@@ -2099,6 +2648,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2099
2648
|
liability?: AutomaticTax.Liability;
|
|
2100
2649
|
}
|
|
2101
2650
|
interface BillingCycleAnchor {
|
|
2651
|
+
/**
|
|
2652
|
+
* A Unix timestamp within the inclusive bounds of the subscription's current billing period. For subscriptions with multiple items, it must fall within the intersection of their current billing periods. Only valid when `type` is `timestamp`.
|
|
2653
|
+
*/
|
|
2654
|
+
timestamp?: number;
|
|
2102
2655
|
/**
|
|
2103
2656
|
* Determines how the billing cycle anchor changes when the subscription is updated.
|
|
2104
2657
|
*/
|
|
@@ -2153,10 +2706,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2153
2706
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2154
2707
|
*/
|
|
2155
2708
|
discount?: string;
|
|
2709
|
+
/**
|
|
2710
|
+
* Details to determine how long the discount should be applied for.
|
|
2711
|
+
*/
|
|
2712
|
+
discount_end?: Discount.DiscountEnd;
|
|
2156
2713
|
/**
|
|
2157
2714
|
* ID of the promotion code to create a new discount for.
|
|
2158
2715
|
*/
|
|
2159
2716
|
promotion_code?: string;
|
|
2717
|
+
/**
|
|
2718
|
+
* Settings for discount application including service period anchoring.
|
|
2719
|
+
*/
|
|
2720
|
+
settings?: Discount.Settings;
|
|
2160
2721
|
}
|
|
2161
2722
|
interface InvoiceSettings {
|
|
2162
2723
|
/**
|
|
@@ -2242,6 +2803,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2242
2803
|
}
|
|
2243
2804
|
type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete' | OtherString;
|
|
2244
2805
|
interface PaymentSettings {
|
|
2806
|
+
/**
|
|
2807
|
+
* The ID of the mandate to use for the subscription's default payment method.
|
|
2808
|
+
*/
|
|
2809
|
+
mandate?: string;
|
|
2245
2810
|
/**
|
|
2246
2811
|
* Payment-method-specific configuration to provide to invoices created by the subscription.
|
|
2247
2812
|
*/
|
|
@@ -2265,6 +2830,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2265
2830
|
*/
|
|
2266
2831
|
interval_count?: number;
|
|
2267
2832
|
}
|
|
2833
|
+
interface Prebilling {
|
|
2834
|
+
/**
|
|
2835
|
+
* This is used to determine the number of billing cycles to prebill.
|
|
2836
|
+
*/
|
|
2837
|
+
iterations: number;
|
|
2838
|
+
/**
|
|
2839
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
2840
|
+
*/
|
|
2841
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
2842
|
+
}
|
|
2268
2843
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2269
2844
|
interface TransferData {
|
|
2270
2845
|
/**
|
|
@@ -2292,6 +2867,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2292
2867
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2293
2868
|
*/
|
|
2294
2869
|
discount?: string;
|
|
2870
|
+
/**
|
|
2871
|
+
* Details to determine how long the discount should be applied for.
|
|
2872
|
+
*/
|
|
2873
|
+
discount_end?: Discount.DiscountEnd;
|
|
2295
2874
|
/**
|
|
2296
2875
|
* ID of the promotion code to create a new discount for.
|
|
2297
2876
|
*/
|
|
@@ -2329,6 +2908,38 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2329
2908
|
*/
|
|
2330
2909
|
unit_amount_decimal?: Decimal;
|
|
2331
2910
|
}
|
|
2911
|
+
namespace Discount {
|
|
2912
|
+
interface DiscountEnd {
|
|
2913
|
+
/**
|
|
2914
|
+
* Time span for the redeemed discount.
|
|
2915
|
+
*/
|
|
2916
|
+
duration?: DiscountEnd.Duration;
|
|
2917
|
+
/**
|
|
2918
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2919
|
+
*/
|
|
2920
|
+
timestamp?: number;
|
|
2921
|
+
/**
|
|
2922
|
+
* The type of calculation made to determine when the discount ends.
|
|
2923
|
+
*/
|
|
2924
|
+
type: DiscountEnd.Type;
|
|
2925
|
+
}
|
|
2926
|
+
namespace DiscountEnd {
|
|
2927
|
+
interface Duration {
|
|
2928
|
+
/**
|
|
2929
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2930
|
+
*/
|
|
2931
|
+
interval: Duration.Interval;
|
|
2932
|
+
/**
|
|
2933
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2934
|
+
*/
|
|
2935
|
+
interval_count: number;
|
|
2936
|
+
}
|
|
2937
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2938
|
+
namespace Duration {
|
|
2939
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2940
|
+
}
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2332
2943
|
namespace Period {
|
|
2333
2944
|
interface End {
|
|
2334
2945
|
/**
|
|
@@ -2373,11 +2984,11 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2373
2984
|
type: Liability.Type;
|
|
2374
2985
|
}
|
|
2375
2986
|
namespace Liability {
|
|
2376
|
-
type Type = 'account' | 'self' | OtherString;
|
|
2987
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
2377
2988
|
}
|
|
2378
2989
|
}
|
|
2379
2990
|
namespace BillingCycleAnchor {
|
|
2380
|
-
type Type = 'now' | 'unchanged' | OtherString;
|
|
2991
|
+
type Type = 'now' | 'timestamp' | 'unchanged' | OtherString;
|
|
2381
2992
|
}
|
|
2382
2993
|
namespace BillingSchedule {
|
|
2383
2994
|
interface AppliesTo {
|
|
@@ -2424,6 +3035,86 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2424
3035
|
namespace CancellationDetails {
|
|
2425
3036
|
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused' | OtherString;
|
|
2426
3037
|
}
|
|
3038
|
+
namespace Discount {
|
|
3039
|
+
interface DiscountEnd {
|
|
3040
|
+
/**
|
|
3041
|
+
* Time span for the redeemed discount.
|
|
3042
|
+
*/
|
|
3043
|
+
duration?: DiscountEnd.Duration;
|
|
3044
|
+
/**
|
|
3045
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3046
|
+
*/
|
|
3047
|
+
timestamp?: number;
|
|
3048
|
+
/**
|
|
3049
|
+
* The type of calculation made to determine when the discount ends.
|
|
3050
|
+
*/
|
|
3051
|
+
type: DiscountEnd.Type;
|
|
3052
|
+
}
|
|
3053
|
+
interface Settings {
|
|
3054
|
+
/**
|
|
3055
|
+
* Configures service period cycle anchoring.
|
|
3056
|
+
*/
|
|
3057
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
3058
|
+
/**
|
|
3059
|
+
* 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.
|
|
3060
|
+
*/
|
|
3061
|
+
start_date?: Settings.StartDate;
|
|
3062
|
+
}
|
|
3063
|
+
namespace DiscountEnd {
|
|
3064
|
+
interface Duration {
|
|
3065
|
+
/**
|
|
3066
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3067
|
+
*/
|
|
3068
|
+
interval: Duration.Interval;
|
|
3069
|
+
/**
|
|
3070
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3071
|
+
*/
|
|
3072
|
+
interval_count: number;
|
|
3073
|
+
}
|
|
3074
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3075
|
+
namespace Duration {
|
|
3076
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3077
|
+
}
|
|
3078
|
+
}
|
|
3079
|
+
namespace Settings {
|
|
3080
|
+
interface ServicePeriodAnchorConfig {
|
|
3081
|
+
/**
|
|
3082
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
3083
|
+
*/
|
|
3084
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
3085
|
+
/**
|
|
3086
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
3087
|
+
*/
|
|
3088
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
3089
|
+
}
|
|
3090
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
3091
|
+
namespace ServicePeriodAnchorConfig {
|
|
3092
|
+
interface Custom {
|
|
3093
|
+
/**
|
|
3094
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3095
|
+
*/
|
|
3096
|
+
day_of_month: number;
|
|
3097
|
+
/**
|
|
3098
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3099
|
+
*/
|
|
3100
|
+
hour?: number;
|
|
3101
|
+
/**
|
|
3102
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3103
|
+
*/
|
|
3104
|
+
minute?: number;
|
|
3105
|
+
/**
|
|
3106
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3107
|
+
*/
|
|
3108
|
+
month?: number;
|
|
3109
|
+
/**
|
|
3110
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3111
|
+
*/
|
|
3112
|
+
second?: number;
|
|
3113
|
+
}
|
|
3114
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
3115
|
+
}
|
|
3116
|
+
}
|
|
3117
|
+
}
|
|
2427
3118
|
namespace InvoiceSettings {
|
|
2428
3119
|
interface CustomField {
|
|
2429
3120
|
/**
|
|
@@ -2446,7 +3137,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2446
3137
|
type: Issuer.Type;
|
|
2447
3138
|
}
|
|
2448
3139
|
namespace Issuer {
|
|
2449
|
-
type Type = 'account' | 'self' | OtherString;
|
|
3140
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
2450
3141
|
}
|
|
2451
3142
|
}
|
|
2452
3143
|
namespace Item {
|
|
@@ -2457,6 +3148,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2457
3148
|
usage_gte: number;
|
|
2458
3149
|
}
|
|
2459
3150
|
interface CurrentTrial {
|
|
3151
|
+
/**
|
|
3152
|
+
* 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`.
|
|
3153
|
+
*/
|
|
3154
|
+
trial_end?: number;
|
|
2460
3155
|
/**
|
|
2461
3156
|
* The ID of the trial offer to apply to the subscription item.
|
|
2462
3157
|
*/
|
|
@@ -2471,10 +3166,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2471
3166
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2472
3167
|
*/
|
|
2473
3168
|
discount?: string;
|
|
3169
|
+
/**
|
|
3170
|
+
* Details to determine how long the discount should be applied for.
|
|
3171
|
+
*/
|
|
3172
|
+
discount_end?: Discount.DiscountEnd;
|
|
2474
3173
|
/**
|
|
2475
3174
|
* ID of the promotion code to create a new discount for.
|
|
2476
3175
|
*/
|
|
2477
3176
|
promotion_code?: string;
|
|
3177
|
+
/**
|
|
3178
|
+
* Settings for discount application including service period anchoring.
|
|
3179
|
+
*/
|
|
3180
|
+
settings?: Discount.Settings;
|
|
2478
3181
|
}
|
|
2479
3182
|
interface PriceData {
|
|
2480
3183
|
/**
|
|
@@ -2502,6 +3205,86 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2502
3205
|
*/
|
|
2503
3206
|
unit_amount_decimal?: Decimal;
|
|
2504
3207
|
}
|
|
3208
|
+
namespace Discount {
|
|
3209
|
+
interface DiscountEnd {
|
|
3210
|
+
/**
|
|
3211
|
+
* Time span for the redeemed discount.
|
|
3212
|
+
*/
|
|
3213
|
+
duration?: DiscountEnd.Duration;
|
|
3214
|
+
/**
|
|
3215
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3216
|
+
*/
|
|
3217
|
+
timestamp?: number;
|
|
3218
|
+
/**
|
|
3219
|
+
* The type of calculation made to determine when the discount ends.
|
|
3220
|
+
*/
|
|
3221
|
+
type: DiscountEnd.Type;
|
|
3222
|
+
}
|
|
3223
|
+
interface Settings {
|
|
3224
|
+
/**
|
|
3225
|
+
* Configures service period cycle anchoring.
|
|
3226
|
+
*/
|
|
3227
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
3228
|
+
/**
|
|
3229
|
+
* 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.
|
|
3230
|
+
*/
|
|
3231
|
+
start_date?: Settings.StartDate;
|
|
3232
|
+
}
|
|
3233
|
+
namespace DiscountEnd {
|
|
3234
|
+
interface Duration {
|
|
3235
|
+
/**
|
|
3236
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3237
|
+
*/
|
|
3238
|
+
interval: Duration.Interval;
|
|
3239
|
+
/**
|
|
3240
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3241
|
+
*/
|
|
3242
|
+
interval_count: number;
|
|
3243
|
+
}
|
|
3244
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3245
|
+
namespace Duration {
|
|
3246
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3247
|
+
}
|
|
3248
|
+
}
|
|
3249
|
+
namespace Settings {
|
|
3250
|
+
interface ServicePeriodAnchorConfig {
|
|
3251
|
+
/**
|
|
3252
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
3253
|
+
*/
|
|
3254
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
3255
|
+
/**
|
|
3256
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
3257
|
+
*/
|
|
3258
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
3259
|
+
}
|
|
3260
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
3261
|
+
namespace ServicePeriodAnchorConfig {
|
|
3262
|
+
interface Custom {
|
|
3263
|
+
/**
|
|
3264
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3265
|
+
*/
|
|
3266
|
+
day_of_month: number;
|
|
3267
|
+
/**
|
|
3268
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3269
|
+
*/
|
|
3270
|
+
hour?: number;
|
|
3271
|
+
/**
|
|
3272
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3273
|
+
*/
|
|
3274
|
+
minute?: number;
|
|
3275
|
+
/**
|
|
3276
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3277
|
+
*/
|
|
3278
|
+
month?: number;
|
|
3279
|
+
/**
|
|
3280
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3281
|
+
*/
|
|
3282
|
+
second?: number;
|
|
3283
|
+
}
|
|
3284
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
2505
3288
|
namespace PriceData {
|
|
2506
3289
|
interface Recurring {
|
|
2507
3290
|
/**
|
|
@@ -2528,6 +3311,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2528
3311
|
* This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice's PaymentIntent.
|
|
2529
3312
|
*/
|
|
2530
3313
|
acss_debit?: Emptyable<PaymentMethodOptions.AcssDebit>;
|
|
3314
|
+
/**
|
|
3315
|
+
* This sub-hash contains details about the Bacs Direct Debit payment method options to pass to the invoice's PaymentIntent.
|
|
3316
|
+
*/
|
|
3317
|
+
bacs_debit?: Emptyable<PaymentMethodOptions.BacsDebit>;
|
|
2531
3318
|
/**
|
|
2532
3319
|
* This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
|
|
2533
3320
|
*/
|
|
@@ -2536,6 +3323,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2536
3323
|
* This sub-hash contains details about the Billie payment method options to pass to the invoice's PaymentIntent.
|
|
2537
3324
|
*/
|
|
2538
3325
|
billie?: Emptyable<PaymentMethodOptions.Billie>;
|
|
3326
|
+
/**
|
|
3327
|
+
* This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
|
|
3328
|
+
*/
|
|
3329
|
+
bizum?: Emptyable<PaymentMethodOptions.Bizum>;
|
|
2539
3330
|
/**
|
|
2540
3331
|
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
2541
3332
|
*/
|
|
@@ -2544,10 +3335,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2544
3335
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
2545
3336
|
*/
|
|
2546
3337
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
3338
|
+
/**
|
|
3339
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
3340
|
+
*/
|
|
3341
|
+
check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
|
|
2547
3342
|
/**
|
|
2548
3343
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2549
3344
|
*/
|
|
2550
3345
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
3346
|
+
/**
|
|
3347
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
3348
|
+
*/
|
|
3349
|
+
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
2551
3350
|
/**
|
|
2552
3351
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
2553
3352
|
*/
|
|
@@ -2572,8 +3371,12 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2572
3371
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
2573
3372
|
*/
|
|
2574
3373
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
3374
|
+
/**
|
|
3375
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
3376
|
+
*/
|
|
3377
|
+
wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
|
|
2575
3378
|
}
|
|
2576
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | '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' | 'sequra' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
3379
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | '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' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'stripe_balance' | 'swish' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | OtherString;
|
|
2577
3380
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
2578
3381
|
namespace PaymentMethodOptions {
|
|
2579
3382
|
interface AcssDebit {
|
|
@@ -2586,6 +3389,13 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2586
3389
|
*/
|
|
2587
3390
|
verification_method?: AcssDebit.VerificationMethod;
|
|
2588
3391
|
}
|
|
3392
|
+
interface BacsDebit {
|
|
3393
|
+
/**
|
|
3394
|
+
* Controls when the funds will be captured from the customer's account.
|
|
3395
|
+
*/
|
|
3396
|
+
debit_behavior?: string;
|
|
3397
|
+
verification_method?: BacsDebit.VerificationMethod;
|
|
3398
|
+
}
|
|
2589
3399
|
interface Bancontact {
|
|
2590
3400
|
/**
|
|
2591
3401
|
* Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
@@ -2598,6 +3408,12 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2598
3408
|
*/
|
|
2599
3409
|
company_details?: Emptyable<Billie.CompanyDetails>;
|
|
2600
3410
|
}
|
|
3411
|
+
interface Bizum {
|
|
3412
|
+
/**
|
|
3413
|
+
* Configuration options for setting up a mandate
|
|
3414
|
+
*/
|
|
3415
|
+
mandate_options?: Bizum.MandateOptions;
|
|
3416
|
+
}
|
|
2601
3417
|
interface Blik {
|
|
2602
3418
|
/**
|
|
2603
3419
|
* Configuration options for setting up a mandate
|
|
@@ -2618,6 +3434,8 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2618
3434
|
*/
|
|
2619
3435
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
2620
3436
|
}
|
|
3437
|
+
interface CheckScan {
|
|
3438
|
+
}
|
|
2621
3439
|
interface CustomerBalance {
|
|
2622
3440
|
/**
|
|
2623
3441
|
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
@@ -2628,6 +3446,8 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2628
3446
|
*/
|
|
2629
3447
|
funding_type?: string;
|
|
2630
3448
|
}
|
|
3449
|
+
interface IdBankTransfer {
|
|
3450
|
+
}
|
|
2631
3451
|
interface Konbini {
|
|
2632
3452
|
}
|
|
2633
3453
|
interface Payto {
|
|
@@ -2647,6 +3467,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2647
3467
|
mandate_options?: Pix.MandateOptions;
|
|
2648
3468
|
}
|
|
2649
3469
|
interface SepaDebit {
|
|
3470
|
+
/**
|
|
3471
|
+
* Controls when the funds will be captured from the customer's account.
|
|
3472
|
+
*/
|
|
3473
|
+
debit_behavior?: string;
|
|
2650
3474
|
}
|
|
2651
3475
|
interface Upi {
|
|
2652
3476
|
/**
|
|
@@ -2664,6 +3488,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2664
3488
|
*/
|
|
2665
3489
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
2666
3490
|
}
|
|
3491
|
+
interface WechatPay {
|
|
3492
|
+
/**
|
|
3493
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
3494
|
+
*/
|
|
3495
|
+
app_id?: string;
|
|
3496
|
+
/**
|
|
3497
|
+
* The client type that the end customer will pay from.
|
|
3498
|
+
*/
|
|
3499
|
+
client?: WechatPay.Client;
|
|
3500
|
+
}
|
|
2667
3501
|
namespace AcssDebit {
|
|
2668
3502
|
interface MandateOptions {
|
|
2669
3503
|
/**
|
|
@@ -2676,6 +3510,9 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2676
3510
|
type TransactionType = 'business' | 'personal' | OtherString;
|
|
2677
3511
|
}
|
|
2678
3512
|
}
|
|
3513
|
+
namespace BacsDebit {
|
|
3514
|
+
type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
|
|
3515
|
+
}
|
|
2679
3516
|
namespace Bancontact {
|
|
2680
3517
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
2681
3518
|
}
|
|
@@ -2706,6 +3543,21 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2706
3543
|
type RegistrationType = 'ch_ein' | 'de_hrb' | 'dk_cvr' | 'es_cif' | 'fi_tunnus' | 'fr_siren' | 'fr_siret' | 'it_rea' | 'nl_kvk' | 'no_org_number' | 'no_pno' | 'se_org_number' | 'se_pno' | 'uk_crn' | OtherString;
|
|
2707
3544
|
}
|
|
2708
3545
|
}
|
|
3546
|
+
namespace Bizum {
|
|
3547
|
+
interface MandateOptions {
|
|
3548
|
+
/**
|
|
3549
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
3550
|
+
*/
|
|
3551
|
+
amount: number;
|
|
3552
|
+
/**
|
|
3553
|
+
* Indicates the mandate amount type.
|
|
3554
|
+
*/
|
|
3555
|
+
amount_type: MandateOptions.AmountType;
|
|
3556
|
+
}
|
|
3557
|
+
namespace MandateOptions {
|
|
3558
|
+
type AmountType = 'fixed' | OtherString;
|
|
3559
|
+
}
|
|
3560
|
+
}
|
|
2709
3561
|
namespace Blik {
|
|
2710
3562
|
interface MandateOptions {
|
|
2711
3563
|
/**
|
|
@@ -2839,19 +3691,29 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2839
3691
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2840
3692
|
*/
|
|
2841
3693
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3694
|
+
/**
|
|
3695
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
3696
|
+
*/
|
|
3697
|
+
institution?: string;
|
|
2842
3698
|
}
|
|
2843
3699
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
2844
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
3700
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
2845
3701
|
namespace Filters {
|
|
2846
3702
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2847
3703
|
}
|
|
2848
3704
|
}
|
|
2849
3705
|
}
|
|
3706
|
+
namespace WechatPay {
|
|
3707
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
|
|
3708
|
+
}
|
|
2850
3709
|
}
|
|
2851
3710
|
}
|
|
2852
3711
|
namespace PendingInvoiceItemInterval {
|
|
2853
3712
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2854
3713
|
}
|
|
3714
|
+
namespace Prebilling {
|
|
3715
|
+
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
3716
|
+
}
|
|
2855
3717
|
namespace TrialSettings {
|
|
2856
3718
|
interface EndBehavior {
|
|
2857
3719
|
/**
|
|
@@ -2874,6 +3736,14 @@ export interface SubscriptionListParams extends PaginationParams {
|
|
|
2874
3736
|
* Filter subscriptions by their automatic tax settings.
|
|
2875
3737
|
*/
|
|
2876
3738
|
automatic_tax?: SubscriptionListParams.AutomaticTax;
|
|
3739
|
+
/**
|
|
3740
|
+
* 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.
|
|
3741
|
+
*/
|
|
3742
|
+
billing_cadence?: string;
|
|
3743
|
+
/**
|
|
3744
|
+
* Filter for subscriptions that have the specified billing group.
|
|
3745
|
+
*/
|
|
3746
|
+
billing_group?: string;
|
|
2877
3747
|
/**
|
|
2878
3748
|
* The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
|
|
2879
3749
|
*/
|
|
@@ -2929,6 +3799,16 @@ export declare namespace SubscriptionListParams {
|
|
|
2929
3799
|
type CollectionMethod = 'charge_automatically' | 'send_invoice' | OtherString;
|
|
2930
3800
|
type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
|
|
2931
3801
|
}
|
|
3802
|
+
export interface SubscriptionAttachCadenceParams {
|
|
3803
|
+
/**
|
|
3804
|
+
* 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.
|
|
3805
|
+
*/
|
|
3806
|
+
billing_cadence: string;
|
|
3807
|
+
/**
|
|
3808
|
+
* Specifies which fields in the response should be expanded.
|
|
3809
|
+
*/
|
|
3810
|
+
expand?: Array<string>;
|
|
3811
|
+
}
|
|
2932
3812
|
export interface SubscriptionCancelParams {
|
|
2933
3813
|
/**
|
|
2934
3814
|
* Details about why this subscription was cancelled
|
|
@@ -3077,6 +3957,10 @@ export interface SubscriptionResumeParams {
|
|
|
3077
3957
|
}
|
|
3078
3958
|
export declare namespace SubscriptionResumeParams {
|
|
3079
3959
|
interface BillingCycleAnchor {
|
|
3960
|
+
/**
|
|
3961
|
+
* A Unix timestamp within the inclusive bounds of the subscription's current billing period. For subscriptions with multiple items, it must fall within the intersection of their current billing periods. Only valid when `type` is `timestamp`.
|
|
3962
|
+
*/
|
|
3963
|
+
timestamp?: number;
|
|
3080
3964
|
/**
|
|
3081
3965
|
* Determines how the billing cycle anchor changes when the subscription resumes.
|
|
3082
3966
|
*/
|
|
@@ -3085,7 +3969,7 @@ export declare namespace SubscriptionResumeParams {
|
|
|
3085
3969
|
type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success' | OtherString;
|
|
3086
3970
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
3087
3971
|
namespace BillingCycleAnchor {
|
|
3088
|
-
type Type = 'now' | 'unchanged' | OtherString;
|
|
3972
|
+
type Type = 'now' | 'timestamp' | 'unchanged' | OtherString;
|
|
3089
3973
|
}
|
|
3090
3974
|
}
|
|
3091
3975
|
export interface SubscriptionSearchParams {
|
|
@@ -3106,3 +3990,15 @@ export interface SubscriptionSearchParams {
|
|
|
3106
3990
|
*/
|
|
3107
3991
|
page?: string;
|
|
3108
3992
|
}
|
|
3993
|
+
export interface SubscriptionSerializeBatchCancelParams {
|
|
3994
|
+
}
|
|
3995
|
+
export interface SubscriptionSerializeBatchCreateParams {
|
|
3996
|
+
}
|
|
3997
|
+
export interface SubscriptionSerializeBatchMigrateParams {
|
|
3998
|
+
}
|
|
3999
|
+
export interface SubscriptionSerializeBatchPauseParams {
|
|
4000
|
+
}
|
|
4001
|
+
export interface SubscriptionSerializeBatchResumeParams {
|
|
4002
|
+
}
|
|
4003
|
+
export interface SubscriptionSerializeBatchUpdateParams {
|
|
4004
|
+
}
|