stripe 22.5.0 → 22.6.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 +3251 -12
- package/OPENAPI_VERSION +1 -1
- package/README.md +51 -60
- package/VERSION +1 -1
- package/cjs/Error.d.ts +61 -0
- package/cjs/Error.js +143 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +1 -1
- package/cjs/RequestSender.js +14 -5
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +505 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- package/cjs/Types.d.ts +9 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +8 -4
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +564 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/AccountSignals.d.ts +111 -0
- package/cjs/resources/AccountSignals.js +4 -0
- package/cjs/resources/AccountSignals.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +1143 -85
- package/cjs/resources/Accounts.js +47 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +28 -1
- package/cjs/resources/Balance.d.ts +134 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BalanceTransactions.d.ts +2 -2
- 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 +4 -4
- package/cjs/resources/Billing/AlertNotifications.d.ts +75 -0
- package/cjs/resources/Billing/AlertNotifications.js +4 -0
- package/cjs/resources/Billing/AlertNotifications.js.map +1 -0
- package/cjs/resources/Billing/AlertRecovereds.d.ts +56 -0
- package/cjs/resources/Billing/AlertRecovereds.js +4 -0
- package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
- package/cjs/resources/Billing/AlertTriggereds.d.ts +55 -1
- package/cjs/resources/Billing/Alerts.d.ts +448 -5
- package/cjs/resources/Billing/Alerts.js +329 -5
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +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/FeedbackOptions.d.ts +32 -0
- package/cjs/resources/Billing/FeedbackOptions.js +4 -0
- package/cjs/resources/Billing/FeedbackOptions.js.map +1 -0
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/cjs/resources/Billing/Meters.d.ts +31 -0
- package/cjs/resources/Billing/index.d.ts +13 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Configurations.d.ts +14 -9
- package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
- package/cjs/resources/BillingPortal/Sessions.d.ts +17 -1
- package/cjs/resources/Capabilities.d.ts +25 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +102 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +29 -1
- package/cjs/resources/CashBalances.d.ts +2 -1
- package/cjs/resources/Charges.d.ts +3382 -85
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +1224 -43
- package/cjs/resources/Checkout/Sessions.js +115 -0
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +1 -0
- package/cjs/resources/Climate/Orders.d.ts +1 -1
- package/cjs/resources/Climate/Products.d.ts +1 -1
- package/cjs/resources/ConfirmationTokens.d.ts +153 -8
- 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 +17 -3
- package/cjs/resources/CreditNotes.d.ts +12 -6
- 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/CustomerSessions.d.ts +94 -0
- package/cjs/resources/CustomerSessions.js +13 -0
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/Customers.d.ts +126 -12
- package/cjs/resources/Customers.js +195 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/Orders.d.ts +159 -0
- package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
- package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1424 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
- package/cjs/resources/DelegatedCheckout/index.js +15 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +19 -0
- package/cjs/resources/Disputes.d.ts +43 -0
- package/cjs/resources/Disputes.js +14 -0
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +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/Files.d.ts +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/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 +128 -9
- package/cjs/resources/FinancialConnections/Transactions.d.ts +76 -0
- package/cjs/resources/FinancialConnections/index.d.ts +21 -9
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +212 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/GiftCardOperations.d.ts +249 -0
- package/cjs/resources/GiftCardOperations.js +15 -0
- package/cjs/resources/GiftCardOperations.js.map +1 -0
- package/cjs/resources/GiftCards.d.ts +181 -0
- package/cjs/resources/GiftCards.js +51 -0
- package/cjs/resources/GiftCards.js.map +1 -0
- package/cjs/resources/Identity/BlocklistEntries.d.ts +155 -0
- package/cjs/resources/Identity/BlocklistEntries.js +54 -0
- package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
- package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
- package/cjs/resources/Identity/index.d.ts +18 -10
- package/cjs/resources/Identity/index.js +2 -0
- package/cjs/resources/Identity/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +226 -8
- package/cjs/resources/InvoiceItems.js +41 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +175 -5
- package/cjs/resources/InvoicePayments.d.ts +1 -1
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +15 -3
- package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +2211 -61
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +730 -1
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +40 -22
- package/cjs/resources/Issuing/Cards.d.ts +97 -15
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +53 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +246 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Programs.d.ts +95 -0
- package/cjs/resources/Issuing/Programs.js +35 -0
- package/cjs/resources/Issuing/Programs.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +83 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Tokens.d.ts +26 -0
- package/cjs/resources/Issuing/Transactions.d.ts +233 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +56 -22
- package/cjs/resources/Issuing/index.js +8 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +49 -4
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/cjs/resources/Orchestration/index.d.ts +12 -0
- package/cjs/resources/Orchestration/index.js +13 -0
- package/cjs/resources/Orchestration/index.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4773 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +696 -19
- package/cjs/resources/PaymentAttemptRecords.js +48 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +52 -0
- package/cjs/resources/PaymentIntents.d.ts +17309 -3551
- package/cjs/resources/PaymentIntents.js +46 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +84 -22
- package/cjs/resources/PaymentLocationCapabilities.d.ts +123 -0
- package/cjs/resources/PaymentLocationCapabilities.js +29 -0
- package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
- package/cjs/resources/PaymentLocations.d.ts +178 -0
- package/cjs/resources/PaymentLocations.js +41 -0
- package/cjs/resources/PaymentLocations.js.map +1 -0
- package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
- package/cjs/resources/PaymentMethodBalances.js +4 -0
- package/cjs/resources/PaymentMethodBalances.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +420 -0
- package/cjs/resources/PaymentMethods.d.ts +311 -14
- 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 +754 -37
- package/cjs/resources/PaymentRecords.js +18 -0
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Payouts.d.ts +3 -3
- package/cjs/resources/Persons.d.ts +25 -2
- package/cjs/resources/Plans.d.ts +21 -5
- package/cjs/resources/Prices.d.ts +91 -15
- package/cjs/resources/Prices.js +27 -0
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +158 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +29 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +14 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +205 -7
- 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 +1210 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +1087 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +3558 -264
- 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/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 +116 -2
- 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/ValueLists.d.ts +2 -2
- package/cjs/resources/Radar/index.d.ts +36 -16
- package/cjs/resources/Radar/index.js +6 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +41 -2
- package/cjs/resources/Refunds.js +27 -0
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reporting/ReportRuns.d.ts +3 -3
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +16 -0
- package/cjs/resources/Reserve/Plans.js +11 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +17 -6
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/Reviews.d.ts +2 -2
- 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 +42 -8
- package/cjs/resources/SetupAttempts.js.map +1 -1
- package/cjs/resources/SetupIntents.d.ts +667 -51
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +425 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +344 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/ShippingRates.d.ts +6 -6
- package/cjs/resources/SourceTransactions.d.ts +2 -1
- package/cjs/resources/Sources.d.ts +43 -15
- package/cjs/resources/SubscriptionItems.d.ts +273 -8
- package/cjs/resources/SubscriptionItems.js +41 -0
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +2463 -90
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +1011 -43
- package/cjs/resources/Subscriptions.js +290 -1
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/cjs/resources/Tax/Calculations.d.ts +49 -7
- package/cjs/resources/Tax/Forms.d.ts +228 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Locations.d.ts +112 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +441 -2
- package/cjs/resources/Tax/Registrations.js +27 -0
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +10 -2
- package/cjs/resources/Tax/Settings.js +13 -0
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +11 -3
- package/cjs/resources/Tax/Transactions.js +13 -0
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +31 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +16 -1
- package/cjs/resources/TaxFunds.d.ts +174 -0
- package/cjs/resources/TaxFunds.js +23 -0
- package/cjs/resources/TaxFunds.js.map +1 -0
- package/cjs/resources/TaxIds.d.ts +9 -3
- package/cjs/resources/TaxIds.js +13 -0
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.d.ts +13 -1
- package/cjs/resources/TaxRates.js +27 -0
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +211 -6
- 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 +104 -5
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +115 -13
- 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 +121 -11
- package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +38 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +15 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +14 -6
- package/cjs/resources/TestHelpers/index.js +12 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +84 -2
- package/cjs/resources/Topups.d.ts +4 -4
- package/cjs/resources/Topups.js.map +1 -1
- package/cjs/resources/Transfers.d.ts +14 -2
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/TransitBalances.d.ts +25 -0
- package/cjs/resources/TransitBalances.js +4 -0
- package/cjs/resources/TransitBalances.js.map +1 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +84 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +1011 -0
- package/cjs/resources/V2/Billing/Cadences.js +264 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +237 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +776 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +47 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +29 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js +15 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts.d.ts +1512 -0
- package/cjs/resources/V2/Billing/Contracts.js +331 -0
- package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/cjs/resources/V2/Billing/IntentActions.d.ts +603 -0
- package/cjs/resources/V2/Billing/IntentActions.js +4 -0
- package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents.d.ts +1261 -0
- package/cjs/resources/V2/Billing/Intents.js +87 -0
- package/cjs/resources/V2/Billing/Intents.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees.d.ts +360 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
- package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/cjs/resources/V2/Billing/LicensedItems.d.ts +170 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
- package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +218 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
- package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/cjs/resources/V2/Billing/OneTimeItems.d.ts +170 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +620 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans.d.ts +169 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
- package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardRates.d.ts +111 -0
- package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +215 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards.d.ts +336 -0
- package/cjs/resources/V2/Billing/RateCards.js +76 -0
- package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +510 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
- package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +175 -6
- package/cjs/resources/V2/Billing/index.js +32 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountEvaluations.d.ts +159 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +220 -2
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +16131 -1984
- package/cjs/resources/V2/Core/Accounts.js +10379 -53
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +331 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +360 -0
- package/cjs/resources/V2/Core/BatchJobs.js +225 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/cjs/resources/V2/Core/ConnectionSessions.d.ts +86 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +8083 -223
- package/cjs/resources/V2/Core/FeeBatches.d.ts +234 -0
- package/cjs/resources/V2/Core/FeeBatches.js +23 -0
- package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
- package/cjs/resources/V2/Core/FeeEntries.d.ts +200 -0
- package/cjs/resources/V2/Core/FeeEntries.js +23 -0
- package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +423 -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 +537 -0
- package/cjs/resources/V2/Core/Health/Alerts.js +182 -0
- package/cjs/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/cjs/resources/V2/Core/Health/index.d.ts +16 -0
- package/cjs/resources/V2/Core/Health/index.js +13 -0
- package/cjs/resources/V2/Core/Health/index.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +280 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +252 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +65 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
- package/cjs/resources/V2/Core/Vault/index.js +15 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
- package/cjs/resources/V2/Core/index.d.ts +66 -14
- package/cjs/resources/V2/Core/index.js +18 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/cjs/resources/V2/Data/Analytics/index.js +13 -0
- package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +172 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +13 -0
- package/cjs/resources/V2/Data/index.js +15 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +20 -0
- package/cjs/resources/V2/Extend/index.js +15 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +218 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +305 -0
- package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
- package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +23 -0
- package/cjs/resources/V2/Iam/index.js +15 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +169 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +438 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +50 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +251 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +329 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +638 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +318 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +394 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +648 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +57 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +277 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +481 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +166 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +29 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +308 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +116 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +34 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +15 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +266 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +321 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +29 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +153 -0
- package/cjs/resources/V2/MoneyManagement/index.js +51 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +835 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +209 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/cjs/resources/V2/Payments/index.d.ts +31 -0
- package/cjs/resources/V2/Payments/index.js +15 -0
- package/cjs/resources/V2/Payments/index.js.map +1 -0
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +191 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Reporting/Reports.d.ts +106 -0
- package/cjs/resources/V2/Reporting/Reports.js +17 -0
- package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
- package/cjs/resources/V2/Reporting/index.d.ts +18 -0
- package/cjs/resources/V2/Reporting/index.js +15 -0
- package/cjs/resources/V2/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Risk/Inquiries.d.ts +143 -0
- package/cjs/resources/V2/Risk/Inquiries.js +29 -0
- package/cjs/resources/V2/Risk/Inquiries.js.map +1 -0
- package/cjs/resources/V2/Risk/index.d.ts +14 -0
- package/cjs/resources/V2/Risk/index.js +13 -0
- package/cjs/resources/V2/Risk/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountActivity.d.ts +424 -0
- package/cjs/resources/V2/Signals/AccountActivity.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivity.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +396 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js +59 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +281 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +110 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +26 -0
- package/cjs/resources/V2/Signals/index.js +17 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +331 -0
- package/cjs/resources/V2/Tax/ManualRules.js +193 -0
- package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
- package/cjs/resources/V2/Tax/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 +68 -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 +21 -0
- package/cjs/resources/V2/Tax/index.js +15 -0
- package/cjs/resources/V2/Tax/index.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +45 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
- package/cjs/resources/V2/TestHelpers/index.js +15 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +42 -0
- package/cjs/resources/V2/index.js +24 -0
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +20 -0
- package/cjs/resources.js +296 -18
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +17320 -2862
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +163 -54
- package/cjs/stripe.core.js +74 -31
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +61 -0
- package/esm/Error.js +125 -0
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +1 -1
- package/esm/RequestSender.js +14 -5
- package/esm/RequestSender.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +501 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- package/esm/Types.d.ts +9 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +8 -4
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +564 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/AccountSignals.d.ts +111 -0
- package/esm/resources/AccountSignals.js +3 -0
- package/esm/resources/AccountSignals.js.map +1 -0
- package/esm/resources/Accounts.d.ts +1143 -85
- package/esm/resources/Accounts.js +47 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +28 -1
- package/esm/resources/Balance.d.ts +134 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BalanceTransactions.d.ts +2 -2
- 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 +4 -4
- package/esm/resources/Billing/AlertNotifications.d.ts +75 -0
- package/esm/resources/Billing/AlertNotifications.js +3 -0
- package/esm/resources/Billing/AlertNotifications.js.map +1 -0
- package/esm/resources/Billing/AlertRecovereds.d.ts +56 -0
- package/esm/resources/Billing/AlertRecovereds.js +3 -0
- package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
- package/esm/resources/Billing/AlertTriggereds.d.ts +55 -1
- package/esm/resources/Billing/Alerts.d.ts +448 -5
- package/esm/resources/Billing/Alerts.js +329 -5
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +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/FeedbackOptions.d.ts +32 -0
- package/esm/resources/Billing/FeedbackOptions.js +3 -0
- package/esm/resources/Billing/FeedbackOptions.js.map +1 -0
- package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/esm/resources/Billing/Meters.d.ts +31 -0
- package/esm/resources/Billing/index.d.ts +13 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Configurations.d.ts +14 -9
- package/esm/resources/BillingPortal/Configurations.js.map +1 -1
- package/esm/resources/BillingPortal/Sessions.d.ts +17 -1
- package/esm/resources/Capabilities.d.ts +25 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +102 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +29 -1
- package/esm/resources/CashBalances.d.ts +2 -1
- package/esm/resources/Charges.d.ts +3382 -85
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +1224 -43
- package/esm/resources/Checkout/Sessions.js +115 -0
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +1 -0
- package/esm/resources/Climate/Orders.d.ts +1 -1
- package/esm/resources/Climate/Products.d.ts +1 -1
- package/esm/resources/ConfirmationTokens.d.ts +153 -8
- 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 +17 -3
- package/esm/resources/CreditNotes.d.ts +12 -6
- 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/CustomerSessions.d.ts +94 -0
- package/esm/resources/CustomerSessions.js +13 -0
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/Customers.d.ts +126 -12
- package/esm/resources/Customers.js +195 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/esm/resources/DelegatedCheckout/Orders.d.ts +159 -0
- package/esm/resources/DelegatedCheckout/Orders.js +11 -0
- package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1424 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
- package/esm/resources/DelegatedCheckout/index.js +11 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +19 -0
- package/esm/resources/Disputes.d.ts +43 -0
- package/esm/resources/Disputes.js +14 -0
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +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/Files.d.ts +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/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 +128 -9
- package/esm/resources/FinancialConnections/Transactions.d.ts +76 -0
- package/esm/resources/FinancialConnections/index.d.ts +21 -9
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +212 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/GiftCardOperations.d.ts +249 -0
- package/esm/resources/GiftCardOperations.js +11 -0
- package/esm/resources/GiftCardOperations.js.map +1 -0
- package/esm/resources/GiftCards.d.ts +181 -0
- package/esm/resources/GiftCards.js +47 -0
- package/esm/resources/GiftCards.js.map +1 -0
- package/esm/resources/Identity/BlocklistEntries.d.ts +155 -0
- package/esm/resources/Identity/BlocklistEntries.js +50 -0
- package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
- package/esm/resources/Identity/VerificationReports.d.ts +33 -2
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
- package/esm/resources/Identity/index.d.ts +18 -10
- package/esm/resources/Identity/index.js +2 -0
- package/esm/resources/Identity/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +226 -8
- package/esm/resources/InvoiceItems.js +41 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +175 -5
- package/esm/resources/InvoicePayments.d.ts +1 -1
- package/esm/resources/InvoiceRenderingTemplates.d.ts +15 -3
- package/esm/resources/InvoiceRenderingTemplates.js +28 -0
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +2211 -61
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +730 -1
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +40 -22
- package/esm/resources/Issuing/Cards.d.ts +97 -15
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +49 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +246 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Programs.d.ts +95 -0
- package/esm/resources/Issuing/Programs.js +31 -0
- package/esm/resources/Issuing/Programs.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +83 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Tokens.d.ts +26 -0
- package/esm/resources/Issuing/Transactions.d.ts +233 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +56 -22
- package/esm/resources/Issuing/index.js +8 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +49 -4
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
- package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/esm/resources/Orchestration/index.d.ts +12 -0
- package/esm/resources/Orchestration/index.js +9 -0
- package/esm/resources/Orchestration/index.js.map +1 -0
- package/esm/resources/Orders.d.ts +4773 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +696 -19
- package/esm/resources/PaymentAttemptRecords.js +48 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +52 -0
- package/esm/resources/PaymentIntents.d.ts +17309 -3551
- package/esm/resources/PaymentIntents.js +46 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +84 -22
- package/esm/resources/PaymentLocationCapabilities.d.ts +123 -0
- package/esm/resources/PaymentLocationCapabilities.js +25 -0
- package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
- package/esm/resources/PaymentLocations.d.ts +178 -0
- package/esm/resources/PaymentLocations.js +37 -0
- package/esm/resources/PaymentLocations.js.map +1 -0
- package/esm/resources/PaymentMethodBalances.d.ts +46 -0
- package/esm/resources/PaymentMethodBalances.js +3 -0
- package/esm/resources/PaymentMethodBalances.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +420 -0
- package/esm/resources/PaymentMethods.d.ts +311 -14
- 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 +754 -37
- package/esm/resources/PaymentRecords.js +18 -0
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Payouts.d.ts +3 -3
- package/esm/resources/Persons.d.ts +25 -2
- package/esm/resources/Plans.d.ts +21 -5
- package/esm/resources/Prices.d.ts +91 -15
- package/esm/resources/Prices.js +27 -0
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +158 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +25 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +14 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +205 -7
- 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 +1210 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +1087 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +3558 -264
- 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/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 +116 -2
- 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/ValueLists.d.ts +2 -2
- package/esm/resources/Radar/index.d.ts +36 -16
- package/esm/resources/Radar/index.js +6 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +41 -2
- package/esm/resources/Refunds.js +27 -0
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reporting/ReportRuns.d.ts +3 -3
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +16 -0
- package/esm/resources/Reserve/Plans.js +9 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +17 -6
- package/esm/resources/Reserve/index.js +9 -0
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/Reviews.d.ts +2 -2
- 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 +42 -8
- package/esm/resources/SetupAttempts.js.map +1 -1
- package/esm/resources/SetupIntents.d.ts +667 -51
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +425 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +344 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/ShippingRates.d.ts +6 -6
- package/esm/resources/SourceTransactions.d.ts +2 -1
- package/esm/resources/Sources.d.ts +43 -15
- package/esm/resources/SubscriptionItems.d.ts +273 -8
- package/esm/resources/SubscriptionItems.js +41 -0
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +2463 -90
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +1011 -43
- package/esm/resources/Subscriptions.js +290 -1
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/esm/resources/Tax/Calculations.d.ts +49 -7
- package/esm/resources/Tax/Forms.d.ts +228 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Locations.d.ts +112 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +441 -2
- package/esm/resources/Tax/Registrations.js +27 -0
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +10 -2
- package/esm/resources/Tax/Settings.js +13 -0
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +11 -3
- package/esm/resources/Tax/Transactions.js +13 -0
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +31 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +16 -1
- package/esm/resources/TaxFunds.d.ts +174 -0
- package/esm/resources/TaxFunds.js +19 -0
- package/esm/resources/TaxFunds.js.map +1 -0
- package/esm/resources/TaxIds.d.ts +9 -3
- package/esm/resources/TaxIds.js +13 -0
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.d.ts +13 -1
- package/esm/resources/TaxRates.js +27 -0
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +211 -6
- 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 +104 -5
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +115 -13
- 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 +121 -11
- package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +38 -0
- package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
- package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Terminal/Readers.d.ts +15 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +14 -6
- package/esm/resources/TestHelpers/index.js +6 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +84 -2
- package/esm/resources/Topups.d.ts +4 -4
- package/esm/resources/Topups.js.map +1 -1
- package/esm/resources/Transfers.d.ts +14 -2
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/TransitBalances.d.ts +25 -0
- package/esm/resources/TransitBalances.js +3 -0
- package/esm/resources/TransitBalances.js.map +1 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +84 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +1011 -0
- package/esm/resources/V2/Billing/Cadences.js +260 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +237 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +776 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +47 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +25 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js +11 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts.d.ts +1512 -0
- package/esm/resources/V2/Billing/Contracts.js +327 -0
- package/esm/resources/V2/Billing/Contracts.js.map +1 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/esm/resources/V2/Billing/IntentActions.d.ts +603 -0
- package/esm/resources/V2/Billing/IntentActions.js +3 -0
- package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
- package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents.d.ts +1261 -0
- package/esm/resources/V2/Billing/Intents.js +83 -0
- package/esm/resources/V2/Billing/Intents.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees.d.ts +360 -0
- package/esm/resources/V2/Billing/LicenseFees.js +144 -0
- package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/esm/resources/V2/Billing/LicensedItems.d.ts +170 -0
- package/esm/resources/V2/Billing/LicensedItems.js +31 -0
- package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/esm/resources/V2/Billing/MeteredItems.d.ts +218 -0
- package/esm/resources/V2/Billing/MeteredItems.js +31 -0
- package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/esm/resources/V2/Billing/OneTimeItems.d.ts +170 -0
- package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
- package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +620 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans.d.ts +169 -0
- package/esm/resources/V2/Billing/PricingPlans.js +39 -0
- package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardRates.d.ts +111 -0
- package/esm/resources/V2/Billing/RateCardRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +215 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
- package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards.d.ts +336 -0
- package/esm/resources/V2/Billing/RateCards.js +72 -0
- package/esm/resources/V2/Billing/RateCards.js.map +1 -0
- package/esm/resources/V2/Billing/ServiceActions.d.ts +510 -0
- package/esm/resources/V2/Billing/ServiceActions.js +158 -0
- package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +175 -6
- package/esm/resources/V2/Billing/index.js +32 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountEvaluations.d.ts +159 -0
- package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
- package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +220 -2
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +16131 -1984
- package/esm/resources/V2/Core/Accounts.js +10379 -53
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +331 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +360 -0
- package/esm/resources/V2/Core/BatchJobs.js +221 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/esm/resources/V2/Core/ConnectionSessions.d.ts +86 -0
- package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
- package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +8083 -223
- package/esm/resources/V2/Core/FeeBatches.d.ts +234 -0
- package/esm/resources/V2/Core/FeeBatches.js +19 -0
- package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
- package/esm/resources/V2/Core/FeeEntries.d.ts +200 -0
- package/esm/resources/V2/Core/FeeEntries.js +19 -0
- package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +423 -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 +537 -0
- package/esm/resources/V2/Core/Health/Alerts.js +178 -0
- package/esm/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/esm/resources/V2/Core/Health/index.d.ts +16 -0
- package/esm/resources/V2/Core/Health/index.js +9 -0
- package/esm/resources/V2/Core/Health/index.js.map +1 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +280 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +252 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +61 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
- package/esm/resources/V2/Core/Vault/index.js +11 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -0
- package/esm/resources/V2/Core/index.d.ts +66 -14
- package/esm/resources/V2/Core/index.js +18 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/esm/resources/V2/Data/Analytics/index.js +9 -0
- package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +172 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +13 -0
- package/esm/resources/V2/Data/index.js +11 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +20 -0
- package/esm/resources/V2/Extend/index.js +11 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +218 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/ApiKeys.d.ts +305 -0
- package/esm/resources/V2/Iam/ApiKeys.js +43 -0
- package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +23 -0
- package/esm/resources/V2/Iam/index.js +11 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +169 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +438 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +46 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +251 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +329 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +638 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +318 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +394 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +648 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js +53 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +277 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +481 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +166 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +25 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +308 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +116 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +34 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +11 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +9 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +266 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +321 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +25 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +153 -0
- package/esm/resources/V2/MoneyManagement/index.js +47 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Payments/OffSessionPayments.d.ts +835 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +209 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/esm/resources/V2/Payments/index.d.ts +31 -0
- package/esm/resources/V2/Payments/index.js +11 -0
- package/esm/resources/V2/Payments/index.js.map +1 -0
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +191 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
- package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Reporting/Reports.d.ts +106 -0
- package/esm/resources/V2/Reporting/Reports.js +13 -0
- package/esm/resources/V2/Reporting/Reports.js.map +1 -0
- package/esm/resources/V2/Reporting/index.d.ts +18 -0
- package/esm/resources/V2/Reporting/index.js +11 -0
- package/esm/resources/V2/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Risk/Inquiries.d.ts +143 -0
- package/esm/resources/V2/Risk/Inquiries.js +25 -0
- package/esm/resources/V2/Risk/Inquiries.js.map +1 -0
- package/esm/resources/V2/Risk/index.d.ts +14 -0
- package/esm/resources/V2/Risk/index.js +9 -0
- package/esm/resources/V2/Risk/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountActivity.d.ts +424 -0
- package/esm/resources/V2/Signals/AccountActivity.js +23 -0
- package/esm/resources/V2/Signals/AccountActivity.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +396 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js +55 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +281 -0
- package/esm/resources/V2/Signals/AccountSignals.js +106 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +26 -0
- package/esm/resources/V2/Signals/index.js +13 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +331 -0
- package/esm/resources/V2/Tax/ManualRules.js +189 -0
- package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
- package/esm/resources/V2/Tax/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 +68 -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 +21 -0
- package/esm/resources/V2/Tax/index.js +11 -0
- package/esm/resources/V2/Tax/index.js.map +1 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +45 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
- package/esm/resources/V2/TestHelpers/index.js +11 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +42 -0
- package/esm/resources/V2/index.js +24 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +20 -0
- package/esm/resources.js +266 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +163 -54
- package/esm/stripe.core.js +45 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +163 -54
- package/esm/stripe.esm.node.js +45 -2
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ import { SubscriptionSchedule } from './SubscriptionSchedules.js';
|
|
|
13
13
|
import { Price } from './Prices.js';
|
|
14
14
|
import { TaxId, DeletedTaxId } from './TaxIds.js';
|
|
15
15
|
import * as TestHelpers from './TestHelpers/index.js';
|
|
16
|
+
import * as Billing from './Billing/index.js';
|
|
16
17
|
import { Emptyable, MetadataParam, OtherString, Decimal, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
|
|
17
18
|
import { RequestOptions, Response, ApiListPromise, ApiList, ApiSearchResultPromise } from '../lib.js';
|
|
18
19
|
export declare class SubscriptionResource extends StripeResource {
|
|
@@ -33,7 +34,7 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
33
34
|
* When changing prices or quantities, we optionally prorate the price we charge next month to make up for any price changes.
|
|
34
35
|
* To preview how the proration is calculated, use the [create preview](https://docs.stripe.com/docs/api/invoices/create_preview) endpoint.
|
|
35
36
|
*
|
|
36
|
-
* By default, we prorate subscription changes. For example, if a customer signs up on May 1 for a 100 price, they'll be billed 100 immediately. If on May 15 they switch to a 200 price, then on June 1 they'll be billed 250 (200 for a renewal of her subscription, plus a 50 prorating adjustment for half of the previous month's 100 difference). Similarly, a downgrade generates a credit that is applied to the next invoice. We also prorate when you make quantity changes.
|
|
37
|
+
* By default, we prorate subscription changes. For example, if a customer signs up on May 1 for a 100 price, they'll be billed 100 immediately. If on May 15 they switch to a 200 price, then on June 1 they'll be billed 250 (200 for a renewal of her subscription, plus a 50 prorating adjustment for half of the previous month's 100 difference). Similarly, a downgrade generates a credit that is applied to the next invoice. We also prorate when you make quantity changes. You can also [use scripts to prorate your billing. To learn more, see <a href="/billing/subscriptions/prorations">Prorations](https://docs.stripe.com/billing/scripts/stripe-authored/proration).
|
|
37
38
|
*
|
|
38
39
|
* Switching prices does not normally change the billing date or generate an immediate charge unless:
|
|
39
40
|
*
|
|
@@ -77,14 +78,46 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
77
78
|
* to an hour behind during outages. Search functionality is not available to merchants in India.
|
|
78
79
|
*/
|
|
79
80
|
search(params: SubscriptionSearchParams, options?: RequestOptions): ApiSearchResultPromise<Subscription>;
|
|
81
|
+
/**
|
|
82
|
+
* Attach a Billing Cadence to an existing subscription. When attached, the subscription is billed by the Billing Cadence, potentially sharing invoices with the other subscriptions linked to the Billing Cadence.
|
|
83
|
+
*/
|
|
84
|
+
attachCadence(id: string, params: SubscriptionAttachCadenceParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
80
85
|
/**
|
|
81
86
|
* Upgrade the billing_mode of an existing subscription.
|
|
82
87
|
*/
|
|
83
88
|
migrate(id: string, params: SubscriptionMigrateParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
89
|
+
/**
|
|
90
|
+
* Pauses a subscription by transitioning it to the paused status. A paused subscription does not generate invoices and will not advance to new billing periods. The subscription can be resumed later using the resume endpoint. Cannot pause subscriptions with attached schedules.
|
|
91
|
+
*/
|
|
92
|
+
pause(id: string, params?: SubscriptionPauseParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
84
93
|
/**
|
|
85
94
|
* Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. Resume is only available for subscriptions that use charge_automatically collection. If Stripe doesn't generate a resumption invoice, the subscription becomes active immediately. When a resumption invoice is generated, Stripe finalizes it immediately. If the invoice is paid or marked uncollectible, the subscription becomes active. If the invoice is manually voided, the subscription stays paused. If there is no payment attempt within 23 hours, Stripe voids the invoice and the subscription stays paused. Learn more about [resuming subscriptions](https://docs.stripe.com/docs/billing/subscriptions/pause#resume-subscriptions).
|
|
86
95
|
*/
|
|
87
96
|
resume(id: string, params?: SubscriptionResumeParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
97
|
+
serializeBatchCancel(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
|
|
98
|
+
apiVersion?: string;
|
|
99
|
+
stripeContext?: string;
|
|
100
|
+
}): string;
|
|
101
|
+
serializeBatchUpdate(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
|
|
102
|
+
apiVersion?: string;
|
|
103
|
+
stripeContext?: string;
|
|
104
|
+
}): string;
|
|
105
|
+
serializeBatchCreate(params?: Record<string, unknown>, options?: {
|
|
106
|
+
apiVersion?: string;
|
|
107
|
+
stripeContext?: string;
|
|
108
|
+
}): string;
|
|
109
|
+
serializeBatchMigrate(subscription: string, params?: Record<string, unknown>, options?: {
|
|
110
|
+
apiVersion?: string;
|
|
111
|
+
stripeContext?: string;
|
|
112
|
+
}): string;
|
|
113
|
+
serializeBatchPause(subscription: string, params?: Record<string, unknown>, options?: {
|
|
114
|
+
apiVersion?: string;
|
|
115
|
+
stripeContext?: string;
|
|
116
|
+
}): string;
|
|
117
|
+
serializeBatchResume(subscription: string, params?: Record<string, unknown>, options?: {
|
|
118
|
+
apiVersion?: string;
|
|
119
|
+
stripeContext?: string;
|
|
120
|
+
}): string;
|
|
88
121
|
}
|
|
89
122
|
export interface Subscription {
|
|
90
123
|
/**
|
|
@@ -104,6 +137,10 @@ export interface Subscription {
|
|
|
104
137
|
*/
|
|
105
138
|
application_fee_percent: number | null;
|
|
106
139
|
automatic_tax: Subscription.AutomaticTax;
|
|
140
|
+
/**
|
|
141
|
+
* The Billing Cadence which controls the timing of recurring invoice generation for this subscription.If unset, the subscription will bill according to its own configured schedule and create its own invoices.If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
|
|
142
|
+
*/
|
|
143
|
+
billing_cadence?: string;
|
|
107
144
|
/**
|
|
108
145
|
* The reference point that aligns future [billing cycle](https://docs.stripe.com/subscriptions/billing-cycle) dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals. The timestamp is in UTC format.
|
|
109
146
|
*/
|
|
@@ -193,6 +230,10 @@ export interface Subscription {
|
|
|
193
230
|
* List of subscription items, each with an attached price.
|
|
194
231
|
*/
|
|
195
232
|
items: ApiList<SubscriptionItem>;
|
|
233
|
+
/**
|
|
234
|
+
* Details of the most recent price migration that failed for the subscription.
|
|
235
|
+
*/
|
|
236
|
+
last_price_migration_error?: Subscription.LastPriceMigrationError | null;
|
|
196
237
|
/**
|
|
197
238
|
* The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
|
|
198
239
|
*/
|
|
@@ -237,6 +278,10 @@ export interface Subscription {
|
|
|
237
278
|
* If specified, [pending updates](https://docs.stripe.com/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid.
|
|
238
279
|
*/
|
|
239
280
|
pending_update: Subscription.PendingUpdate | null;
|
|
281
|
+
/**
|
|
282
|
+
* Time period and invoice for a Subscription billed in advance.
|
|
283
|
+
*/
|
|
284
|
+
prebilling?: Subscription.Prebilling | null;
|
|
240
285
|
presentment_details?: Subscription.PresentmentDetails;
|
|
241
286
|
/**
|
|
242
287
|
* The schedule attached to the subscription
|
|
@@ -260,6 +305,10 @@ export interface Subscription {
|
|
|
260
305
|
* If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.
|
|
261
306
|
*/
|
|
262
307
|
status: Subscription.Status;
|
|
308
|
+
/**
|
|
309
|
+
* Describes changes to the subscription's status.
|
|
310
|
+
*/
|
|
311
|
+
status_details?: Subscription.StatusDetails;
|
|
263
312
|
/**
|
|
264
313
|
* ID of the test clock this subscription belongs to.
|
|
265
314
|
*/
|
|
@@ -365,12 +414,16 @@ export declare namespace Subscription {
|
|
|
365
414
|
* The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
|
|
366
415
|
*/
|
|
367
416
|
feedback: CancellationDetails.Feedback | null;
|
|
417
|
+
/**
|
|
418
|
+
* Customized feedback options that provide deeper insight into why the subscription was canceled, if the subscription was canceled explicitly by the user.
|
|
419
|
+
*/
|
|
420
|
+
feedback_option: string | Billing.FeedbackOption | null;
|
|
368
421
|
/**
|
|
369
422
|
* Why this subscription was canceled.
|
|
370
423
|
*/
|
|
371
424
|
reason: CancellationDetails.Reason | null;
|
|
372
425
|
}
|
|
373
|
-
type CollectionMethod = 'charge_automatically' | 'send_invoice';
|
|
426
|
+
type CollectionMethod = 'charge_automatically' | 'send_invoice' | OtherString;
|
|
374
427
|
interface InvoiceSettings {
|
|
375
428
|
/**
|
|
376
429
|
* The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
|
|
@@ -390,6 +443,20 @@ export declare namespace Subscription {
|
|
|
390
443
|
footer: string | null;
|
|
391
444
|
issuer: InvoiceSettings.Issuer;
|
|
392
445
|
}
|
|
446
|
+
interface LastPriceMigrationError {
|
|
447
|
+
/**
|
|
448
|
+
* The time at which the price migration encountered an error.
|
|
449
|
+
*/
|
|
450
|
+
errored_at: number;
|
|
451
|
+
/**
|
|
452
|
+
* The involved price pairs in each failed transition.
|
|
453
|
+
*/
|
|
454
|
+
failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
|
|
455
|
+
/**
|
|
456
|
+
* The type of error encountered by the price migration.
|
|
457
|
+
*/
|
|
458
|
+
type: 'price_uniqueness_violation';
|
|
459
|
+
}
|
|
393
460
|
interface ManagedPayments {
|
|
394
461
|
/**
|
|
395
462
|
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
@@ -435,6 +502,10 @@ export declare namespace Subscription {
|
|
|
435
502
|
* If the update is applied, determines the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. The timestamp is in UTC format.
|
|
436
503
|
*/
|
|
437
504
|
billing_cycle_anchor: number | null;
|
|
505
|
+
/**
|
|
506
|
+
* Indicates whether this subscription should cancel at the end of the current period if the update is applied.
|
|
507
|
+
*/
|
|
508
|
+
cancel_at_period_end: boolean | null;
|
|
438
509
|
/**
|
|
439
510
|
* The pending subscription-level discount that will be applied when the pending update is applied.
|
|
440
511
|
*/
|
|
@@ -451,6 +522,10 @@ export declare namespace Subscription {
|
|
|
451
522
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
452
523
|
*/
|
|
453
524
|
metadata: Metadata | null;
|
|
525
|
+
/**
|
|
526
|
+
* The number of iterations of prebilling to apply.
|
|
527
|
+
*/
|
|
528
|
+
prebilling_iterations?: number | null;
|
|
454
529
|
/**
|
|
455
530
|
* List of subscription items, each with an attached plan, that will be set if the update is applied.
|
|
456
531
|
*/
|
|
@@ -464,6 +539,24 @@ export declare namespace Subscription {
|
|
|
464
539
|
*/
|
|
465
540
|
trial_from_plan: boolean | null;
|
|
466
541
|
}
|
|
542
|
+
interface Prebilling {
|
|
543
|
+
/**
|
|
544
|
+
* ID of the prebilling invoice.
|
|
545
|
+
*/
|
|
546
|
+
invoice: string | Invoice;
|
|
547
|
+
/**
|
|
548
|
+
* The end of the last period for which the invoice pre-bills.
|
|
549
|
+
*/
|
|
550
|
+
period_end: number;
|
|
551
|
+
/**
|
|
552
|
+
* The start of the first period for which the invoice pre-bills.
|
|
553
|
+
*/
|
|
554
|
+
period_start: number;
|
|
555
|
+
/**
|
|
556
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
557
|
+
*/
|
|
558
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
559
|
+
}
|
|
467
560
|
interface PresentmentDetails {
|
|
468
561
|
/**
|
|
469
562
|
* Currency used for customer payments.
|
|
@@ -471,6 +564,12 @@ export declare namespace Subscription {
|
|
|
471
564
|
presentment_currency: string;
|
|
472
565
|
}
|
|
473
566
|
type Status = 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
|
|
567
|
+
interface StatusDetails {
|
|
568
|
+
/**
|
|
569
|
+
* Indicates when and why the subscription transitioned to the paused status.
|
|
570
|
+
*/
|
|
571
|
+
paused: StatusDetails.Paused;
|
|
572
|
+
}
|
|
474
573
|
interface TransferData {
|
|
475
574
|
/**
|
|
476
575
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
|
@@ -499,7 +598,7 @@ export declare namespace Subscription {
|
|
|
499
598
|
type: Liability.Type;
|
|
500
599
|
}
|
|
501
600
|
namespace Liability {
|
|
502
|
-
type Type = 'account' | 'self' | OtherString;
|
|
601
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
503
602
|
}
|
|
504
603
|
}
|
|
505
604
|
namespace BillingMode {
|
|
@@ -511,7 +610,7 @@ export declare namespace Subscription {
|
|
|
511
610
|
}
|
|
512
611
|
type Type = 'classic' | 'flexible' | OtherString;
|
|
513
612
|
namespace Flexible {
|
|
514
|
-
type ProrationDiscounts = 'included' | 'itemized';
|
|
613
|
+
type ProrationDiscounts = 'included' | 'itemized' | OtherString;
|
|
515
614
|
}
|
|
516
615
|
}
|
|
517
616
|
namespace BillingSchedule {
|
|
@@ -556,7 +655,7 @@ export declare namespace Subscription {
|
|
|
556
655
|
}
|
|
557
656
|
type Type = 'duration' | 'timestamp' | OtherString;
|
|
558
657
|
namespace Duration {
|
|
559
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
658
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
560
659
|
}
|
|
561
660
|
}
|
|
562
661
|
}
|
|
@@ -586,11 +685,23 @@ export declare namespace Subscription {
|
|
|
586
685
|
type: Issuer.Type;
|
|
587
686
|
}
|
|
588
687
|
namespace Issuer {
|
|
589
|
-
type Type = 'account' | 'self' | OtherString;
|
|
688
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
namespace LastPriceMigrationError {
|
|
692
|
+
interface FailedTransition {
|
|
693
|
+
/**
|
|
694
|
+
* The original price to be migrated.
|
|
695
|
+
*/
|
|
696
|
+
source_price: string;
|
|
697
|
+
/**
|
|
698
|
+
* The intended resulting price of the migration.
|
|
699
|
+
*/
|
|
700
|
+
target_price: string;
|
|
590
701
|
}
|
|
591
702
|
}
|
|
592
703
|
namespace PauseCollection {
|
|
593
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
|
|
704
|
+
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
594
705
|
}
|
|
595
706
|
namespace PaymentSettings {
|
|
596
707
|
interface PaymentMethodOptions {
|
|
@@ -602,14 +713,34 @@ export declare namespace Subscription {
|
|
|
602
713
|
* This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
|
|
603
714
|
*/
|
|
604
715
|
bancontact: PaymentMethodOptions.Bancontact | null;
|
|
716
|
+
/**
|
|
717
|
+
* This sub-hash contains details about the Billie payment method options to pass to invoices created by the subscription.
|
|
718
|
+
*/
|
|
719
|
+
billie?: PaymentMethodOptions.Billie | null;
|
|
720
|
+
/**
|
|
721
|
+
* This sub-hash contains details about the Bizum payment method options to pass to invoices created by the subscription.
|
|
722
|
+
*/
|
|
723
|
+
bizum?: PaymentMethodOptions.Bizum | null;
|
|
724
|
+
/**
|
|
725
|
+
* This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
|
|
726
|
+
*/
|
|
727
|
+
blik?: PaymentMethodOptions.Blik | null;
|
|
605
728
|
/**
|
|
606
729
|
* This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
|
|
607
730
|
*/
|
|
608
731
|
card: PaymentMethodOptions.Card | null;
|
|
732
|
+
/**
|
|
733
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to invoices created by the subscription.
|
|
734
|
+
*/
|
|
735
|
+
check_scan?: PaymentMethodOptions.CheckScan | null;
|
|
609
736
|
/**
|
|
610
737
|
* This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
|
|
611
738
|
*/
|
|
612
739
|
customer_balance: PaymentMethodOptions.CustomerBalance | null;
|
|
740
|
+
/**
|
|
741
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
|
742
|
+
*/
|
|
743
|
+
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
|
|
613
744
|
/**
|
|
614
745
|
* This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
|
615
746
|
*/
|
|
@@ -634,8 +765,12 @@ export declare namespace Subscription {
|
|
|
634
765
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
|
|
635
766
|
*/
|
|
636
767
|
us_bank_account: PaymentMethodOptions.UsBankAccount | null;
|
|
768
|
+
/**
|
|
769
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to invoices created by the subscription.
|
|
770
|
+
*/
|
|
771
|
+
wechat_pay?: PaymentMethodOptions.WechatPay | null;
|
|
637
772
|
}
|
|
638
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
773
|
+
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' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | OtherString;
|
|
639
774
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
640
775
|
namespace PaymentMethodOptions {
|
|
641
776
|
interface AcssDebit {
|
|
@@ -651,6 +786,14 @@ export declare namespace Subscription {
|
|
|
651
786
|
*/
|
|
652
787
|
preferred_language: Bancontact.PreferredLanguage;
|
|
653
788
|
}
|
|
789
|
+
interface Billie {
|
|
790
|
+
}
|
|
791
|
+
interface Bizum {
|
|
792
|
+
mandate_options?: Bizum.MandateOptions;
|
|
793
|
+
}
|
|
794
|
+
interface Blik {
|
|
795
|
+
mandate_options?: Blik.MandateOptions;
|
|
796
|
+
}
|
|
654
797
|
interface Card {
|
|
655
798
|
mandate_options?: Card.MandateOptions;
|
|
656
799
|
/**
|
|
@@ -662,6 +805,8 @@ export declare namespace Subscription {
|
|
|
662
805
|
*/
|
|
663
806
|
request_three_d_secure: Card.RequestThreeDSecure | null;
|
|
664
807
|
}
|
|
808
|
+
interface CheckScan {
|
|
809
|
+
}
|
|
665
810
|
interface CustomerBalance {
|
|
666
811
|
bank_transfer?: CustomerBalance.BankTransfer;
|
|
667
812
|
/**
|
|
@@ -669,6 +814,8 @@ export declare namespace Subscription {
|
|
|
669
814
|
*/
|
|
670
815
|
funding_type: 'bank_transfer' | null;
|
|
671
816
|
}
|
|
817
|
+
interface IdBankTransfer {
|
|
818
|
+
}
|
|
672
819
|
interface Konbini {
|
|
673
820
|
}
|
|
674
821
|
interface Payto {
|
|
@@ -693,6 +840,16 @@ export declare namespace Subscription {
|
|
|
693
840
|
*/
|
|
694
841
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
695
842
|
}
|
|
843
|
+
interface WechatPay {
|
|
844
|
+
/**
|
|
845
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
846
|
+
*/
|
|
847
|
+
app_id?: string;
|
|
848
|
+
/**
|
|
849
|
+
* The client type that the end customer will pay from.
|
|
850
|
+
*/
|
|
851
|
+
client?: WechatPay.Client;
|
|
852
|
+
}
|
|
696
853
|
namespace AcssDebit {
|
|
697
854
|
interface MandateOptions {
|
|
698
855
|
/**
|
|
@@ -708,6 +865,26 @@ export declare namespace Subscription {
|
|
|
708
865
|
namespace Bancontact {
|
|
709
866
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
710
867
|
}
|
|
868
|
+
namespace Bizum {
|
|
869
|
+
interface MandateOptions {
|
|
870
|
+
/**
|
|
871
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
872
|
+
*/
|
|
873
|
+
amount?: number;
|
|
874
|
+
/**
|
|
875
|
+
* Indicates the mandate amount type.
|
|
876
|
+
*/
|
|
877
|
+
amount_type?: 'fixed';
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
namespace Blik {
|
|
881
|
+
interface MandateOptions {
|
|
882
|
+
/**
|
|
883
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
884
|
+
*/
|
|
885
|
+
expires_after: number | null;
|
|
886
|
+
}
|
|
887
|
+
}
|
|
711
888
|
namespace Card {
|
|
712
889
|
interface MandateOptions {
|
|
713
890
|
/**
|
|
@@ -723,7 +900,7 @@ export declare namespace Subscription {
|
|
|
723
900
|
*/
|
|
724
901
|
description: string | null;
|
|
725
902
|
}
|
|
726
|
-
type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa';
|
|
903
|
+
type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa' | OtherString;
|
|
727
904
|
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
|
|
728
905
|
namespace MandateOptions {
|
|
729
906
|
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
@@ -745,7 +922,7 @@ export declare namespace Subscription {
|
|
|
745
922
|
country: EuBankTransfer.Country;
|
|
746
923
|
}
|
|
747
924
|
namespace EuBankTransfer {
|
|
748
|
-
type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL';
|
|
925
|
+
type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL' | OtherString;
|
|
749
926
|
}
|
|
750
927
|
}
|
|
751
928
|
}
|
|
@@ -835,27 +1012,69 @@ export declare namespace Subscription {
|
|
|
835
1012
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
836
1013
|
*/
|
|
837
1014
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1015
|
+
/**
|
|
1016
|
+
* The institution to use to filter for possible accounts to link.
|
|
1017
|
+
*/
|
|
1018
|
+
institution?: string;
|
|
838
1019
|
}
|
|
839
1020
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
840
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
1021
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
841
1022
|
namespace Filters {
|
|
842
1023
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
843
1024
|
}
|
|
844
1025
|
}
|
|
845
1026
|
}
|
|
1027
|
+
namespace WechatPay {
|
|
1028
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
|
|
1029
|
+
}
|
|
846
1030
|
}
|
|
847
1031
|
}
|
|
848
1032
|
namespace PendingInvoiceItemInterval {
|
|
849
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1033
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1034
|
+
}
|
|
1035
|
+
namespace Prebilling {
|
|
1036
|
+
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
1037
|
+
}
|
|
1038
|
+
namespace StatusDetails {
|
|
1039
|
+
interface Paused {
|
|
1040
|
+
/**
|
|
1041
|
+
* Information on the `type=subscription` pause.
|
|
1042
|
+
*/
|
|
1043
|
+
subscription: Paused.Subscription;
|
|
1044
|
+
/**
|
|
1045
|
+
* Unix timestamp in seconds of when the subscription status transitioned to `paused`.
|
|
1046
|
+
*/
|
|
1047
|
+
transitioned_at: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* The type of pause.
|
|
1050
|
+
*/
|
|
1051
|
+
type: 'subscription';
|
|
1052
|
+
}
|
|
1053
|
+
namespace Paused {
|
|
1054
|
+
interface Subscription {
|
|
1055
|
+
/**
|
|
1056
|
+
* The reason that the subscription was paused.
|
|
1057
|
+
*/
|
|
1058
|
+
type: Subscription.Type;
|
|
1059
|
+
}
|
|
1060
|
+
namespace Subscription {
|
|
1061
|
+
type Type = 'pause_requested' | 'system' | 'trial_end_without_payment_method' | OtherString;
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
850
1064
|
}
|
|
851
1065
|
namespace TrialSettings {
|
|
852
1066
|
interface EndBehavior {
|
|
1067
|
+
/**
|
|
1068
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
|
|
1069
|
+
*/
|
|
1070
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
|
|
853
1071
|
/**
|
|
854
1072
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
855
1073
|
*/
|
|
856
1074
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
857
1075
|
}
|
|
858
1076
|
namespace EndBehavior {
|
|
1077
|
+
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
859
1078
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
860
1079
|
}
|
|
861
1080
|
}
|
|
@@ -877,6 +1096,10 @@ export interface SubscriptionCreateParams {
|
|
|
877
1096
|
* A past timestamp to backdate the subscription's start date to. If set, the first invoice will contain line items for the timespan between the start date and the current time. Can be combined with trials and the billing cycle anchor.
|
|
878
1097
|
*/
|
|
879
1098
|
backdate_start_date?: number;
|
|
1099
|
+
/**
|
|
1100
|
+
* 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.
|
|
1101
|
+
*/
|
|
1102
|
+
billing_cadence?: string;
|
|
880
1103
|
/**
|
|
881
1104
|
* A future timestamp in UTC format to anchor the subscription's [billing cycle](https://docs.stripe.com/subscriptions/billing-cycle). The anchor is the reference point that aligns future billing cycle dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals.
|
|
882
1105
|
*/
|
|
@@ -981,6 +1204,10 @@ export interface SubscriptionCreateParams {
|
|
|
981
1204
|
* Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api/invoices/create) for the given subscription at the specified interval.
|
|
982
1205
|
*/
|
|
983
1206
|
pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
|
|
1207
|
+
/**
|
|
1208
|
+
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
1209
|
+
*/
|
|
1210
|
+
prebilling?: SubscriptionCreateParams.Prebilling;
|
|
984
1211
|
/**
|
|
985
1212
|
* Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
|
|
986
1213
|
*/
|
|
@@ -1108,7 +1335,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1108
1335
|
reset_billing_cycle_anchor?: boolean;
|
|
1109
1336
|
}
|
|
1110
1337
|
type CancelAt = 'max_billed_until' | 'max_period_end' | 'min_period_end' | OtherString;
|
|
1111
|
-
type CollectionMethod = 'charge_automatically' | 'send_invoice';
|
|
1338
|
+
type CollectionMethod = 'charge_automatically' | 'send_invoice' | OtherString;
|
|
1112
1339
|
interface Discount {
|
|
1113
1340
|
/**
|
|
1114
1341
|
* ID of the coupon to create a new discount for.
|
|
@@ -1118,10 +1345,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1118
1345
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1119
1346
|
*/
|
|
1120
1347
|
discount?: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* Details to determine how long the discount should be applied for.
|
|
1350
|
+
*/
|
|
1351
|
+
discount_end?: Discount.DiscountEnd;
|
|
1121
1352
|
/**
|
|
1122
1353
|
* ID of the promotion code to create a new discount for.
|
|
1123
1354
|
*/
|
|
1124
1355
|
promotion_code?: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* Settings for discount application including service period anchoring.
|
|
1358
|
+
*/
|
|
1359
|
+
settings?: Discount.Settings;
|
|
1125
1360
|
}
|
|
1126
1361
|
interface InvoiceSettings {
|
|
1127
1362
|
/**
|
|
@@ -1150,6 +1385,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1150
1385
|
* Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
|
|
1151
1386
|
*/
|
|
1152
1387
|
billing_thresholds?: Emptyable<Item.BillingThresholds>;
|
|
1388
|
+
/**
|
|
1389
|
+
* The trial offer to apply to this subscription item.
|
|
1390
|
+
*/
|
|
1391
|
+
current_trial?: Item.CurrentTrial;
|
|
1153
1392
|
/**
|
|
1154
1393
|
* The coupons to redeem into discounts for the subscription item.
|
|
1155
1394
|
*/
|
|
@@ -1178,8 +1417,12 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1178
1417
|
* A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
|
|
1179
1418
|
*/
|
|
1180
1419
|
tax_rates?: Emptyable<Array<string>>;
|
|
1420
|
+
/**
|
|
1421
|
+
* Define options to configure the trial on the subscription item.
|
|
1422
|
+
*/
|
|
1423
|
+
trial?: Item.Trial;
|
|
1181
1424
|
}
|
|
1182
|
-
type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
|
|
1425
|
+
type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete' | OtherString;
|
|
1183
1426
|
interface PaymentSettings {
|
|
1184
1427
|
/**
|
|
1185
1428
|
* Payment-method-specific configuration to provide to invoices created by the subscription.
|
|
@@ -1204,6 +1447,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1204
1447
|
*/
|
|
1205
1448
|
interval_count?: number;
|
|
1206
1449
|
}
|
|
1450
|
+
interface Prebilling {
|
|
1451
|
+
/**
|
|
1452
|
+
* This is used to determine the number of billing cycles to prebill.
|
|
1453
|
+
*/
|
|
1454
|
+
iterations: number;
|
|
1455
|
+
/**
|
|
1456
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
1457
|
+
*/
|
|
1458
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
1459
|
+
}
|
|
1207
1460
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
1208
1461
|
interface TransferData {
|
|
1209
1462
|
/**
|
|
@@ -1231,6 +1484,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1231
1484
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1232
1485
|
*/
|
|
1233
1486
|
discount?: string;
|
|
1487
|
+
/**
|
|
1488
|
+
* Details to determine how long the discount should be applied for.
|
|
1489
|
+
*/
|
|
1490
|
+
discount_end?: Discount.DiscountEnd;
|
|
1234
1491
|
/**
|
|
1235
1492
|
* ID of the promotion code to create a new discount for.
|
|
1236
1493
|
*/
|
|
@@ -1268,6 +1525,38 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1268
1525
|
*/
|
|
1269
1526
|
unit_amount_decimal?: Decimal;
|
|
1270
1527
|
}
|
|
1528
|
+
namespace Discount {
|
|
1529
|
+
interface DiscountEnd {
|
|
1530
|
+
/**
|
|
1531
|
+
* Time span for the redeemed discount.
|
|
1532
|
+
*/
|
|
1533
|
+
duration?: DiscountEnd.Duration;
|
|
1534
|
+
/**
|
|
1535
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1536
|
+
*/
|
|
1537
|
+
timestamp?: number;
|
|
1538
|
+
/**
|
|
1539
|
+
* The type of calculation made to determine when the discount ends.
|
|
1540
|
+
*/
|
|
1541
|
+
type: DiscountEnd.Type;
|
|
1542
|
+
}
|
|
1543
|
+
namespace DiscountEnd {
|
|
1544
|
+
interface Duration {
|
|
1545
|
+
/**
|
|
1546
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1547
|
+
*/
|
|
1548
|
+
interval: Duration.Interval;
|
|
1549
|
+
/**
|
|
1550
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1551
|
+
*/
|
|
1552
|
+
interval_count: number;
|
|
1553
|
+
}
|
|
1554
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1555
|
+
namespace Duration {
|
|
1556
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1271
1560
|
namespace Period {
|
|
1272
1561
|
interface End {
|
|
1273
1562
|
/**
|
|
@@ -1297,7 +1586,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1297
1586
|
}
|
|
1298
1587
|
}
|
|
1299
1588
|
namespace PriceData {
|
|
1300
|
-
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
1589
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
|
|
1301
1590
|
}
|
|
1302
1591
|
}
|
|
1303
1592
|
namespace AutomaticTax {
|
|
@@ -1312,7 +1601,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1312
1601
|
type: Liability.Type;
|
|
1313
1602
|
}
|
|
1314
1603
|
namespace Liability {
|
|
1315
|
-
type Type = 'account' | 'self' | OtherString;
|
|
1604
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
1316
1605
|
}
|
|
1317
1606
|
}
|
|
1318
1607
|
namespace BillingMode {
|
|
@@ -1324,7 +1613,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1324
1613
|
}
|
|
1325
1614
|
type Type = 'classic' | 'flexible' | OtherString;
|
|
1326
1615
|
namespace Flexible {
|
|
1327
|
-
type ProrationDiscounts = 'included' | 'itemized';
|
|
1616
|
+
type ProrationDiscounts = 'included' | 'itemized' | OtherString;
|
|
1328
1617
|
}
|
|
1329
1618
|
}
|
|
1330
1619
|
namespace BillingSchedule {
|
|
@@ -1365,7 +1654,87 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1365
1654
|
}
|
|
1366
1655
|
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1367
1656
|
namespace Duration {
|
|
1368
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1657
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1658
|
+
}
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
namespace Discount {
|
|
1662
|
+
interface DiscountEnd {
|
|
1663
|
+
/**
|
|
1664
|
+
* Time span for the redeemed discount.
|
|
1665
|
+
*/
|
|
1666
|
+
duration?: DiscountEnd.Duration;
|
|
1667
|
+
/**
|
|
1668
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1669
|
+
*/
|
|
1670
|
+
timestamp?: number;
|
|
1671
|
+
/**
|
|
1672
|
+
* The type of calculation made to determine when the discount ends.
|
|
1673
|
+
*/
|
|
1674
|
+
type: DiscountEnd.Type;
|
|
1675
|
+
}
|
|
1676
|
+
interface Settings {
|
|
1677
|
+
/**
|
|
1678
|
+
* Configures service period cycle anchoring.
|
|
1679
|
+
*/
|
|
1680
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
1681
|
+
/**
|
|
1682
|
+
* 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.
|
|
1683
|
+
*/
|
|
1684
|
+
start_date?: Settings.StartDate;
|
|
1685
|
+
}
|
|
1686
|
+
namespace DiscountEnd {
|
|
1687
|
+
interface Duration {
|
|
1688
|
+
/**
|
|
1689
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1690
|
+
*/
|
|
1691
|
+
interval: Duration.Interval;
|
|
1692
|
+
/**
|
|
1693
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1694
|
+
*/
|
|
1695
|
+
interval_count: number;
|
|
1696
|
+
}
|
|
1697
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1698
|
+
namespace Duration {
|
|
1699
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
namespace Settings {
|
|
1703
|
+
interface ServicePeriodAnchorConfig {
|
|
1704
|
+
/**
|
|
1705
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
1706
|
+
*/
|
|
1707
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
1708
|
+
/**
|
|
1709
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
1710
|
+
*/
|
|
1711
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
1712
|
+
}
|
|
1713
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
1714
|
+
namespace ServicePeriodAnchorConfig {
|
|
1715
|
+
interface Custom {
|
|
1716
|
+
/**
|
|
1717
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
1718
|
+
*/
|
|
1719
|
+
day_of_month: number;
|
|
1720
|
+
/**
|
|
1721
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
1722
|
+
*/
|
|
1723
|
+
hour?: number;
|
|
1724
|
+
/**
|
|
1725
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
1726
|
+
*/
|
|
1727
|
+
minute?: number;
|
|
1728
|
+
/**
|
|
1729
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
1730
|
+
*/
|
|
1731
|
+
month?: number;
|
|
1732
|
+
/**
|
|
1733
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
1734
|
+
*/
|
|
1735
|
+
second?: number;
|
|
1736
|
+
}
|
|
1737
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
1369
1738
|
}
|
|
1370
1739
|
}
|
|
1371
1740
|
}
|
|
@@ -1391,7 +1760,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1391
1760
|
type: Issuer.Type;
|
|
1392
1761
|
}
|
|
1393
1762
|
namespace Issuer {
|
|
1394
|
-
type Type = 'account' | 'self' | OtherString;
|
|
1763
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
1395
1764
|
}
|
|
1396
1765
|
}
|
|
1397
1766
|
namespace Item {
|
|
@@ -1401,6 +1770,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1401
1770
|
*/
|
|
1402
1771
|
usage_gte: number;
|
|
1403
1772
|
}
|
|
1773
|
+
interface CurrentTrial {
|
|
1774
|
+
/**
|
|
1775
|
+
* 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`.
|
|
1776
|
+
*/
|
|
1777
|
+
trial_end?: number;
|
|
1778
|
+
/**
|
|
1779
|
+
* The ID of the trial offer to apply to the subscription item.
|
|
1780
|
+
*/
|
|
1781
|
+
trial_offer: string;
|
|
1782
|
+
}
|
|
1404
1783
|
interface Discount {
|
|
1405
1784
|
/**
|
|
1406
1785
|
* ID of the coupon to create a new discount for.
|
|
@@ -1410,10 +1789,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1410
1789
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1411
1790
|
*/
|
|
1412
1791
|
discount?: string;
|
|
1792
|
+
/**
|
|
1793
|
+
* Details to determine how long the discount should be applied for.
|
|
1794
|
+
*/
|
|
1795
|
+
discount_end?: Discount.DiscountEnd;
|
|
1413
1796
|
/**
|
|
1414
1797
|
* ID of the promotion code to create a new discount for.
|
|
1415
1798
|
*/
|
|
1416
1799
|
promotion_code?: string;
|
|
1800
|
+
/**
|
|
1801
|
+
* Settings for discount application including service period anchoring.
|
|
1802
|
+
*/
|
|
1803
|
+
settings?: Discount.Settings;
|
|
1417
1804
|
}
|
|
1418
1805
|
interface PriceData {
|
|
1419
1806
|
/**
|
|
@@ -1441,6 +1828,96 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1441
1828
|
*/
|
|
1442
1829
|
unit_amount_decimal?: Decimal;
|
|
1443
1830
|
}
|
|
1831
|
+
interface Trial {
|
|
1832
|
+
/**
|
|
1833
|
+
* 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.
|
|
1834
|
+
*/
|
|
1835
|
+
converts_to?: Array<string>;
|
|
1836
|
+
/**
|
|
1837
|
+
* Determines the type of trial for this item.
|
|
1838
|
+
*/
|
|
1839
|
+
type: Trial.Type;
|
|
1840
|
+
}
|
|
1841
|
+
namespace Discount {
|
|
1842
|
+
interface DiscountEnd {
|
|
1843
|
+
/**
|
|
1844
|
+
* Time span for the redeemed discount.
|
|
1845
|
+
*/
|
|
1846
|
+
duration?: DiscountEnd.Duration;
|
|
1847
|
+
/**
|
|
1848
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1849
|
+
*/
|
|
1850
|
+
timestamp?: number;
|
|
1851
|
+
/**
|
|
1852
|
+
* The type of calculation made to determine when the discount ends.
|
|
1853
|
+
*/
|
|
1854
|
+
type: DiscountEnd.Type;
|
|
1855
|
+
}
|
|
1856
|
+
interface Settings {
|
|
1857
|
+
/**
|
|
1858
|
+
* Configures service period cycle anchoring.
|
|
1859
|
+
*/
|
|
1860
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
1861
|
+
/**
|
|
1862
|
+
* 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.
|
|
1863
|
+
*/
|
|
1864
|
+
start_date?: Settings.StartDate;
|
|
1865
|
+
}
|
|
1866
|
+
namespace DiscountEnd {
|
|
1867
|
+
interface Duration {
|
|
1868
|
+
/**
|
|
1869
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1870
|
+
*/
|
|
1871
|
+
interval: Duration.Interval;
|
|
1872
|
+
/**
|
|
1873
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1874
|
+
*/
|
|
1875
|
+
interval_count: number;
|
|
1876
|
+
}
|
|
1877
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1878
|
+
namespace Duration {
|
|
1879
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1880
|
+
}
|
|
1881
|
+
}
|
|
1882
|
+
namespace Settings {
|
|
1883
|
+
interface ServicePeriodAnchorConfig {
|
|
1884
|
+
/**
|
|
1885
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
1886
|
+
*/
|
|
1887
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
1888
|
+
/**
|
|
1889
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
1890
|
+
*/
|
|
1891
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
1892
|
+
}
|
|
1893
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
1894
|
+
namespace ServicePeriodAnchorConfig {
|
|
1895
|
+
interface Custom {
|
|
1896
|
+
/**
|
|
1897
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
1898
|
+
*/
|
|
1899
|
+
day_of_month: number;
|
|
1900
|
+
/**
|
|
1901
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
1902
|
+
*/
|
|
1903
|
+
hour?: number;
|
|
1904
|
+
/**
|
|
1905
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
1906
|
+
*/
|
|
1907
|
+
minute?: number;
|
|
1908
|
+
/**
|
|
1909
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
1910
|
+
*/
|
|
1911
|
+
month?: number;
|
|
1912
|
+
/**
|
|
1913
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
1914
|
+
*/
|
|
1915
|
+
second?: number;
|
|
1916
|
+
}
|
|
1917
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1444
1921
|
namespace PriceData {
|
|
1445
1922
|
interface Recurring {
|
|
1446
1923
|
/**
|
|
@@ -1452,11 +1929,14 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1452
1929
|
*/
|
|
1453
1930
|
interval_count?: number;
|
|
1454
1931
|
}
|
|
1455
|
-
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
1932
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
|
|
1456
1933
|
namespace Recurring {
|
|
1457
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1934
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1458
1935
|
}
|
|
1459
1936
|
}
|
|
1937
|
+
namespace Trial {
|
|
1938
|
+
type Type = 'free' | 'paid' | OtherString;
|
|
1939
|
+
}
|
|
1460
1940
|
}
|
|
1461
1941
|
namespace PaymentSettings {
|
|
1462
1942
|
interface PaymentMethodOptions {
|
|
@@ -1468,14 +1948,30 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1468
1948
|
* This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
|
|
1469
1949
|
*/
|
|
1470
1950
|
bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
|
|
1951
|
+
/**
|
|
1952
|
+
* This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
|
|
1953
|
+
*/
|
|
1954
|
+
bizum?: Emptyable<PaymentMethodOptions.Bizum>;
|
|
1955
|
+
/**
|
|
1956
|
+
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
1957
|
+
*/
|
|
1958
|
+
blik?: Emptyable<PaymentMethodOptions.Blik>;
|
|
1471
1959
|
/**
|
|
1472
1960
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
1473
1961
|
*/
|
|
1474
1962
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
1963
|
+
/**
|
|
1964
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
1965
|
+
*/
|
|
1966
|
+
check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
|
|
1475
1967
|
/**
|
|
1476
1968
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1477
1969
|
*/
|
|
1478
1970
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
1971
|
+
/**
|
|
1972
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1973
|
+
*/
|
|
1974
|
+
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
1479
1975
|
/**
|
|
1480
1976
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
1481
1977
|
*/
|
|
@@ -1500,8 +1996,12 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1500
1996
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
1501
1997
|
*/
|
|
1502
1998
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
1999
|
+
/**
|
|
2000
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
2001
|
+
*/
|
|
2002
|
+
wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
|
|
1503
2003
|
}
|
|
1504
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
2004
|
+
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' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | OtherString;
|
|
1505
2005
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
1506
2006
|
namespace PaymentMethodOptions {
|
|
1507
2007
|
interface AcssDebit {
|
|
@@ -1520,6 +2020,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1520
2020
|
*/
|
|
1521
2021
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
1522
2022
|
}
|
|
2023
|
+
interface Bizum {
|
|
2024
|
+
/**
|
|
2025
|
+
* Configuration options for setting up a mandate
|
|
2026
|
+
*/
|
|
2027
|
+
mandate_options?: Bizum.MandateOptions;
|
|
2028
|
+
}
|
|
2029
|
+
interface Blik {
|
|
2030
|
+
/**
|
|
2031
|
+
* Configuration options for setting up a mandate
|
|
2032
|
+
*/
|
|
2033
|
+
mandate_options?: Blik.MandateOptions;
|
|
2034
|
+
}
|
|
1523
2035
|
interface Card {
|
|
1524
2036
|
/**
|
|
1525
2037
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -1534,6 +2046,8 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1534
2046
|
*/
|
|
1535
2047
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
1536
2048
|
}
|
|
2049
|
+
interface CheckScan {
|
|
2050
|
+
}
|
|
1537
2051
|
interface CustomerBalance {
|
|
1538
2052
|
/**
|
|
1539
2053
|
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
@@ -1544,6 +2058,8 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1544
2058
|
*/
|
|
1545
2059
|
funding_type?: string;
|
|
1546
2060
|
}
|
|
2061
|
+
interface IdBankTransfer {
|
|
2062
|
+
}
|
|
1547
2063
|
interface Konbini {
|
|
1548
2064
|
}
|
|
1549
2065
|
interface Payto {
|
|
@@ -1580,6 +2096,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1580
2096
|
*/
|
|
1581
2097
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
1582
2098
|
}
|
|
2099
|
+
interface WechatPay {
|
|
2100
|
+
/**
|
|
2101
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
2102
|
+
*/
|
|
2103
|
+
app_id?: string;
|
|
2104
|
+
/**
|
|
2105
|
+
* The client type that the end customer will pay from.
|
|
2106
|
+
*/
|
|
2107
|
+
client?: WechatPay.Client;
|
|
2108
|
+
}
|
|
1583
2109
|
namespace AcssDebit {
|
|
1584
2110
|
interface MandateOptions {
|
|
1585
2111
|
/**
|
|
@@ -1595,6 +2121,26 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1595
2121
|
namespace Bancontact {
|
|
1596
2122
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
1597
2123
|
}
|
|
2124
|
+
namespace Bizum {
|
|
2125
|
+
interface MandateOptions {
|
|
2126
|
+
/**
|
|
2127
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
2128
|
+
*/
|
|
2129
|
+
amount: number;
|
|
2130
|
+
/**
|
|
2131
|
+
* Indicates the mandate amount type.
|
|
2132
|
+
*/
|
|
2133
|
+
amount_type: 'fixed';
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
2136
|
+
namespace Blik {
|
|
2137
|
+
interface MandateOptions {
|
|
2138
|
+
/**
|
|
2139
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
2140
|
+
*/
|
|
2141
|
+
expires_after?: number;
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
1598
2144
|
namespace Card {
|
|
1599
2145
|
interface MandateOptions {
|
|
1600
2146
|
/**
|
|
@@ -1610,7 +2156,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1610
2156
|
*/
|
|
1611
2157
|
description?: string;
|
|
1612
2158
|
}
|
|
1613
|
-
type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa';
|
|
2159
|
+
type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa' | OtherString;
|
|
1614
2160
|
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
|
|
1615
2161
|
namespace MandateOptions {
|
|
1616
2162
|
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
@@ -1720,27 +2266,42 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1720
2266
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1721
2267
|
*/
|
|
1722
2268
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2269
|
+
/**
|
|
2270
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
2271
|
+
*/
|
|
2272
|
+
institution?: string;
|
|
1723
2273
|
}
|
|
1724
|
-
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
1725
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2274
|
+
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
2275
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
1726
2276
|
namespace Filters {
|
|
1727
2277
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
1728
2278
|
}
|
|
1729
2279
|
}
|
|
1730
2280
|
}
|
|
2281
|
+
namespace WechatPay {
|
|
2282
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
|
|
2283
|
+
}
|
|
1731
2284
|
}
|
|
1732
2285
|
}
|
|
1733
2286
|
namespace PendingInvoiceItemInterval {
|
|
1734
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2287
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2288
|
+
}
|
|
2289
|
+
namespace Prebilling {
|
|
2290
|
+
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
1735
2291
|
}
|
|
1736
2292
|
namespace TrialSettings {
|
|
1737
2293
|
interface EndBehavior {
|
|
2294
|
+
/**
|
|
2295
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
2296
|
+
*/
|
|
2297
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
1738
2298
|
/**
|
|
1739
2299
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
1740
2300
|
*/
|
|
1741
2301
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
1742
2302
|
}
|
|
1743
2303
|
namespace EndBehavior {
|
|
2304
|
+
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
1744
2305
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
1745
2306
|
}
|
|
1746
2307
|
}
|
|
@@ -1764,6 +2325,10 @@ export interface SubscriptionUpdateParams {
|
|
|
1764
2325
|
* Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
|
|
1765
2326
|
*/
|
|
1766
2327
|
automatic_tax?: SubscriptionUpdateParams.AutomaticTax;
|
|
2328
|
+
/**
|
|
2329
|
+
* 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.
|
|
2330
|
+
*/
|
|
2331
|
+
billing_cadence?: string;
|
|
1767
2332
|
/**
|
|
1768
2333
|
* Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time (in UTC). For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
|
|
1769
2334
|
*/
|
|
@@ -1856,6 +2421,10 @@ export interface SubscriptionUpdateParams {
|
|
|
1856
2421
|
* Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api/invoices/create) for the given subscription at the specified interval.
|
|
1857
2422
|
*/
|
|
1858
2423
|
pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
|
|
2424
|
+
/**
|
|
2425
|
+
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
2426
|
+
*/
|
|
2427
|
+
prebilling?: SubscriptionUpdateParams.Prebilling;
|
|
1859
2428
|
/**
|
|
1860
2429
|
* Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
|
|
1861
2430
|
*/
|
|
@@ -1926,7 +2495,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
1926
2495
|
*/
|
|
1927
2496
|
liability?: AutomaticTax.Liability;
|
|
1928
2497
|
}
|
|
1929
|
-
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
2498
|
+
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
1930
2499
|
interface BillingSchedule {
|
|
1931
2500
|
/**
|
|
1932
2501
|
* Configure billing schedule differently for individual subscription items.
|
|
@@ -1962,7 +2531,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
1962
2531
|
*/
|
|
1963
2532
|
feedback?: Emptyable<CancellationDetails.Feedback>;
|
|
1964
2533
|
}
|
|
1965
|
-
type CollectionMethod = 'charge_automatically' | 'send_invoice';
|
|
2534
|
+
type CollectionMethod = 'charge_automatically' | 'send_invoice' | OtherString;
|
|
1966
2535
|
interface Discount {
|
|
1967
2536
|
/**
|
|
1968
2537
|
* ID of the coupon to create a new discount for.
|
|
@@ -1972,10 +2541,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
1972
2541
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1973
2542
|
*/
|
|
1974
2543
|
discount?: string;
|
|
2544
|
+
/**
|
|
2545
|
+
* Details to determine how long the discount should be applied for.
|
|
2546
|
+
*/
|
|
2547
|
+
discount_end?: Discount.DiscountEnd;
|
|
1975
2548
|
/**
|
|
1976
2549
|
* ID of the promotion code to create a new discount for.
|
|
1977
2550
|
*/
|
|
1978
2551
|
promotion_code?: string;
|
|
2552
|
+
/**
|
|
2553
|
+
* Settings for discount application including service period anchoring.
|
|
2554
|
+
*/
|
|
2555
|
+
settings?: Discount.Settings;
|
|
1979
2556
|
}
|
|
1980
2557
|
interface InvoiceSettings {
|
|
1981
2558
|
/**
|
|
@@ -2008,6 +2585,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2008
2585
|
* Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
|
|
2009
2586
|
*/
|
|
2010
2587
|
clear_usage?: boolean;
|
|
2588
|
+
/**
|
|
2589
|
+
* The trial offer to apply to this subscription item.
|
|
2590
|
+
*/
|
|
2591
|
+
current_trial?: Item.CurrentTrial;
|
|
2011
2592
|
/**
|
|
2012
2593
|
* A flag that, if set to `true`, will delete the specified item.
|
|
2013
2594
|
*/
|
|
@@ -2055,7 +2636,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2055
2636
|
*/
|
|
2056
2637
|
resumes_at?: number;
|
|
2057
2638
|
}
|
|
2058
|
-
type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
|
|
2639
|
+
type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete' | OtherString;
|
|
2059
2640
|
interface PaymentSettings {
|
|
2060
2641
|
/**
|
|
2061
2642
|
* Payment-method-specific configuration to provide to invoices created by the subscription.
|
|
@@ -2080,6 +2661,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2080
2661
|
*/
|
|
2081
2662
|
interval_count?: number;
|
|
2082
2663
|
}
|
|
2664
|
+
interface Prebilling {
|
|
2665
|
+
/**
|
|
2666
|
+
* This is used to determine the number of billing cycles to prebill.
|
|
2667
|
+
*/
|
|
2668
|
+
iterations: number;
|
|
2669
|
+
/**
|
|
2670
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
2671
|
+
*/
|
|
2672
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
2673
|
+
}
|
|
2083
2674
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2084
2675
|
interface TransferData {
|
|
2085
2676
|
/**
|
|
@@ -2107,6 +2698,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2107
2698
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2108
2699
|
*/
|
|
2109
2700
|
discount?: string;
|
|
2701
|
+
/**
|
|
2702
|
+
* Details to determine how long the discount should be applied for.
|
|
2703
|
+
*/
|
|
2704
|
+
discount_end?: Discount.DiscountEnd;
|
|
2110
2705
|
/**
|
|
2111
2706
|
* ID of the promotion code to create a new discount for.
|
|
2112
2707
|
*/
|
|
@@ -2144,6 +2739,38 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2144
2739
|
*/
|
|
2145
2740
|
unit_amount_decimal?: Decimal;
|
|
2146
2741
|
}
|
|
2742
|
+
namespace Discount {
|
|
2743
|
+
interface DiscountEnd {
|
|
2744
|
+
/**
|
|
2745
|
+
* Time span for the redeemed discount.
|
|
2746
|
+
*/
|
|
2747
|
+
duration?: DiscountEnd.Duration;
|
|
2748
|
+
/**
|
|
2749
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2750
|
+
*/
|
|
2751
|
+
timestamp?: number;
|
|
2752
|
+
/**
|
|
2753
|
+
* The type of calculation made to determine when the discount ends.
|
|
2754
|
+
*/
|
|
2755
|
+
type: DiscountEnd.Type;
|
|
2756
|
+
}
|
|
2757
|
+
namespace DiscountEnd {
|
|
2758
|
+
interface Duration {
|
|
2759
|
+
/**
|
|
2760
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2761
|
+
*/
|
|
2762
|
+
interval: Duration.Interval;
|
|
2763
|
+
/**
|
|
2764
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2765
|
+
*/
|
|
2766
|
+
interval_count: number;
|
|
2767
|
+
}
|
|
2768
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2769
|
+
namespace Duration {
|
|
2770
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2771
|
+
}
|
|
2772
|
+
}
|
|
2773
|
+
}
|
|
2147
2774
|
namespace Period {
|
|
2148
2775
|
interface End {
|
|
2149
2776
|
/**
|
|
@@ -2173,7 +2800,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2173
2800
|
}
|
|
2174
2801
|
}
|
|
2175
2802
|
namespace PriceData {
|
|
2176
|
-
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
2803
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
|
|
2177
2804
|
}
|
|
2178
2805
|
}
|
|
2179
2806
|
namespace AutomaticTax {
|
|
@@ -2188,7 +2815,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2188
2815
|
type: Liability.Type;
|
|
2189
2816
|
}
|
|
2190
2817
|
namespace Liability {
|
|
2191
|
-
type Type = 'account' | 'self' | OtherString;
|
|
2818
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
2192
2819
|
}
|
|
2193
2820
|
}
|
|
2194
2821
|
namespace BillingSchedule {
|
|
@@ -2229,13 +2856,93 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2229
2856
|
}
|
|
2230
2857
|
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2231
2858
|
namespace Duration {
|
|
2232
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2859
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2233
2860
|
}
|
|
2234
2861
|
}
|
|
2235
2862
|
}
|
|
2236
2863
|
namespace CancellationDetails {
|
|
2237
2864
|
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused' | OtherString;
|
|
2238
2865
|
}
|
|
2866
|
+
namespace Discount {
|
|
2867
|
+
interface DiscountEnd {
|
|
2868
|
+
/**
|
|
2869
|
+
* Time span for the redeemed discount.
|
|
2870
|
+
*/
|
|
2871
|
+
duration?: DiscountEnd.Duration;
|
|
2872
|
+
/**
|
|
2873
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2874
|
+
*/
|
|
2875
|
+
timestamp?: number;
|
|
2876
|
+
/**
|
|
2877
|
+
* The type of calculation made to determine when the discount ends.
|
|
2878
|
+
*/
|
|
2879
|
+
type: DiscountEnd.Type;
|
|
2880
|
+
}
|
|
2881
|
+
interface Settings {
|
|
2882
|
+
/**
|
|
2883
|
+
* Configures service period cycle anchoring.
|
|
2884
|
+
*/
|
|
2885
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
2886
|
+
/**
|
|
2887
|
+
* 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.
|
|
2888
|
+
*/
|
|
2889
|
+
start_date?: Settings.StartDate;
|
|
2890
|
+
}
|
|
2891
|
+
namespace DiscountEnd {
|
|
2892
|
+
interface Duration {
|
|
2893
|
+
/**
|
|
2894
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2895
|
+
*/
|
|
2896
|
+
interval: Duration.Interval;
|
|
2897
|
+
/**
|
|
2898
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2899
|
+
*/
|
|
2900
|
+
interval_count: number;
|
|
2901
|
+
}
|
|
2902
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2903
|
+
namespace Duration {
|
|
2904
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2907
|
+
namespace Settings {
|
|
2908
|
+
interface ServicePeriodAnchorConfig {
|
|
2909
|
+
/**
|
|
2910
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
2911
|
+
*/
|
|
2912
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
2913
|
+
/**
|
|
2914
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
2915
|
+
*/
|
|
2916
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
2917
|
+
}
|
|
2918
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
2919
|
+
namespace ServicePeriodAnchorConfig {
|
|
2920
|
+
interface Custom {
|
|
2921
|
+
/**
|
|
2922
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
2923
|
+
*/
|
|
2924
|
+
day_of_month: number;
|
|
2925
|
+
/**
|
|
2926
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
2927
|
+
*/
|
|
2928
|
+
hour?: number;
|
|
2929
|
+
/**
|
|
2930
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
2931
|
+
*/
|
|
2932
|
+
minute?: number;
|
|
2933
|
+
/**
|
|
2934
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
2935
|
+
*/
|
|
2936
|
+
month?: number;
|
|
2937
|
+
/**
|
|
2938
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
2939
|
+
*/
|
|
2940
|
+
second?: number;
|
|
2941
|
+
}
|
|
2942
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
2943
|
+
}
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2239
2946
|
namespace InvoiceSettings {
|
|
2240
2947
|
interface CustomField {
|
|
2241
2948
|
/**
|
|
@@ -2258,7 +2965,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2258
2965
|
type: Issuer.Type;
|
|
2259
2966
|
}
|
|
2260
2967
|
namespace Issuer {
|
|
2261
|
-
type Type = 'account' | 'self' | OtherString;
|
|
2968
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
2262
2969
|
}
|
|
2263
2970
|
}
|
|
2264
2971
|
namespace Item {
|
|
@@ -2268,6 +2975,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2268
2975
|
*/
|
|
2269
2976
|
usage_gte: number;
|
|
2270
2977
|
}
|
|
2978
|
+
interface CurrentTrial {
|
|
2979
|
+
/**
|
|
2980
|
+
* 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`.
|
|
2981
|
+
*/
|
|
2982
|
+
trial_end?: number;
|
|
2983
|
+
/**
|
|
2984
|
+
* The ID of the trial offer to apply to the subscription item.
|
|
2985
|
+
*/
|
|
2986
|
+
trial_offer: string;
|
|
2987
|
+
}
|
|
2271
2988
|
interface Discount {
|
|
2272
2989
|
/**
|
|
2273
2990
|
* ID of the coupon to create a new discount for.
|
|
@@ -2277,10 +2994,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2277
2994
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2278
2995
|
*/
|
|
2279
2996
|
discount?: string;
|
|
2997
|
+
/**
|
|
2998
|
+
* Details to determine how long the discount should be applied for.
|
|
2999
|
+
*/
|
|
3000
|
+
discount_end?: Discount.DiscountEnd;
|
|
2280
3001
|
/**
|
|
2281
3002
|
* ID of the promotion code to create a new discount for.
|
|
2282
3003
|
*/
|
|
2283
3004
|
promotion_code?: string;
|
|
3005
|
+
/**
|
|
3006
|
+
* Settings for discount application including service period anchoring.
|
|
3007
|
+
*/
|
|
3008
|
+
settings?: Discount.Settings;
|
|
2284
3009
|
}
|
|
2285
3010
|
interface PriceData {
|
|
2286
3011
|
/**
|
|
@@ -2308,6 +3033,86 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2308
3033
|
*/
|
|
2309
3034
|
unit_amount_decimal?: Decimal;
|
|
2310
3035
|
}
|
|
3036
|
+
namespace Discount {
|
|
3037
|
+
interface DiscountEnd {
|
|
3038
|
+
/**
|
|
3039
|
+
* Time span for the redeemed discount.
|
|
3040
|
+
*/
|
|
3041
|
+
duration?: DiscountEnd.Duration;
|
|
3042
|
+
/**
|
|
3043
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3044
|
+
*/
|
|
3045
|
+
timestamp?: number;
|
|
3046
|
+
/**
|
|
3047
|
+
* The type of calculation made to determine when the discount ends.
|
|
3048
|
+
*/
|
|
3049
|
+
type: DiscountEnd.Type;
|
|
3050
|
+
}
|
|
3051
|
+
interface Settings {
|
|
3052
|
+
/**
|
|
3053
|
+
* Configures service period cycle anchoring.
|
|
3054
|
+
*/
|
|
3055
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
3056
|
+
/**
|
|
3057
|
+
* 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.
|
|
3058
|
+
*/
|
|
3059
|
+
start_date?: Settings.StartDate;
|
|
3060
|
+
}
|
|
3061
|
+
namespace DiscountEnd {
|
|
3062
|
+
interface Duration {
|
|
3063
|
+
/**
|
|
3064
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3065
|
+
*/
|
|
3066
|
+
interval: Duration.Interval;
|
|
3067
|
+
/**
|
|
3068
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3069
|
+
*/
|
|
3070
|
+
interval_count: number;
|
|
3071
|
+
}
|
|
3072
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3073
|
+
namespace Duration {
|
|
3074
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3075
|
+
}
|
|
3076
|
+
}
|
|
3077
|
+
namespace Settings {
|
|
3078
|
+
interface ServicePeriodAnchorConfig {
|
|
3079
|
+
/**
|
|
3080
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
3081
|
+
*/
|
|
3082
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
3083
|
+
/**
|
|
3084
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
3085
|
+
*/
|
|
3086
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
3087
|
+
}
|
|
3088
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
3089
|
+
namespace ServicePeriodAnchorConfig {
|
|
3090
|
+
interface Custom {
|
|
3091
|
+
/**
|
|
3092
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3093
|
+
*/
|
|
3094
|
+
day_of_month: number;
|
|
3095
|
+
/**
|
|
3096
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3097
|
+
*/
|
|
3098
|
+
hour?: number;
|
|
3099
|
+
/**
|
|
3100
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3101
|
+
*/
|
|
3102
|
+
minute?: number;
|
|
3103
|
+
/**
|
|
3104
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3105
|
+
*/
|
|
3106
|
+
month?: number;
|
|
3107
|
+
/**
|
|
3108
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3109
|
+
*/
|
|
3110
|
+
second?: number;
|
|
3111
|
+
}
|
|
3112
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
3113
|
+
}
|
|
3114
|
+
}
|
|
3115
|
+
}
|
|
2311
3116
|
namespace PriceData {
|
|
2312
3117
|
interface Recurring {
|
|
2313
3118
|
/**
|
|
@@ -2319,14 +3124,14 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2319
3124
|
*/
|
|
2320
3125
|
interval_count?: number;
|
|
2321
3126
|
}
|
|
2322
|
-
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
3127
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
|
|
2323
3128
|
namespace Recurring {
|
|
2324
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
3129
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2325
3130
|
}
|
|
2326
3131
|
}
|
|
2327
3132
|
}
|
|
2328
3133
|
namespace PauseCollection {
|
|
2329
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
|
|
3134
|
+
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
2330
3135
|
}
|
|
2331
3136
|
namespace PaymentSettings {
|
|
2332
3137
|
interface PaymentMethodOptions {
|
|
@@ -2338,14 +3143,30 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2338
3143
|
* This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
|
|
2339
3144
|
*/
|
|
2340
3145
|
bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
|
|
3146
|
+
/**
|
|
3147
|
+
* This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
|
|
3148
|
+
*/
|
|
3149
|
+
bizum?: Emptyable<PaymentMethodOptions.Bizum>;
|
|
3150
|
+
/**
|
|
3151
|
+
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
3152
|
+
*/
|
|
3153
|
+
blik?: Emptyable<PaymentMethodOptions.Blik>;
|
|
2341
3154
|
/**
|
|
2342
3155
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
2343
3156
|
*/
|
|
2344
3157
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
3158
|
+
/**
|
|
3159
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
3160
|
+
*/
|
|
3161
|
+
check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
|
|
2345
3162
|
/**
|
|
2346
3163
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2347
3164
|
*/
|
|
2348
3165
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
3166
|
+
/**
|
|
3167
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
3168
|
+
*/
|
|
3169
|
+
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
2349
3170
|
/**
|
|
2350
3171
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
2351
3172
|
*/
|
|
@@ -2370,8 +3191,12 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2370
3191
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
2371
3192
|
*/
|
|
2372
3193
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
3194
|
+
/**
|
|
3195
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
3196
|
+
*/
|
|
3197
|
+
wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
|
|
2373
3198
|
}
|
|
2374
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
3199
|
+
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' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | OtherString;
|
|
2375
3200
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
2376
3201
|
namespace PaymentMethodOptions {
|
|
2377
3202
|
interface AcssDebit {
|
|
@@ -2390,6 +3215,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2390
3215
|
*/
|
|
2391
3216
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
2392
3217
|
}
|
|
3218
|
+
interface Bizum {
|
|
3219
|
+
/**
|
|
3220
|
+
* Configuration options for setting up a mandate
|
|
3221
|
+
*/
|
|
3222
|
+
mandate_options?: Bizum.MandateOptions;
|
|
3223
|
+
}
|
|
3224
|
+
interface Blik {
|
|
3225
|
+
/**
|
|
3226
|
+
* Configuration options for setting up a mandate
|
|
3227
|
+
*/
|
|
3228
|
+
mandate_options?: Blik.MandateOptions;
|
|
3229
|
+
}
|
|
2393
3230
|
interface Card {
|
|
2394
3231
|
/**
|
|
2395
3232
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -2404,6 +3241,8 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2404
3241
|
*/
|
|
2405
3242
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
2406
3243
|
}
|
|
3244
|
+
interface CheckScan {
|
|
3245
|
+
}
|
|
2407
3246
|
interface CustomerBalance {
|
|
2408
3247
|
/**
|
|
2409
3248
|
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
@@ -2414,6 +3253,8 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2414
3253
|
*/
|
|
2415
3254
|
funding_type?: string;
|
|
2416
3255
|
}
|
|
3256
|
+
interface IdBankTransfer {
|
|
3257
|
+
}
|
|
2417
3258
|
interface Konbini {
|
|
2418
3259
|
}
|
|
2419
3260
|
interface Payto {
|
|
@@ -2450,6 +3291,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2450
3291
|
*/
|
|
2451
3292
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
2452
3293
|
}
|
|
3294
|
+
interface WechatPay {
|
|
3295
|
+
/**
|
|
3296
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
3297
|
+
*/
|
|
3298
|
+
app_id?: string;
|
|
3299
|
+
/**
|
|
3300
|
+
* The client type that the end customer will pay from.
|
|
3301
|
+
*/
|
|
3302
|
+
client?: WechatPay.Client;
|
|
3303
|
+
}
|
|
2453
3304
|
namespace AcssDebit {
|
|
2454
3305
|
interface MandateOptions {
|
|
2455
3306
|
/**
|
|
@@ -2465,6 +3316,26 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2465
3316
|
namespace Bancontact {
|
|
2466
3317
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
2467
3318
|
}
|
|
3319
|
+
namespace Bizum {
|
|
3320
|
+
interface MandateOptions {
|
|
3321
|
+
/**
|
|
3322
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
3323
|
+
*/
|
|
3324
|
+
amount: number;
|
|
3325
|
+
/**
|
|
3326
|
+
* Indicates the mandate amount type.
|
|
3327
|
+
*/
|
|
3328
|
+
amount_type: 'fixed';
|
|
3329
|
+
}
|
|
3330
|
+
}
|
|
3331
|
+
namespace Blik {
|
|
3332
|
+
interface MandateOptions {
|
|
3333
|
+
/**
|
|
3334
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
3335
|
+
*/
|
|
3336
|
+
expires_after?: number;
|
|
3337
|
+
}
|
|
3338
|
+
}
|
|
2468
3339
|
namespace Card {
|
|
2469
3340
|
interface MandateOptions {
|
|
2470
3341
|
/**
|
|
@@ -2480,7 +3351,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2480
3351
|
*/
|
|
2481
3352
|
description?: string;
|
|
2482
3353
|
}
|
|
2483
|
-
type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa';
|
|
3354
|
+
type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa' | OtherString;
|
|
2484
3355
|
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
|
|
2485
3356
|
namespace MandateOptions {
|
|
2486
3357
|
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
@@ -2590,27 +3461,42 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2590
3461
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2591
3462
|
*/
|
|
2592
3463
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3464
|
+
/**
|
|
3465
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
3466
|
+
*/
|
|
3467
|
+
institution?: string;
|
|
2593
3468
|
}
|
|
2594
|
-
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
2595
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
3469
|
+
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
3470
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
2596
3471
|
namespace Filters {
|
|
2597
3472
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2598
3473
|
}
|
|
2599
3474
|
}
|
|
2600
3475
|
}
|
|
3476
|
+
namespace WechatPay {
|
|
3477
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
|
|
3478
|
+
}
|
|
2601
3479
|
}
|
|
2602
3480
|
}
|
|
2603
3481
|
namespace PendingInvoiceItemInterval {
|
|
2604
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
3482
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3483
|
+
}
|
|
3484
|
+
namespace Prebilling {
|
|
3485
|
+
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
2605
3486
|
}
|
|
2606
3487
|
namespace TrialSettings {
|
|
2607
3488
|
interface EndBehavior {
|
|
3489
|
+
/**
|
|
3490
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
3491
|
+
*/
|
|
3492
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
2608
3493
|
/**
|
|
2609
3494
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
2610
3495
|
*/
|
|
2611
3496
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
2612
3497
|
}
|
|
2613
3498
|
namespace EndBehavior {
|
|
3499
|
+
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
2614
3500
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
2615
3501
|
}
|
|
2616
3502
|
}
|
|
@@ -2620,6 +3506,10 @@ export interface SubscriptionListParams extends PaginationParams {
|
|
|
2620
3506
|
* Filter subscriptions by their automatic tax settings.
|
|
2621
3507
|
*/
|
|
2622
3508
|
automatic_tax?: SubscriptionListParams.AutomaticTax;
|
|
3509
|
+
/**
|
|
3510
|
+
* Filter for subscriptions that have the specified billing cadence.
|
|
3511
|
+
*/
|
|
3512
|
+
billing_cadence?: string;
|
|
2623
3513
|
/**
|
|
2624
3514
|
* The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
|
|
2625
3515
|
*/
|
|
@@ -2672,9 +3562,19 @@ export declare namespace SubscriptionListParams {
|
|
|
2672
3562
|
*/
|
|
2673
3563
|
enabled: boolean;
|
|
2674
3564
|
}
|
|
2675
|
-
type CollectionMethod = 'charge_automatically' | 'send_invoice';
|
|
3565
|
+
type CollectionMethod = 'charge_automatically' | 'send_invoice' | OtherString;
|
|
2676
3566
|
type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
|
|
2677
3567
|
}
|
|
3568
|
+
export interface SubscriptionAttachCadenceParams {
|
|
3569
|
+
/**
|
|
3570
|
+
* 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.
|
|
3571
|
+
*/
|
|
3572
|
+
billing_cadence: string;
|
|
3573
|
+
/**
|
|
3574
|
+
* Specifies which fields in the response should be expanded.
|
|
3575
|
+
*/
|
|
3576
|
+
expand?: Array<string>;
|
|
3577
|
+
}
|
|
2678
3578
|
export interface SubscriptionCancelParams {
|
|
2679
3579
|
/**
|
|
2680
3580
|
* Details about why this subscription was cancelled
|
|
@@ -2739,7 +3639,58 @@ export declare namespace SubscriptionMigrateParams {
|
|
|
2739
3639
|
proration_discounts?: Flexible.ProrationDiscounts;
|
|
2740
3640
|
}
|
|
2741
3641
|
namespace Flexible {
|
|
2742
|
-
type ProrationDiscounts = 'included' | 'itemized';
|
|
3642
|
+
type ProrationDiscounts = 'included' | 'itemized' | OtherString;
|
|
3643
|
+
}
|
|
3644
|
+
}
|
|
3645
|
+
}
|
|
3646
|
+
export interface SubscriptionPauseParams {
|
|
3647
|
+
/**
|
|
3648
|
+
* Controls what to bill for when pausing the subscription.
|
|
3649
|
+
*/
|
|
3650
|
+
bill_for?: SubscriptionPauseParams.BillFor;
|
|
3651
|
+
/**
|
|
3652
|
+
* Specifies which fields in the response should be expanded.
|
|
3653
|
+
*/
|
|
3654
|
+
expand?: Array<string>;
|
|
3655
|
+
/**
|
|
3656
|
+
* Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`.
|
|
3657
|
+
*/
|
|
3658
|
+
invoicing_behavior?: SubscriptionPauseParams.InvoicingBehavior;
|
|
3659
|
+
/**
|
|
3660
|
+
* The type of pause to apply. Defaults to `subscription`.
|
|
3661
|
+
*/
|
|
3662
|
+
type?: 'subscription';
|
|
3663
|
+
}
|
|
3664
|
+
export declare namespace SubscriptionPauseParams {
|
|
3665
|
+
interface BillFor {
|
|
3666
|
+
/**
|
|
3667
|
+
* Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
|
|
3668
|
+
*/
|
|
3669
|
+
outstanding_usage_through?: BillFor.OutstandingUsageThrough;
|
|
3670
|
+
/**
|
|
3671
|
+
* Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
|
|
3672
|
+
*/
|
|
3673
|
+
unused_time_from?: BillFor.UnusedTimeFrom;
|
|
3674
|
+
}
|
|
3675
|
+
type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
|
|
3676
|
+
namespace BillFor {
|
|
3677
|
+
interface OutstandingUsageThrough {
|
|
3678
|
+
/**
|
|
3679
|
+
* When to bill metered usage in the current period.
|
|
3680
|
+
*/
|
|
3681
|
+
type: OutstandingUsageThrough.Type;
|
|
3682
|
+
}
|
|
3683
|
+
interface UnusedTimeFrom {
|
|
3684
|
+
/**
|
|
3685
|
+
* When to credit for unused time.
|
|
3686
|
+
*/
|
|
3687
|
+
type: UnusedTimeFrom.Type;
|
|
3688
|
+
}
|
|
3689
|
+
namespace OutstandingUsageThrough {
|
|
3690
|
+
type Type = 'none' | 'now' | OtherString;
|
|
3691
|
+
}
|
|
3692
|
+
namespace UnusedTimeFrom {
|
|
3693
|
+
type Type = 'item_current_period_start' | 'none' | 'now' | OtherString;
|
|
2743
3694
|
}
|
|
2744
3695
|
}
|
|
2745
3696
|
}
|
|
@@ -2752,6 +3703,10 @@ export interface SubscriptionResumeParams {
|
|
|
2752
3703
|
* Specifies which fields in the response should be expanded.
|
|
2753
3704
|
*/
|
|
2754
3705
|
expand?: Array<string>;
|
|
3706
|
+
/**
|
|
3707
|
+
* Controls whether Stripe attempts payment on the resumption invoice in the resume request, and how payment on that invoice affects the subscription's status. The default is `resume_on_payment_attempt`.
|
|
3708
|
+
*/
|
|
3709
|
+
payment_behavior?: SubscriptionResumeParams.PaymentBehavior;
|
|
2755
3710
|
/**
|
|
2756
3711
|
* Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor` being `unchanged`. When the `billing_cycle_anchor` is set to `now` (default value), no prorations are generated. If no value is passed, the default is `create_prorations`.
|
|
2757
3712
|
*/
|
|
@@ -2763,6 +3718,7 @@ export interface SubscriptionResumeParams {
|
|
|
2763
3718
|
}
|
|
2764
3719
|
export declare namespace SubscriptionResumeParams {
|
|
2765
3720
|
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
3721
|
+
type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success' | OtherString;
|
|
2766
3722
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2767
3723
|
}
|
|
2768
3724
|
export interface SubscriptionSearchParams {
|
|
@@ -2783,3 +3739,15 @@ export interface SubscriptionSearchParams {
|
|
|
2783
3739
|
*/
|
|
2784
3740
|
page?: string;
|
|
2785
3741
|
}
|
|
3742
|
+
export interface SubscriptionSerializeBatchCancelParams {
|
|
3743
|
+
}
|
|
3744
|
+
export interface SubscriptionSerializeBatchCreateParams {
|
|
3745
|
+
}
|
|
3746
|
+
export interface SubscriptionSerializeBatchMigrateParams {
|
|
3747
|
+
}
|
|
3748
|
+
export interface SubscriptionSerializeBatchPauseParams {
|
|
3749
|
+
}
|
|
3750
|
+
export interface SubscriptionSerializeBatchResumeParams {
|
|
3751
|
+
}
|
|
3752
|
+
export interface SubscriptionSerializeBatchUpdateParams {
|
|
3753
|
+
}
|