stripe 22.6.1 → 22.7.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 +3371 -12
- package/OPENAPI_VERSION +1 -1
- package/README.md +44 -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/StripeEventNotificationHandler.js +425 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +9 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +5 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +561 -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 +1066 -6
- package/cjs/resources/Accounts.js +47 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +28 -1
- package/cjs/resources/Balance.d.ts +134 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BalanceTransfers.d.ts +160 -0
- package/cjs/resources/BalanceTransfers.js +15 -0
- package/cjs/resources/BalanceTransfers.js.map +1 -0
- package/cjs/resources/BankAccounts.d.ts +16 -2
- package/cjs/resources/Billing/AlertNotifications.d.ts +75 -0
- package/cjs/resources/Billing/AlertNotifications.js +4 -0
- package/cjs/resources/Billing/AlertNotifications.js.map +1 -0
- package/cjs/resources/Billing/AlertRecovereds.d.ts +56 -0
- package/cjs/resources/Billing/AlertRecovereds.js +4 -0
- package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
- package/cjs/resources/Billing/AlertTriggereds.d.ts +55 -1
- package/cjs/resources/Billing/Alerts.d.ts +450 -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 +8 -2
- package/cjs/resources/Billing/FeedbackOptions.js +2 -2
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/cjs/resources/Billing/Meters.d.ts +31 -0
- package/cjs/resources/Billing/index.d.ts +10 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Sessions.d.ts +22 -2
- package/cjs/resources/Capabilities.d.ts +39 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +102 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +28 -0
- package/cjs/resources/Charges.d.ts +3364 -71
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +1280 -17
- package/cjs/resources/Checkout/Sessions.js +115 -0
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +1 -0
- package/cjs/resources/ConfirmationTokens.d.ts +149 -1
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +128 -2
- package/cjs/resources/Coupons.js +41 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +7 -1
- package/cjs/resources/CreditNotes.js +13 -0
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js +4 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js +4 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/cjs/resources/Crypto/Customers.d.ts +111 -0
- package/cjs/resources/Crypto/Customers.js +31 -0
- package/cjs/resources/Crypto/Customers.js.map +1 -0
- package/cjs/resources/Crypto/DepositAddresses.d.ts +128 -0
- package/cjs/resources/Crypto/DepositAddresses.js +31 -0
- package/cjs/resources/Crypto/DepositAddresses.js.map +1 -0
- package/cjs/resources/Crypto/OnrampSessions.d.ts +425 -0
- package/cjs/resources/Crypto/OnrampSessions.js +47 -0
- package/cjs/resources/Crypto/OnrampSessions.js.map +1 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js +15 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/cjs/resources/Crypto/index.d.ts +41 -0
- package/cjs/resources/Crypto/index.js +19 -0
- package/cjs/resources/Crypto/index.js.map +1 -0
- package/cjs/resources/CustomerSessions.d.ts +74 -0
- package/cjs/resources/CustomerSessions.js +13 -0
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/CustomerTaxExemptions.d.ts +69 -0
- package/cjs/resources/CustomerTaxExemptions.js +4 -0
- package/cjs/resources/CustomerTaxExemptions.js.map +1 -0
- package/cjs/resources/Customers.d.ts +197 -1
- package/cjs/resources/Customers.js +221 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/Orders.d.ts +159 -0
- package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
- package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1427 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
- package/cjs/resources/DelegatedCheckout/index.js +15 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +28 -2
- 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/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 +124 -9
- package/cjs/resources/FinancialConnections/Transactions.d.ts +88 -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 +188 -0
- package/cjs/resources/GiftCards.js +51 -0
- package/cjs/resources/GiftCards.js.map +1 -0
- package/cjs/resources/Identity/BlocklistEntries.d.ts +155 -0
- package/cjs/resources/Identity/BlocklistEntries.js +54 -0
- package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
- package/cjs/resources/Identity/VerificationReports.d.ts +90 -4
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +48 -4
- package/cjs/resources/Identity/index.d.ts +18 -10
- package/cjs/resources/Identity/index.js +2 -0
- package/cjs/resources/Identity/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +215 -2
- package/cjs/resources/InvoiceItems.js +41 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +2303 -59
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +735 -1
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +22 -4
- package/cjs/resources/Issuing/Cards.d.ts +139 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +53 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +246 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Programs.d.ts +95 -0
- package/cjs/resources/Issuing/Programs.js +35 -0
- package/cjs/resources/Issuing/Programs.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +83 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Tokens.d.ts +26 -0
- package/cjs/resources/Issuing/Transactions.d.ts +233 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +56 -22
- package/cjs/resources/Issuing/index.js +8 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +47 -2
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/cjs/resources/Orchestration/index.d.ts +12 -0
- package/cjs/resources/Orchestration/index.js +13 -0
- package/cjs/resources/Orchestration/index.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4776 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +738 -5
- 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 +17464 -3482
- package/cjs/resources/PaymentIntents.js +46 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +75 -13
- package/cjs/resources/PaymentLocationCapabilities.d.ts +124 -0
- package/cjs/resources/PaymentLocationCapabilities.js +29 -0
- package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
- package/cjs/resources/PaymentLocations.d.ts +178 -0
- package/cjs/resources/PaymentLocations.js +41 -0
- package/cjs/resources/PaymentLocations.js.map +1 -0
- package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
- package/cjs/resources/PaymentMethodBalances.js +4 -0
- package/cjs/resources/PaymentMethodBalances.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +420 -0
- package/cjs/resources/PaymentMethods.d.ts +303 -3
- package/cjs/resources/PaymentMethods.js +20 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentPlans.d.ts +427 -0
- package/cjs/resources/PaymentPlans.js +35 -0
- package/cjs/resources/PaymentPlans.js.map +1 -0
- package/cjs/resources/PaymentRecords.d.ts +791 -23
- package/cjs/resources/PaymentRecords.js +18 -0
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Persons.d.ts +39 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +76 -0
- package/cjs/resources/Prices.js +27 -0
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +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 +159 -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 +198 -0
- package/cjs/resources/Products.js +69 -0
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/Profiles.d.ts +68 -0
- package/cjs/resources/Profiles.js +4 -0
- package/cjs/resources/Profiles.js.map +1 -0
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +684 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1239 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +1088 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +3546 -252
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/AccountEvaluations.d.ts +309 -0
- package/cjs/resources/Radar/AccountEvaluations.js +27 -0
- package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
- package/cjs/resources/Radar/BillingEvaluations.d.ts +372 -0
- package/cjs/resources/Radar/BillingEvaluations.js +15 -0
- package/cjs/resources/Radar/BillingEvaluations.js.map +1 -0
- package/cjs/resources/Radar/CustomerEvaluations.d.ts +245 -0
- package/cjs/resources/Radar/CustomerEvaluations.js +27 -0
- package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +117 -3
- package/cjs/resources/Radar/ValueListItems.d.ts +39 -1
- package/cjs/resources/Radar/ValueListItems.js +13 -0
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +41 -16
- package/cjs/resources/Radar/index.js +8 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +39 -0
- package/cjs/resources/Refunds.js +27 -0
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +16 -0
- package/cjs/resources/Reserve/Plans.js +11 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +17 -6
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/RiskSignals.d.ts +10 -0
- package/cjs/resources/RiskSignals.js +4 -0
- package/cjs/resources/RiskSignals.js.map +1 -0
- package/cjs/resources/SetupAttempts.d.ts +36 -2
- package/cjs/resources/SetupAttempts.js.map +1 -1
- package/cjs/resources/SetupIntents.d.ts +633 -17
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +442 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +378 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +29 -1
- package/cjs/resources/SubscriptionItems.d.ts +265 -0
- package/cjs/resources/SubscriptionItems.js +41 -0
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +2443 -67
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +1074 -19
- package/cjs/resources/Subscriptions.js +289 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/cjs/resources/Tax/Calculations.d.ts +46 -4
- package/cjs/resources/Tax/Forms.d.ts +228 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Locations.d.ts +112 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +179 -4
- package/cjs/resources/Tax/Registrations.js +27 -0
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +8 -0
- package/cjs/resources/Tax/Settings.js +13 -0
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +10 -2
- package/cjs/resources/Tax/Transactions.js +13 -0
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +31 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +16 -1
- package/cjs/resources/TaxFunds.d.ts +174 -0
- package/cjs/resources/TaxFunds.js +23 -0
- package/cjs/resources/TaxFunds.js.map +1 -0
- package/cjs/resources/TaxIds.d.ts +6 -0
- package/cjs/resources/TaxIds.js +13 -0
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.d.ts +12 -0
- package/cjs/resources/TaxRates.js +27 -0
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +220 -3
- 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 +100 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +107 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js +39 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +110 -0
- package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +38 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +92 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +18 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +14 -6
- package/cjs/resources/TestHelpers/index.js +12 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +76 -0
- package/cjs/resources/Transfers.d.ts +12 -0
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/TransitBalances.d.ts +25 -0
- package/cjs/resources/TransitBalances.js +4 -0
- package/cjs/resources/TransitBalances.js.map +1 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +9 -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 +87 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +1022 -0
- package/cjs/resources/V2/Billing/Cadences.js +264 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +50 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/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 +1776 -0
- package/cjs/resources/V2/Billing/Contracts.js +334 -0
- package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/cjs/resources/V2/Billing/IntentActions.d.ts +609 -0
- package/cjs/resources/V2/Billing/IntentActions.js +4 -0
- package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents.d.ts +1267 -0
- package/cjs/resources/V2/Billing/Intents.js +87 -0
- package/cjs/resources/V2/Billing/Intents.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees.d.ts +360 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
- package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/cjs/resources/V2/Billing/LicensedItems.d.ts +170 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
- package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +4 -2
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +218 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
- package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/cjs/resources/V2/Billing/OneTimeItems.d.ts +170 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +636 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans.d.ts +169 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
- package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardRates.d.ts +111 -0
- package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +218 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards.d.ts +336 -0
- package/cjs/resources/V2/Billing/RateCards.js +76 -0
- package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +536 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
- package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +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 +162 -6
- package/cjs/resources/V2/Core/AccountPersons.d.ts +17 -6
- package/cjs/resources/V2/Core/AccountTokens.d.ts +270 -17
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +17 -6
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +34 -12
- package/cjs/resources/V2/Core/Accounts.d.ts +15292 -929
- package/cjs/resources/V2/Core/Accounts.js +10464 -53
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +378 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +39 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +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/EventDestinations.d.ts +10 -3
- package/cjs/resources/V2/Core/Events.d.ts +8301 -223
- package/cjs/resources/V2/Core/FeeBatches.d.ts +238 -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 +426 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +4 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js +101 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts.d.ts +540 -0
- package/cjs/resources/V2/Core/Health/Alerts.js +182 -0
- package/cjs/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/cjs/resources/V2/Core/Health/index.d.ts +16 -0
- package/cjs/resources/V2/Core/Health/index.js +13 -0
- package/cjs/resources/V2/Core/Health/index.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +284 -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 +256 -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 +65 -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 +176 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/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 +362 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +306 -0
- package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
- package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +23 -0
- package/cjs/resources/V2/Iam/index.js +15 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +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 +173 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/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 +485 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +157 -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 +331 -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 +645 -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 +397 -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 +651 -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 +292 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +53 -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 +499 -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 +171 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +29 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +324 -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 +154 -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 +836 -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 +212 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/cjs/resources/V2/Payments/index.d.ts +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 +195 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Reporting/Reports.d.ts +106 -0
- package/cjs/resources/V2/Reporting/Reports.js +17 -0
- package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
- package/cjs/resources/V2/Reporting/index.d.ts +18 -0
- package/cjs/resources/V2/Reporting/index.js +15 -0
- package/cjs/resources/V2/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Risk/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 +488 -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 +297 -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/PaymentRetryEvaluations.d.ts +116 -0
- package/cjs/resources/V2/Signals/PaymentRetryEvaluations.js +38 -0
- package/cjs/resources/V2/Signals/PaymentRetryEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/PaymentRetrySignals.d.ts +63 -0
- package/cjs/resources/V2/Signals/PaymentRetrySignals.js +15 -0
- package/cjs/resources/V2/Signals/PaymentRetrySignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +39 -0
- package/cjs/resources/V2/Signals/index.js +21 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/Tax/IntegrationConfigurations.d.ts +64 -0
- package/cjs/resources/V2/Tax/IntegrationConfigurations.js +21 -0
- package/cjs/resources/V2/Tax/IntegrationConfigurations.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +331 -0
- package/cjs/resources/V2/Tax/ManualRules.js +193 -0
- package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
- package/cjs/resources/V2/Tax/Operations.d.ts +43 -0
- package/cjs/resources/V2/Tax/Operations.js +15 -0
- package/cjs/resources/V2/Tax/Operations.js.map +1 -0
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.d.ts +70 -0
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js +4 -0
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
- package/cjs/resources/V2/Tax/index.d.ts +27 -0
- package/cjs/resources/V2/Tax/index.js +17 -0
- package/cjs/resources/V2/Tax/index.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +45 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
- package/cjs/resources/V2/TestHelpers/index.js +15 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +42 -0
- package/cjs/resources/V2/index.js +24 -0
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +20 -0
- package/cjs/resources.js +304 -18
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +16317 -1232
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +163 -54
- package/cjs/stripe.core.js +70 -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/StripeEventNotificationHandler.js +425 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +9 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +5 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +561 -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 +1066 -6
- package/esm/resources/Accounts.js +47 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +28 -1
- package/esm/resources/Balance.d.ts +134 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BalanceTransfers.d.ts +160 -0
- package/esm/resources/BalanceTransfers.js +11 -0
- package/esm/resources/BalanceTransfers.js.map +1 -0
- package/esm/resources/BankAccounts.d.ts +16 -2
- package/esm/resources/Billing/AlertNotifications.d.ts +75 -0
- package/esm/resources/Billing/AlertNotifications.js +3 -0
- package/esm/resources/Billing/AlertNotifications.js.map +1 -0
- package/esm/resources/Billing/AlertRecovereds.d.ts +56 -0
- package/esm/resources/Billing/AlertRecovereds.js +3 -0
- package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
- package/esm/resources/Billing/AlertTriggereds.d.ts +55 -1
- package/esm/resources/Billing/Alerts.d.ts +450 -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 +8 -2
- package/esm/resources/Billing/FeedbackOptions.js +2 -2
- package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/esm/resources/Billing/Meters.d.ts +31 -0
- package/esm/resources/Billing/index.d.ts +10 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Sessions.d.ts +22 -2
- package/esm/resources/Capabilities.d.ts +39 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +102 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +28 -0
- package/esm/resources/Charges.d.ts +3364 -71
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +1280 -17
- package/esm/resources/Checkout/Sessions.js +115 -0
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +1 -0
- package/esm/resources/ConfirmationTokens.d.ts +149 -1
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/Coupons.d.ts +128 -2
- package/esm/resources/Coupons.js +41 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +7 -1
- package/esm/resources/CreditNotes.js +13 -0
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js +3 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js +3 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/esm/resources/Crypto/Customers.d.ts +111 -0
- package/esm/resources/Crypto/Customers.js +27 -0
- package/esm/resources/Crypto/Customers.js.map +1 -0
- package/esm/resources/Crypto/DepositAddresses.d.ts +128 -0
- package/esm/resources/Crypto/DepositAddresses.js +27 -0
- package/esm/resources/Crypto/DepositAddresses.js.map +1 -0
- package/esm/resources/Crypto/OnrampSessions.d.ts +425 -0
- package/esm/resources/Crypto/OnrampSessions.js +43 -0
- package/esm/resources/Crypto/OnrampSessions.js.map +1 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js +11 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/esm/resources/Crypto/index.d.ts +41 -0
- package/esm/resources/Crypto/index.js +15 -0
- package/esm/resources/Crypto/index.js.map +1 -0
- package/esm/resources/CustomerSessions.d.ts +74 -0
- package/esm/resources/CustomerSessions.js +13 -0
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/CustomerTaxExemptions.d.ts +69 -0
- package/esm/resources/CustomerTaxExemptions.js +3 -0
- package/esm/resources/CustomerTaxExemptions.js.map +1 -0
- package/esm/resources/Customers.d.ts +197 -1
- package/esm/resources/Customers.js +221 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/esm/resources/DelegatedCheckout/Orders.d.ts +159 -0
- package/esm/resources/DelegatedCheckout/Orders.js +11 -0
- package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1427 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
- package/esm/resources/DelegatedCheckout/index.js +11 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +28 -2
- 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/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 +124 -9
- package/esm/resources/FinancialConnections/Transactions.d.ts +88 -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 +188 -0
- package/esm/resources/GiftCards.js +47 -0
- package/esm/resources/GiftCards.js.map +1 -0
- package/esm/resources/Identity/BlocklistEntries.d.ts +155 -0
- package/esm/resources/Identity/BlocklistEntries.js +50 -0
- package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
- package/esm/resources/Identity/VerificationReports.d.ts +90 -4
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +48 -4
- package/esm/resources/Identity/index.d.ts +18 -10
- package/esm/resources/Identity/index.js +2 -0
- package/esm/resources/Identity/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +215 -2
- package/esm/resources/InvoiceItems.js +41 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/esm/resources/InvoiceRenderingTemplates.js +28 -0
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +2303 -59
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +735 -1
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +22 -4
- package/esm/resources/Issuing/Cards.d.ts +139 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +49 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +246 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Programs.d.ts +95 -0
- package/esm/resources/Issuing/Programs.js +31 -0
- package/esm/resources/Issuing/Programs.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +83 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Tokens.d.ts +26 -0
- package/esm/resources/Issuing/Transactions.d.ts +233 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +56 -22
- package/esm/resources/Issuing/index.js +8 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +47 -2
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
- package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/esm/resources/Orchestration/index.d.ts +12 -0
- package/esm/resources/Orchestration/index.js +9 -0
- package/esm/resources/Orchestration/index.js.map +1 -0
- package/esm/resources/Orders.d.ts +4776 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +738 -5
- 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 +17464 -3482
- package/esm/resources/PaymentIntents.js +46 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +75 -13
- package/esm/resources/PaymentLocationCapabilities.d.ts +124 -0
- package/esm/resources/PaymentLocationCapabilities.js +25 -0
- package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
- package/esm/resources/PaymentLocations.d.ts +178 -0
- package/esm/resources/PaymentLocations.js +37 -0
- package/esm/resources/PaymentLocations.js.map +1 -0
- package/esm/resources/PaymentMethodBalances.d.ts +46 -0
- package/esm/resources/PaymentMethodBalances.js +3 -0
- package/esm/resources/PaymentMethodBalances.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +420 -0
- package/esm/resources/PaymentMethods.d.ts +303 -3
- package/esm/resources/PaymentMethods.js +20 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentPlans.d.ts +427 -0
- package/esm/resources/PaymentPlans.js +31 -0
- package/esm/resources/PaymentPlans.js.map +1 -0
- package/esm/resources/PaymentRecords.d.ts +791 -23
- package/esm/resources/PaymentRecords.js +18 -0
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Persons.d.ts +39 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +76 -0
- package/esm/resources/Prices.js +27 -0
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +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 +159 -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 +198 -0
- package/esm/resources/Products.js +69 -0
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/Profiles.d.ts +68 -0
- package/esm/resources/Profiles.js +3 -0
- package/esm/resources/Profiles.js.map +1 -0
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +684 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1239 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +1088 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +3546 -252
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/AccountEvaluations.d.ts +309 -0
- package/esm/resources/Radar/AccountEvaluations.js +23 -0
- package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
- package/esm/resources/Radar/BillingEvaluations.d.ts +372 -0
- package/esm/resources/Radar/BillingEvaluations.js +11 -0
- package/esm/resources/Radar/BillingEvaluations.js.map +1 -0
- package/esm/resources/Radar/CustomerEvaluations.d.ts +245 -0
- package/esm/resources/Radar/CustomerEvaluations.js +23 -0
- package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +117 -3
- package/esm/resources/Radar/ValueListItems.d.ts +39 -1
- package/esm/resources/Radar/ValueListItems.js +13 -0
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +41 -16
- package/esm/resources/Radar/index.js +8 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +39 -0
- package/esm/resources/Refunds.js +27 -0
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +16 -0
- package/esm/resources/Reserve/Plans.js +9 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +17 -6
- package/esm/resources/Reserve/index.js +9 -0
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/RiskSignals.d.ts +10 -0
- package/esm/resources/RiskSignals.js +3 -0
- package/esm/resources/RiskSignals.js.map +1 -0
- package/esm/resources/SetupAttempts.d.ts +36 -2
- package/esm/resources/SetupAttempts.js.map +1 -1
- package/esm/resources/SetupIntents.d.ts +633 -17
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +442 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +378 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +29 -1
- package/esm/resources/SubscriptionItems.d.ts +265 -0
- package/esm/resources/SubscriptionItems.js +41 -0
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +2443 -67
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +1074 -19
- package/esm/resources/Subscriptions.js +289 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/esm/resources/Tax/Calculations.d.ts +46 -4
- package/esm/resources/Tax/Forms.d.ts +228 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Locations.d.ts +112 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +179 -4
- package/esm/resources/Tax/Registrations.js +27 -0
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +8 -0
- package/esm/resources/Tax/Settings.js +13 -0
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +10 -2
- package/esm/resources/Tax/Transactions.js +13 -0
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +31 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +16 -1
- package/esm/resources/TaxFunds.d.ts +174 -0
- package/esm/resources/TaxFunds.js +19 -0
- package/esm/resources/TaxFunds.js.map +1 -0
- package/esm/resources/TaxIds.d.ts +6 -0
- package/esm/resources/TaxIds.js +13 -0
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.d.ts +12 -0
- package/esm/resources/TaxRates.js +27 -0
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +220 -3
- 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 +100 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +107 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js +35 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +110 -0
- package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +38 -0
- package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
- package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +92 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Terminal/Readers.d.ts +18 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +14 -6
- package/esm/resources/TestHelpers/index.js +6 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +76 -0
- package/esm/resources/Transfers.d.ts +12 -0
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/TransitBalances.d.ts +25 -0
- package/esm/resources/TransitBalances.js +3 -0
- package/esm/resources/TransitBalances.js.map +1 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +9 -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 +87 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +1022 -0
- package/esm/resources/V2/Billing/Cadences.js +260 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +50 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/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 +1776 -0
- package/esm/resources/V2/Billing/Contracts.js +330 -0
- package/esm/resources/V2/Billing/Contracts.js.map +1 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/esm/resources/V2/Billing/IntentActions.d.ts +609 -0
- package/esm/resources/V2/Billing/IntentActions.js +3 -0
- package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
- package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents.d.ts +1267 -0
- package/esm/resources/V2/Billing/Intents.js +83 -0
- package/esm/resources/V2/Billing/Intents.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees.d.ts +360 -0
- package/esm/resources/V2/Billing/LicenseFees.js +144 -0
- package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/esm/resources/V2/Billing/LicensedItems.d.ts +170 -0
- package/esm/resources/V2/Billing/LicensedItems.js +31 -0
- package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +4 -2
- package/esm/resources/V2/Billing/MeteredItems.d.ts +218 -0
- package/esm/resources/V2/Billing/MeteredItems.js +31 -0
- package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/esm/resources/V2/Billing/OneTimeItems.d.ts +170 -0
- package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
- package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +636 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans.d.ts +169 -0
- package/esm/resources/V2/Billing/PricingPlans.js +39 -0
- package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardRates.d.ts +111 -0
- package/esm/resources/V2/Billing/RateCardRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +218 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
- package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards.d.ts +336 -0
- package/esm/resources/V2/Billing/RateCards.js +72 -0
- package/esm/resources/V2/Billing/RateCards.js.map +1 -0
- package/esm/resources/V2/Billing/ServiceActions.d.ts +536 -0
- package/esm/resources/V2/Billing/ServiceActions.js +158 -0
- package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +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 +162 -6
- package/esm/resources/V2/Core/AccountPersons.d.ts +17 -6
- package/esm/resources/V2/Core/AccountTokens.d.ts +270 -17
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +17 -6
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +34 -12
- package/esm/resources/V2/Core/Accounts.d.ts +15292 -929
- package/esm/resources/V2/Core/Accounts.js +10464 -53
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +378 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +35 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +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/EventDestinations.d.ts +10 -3
- package/esm/resources/V2/Core/Events.d.ts +8301 -223
- package/esm/resources/V2/Core/FeeBatches.d.ts +238 -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 +426 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +3 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js +97 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts.d.ts +540 -0
- package/esm/resources/V2/Core/Health/Alerts.js +178 -0
- package/esm/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/esm/resources/V2/Core/Health/index.d.ts +16 -0
- package/esm/resources/V2/Core/Health/index.js +9 -0
- package/esm/resources/V2/Core/Health/index.js.map +1 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +284 -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 +256 -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 +65 -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 +176 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/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 +362 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/ApiKeys.d.ts +306 -0
- package/esm/resources/V2/Iam/ApiKeys.js +43 -0
- package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +23 -0
- package/esm/resources/V2/Iam/index.js +11 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +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 +173 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/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 +485 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +153 -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 +331 -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 +645 -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 +397 -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 +651 -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 +292 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +49 -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 +499 -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 +171 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +25 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +324 -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 +154 -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 +836 -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 +212 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/esm/resources/V2/Payments/index.d.ts +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 +195 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
- package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Reporting/Reports.d.ts +106 -0
- package/esm/resources/V2/Reporting/Reports.js +13 -0
- package/esm/resources/V2/Reporting/Reports.js.map +1 -0
- package/esm/resources/V2/Reporting/index.d.ts +18 -0
- package/esm/resources/V2/Reporting/index.js +11 -0
- package/esm/resources/V2/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Risk/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 +488 -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 +297 -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/PaymentRetryEvaluations.d.ts +116 -0
- package/esm/resources/V2/Signals/PaymentRetryEvaluations.js +34 -0
- package/esm/resources/V2/Signals/PaymentRetryEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/PaymentRetrySignals.d.ts +63 -0
- package/esm/resources/V2/Signals/PaymentRetrySignals.js +11 -0
- package/esm/resources/V2/Signals/PaymentRetrySignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +39 -0
- package/esm/resources/V2/Signals/index.js +17 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/Tax/IntegrationConfigurations.d.ts +64 -0
- package/esm/resources/V2/Tax/IntegrationConfigurations.js +17 -0
- package/esm/resources/V2/Tax/IntegrationConfigurations.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +331 -0
- package/esm/resources/V2/Tax/ManualRules.js +189 -0
- package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
- package/esm/resources/V2/Tax/Operations.d.ts +43 -0
- package/esm/resources/V2/Tax/Operations.js +11 -0
- package/esm/resources/V2/Tax/Operations.js.map +1 -0
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.d.ts +70 -0
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.js +3 -0
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
- package/esm/resources/V2/Tax/index.d.ts +27 -0
- package/esm/resources/V2/Tax/index.js +13 -0
- package/esm/resources/V2/Tax/index.js.map +1 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +45 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
- package/esm/resources/V2/TestHelpers/index.js +11 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +42 -0
- package/esm/resources/V2/index.js +24 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +20 -0
- package/esm/resources.js +274 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +163 -54
- package/esm/stripe.core.js +41 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +165 -56
- package/esm/stripe.esm.node.js +41 -2
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ import { Price } from './Prices.js';
|
|
|
14
14
|
import { TaxId, DeletedTaxId } from './TaxIds.js';
|
|
15
15
|
import * as TestHelpers from './TestHelpers/index.js';
|
|
16
16
|
import * as Billing from './Billing/index.js';
|
|
17
|
-
import { Emptyable, MetadataParam, OtherString, Decimal, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
|
|
17
|
+
import { Emptyable, MetadataParam, OtherString, Decimal, AddressParam, PaginationParams, RangeQueryParam, Metadata, Address } from '../shared.js';
|
|
18
18
|
import { RequestOptions, Response, ApiListPromise, ApiList, ApiSearchResultPromise } from '../lib.js';
|
|
19
19
|
export declare class SubscriptionResource extends StripeResource {
|
|
20
20
|
/**
|
|
@@ -78,14 +78,46 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
78
78
|
* to an hour behind during outages. Search functionality is not available to merchants in India.
|
|
79
79
|
*/
|
|
80
80
|
search(params: SubscriptionSearchParams, options?: RequestOptions): ApiSearchResultPromise<Subscription>;
|
|
81
|
+
/**
|
|
82
|
+
* Attach a Billing Cadence to an existing subscription. When attached, the subscription is billed by the Billing Cadence, potentially sharing invoices with the other subscriptions linked to the Billing Cadence.
|
|
83
|
+
*/
|
|
84
|
+
attachCadence(id: string, params: SubscriptionAttachCadenceParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
81
85
|
/**
|
|
82
86
|
* Upgrade the billing_mode of an existing subscription.
|
|
83
87
|
*/
|
|
84
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>>;
|
|
85
93
|
/**
|
|
86
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).
|
|
87
95
|
*/
|
|
88
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;
|
|
89
121
|
}
|
|
90
122
|
export interface Subscription {
|
|
91
123
|
/**
|
|
@@ -105,6 +137,10 @@ export interface Subscription {
|
|
|
105
137
|
*/
|
|
106
138
|
application_fee_percent: number | null;
|
|
107
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;
|
|
108
144
|
/**
|
|
109
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.
|
|
110
146
|
*/
|
|
@@ -194,6 +230,10 @@ export interface Subscription {
|
|
|
194
230
|
* List of subscription items, each with an attached price.
|
|
195
231
|
*/
|
|
196
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;
|
|
197
237
|
/**
|
|
198
238
|
* The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
|
|
199
239
|
*/
|
|
@@ -238,6 +278,10 @@ export interface Subscription {
|
|
|
238
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.
|
|
239
279
|
*/
|
|
240
280
|
pending_update: Subscription.PendingUpdate | null;
|
|
281
|
+
/**
|
|
282
|
+
* Time period and invoice for a Subscription billed in advance.
|
|
283
|
+
*/
|
|
284
|
+
prebilling?: Subscription.Prebilling | null;
|
|
241
285
|
presentment_details?: Subscription.PresentmentDetails;
|
|
242
286
|
/**
|
|
243
287
|
* The schedule attached to the subscription
|
|
@@ -261,6 +305,10 @@ export interface Subscription {
|
|
|
261
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.
|
|
262
306
|
*/
|
|
263
307
|
status: Subscription.Status;
|
|
308
|
+
/**
|
|
309
|
+
* Describes changes to the subscription's status.
|
|
310
|
+
*/
|
|
311
|
+
status_details?: Subscription.StatusDetails;
|
|
264
312
|
/**
|
|
265
313
|
* ID of the test clock this subscription belongs to.
|
|
266
314
|
*/
|
|
@@ -395,6 +443,20 @@ export declare namespace Subscription {
|
|
|
395
443
|
footer: string | null;
|
|
396
444
|
issuer: InvoiceSettings.Issuer;
|
|
397
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
|
+
}
|
|
398
460
|
interface ManagedPayments {
|
|
399
461
|
/**
|
|
400
462
|
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
@@ -456,6 +518,10 @@ export declare namespace Subscription {
|
|
|
456
518
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
457
519
|
*/
|
|
458
520
|
metadata: Metadata | null;
|
|
521
|
+
/**
|
|
522
|
+
* The number of iterations of prebilling to apply.
|
|
523
|
+
*/
|
|
524
|
+
prebilling_iterations?: number | null;
|
|
459
525
|
/**
|
|
460
526
|
* List of subscription items, each with an attached plan, that will be set if the update is applied.
|
|
461
527
|
*/
|
|
@@ -469,6 +535,24 @@ export declare namespace Subscription {
|
|
|
469
535
|
*/
|
|
470
536
|
trial_from_plan: boolean | null;
|
|
471
537
|
}
|
|
538
|
+
interface Prebilling {
|
|
539
|
+
/**
|
|
540
|
+
* ID of the prebilling invoice.
|
|
541
|
+
*/
|
|
542
|
+
invoice: string | Invoice;
|
|
543
|
+
/**
|
|
544
|
+
* The end of the last period for which the invoice pre-bills.
|
|
545
|
+
*/
|
|
546
|
+
period_end: number;
|
|
547
|
+
/**
|
|
548
|
+
* The start of the first period for which the invoice pre-bills.
|
|
549
|
+
*/
|
|
550
|
+
period_start: number;
|
|
551
|
+
/**
|
|
552
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
553
|
+
*/
|
|
554
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
555
|
+
}
|
|
472
556
|
interface PresentmentDetails {
|
|
473
557
|
/**
|
|
474
558
|
* Currency used for customer payments.
|
|
@@ -476,6 +560,12 @@ export declare namespace Subscription {
|
|
|
476
560
|
presentment_currency: string;
|
|
477
561
|
}
|
|
478
562
|
type Status = 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
|
|
563
|
+
interface StatusDetails {
|
|
564
|
+
/**
|
|
565
|
+
* Indicates when and why the subscription transitioned to the paused status.
|
|
566
|
+
*/
|
|
567
|
+
paused: StatusDetails.Paused;
|
|
568
|
+
}
|
|
479
569
|
interface TransferData {
|
|
480
570
|
/**
|
|
481
571
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
|
@@ -504,7 +594,7 @@ export declare namespace Subscription {
|
|
|
504
594
|
type: Liability.Type;
|
|
505
595
|
}
|
|
506
596
|
namespace Liability {
|
|
507
|
-
type Type = 'account' | 'self' | OtherString;
|
|
597
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
508
598
|
}
|
|
509
599
|
}
|
|
510
600
|
namespace BillingMode {
|
|
@@ -591,7 +681,19 @@ export declare namespace Subscription {
|
|
|
591
681
|
type: Issuer.Type;
|
|
592
682
|
}
|
|
593
683
|
namespace Issuer {
|
|
594
|
-
type Type = 'account' | 'self' | OtherString;
|
|
684
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
namespace LastPriceMigrationError {
|
|
688
|
+
interface FailedTransition {
|
|
689
|
+
/**
|
|
690
|
+
* The original price to be migrated.
|
|
691
|
+
*/
|
|
692
|
+
source_price: string;
|
|
693
|
+
/**
|
|
694
|
+
* The intended resulting price of the migration.
|
|
695
|
+
*/
|
|
696
|
+
target_price: string;
|
|
595
697
|
}
|
|
596
698
|
}
|
|
597
699
|
namespace PauseCollection {
|
|
@@ -611,14 +713,30 @@ export declare namespace Subscription {
|
|
|
611
713
|
* This sub-hash contains details about the Billie payment method options to pass to invoices created by the subscription.
|
|
612
714
|
*/
|
|
613
715
|
billie?: PaymentMethodOptions.Billie | null;
|
|
716
|
+
/**
|
|
717
|
+
* This sub-hash contains details about the Bizum payment method options to pass to invoices created by the subscription.
|
|
718
|
+
*/
|
|
719
|
+
bizum?: PaymentMethodOptions.Bizum | null;
|
|
720
|
+
/**
|
|
721
|
+
* This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
|
|
722
|
+
*/
|
|
723
|
+
blik?: PaymentMethodOptions.Blik | null;
|
|
614
724
|
/**
|
|
615
725
|
* This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
|
|
616
726
|
*/
|
|
617
727
|
card: PaymentMethodOptions.Card | null;
|
|
728
|
+
/**
|
|
729
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to invoices created by the subscription.
|
|
730
|
+
*/
|
|
731
|
+
check_scan?: PaymentMethodOptions.CheckScan | null;
|
|
618
732
|
/**
|
|
619
733
|
* This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
|
|
620
734
|
*/
|
|
621
735
|
customer_balance: PaymentMethodOptions.CustomerBalance | null;
|
|
736
|
+
/**
|
|
737
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
|
738
|
+
*/
|
|
739
|
+
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
|
|
622
740
|
/**
|
|
623
741
|
* This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
|
624
742
|
*/
|
|
@@ -643,8 +761,12 @@ export declare namespace Subscription {
|
|
|
643
761
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
|
|
644
762
|
*/
|
|
645
763
|
us_bank_account: PaymentMethodOptions.UsBankAccount | null;
|
|
764
|
+
/**
|
|
765
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to invoices created by the subscription.
|
|
766
|
+
*/
|
|
767
|
+
wechat_pay?: PaymentMethodOptions.WechatPay | null;
|
|
646
768
|
}
|
|
647
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | '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;
|
|
769
|
+
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' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | OtherString;
|
|
648
770
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
649
771
|
namespace PaymentMethodOptions {
|
|
650
772
|
interface AcssDebit {
|
|
@@ -661,6 +783,13 @@ export declare namespace Subscription {
|
|
|
661
783
|
preferred_language: Bancontact.PreferredLanguage;
|
|
662
784
|
}
|
|
663
785
|
interface Billie {
|
|
786
|
+
company_details?: Billie.CompanyDetails;
|
|
787
|
+
}
|
|
788
|
+
interface Bizum {
|
|
789
|
+
mandate_options?: Bizum.MandateOptions;
|
|
790
|
+
}
|
|
791
|
+
interface Blik {
|
|
792
|
+
mandate_options?: Blik.MandateOptions;
|
|
664
793
|
}
|
|
665
794
|
interface Card {
|
|
666
795
|
mandate_options?: Card.MandateOptions;
|
|
@@ -673,6 +802,8 @@ export declare namespace Subscription {
|
|
|
673
802
|
*/
|
|
674
803
|
request_three_d_secure: Card.RequestThreeDSecure | null;
|
|
675
804
|
}
|
|
805
|
+
interface CheckScan {
|
|
806
|
+
}
|
|
676
807
|
interface CustomerBalance {
|
|
677
808
|
bank_transfer?: CustomerBalance.BankTransfer;
|
|
678
809
|
/**
|
|
@@ -680,6 +811,8 @@ export declare namespace Subscription {
|
|
|
680
811
|
*/
|
|
681
812
|
funding_type: 'bank_transfer' | null;
|
|
682
813
|
}
|
|
814
|
+
interface IdBankTransfer {
|
|
815
|
+
}
|
|
683
816
|
interface Konbini {
|
|
684
817
|
}
|
|
685
818
|
interface Payto {
|
|
@@ -704,6 +837,16 @@ export declare namespace Subscription {
|
|
|
704
837
|
*/
|
|
705
838
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
706
839
|
}
|
|
840
|
+
interface WechatPay {
|
|
841
|
+
/**
|
|
842
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
843
|
+
*/
|
|
844
|
+
app_id?: string;
|
|
845
|
+
/**
|
|
846
|
+
* The client type that the end customer will pay from.
|
|
847
|
+
*/
|
|
848
|
+
client?: WechatPay.Client;
|
|
849
|
+
}
|
|
707
850
|
namespace AcssDebit {
|
|
708
851
|
interface MandateOptions {
|
|
709
852
|
/**
|
|
@@ -719,6 +862,53 @@ export declare namespace Subscription {
|
|
|
719
862
|
namespace Bancontact {
|
|
720
863
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
721
864
|
}
|
|
865
|
+
namespace Billie {
|
|
866
|
+
interface CompanyDetails {
|
|
867
|
+
registered_address?: Address;
|
|
868
|
+
/**
|
|
869
|
+
* Company or entity name.
|
|
870
|
+
*/
|
|
871
|
+
registered_name: string | null;
|
|
872
|
+
/**
|
|
873
|
+
* The official registration number for the given registration type.
|
|
874
|
+
*/
|
|
875
|
+
registration_number: string | null;
|
|
876
|
+
/**
|
|
877
|
+
* Type of registration the company or entity holds in their registered country.
|
|
878
|
+
*/
|
|
879
|
+
registration_type?: CompanyDetails.RegistrationType;
|
|
880
|
+
/**
|
|
881
|
+
* VAT ID number.
|
|
882
|
+
*/
|
|
883
|
+
vat: string | null;
|
|
884
|
+
}
|
|
885
|
+
namespace CompanyDetails {
|
|
886
|
+
type RegistrationType = 'ch_ein' | 'de_hrb' | 'dk_cvr' | 'es_cif' | 'fi_tunnus' | 'fr_siren' | 'fr_siret' | 'it_rea' | 'nl_kvk' | 'no_org_number' | 'no_pno' | 'se_org_number' | 'se_pno' | 'uk_crn';
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
namespace Bizum {
|
|
890
|
+
interface MandateOptions {
|
|
891
|
+
/**
|
|
892
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
893
|
+
*/
|
|
894
|
+
amount?: number;
|
|
895
|
+
/**
|
|
896
|
+
* Indicates the mandate amount type.
|
|
897
|
+
*/
|
|
898
|
+
amount_type?: MandateOptions.AmountType;
|
|
899
|
+
}
|
|
900
|
+
namespace MandateOptions {
|
|
901
|
+
type AmountType = 'fixed' | OtherString;
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
namespace Blik {
|
|
905
|
+
interface MandateOptions {
|
|
906
|
+
/**
|
|
907
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
908
|
+
*/
|
|
909
|
+
expires_after: number | null;
|
|
910
|
+
}
|
|
911
|
+
}
|
|
722
912
|
namespace Card {
|
|
723
913
|
interface MandateOptions {
|
|
724
914
|
/**
|
|
@@ -846,27 +1036,70 @@ export declare namespace Subscription {
|
|
|
846
1036
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
847
1037
|
*/
|
|
848
1038
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1039
|
+
/**
|
|
1040
|
+
* The institution to use to filter for possible accounts to link.
|
|
1041
|
+
*/
|
|
1042
|
+
institution?: string;
|
|
849
1043
|
}
|
|
850
1044
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
851
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
1045
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
852
1046
|
namespace Filters {
|
|
853
1047
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
854
1048
|
}
|
|
855
1049
|
}
|
|
856
1050
|
}
|
|
1051
|
+
namespace WechatPay {
|
|
1052
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
|
|
1053
|
+
}
|
|
857
1054
|
}
|
|
858
1055
|
}
|
|
859
1056
|
namespace PendingInvoiceItemInterval {
|
|
860
1057
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
861
1058
|
}
|
|
1059
|
+
namespace Prebilling {
|
|
1060
|
+
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
1061
|
+
}
|
|
1062
|
+
namespace StatusDetails {
|
|
1063
|
+
interface Paused {
|
|
1064
|
+
/**
|
|
1065
|
+
* Information on the `type=subscription` pause.
|
|
1066
|
+
*/
|
|
1067
|
+
subscription: Paused.Subscription;
|
|
1068
|
+
/**
|
|
1069
|
+
* Unix timestamp in seconds of when the subscription status transitioned to `paused`.
|
|
1070
|
+
*/
|
|
1071
|
+
transitioned_at: number;
|
|
1072
|
+
/**
|
|
1073
|
+
* The type of pause.
|
|
1074
|
+
*/
|
|
1075
|
+
type: Paused.Type;
|
|
1076
|
+
}
|
|
1077
|
+
namespace Paused {
|
|
1078
|
+
interface Subscription {
|
|
1079
|
+
/**
|
|
1080
|
+
* The reason that the subscription was paused.
|
|
1081
|
+
*/
|
|
1082
|
+
type: Subscription.Type;
|
|
1083
|
+
}
|
|
1084
|
+
type Type = 'subscription' | OtherString;
|
|
1085
|
+
namespace Subscription {
|
|
1086
|
+
type Type = 'pause_requested' | 'system' | 'trial_end_without_payment_method' | OtherString;
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
862
1090
|
namespace TrialSettings {
|
|
863
1091
|
interface EndBehavior {
|
|
1092
|
+
/**
|
|
1093
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
|
|
1094
|
+
*/
|
|
1095
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
|
|
864
1096
|
/**
|
|
865
1097
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
866
1098
|
*/
|
|
867
1099
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
868
1100
|
}
|
|
869
1101
|
namespace EndBehavior {
|
|
1102
|
+
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
870
1103
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
871
1104
|
}
|
|
872
1105
|
}
|
|
@@ -888,6 +1121,10 @@ export interface SubscriptionCreateParams {
|
|
|
888
1121
|
* 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.
|
|
889
1122
|
*/
|
|
890
1123
|
backdate_start_date?: number;
|
|
1124
|
+
/**
|
|
1125
|
+
* 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.
|
|
1126
|
+
*/
|
|
1127
|
+
billing_cadence?: string;
|
|
891
1128
|
/**
|
|
892
1129
|
* 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.
|
|
893
1130
|
*/
|
|
@@ -992,6 +1229,10 @@ export interface SubscriptionCreateParams {
|
|
|
992
1229
|
* 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.
|
|
993
1230
|
*/
|
|
994
1231
|
pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
|
|
1232
|
+
/**
|
|
1233
|
+
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
1234
|
+
*/
|
|
1235
|
+
prebilling?: SubscriptionCreateParams.Prebilling;
|
|
995
1236
|
/**
|
|
996
1237
|
* 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`.
|
|
997
1238
|
*/
|
|
@@ -1129,10 +1370,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1129
1370
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1130
1371
|
*/
|
|
1131
1372
|
discount?: string;
|
|
1373
|
+
/**
|
|
1374
|
+
* Details to determine how long the discount should be applied for.
|
|
1375
|
+
*/
|
|
1376
|
+
discount_end?: Discount.DiscountEnd;
|
|
1132
1377
|
/**
|
|
1133
1378
|
* ID of the promotion code to create a new discount for.
|
|
1134
1379
|
*/
|
|
1135
1380
|
promotion_code?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* Settings for discount application including service period anchoring.
|
|
1383
|
+
*/
|
|
1384
|
+
settings?: Discount.Settings;
|
|
1136
1385
|
}
|
|
1137
1386
|
interface InvoiceSettings {
|
|
1138
1387
|
/**
|
|
@@ -1161,6 +1410,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1161
1410
|
* 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.
|
|
1162
1411
|
*/
|
|
1163
1412
|
billing_thresholds?: Emptyable<Item.BillingThresholds>;
|
|
1413
|
+
/**
|
|
1414
|
+
* The trial offer to apply to this subscription item.
|
|
1415
|
+
*/
|
|
1416
|
+
current_trial?: Item.CurrentTrial;
|
|
1164
1417
|
/**
|
|
1165
1418
|
* The coupons to redeem into discounts for the subscription item.
|
|
1166
1419
|
*/
|
|
@@ -1189,6 +1442,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1189
1442
|
* 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.
|
|
1190
1443
|
*/
|
|
1191
1444
|
tax_rates?: Emptyable<Array<string>>;
|
|
1445
|
+
/**
|
|
1446
|
+
* Define options to configure the trial on the subscription item.
|
|
1447
|
+
*/
|
|
1448
|
+
trial?: Item.Trial;
|
|
1192
1449
|
}
|
|
1193
1450
|
type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete' | OtherString;
|
|
1194
1451
|
interface PaymentSettings {
|
|
@@ -1215,6 +1472,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1215
1472
|
*/
|
|
1216
1473
|
interval_count?: number;
|
|
1217
1474
|
}
|
|
1475
|
+
interface Prebilling {
|
|
1476
|
+
/**
|
|
1477
|
+
* This is used to determine the number of billing cycles to prebill.
|
|
1478
|
+
*/
|
|
1479
|
+
iterations: number;
|
|
1480
|
+
/**
|
|
1481
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
1482
|
+
*/
|
|
1483
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
1484
|
+
}
|
|
1218
1485
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
1219
1486
|
interface TransferData {
|
|
1220
1487
|
/**
|
|
@@ -1242,6 +1509,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1242
1509
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1243
1510
|
*/
|
|
1244
1511
|
discount?: string;
|
|
1512
|
+
/**
|
|
1513
|
+
* Details to determine how long the discount should be applied for.
|
|
1514
|
+
*/
|
|
1515
|
+
discount_end?: Discount.DiscountEnd;
|
|
1245
1516
|
/**
|
|
1246
1517
|
* ID of the promotion code to create a new discount for.
|
|
1247
1518
|
*/
|
|
@@ -1279,6 +1550,38 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1279
1550
|
*/
|
|
1280
1551
|
unit_amount_decimal?: Decimal;
|
|
1281
1552
|
}
|
|
1553
|
+
namespace Discount {
|
|
1554
|
+
interface DiscountEnd {
|
|
1555
|
+
/**
|
|
1556
|
+
* Time span for the redeemed discount.
|
|
1557
|
+
*/
|
|
1558
|
+
duration?: DiscountEnd.Duration;
|
|
1559
|
+
/**
|
|
1560
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1561
|
+
*/
|
|
1562
|
+
timestamp?: number;
|
|
1563
|
+
/**
|
|
1564
|
+
* The type of calculation made to determine when the discount ends.
|
|
1565
|
+
*/
|
|
1566
|
+
type: DiscountEnd.Type;
|
|
1567
|
+
}
|
|
1568
|
+
namespace DiscountEnd {
|
|
1569
|
+
interface Duration {
|
|
1570
|
+
/**
|
|
1571
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1572
|
+
*/
|
|
1573
|
+
interval: Duration.Interval;
|
|
1574
|
+
/**
|
|
1575
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1576
|
+
*/
|
|
1577
|
+
interval_count: number;
|
|
1578
|
+
}
|
|
1579
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1580
|
+
namespace Duration {
|
|
1581
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1282
1585
|
namespace Period {
|
|
1283
1586
|
interface End {
|
|
1284
1587
|
/**
|
|
@@ -1323,7 +1626,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1323
1626
|
type: Liability.Type;
|
|
1324
1627
|
}
|
|
1325
1628
|
namespace Liability {
|
|
1326
|
-
type Type = 'account' | 'self' | OtherString;
|
|
1629
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
1327
1630
|
}
|
|
1328
1631
|
}
|
|
1329
1632
|
namespace BillingMode {
|
|
@@ -1380,6 +1683,86 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1380
1683
|
}
|
|
1381
1684
|
}
|
|
1382
1685
|
}
|
|
1686
|
+
namespace Discount {
|
|
1687
|
+
interface DiscountEnd {
|
|
1688
|
+
/**
|
|
1689
|
+
* Time span for the redeemed discount.
|
|
1690
|
+
*/
|
|
1691
|
+
duration?: DiscountEnd.Duration;
|
|
1692
|
+
/**
|
|
1693
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1694
|
+
*/
|
|
1695
|
+
timestamp?: number;
|
|
1696
|
+
/**
|
|
1697
|
+
* The type of calculation made to determine when the discount ends.
|
|
1698
|
+
*/
|
|
1699
|
+
type: DiscountEnd.Type;
|
|
1700
|
+
}
|
|
1701
|
+
interface Settings {
|
|
1702
|
+
/**
|
|
1703
|
+
* Configures service period cycle anchoring.
|
|
1704
|
+
*/
|
|
1705
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
1706
|
+
/**
|
|
1707
|
+
* 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.
|
|
1708
|
+
*/
|
|
1709
|
+
start_date?: Settings.StartDate;
|
|
1710
|
+
}
|
|
1711
|
+
namespace DiscountEnd {
|
|
1712
|
+
interface Duration {
|
|
1713
|
+
/**
|
|
1714
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1715
|
+
*/
|
|
1716
|
+
interval: Duration.Interval;
|
|
1717
|
+
/**
|
|
1718
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1719
|
+
*/
|
|
1720
|
+
interval_count: number;
|
|
1721
|
+
}
|
|
1722
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1723
|
+
namespace Duration {
|
|
1724
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
namespace Settings {
|
|
1728
|
+
interface ServicePeriodAnchorConfig {
|
|
1729
|
+
/**
|
|
1730
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
1731
|
+
*/
|
|
1732
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
1733
|
+
/**
|
|
1734
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
1735
|
+
*/
|
|
1736
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
1737
|
+
}
|
|
1738
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
1739
|
+
namespace ServicePeriodAnchorConfig {
|
|
1740
|
+
interface Custom {
|
|
1741
|
+
/**
|
|
1742
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
1743
|
+
*/
|
|
1744
|
+
day_of_month: number;
|
|
1745
|
+
/**
|
|
1746
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
1747
|
+
*/
|
|
1748
|
+
hour?: number;
|
|
1749
|
+
/**
|
|
1750
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
1751
|
+
*/
|
|
1752
|
+
minute?: number;
|
|
1753
|
+
/**
|
|
1754
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
1755
|
+
*/
|
|
1756
|
+
month?: number;
|
|
1757
|
+
/**
|
|
1758
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
1759
|
+
*/
|
|
1760
|
+
second?: number;
|
|
1761
|
+
}
|
|
1762
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1383
1766
|
namespace InvoiceSettings {
|
|
1384
1767
|
interface CustomField {
|
|
1385
1768
|
/**
|
|
@@ -1402,7 +1785,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1402
1785
|
type: Issuer.Type;
|
|
1403
1786
|
}
|
|
1404
1787
|
namespace Issuer {
|
|
1405
|
-
type Type = 'account' | 'self' | OtherString;
|
|
1788
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
1406
1789
|
}
|
|
1407
1790
|
}
|
|
1408
1791
|
namespace Item {
|
|
@@ -1412,6 +1795,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1412
1795
|
*/
|
|
1413
1796
|
usage_gte: number;
|
|
1414
1797
|
}
|
|
1798
|
+
interface CurrentTrial {
|
|
1799
|
+
/**
|
|
1800
|
+
* 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`.
|
|
1801
|
+
*/
|
|
1802
|
+
trial_end?: number;
|
|
1803
|
+
/**
|
|
1804
|
+
* The ID of the trial offer to apply to the subscription item.
|
|
1805
|
+
*/
|
|
1806
|
+
trial_offer: string;
|
|
1807
|
+
}
|
|
1415
1808
|
interface Discount {
|
|
1416
1809
|
/**
|
|
1417
1810
|
* ID of the coupon to create a new discount for.
|
|
@@ -1421,10 +1814,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1421
1814
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1422
1815
|
*/
|
|
1423
1816
|
discount?: string;
|
|
1817
|
+
/**
|
|
1818
|
+
* Details to determine how long the discount should be applied for.
|
|
1819
|
+
*/
|
|
1820
|
+
discount_end?: Discount.DiscountEnd;
|
|
1424
1821
|
/**
|
|
1425
1822
|
* ID of the promotion code to create a new discount for.
|
|
1426
1823
|
*/
|
|
1427
1824
|
promotion_code?: string;
|
|
1825
|
+
/**
|
|
1826
|
+
* Settings for discount application including service period anchoring.
|
|
1827
|
+
*/
|
|
1828
|
+
settings?: Discount.Settings;
|
|
1428
1829
|
}
|
|
1429
1830
|
interface PriceData {
|
|
1430
1831
|
/**
|
|
@@ -1452,6 +1853,96 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1452
1853
|
*/
|
|
1453
1854
|
unit_amount_decimal?: Decimal;
|
|
1454
1855
|
}
|
|
1856
|
+
interface Trial {
|
|
1857
|
+
/**
|
|
1858
|
+
* 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.
|
|
1859
|
+
*/
|
|
1860
|
+
converts_to?: Array<string>;
|
|
1861
|
+
/**
|
|
1862
|
+
* Determines the type of trial for this item.
|
|
1863
|
+
*/
|
|
1864
|
+
type: Trial.Type;
|
|
1865
|
+
}
|
|
1866
|
+
namespace Discount {
|
|
1867
|
+
interface DiscountEnd {
|
|
1868
|
+
/**
|
|
1869
|
+
* Time span for the redeemed discount.
|
|
1870
|
+
*/
|
|
1871
|
+
duration?: DiscountEnd.Duration;
|
|
1872
|
+
/**
|
|
1873
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1874
|
+
*/
|
|
1875
|
+
timestamp?: number;
|
|
1876
|
+
/**
|
|
1877
|
+
* The type of calculation made to determine when the discount ends.
|
|
1878
|
+
*/
|
|
1879
|
+
type: DiscountEnd.Type;
|
|
1880
|
+
}
|
|
1881
|
+
interface Settings {
|
|
1882
|
+
/**
|
|
1883
|
+
* Configures service period cycle anchoring.
|
|
1884
|
+
*/
|
|
1885
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
1886
|
+
/**
|
|
1887
|
+
* 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.
|
|
1888
|
+
*/
|
|
1889
|
+
start_date?: Settings.StartDate;
|
|
1890
|
+
}
|
|
1891
|
+
namespace DiscountEnd {
|
|
1892
|
+
interface Duration {
|
|
1893
|
+
/**
|
|
1894
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1895
|
+
*/
|
|
1896
|
+
interval: Duration.Interval;
|
|
1897
|
+
/**
|
|
1898
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1899
|
+
*/
|
|
1900
|
+
interval_count: number;
|
|
1901
|
+
}
|
|
1902
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1903
|
+
namespace Duration {
|
|
1904
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
namespace Settings {
|
|
1908
|
+
interface ServicePeriodAnchorConfig {
|
|
1909
|
+
/**
|
|
1910
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
1911
|
+
*/
|
|
1912
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
1913
|
+
/**
|
|
1914
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
1915
|
+
*/
|
|
1916
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
1917
|
+
}
|
|
1918
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
1919
|
+
namespace ServicePeriodAnchorConfig {
|
|
1920
|
+
interface Custom {
|
|
1921
|
+
/**
|
|
1922
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
1923
|
+
*/
|
|
1924
|
+
day_of_month: number;
|
|
1925
|
+
/**
|
|
1926
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
1927
|
+
*/
|
|
1928
|
+
hour?: number;
|
|
1929
|
+
/**
|
|
1930
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
1931
|
+
*/
|
|
1932
|
+
minute?: number;
|
|
1933
|
+
/**
|
|
1934
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
1935
|
+
*/
|
|
1936
|
+
month?: number;
|
|
1937
|
+
/**
|
|
1938
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
1939
|
+
*/
|
|
1940
|
+
second?: number;
|
|
1941
|
+
}
|
|
1942
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1455
1946
|
namespace PriceData {
|
|
1456
1947
|
interface Recurring {
|
|
1457
1948
|
/**
|
|
@@ -1468,6 +1959,9 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1468
1959
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1469
1960
|
}
|
|
1470
1961
|
}
|
|
1962
|
+
namespace Trial {
|
|
1963
|
+
type Type = 'free' | 'paid' | OtherString;
|
|
1964
|
+
}
|
|
1471
1965
|
}
|
|
1472
1966
|
namespace PaymentSettings {
|
|
1473
1967
|
interface PaymentMethodOptions {
|
|
@@ -1483,14 +1977,30 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1483
1977
|
* This sub-hash contains details about the Billie payment method options to pass to the invoice's PaymentIntent.
|
|
1484
1978
|
*/
|
|
1485
1979
|
billie?: Emptyable<PaymentMethodOptions.Billie>;
|
|
1980
|
+
/**
|
|
1981
|
+
* This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
|
|
1982
|
+
*/
|
|
1983
|
+
bizum?: Emptyable<PaymentMethodOptions.Bizum>;
|
|
1984
|
+
/**
|
|
1985
|
+
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
1986
|
+
*/
|
|
1987
|
+
blik?: Emptyable<PaymentMethodOptions.Blik>;
|
|
1486
1988
|
/**
|
|
1487
1989
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
1488
1990
|
*/
|
|
1489
1991
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
1992
|
+
/**
|
|
1993
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
1994
|
+
*/
|
|
1995
|
+
check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
|
|
1490
1996
|
/**
|
|
1491
1997
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1492
1998
|
*/
|
|
1493
1999
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
2000
|
+
/**
|
|
2001
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2002
|
+
*/
|
|
2003
|
+
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
1494
2004
|
/**
|
|
1495
2005
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
1496
2006
|
*/
|
|
@@ -1515,8 +2025,12 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1515
2025
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
1516
2026
|
*/
|
|
1517
2027
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
2028
|
+
/**
|
|
2029
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
2030
|
+
*/
|
|
2031
|
+
wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
|
|
1518
2032
|
}
|
|
1519
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | '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;
|
|
2033
|
+
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' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | OtherString;
|
|
1520
2034
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
1521
2035
|
namespace PaymentMethodOptions {
|
|
1522
2036
|
interface AcssDebit {
|
|
@@ -1536,21 +2050,39 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1536
2050
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
1537
2051
|
}
|
|
1538
2052
|
interface Billie {
|
|
1539
|
-
}
|
|
1540
|
-
interface Card {
|
|
1541
2053
|
/**
|
|
1542
|
-
*
|
|
2054
|
+
* Registration details about the buyer's organization.
|
|
1543
2055
|
*/
|
|
1544
|
-
|
|
2056
|
+
company_details?: Emptyable<Billie.CompanyDetails>;
|
|
2057
|
+
}
|
|
2058
|
+
interface Bizum {
|
|
1545
2059
|
/**
|
|
1546
|
-
*
|
|
2060
|
+
* Configuration options for setting up a mandate
|
|
1547
2061
|
*/
|
|
1548
|
-
|
|
2062
|
+
mandate_options?: Bizum.MandateOptions;
|
|
2063
|
+
}
|
|
2064
|
+
interface Blik {
|
|
2065
|
+
/**
|
|
2066
|
+
* Configuration options for setting up a mandate
|
|
2067
|
+
*/
|
|
2068
|
+
mandate_options?: Blik.MandateOptions;
|
|
2069
|
+
}
|
|
2070
|
+
interface Card {
|
|
2071
|
+
/**
|
|
2072
|
+
* Configuration options for setting up an eMandate for cards issued in India.
|
|
2073
|
+
*/
|
|
2074
|
+
mandate_options?: Card.MandateOptions;
|
|
2075
|
+
/**
|
|
2076
|
+
* Selected network to process this Subscription on. Depends on the available networks of the card attached to the Subscription. Can be only set confirm-time.
|
|
2077
|
+
*/
|
|
2078
|
+
network?: Card.Network;
|
|
1549
2079
|
/**
|
|
1550
2080
|
* We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
1551
2081
|
*/
|
|
1552
2082
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
1553
2083
|
}
|
|
2084
|
+
interface CheckScan {
|
|
2085
|
+
}
|
|
1554
2086
|
interface CustomerBalance {
|
|
1555
2087
|
/**
|
|
1556
2088
|
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
@@ -1561,6 +2093,8 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1561
2093
|
*/
|
|
1562
2094
|
funding_type?: string;
|
|
1563
2095
|
}
|
|
2096
|
+
interface IdBankTransfer {
|
|
2097
|
+
}
|
|
1564
2098
|
interface Konbini {
|
|
1565
2099
|
}
|
|
1566
2100
|
interface Payto {
|
|
@@ -1597,6 +2131,16 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1597
2131
|
*/
|
|
1598
2132
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
1599
2133
|
}
|
|
2134
|
+
interface WechatPay {
|
|
2135
|
+
/**
|
|
2136
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
2137
|
+
*/
|
|
2138
|
+
app_id?: string;
|
|
2139
|
+
/**
|
|
2140
|
+
* The client type that the end customer will pay from.
|
|
2141
|
+
*/
|
|
2142
|
+
client?: WechatPay.Client;
|
|
2143
|
+
}
|
|
1600
2144
|
namespace AcssDebit {
|
|
1601
2145
|
interface MandateOptions {
|
|
1602
2146
|
/**
|
|
@@ -1612,6 +2156,56 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1612
2156
|
namespace Bancontact {
|
|
1613
2157
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
1614
2158
|
}
|
|
2159
|
+
namespace Billie {
|
|
2160
|
+
interface CompanyDetails {
|
|
2161
|
+
/**
|
|
2162
|
+
* The address the company or entity is registered with.
|
|
2163
|
+
*/
|
|
2164
|
+
registered_address?: Emptyable<AddressParam>;
|
|
2165
|
+
/**
|
|
2166
|
+
* Company or entity name.
|
|
2167
|
+
*/
|
|
2168
|
+
registered_name?: string;
|
|
2169
|
+
/**
|
|
2170
|
+
* The official registration number for the given registration type.
|
|
2171
|
+
*/
|
|
2172
|
+
registration_number?: string;
|
|
2173
|
+
/**
|
|
2174
|
+
* Type of registration the company or entity holds in their registered country.
|
|
2175
|
+
*/
|
|
2176
|
+
registration_type?: Emptyable<CompanyDetails.RegistrationType>;
|
|
2177
|
+
/**
|
|
2178
|
+
* VAT ID number.
|
|
2179
|
+
*/
|
|
2180
|
+
vat?: string;
|
|
2181
|
+
}
|
|
2182
|
+
namespace CompanyDetails {
|
|
2183
|
+
type RegistrationType = 'ch_ein' | 'de_hrb' | 'dk_cvr' | 'es_cif' | 'fi_tunnus' | 'fr_siren' | 'fr_siret' | 'it_rea' | 'nl_kvk' | 'no_org_number' | 'no_pno' | 'se_org_number' | 'se_pno' | 'uk_crn' | OtherString;
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2186
|
+
namespace Bizum {
|
|
2187
|
+
interface MandateOptions {
|
|
2188
|
+
/**
|
|
2189
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
2190
|
+
*/
|
|
2191
|
+
amount: number;
|
|
2192
|
+
/**
|
|
2193
|
+
* Indicates the mandate amount type.
|
|
2194
|
+
*/
|
|
2195
|
+
amount_type: MandateOptions.AmountType;
|
|
2196
|
+
}
|
|
2197
|
+
namespace MandateOptions {
|
|
2198
|
+
type AmountType = 'fixed' | OtherString;
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
namespace Blik {
|
|
2202
|
+
interface MandateOptions {
|
|
2203
|
+
/**
|
|
2204
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
2205
|
+
*/
|
|
2206
|
+
expires_after?: number;
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
1615
2209
|
namespace Card {
|
|
1616
2210
|
interface MandateOptions {
|
|
1617
2211
|
/**
|
|
@@ -1737,27 +2331,42 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1737
2331
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1738
2332
|
*/
|
|
1739
2333
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2334
|
+
/**
|
|
2335
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
2336
|
+
*/
|
|
2337
|
+
institution?: string;
|
|
1740
2338
|
}
|
|
1741
2339
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
1742
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2340
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
1743
2341
|
namespace Filters {
|
|
1744
2342
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
1745
2343
|
}
|
|
1746
2344
|
}
|
|
1747
2345
|
}
|
|
2346
|
+
namespace WechatPay {
|
|
2347
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
|
|
2348
|
+
}
|
|
1748
2349
|
}
|
|
1749
2350
|
}
|
|
1750
2351
|
namespace PendingInvoiceItemInterval {
|
|
1751
2352
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1752
2353
|
}
|
|
2354
|
+
namespace Prebilling {
|
|
2355
|
+
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
2356
|
+
}
|
|
1753
2357
|
namespace TrialSettings {
|
|
1754
2358
|
interface EndBehavior {
|
|
2359
|
+
/**
|
|
2360
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
2361
|
+
*/
|
|
2362
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
1755
2363
|
/**
|
|
1756
2364
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
1757
2365
|
*/
|
|
1758
2366
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
1759
2367
|
}
|
|
1760
2368
|
namespace EndBehavior {
|
|
2369
|
+
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
1761
2370
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
1762
2371
|
}
|
|
1763
2372
|
}
|
|
@@ -1781,6 +2390,10 @@ export interface SubscriptionUpdateParams {
|
|
|
1781
2390
|
* Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
|
|
1782
2391
|
*/
|
|
1783
2392
|
automatic_tax?: SubscriptionUpdateParams.AutomaticTax;
|
|
2393
|
+
/**
|
|
2394
|
+
* 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.
|
|
2395
|
+
*/
|
|
2396
|
+
billing_cadence?: string;
|
|
1784
2397
|
/**
|
|
1785
2398
|
* 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).
|
|
1786
2399
|
*/
|
|
@@ -1873,6 +2486,14 @@ export interface SubscriptionUpdateParams {
|
|
|
1873
2486
|
* 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.
|
|
1874
2487
|
*/
|
|
1875
2488
|
pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
|
|
2489
|
+
/**
|
|
2490
|
+
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
2491
|
+
*/
|
|
2492
|
+
prebilling?: SubscriptionUpdateParams.Prebilling;
|
|
2493
|
+
/**
|
|
2494
|
+
* Token used to resolve the presentment currency and FX rate applied to this subscription's adaptive pricing.
|
|
2495
|
+
*/
|
|
2496
|
+
pricing_token?: string;
|
|
1876
2497
|
/**
|
|
1877
2498
|
* 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`.
|
|
1878
2499
|
*/
|
|
@@ -1993,10 +2614,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
1993
2614
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1994
2615
|
*/
|
|
1995
2616
|
discount?: string;
|
|
2617
|
+
/**
|
|
2618
|
+
* Details to determine how long the discount should be applied for.
|
|
2619
|
+
*/
|
|
2620
|
+
discount_end?: Discount.DiscountEnd;
|
|
1996
2621
|
/**
|
|
1997
2622
|
* ID of the promotion code to create a new discount for.
|
|
1998
2623
|
*/
|
|
1999
2624
|
promotion_code?: string;
|
|
2625
|
+
/**
|
|
2626
|
+
* Settings for discount application including service period anchoring.
|
|
2627
|
+
*/
|
|
2628
|
+
settings?: Discount.Settings;
|
|
2000
2629
|
}
|
|
2001
2630
|
interface InvoiceSettings {
|
|
2002
2631
|
/**
|
|
@@ -2029,6 +2658,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2029
2658
|
* 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.
|
|
2030
2659
|
*/
|
|
2031
2660
|
clear_usage?: boolean;
|
|
2661
|
+
/**
|
|
2662
|
+
* The trial offer to apply to this subscription item.
|
|
2663
|
+
*/
|
|
2664
|
+
current_trial?: Item.CurrentTrial;
|
|
2032
2665
|
/**
|
|
2033
2666
|
* A flag that, if set to `true`, will delete the specified item.
|
|
2034
2667
|
*/
|
|
@@ -2101,6 +2734,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2101
2734
|
*/
|
|
2102
2735
|
interval_count?: number;
|
|
2103
2736
|
}
|
|
2737
|
+
interface Prebilling {
|
|
2738
|
+
/**
|
|
2739
|
+
* This is used to determine the number of billing cycles to prebill.
|
|
2740
|
+
*/
|
|
2741
|
+
iterations: number;
|
|
2742
|
+
/**
|
|
2743
|
+
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
2744
|
+
*/
|
|
2745
|
+
update_behavior?: Prebilling.UpdateBehavior;
|
|
2746
|
+
}
|
|
2104
2747
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2105
2748
|
interface TransferData {
|
|
2106
2749
|
/**
|
|
@@ -2128,6 +2771,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2128
2771
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2129
2772
|
*/
|
|
2130
2773
|
discount?: string;
|
|
2774
|
+
/**
|
|
2775
|
+
* Details to determine how long the discount should be applied for.
|
|
2776
|
+
*/
|
|
2777
|
+
discount_end?: Discount.DiscountEnd;
|
|
2131
2778
|
/**
|
|
2132
2779
|
* ID of the promotion code to create a new discount for.
|
|
2133
2780
|
*/
|
|
@@ -2165,6 +2812,38 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2165
2812
|
*/
|
|
2166
2813
|
unit_amount_decimal?: Decimal;
|
|
2167
2814
|
}
|
|
2815
|
+
namespace Discount {
|
|
2816
|
+
interface DiscountEnd {
|
|
2817
|
+
/**
|
|
2818
|
+
* Time span for the redeemed discount.
|
|
2819
|
+
*/
|
|
2820
|
+
duration?: DiscountEnd.Duration;
|
|
2821
|
+
/**
|
|
2822
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2823
|
+
*/
|
|
2824
|
+
timestamp?: number;
|
|
2825
|
+
/**
|
|
2826
|
+
* The type of calculation made to determine when the discount ends.
|
|
2827
|
+
*/
|
|
2828
|
+
type: DiscountEnd.Type;
|
|
2829
|
+
}
|
|
2830
|
+
namespace DiscountEnd {
|
|
2831
|
+
interface Duration {
|
|
2832
|
+
/**
|
|
2833
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2834
|
+
*/
|
|
2835
|
+
interval: Duration.Interval;
|
|
2836
|
+
/**
|
|
2837
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2838
|
+
*/
|
|
2839
|
+
interval_count: number;
|
|
2840
|
+
}
|
|
2841
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2842
|
+
namespace Duration {
|
|
2843
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2844
|
+
}
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2168
2847
|
namespace Period {
|
|
2169
2848
|
interface End {
|
|
2170
2849
|
/**
|
|
@@ -2209,7 +2888,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2209
2888
|
type: Liability.Type;
|
|
2210
2889
|
}
|
|
2211
2890
|
namespace Liability {
|
|
2212
|
-
type Type = 'account' | 'self' | OtherString;
|
|
2891
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
2213
2892
|
}
|
|
2214
2893
|
}
|
|
2215
2894
|
namespace BillingSchedule {
|
|
@@ -2257,6 +2936,86 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2257
2936
|
namespace CancellationDetails {
|
|
2258
2937
|
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused' | OtherString;
|
|
2259
2938
|
}
|
|
2939
|
+
namespace Discount {
|
|
2940
|
+
interface DiscountEnd {
|
|
2941
|
+
/**
|
|
2942
|
+
* Time span for the redeemed discount.
|
|
2943
|
+
*/
|
|
2944
|
+
duration?: DiscountEnd.Duration;
|
|
2945
|
+
/**
|
|
2946
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2947
|
+
*/
|
|
2948
|
+
timestamp?: number;
|
|
2949
|
+
/**
|
|
2950
|
+
* The type of calculation made to determine when the discount ends.
|
|
2951
|
+
*/
|
|
2952
|
+
type: DiscountEnd.Type;
|
|
2953
|
+
}
|
|
2954
|
+
interface Settings {
|
|
2955
|
+
/**
|
|
2956
|
+
* Configures service period cycle anchoring.
|
|
2957
|
+
*/
|
|
2958
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
2959
|
+
/**
|
|
2960
|
+
* 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.
|
|
2961
|
+
*/
|
|
2962
|
+
start_date?: Settings.StartDate;
|
|
2963
|
+
}
|
|
2964
|
+
namespace DiscountEnd {
|
|
2965
|
+
interface Duration {
|
|
2966
|
+
/**
|
|
2967
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2968
|
+
*/
|
|
2969
|
+
interval: Duration.Interval;
|
|
2970
|
+
/**
|
|
2971
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2972
|
+
*/
|
|
2973
|
+
interval_count: number;
|
|
2974
|
+
}
|
|
2975
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2976
|
+
namespace Duration {
|
|
2977
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
namespace Settings {
|
|
2981
|
+
interface ServicePeriodAnchorConfig {
|
|
2982
|
+
/**
|
|
2983
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
2984
|
+
*/
|
|
2985
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
2986
|
+
/**
|
|
2987
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
2988
|
+
*/
|
|
2989
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
2990
|
+
}
|
|
2991
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
2992
|
+
namespace ServicePeriodAnchorConfig {
|
|
2993
|
+
interface Custom {
|
|
2994
|
+
/**
|
|
2995
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
2996
|
+
*/
|
|
2997
|
+
day_of_month: number;
|
|
2998
|
+
/**
|
|
2999
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3000
|
+
*/
|
|
3001
|
+
hour?: number;
|
|
3002
|
+
/**
|
|
3003
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3004
|
+
*/
|
|
3005
|
+
minute?: number;
|
|
3006
|
+
/**
|
|
3007
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3008
|
+
*/
|
|
3009
|
+
month?: number;
|
|
3010
|
+
/**
|
|
3011
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3012
|
+
*/
|
|
3013
|
+
second?: number;
|
|
3014
|
+
}
|
|
3015
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
3016
|
+
}
|
|
3017
|
+
}
|
|
3018
|
+
}
|
|
2260
3019
|
namespace InvoiceSettings {
|
|
2261
3020
|
interface CustomField {
|
|
2262
3021
|
/**
|
|
@@ -2279,7 +3038,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2279
3038
|
type: Issuer.Type;
|
|
2280
3039
|
}
|
|
2281
3040
|
namespace Issuer {
|
|
2282
|
-
type Type = 'account' | 'self' | OtherString;
|
|
3041
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
2283
3042
|
}
|
|
2284
3043
|
}
|
|
2285
3044
|
namespace Item {
|
|
@@ -2289,6 +3048,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2289
3048
|
*/
|
|
2290
3049
|
usage_gte: number;
|
|
2291
3050
|
}
|
|
3051
|
+
interface CurrentTrial {
|
|
3052
|
+
/**
|
|
3053
|
+
* 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`.
|
|
3054
|
+
*/
|
|
3055
|
+
trial_end?: number;
|
|
3056
|
+
/**
|
|
3057
|
+
* The ID of the trial offer to apply to the subscription item.
|
|
3058
|
+
*/
|
|
3059
|
+
trial_offer: string;
|
|
3060
|
+
}
|
|
2292
3061
|
interface Discount {
|
|
2293
3062
|
/**
|
|
2294
3063
|
* ID of the coupon to create a new discount for.
|
|
@@ -2298,10 +3067,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2298
3067
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2299
3068
|
*/
|
|
2300
3069
|
discount?: string;
|
|
3070
|
+
/**
|
|
3071
|
+
* Details to determine how long the discount should be applied for.
|
|
3072
|
+
*/
|
|
3073
|
+
discount_end?: Discount.DiscountEnd;
|
|
2301
3074
|
/**
|
|
2302
3075
|
* ID of the promotion code to create a new discount for.
|
|
2303
3076
|
*/
|
|
2304
3077
|
promotion_code?: string;
|
|
3078
|
+
/**
|
|
3079
|
+
* Settings for discount application including service period anchoring.
|
|
3080
|
+
*/
|
|
3081
|
+
settings?: Discount.Settings;
|
|
2305
3082
|
}
|
|
2306
3083
|
interface PriceData {
|
|
2307
3084
|
/**
|
|
@@ -2329,6 +3106,86 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2329
3106
|
*/
|
|
2330
3107
|
unit_amount_decimal?: Decimal;
|
|
2331
3108
|
}
|
|
3109
|
+
namespace Discount {
|
|
3110
|
+
interface DiscountEnd {
|
|
3111
|
+
/**
|
|
3112
|
+
* Time span for the redeemed discount.
|
|
3113
|
+
*/
|
|
3114
|
+
duration?: DiscountEnd.Duration;
|
|
3115
|
+
/**
|
|
3116
|
+
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3117
|
+
*/
|
|
3118
|
+
timestamp?: number;
|
|
3119
|
+
/**
|
|
3120
|
+
* The type of calculation made to determine when the discount ends.
|
|
3121
|
+
*/
|
|
3122
|
+
type: DiscountEnd.Type;
|
|
3123
|
+
}
|
|
3124
|
+
interface Settings {
|
|
3125
|
+
/**
|
|
3126
|
+
* Configures service period cycle anchoring.
|
|
3127
|
+
*/
|
|
3128
|
+
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
3129
|
+
/**
|
|
3130
|
+
* 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.
|
|
3131
|
+
*/
|
|
3132
|
+
start_date?: Settings.StartDate;
|
|
3133
|
+
}
|
|
3134
|
+
namespace DiscountEnd {
|
|
3135
|
+
interface Duration {
|
|
3136
|
+
/**
|
|
3137
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3138
|
+
*/
|
|
3139
|
+
interval: Duration.Interval;
|
|
3140
|
+
/**
|
|
3141
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3142
|
+
*/
|
|
3143
|
+
interval_count: number;
|
|
3144
|
+
}
|
|
3145
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3146
|
+
namespace Duration {
|
|
3147
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3148
|
+
}
|
|
3149
|
+
}
|
|
3150
|
+
namespace Settings {
|
|
3151
|
+
interface ServicePeriodAnchorConfig {
|
|
3152
|
+
/**
|
|
3153
|
+
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
3154
|
+
*/
|
|
3155
|
+
custom?: ServicePeriodAnchorConfig.Custom;
|
|
3156
|
+
/**
|
|
3157
|
+
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
3158
|
+
*/
|
|
3159
|
+
type?: ServicePeriodAnchorConfig.Type;
|
|
3160
|
+
}
|
|
3161
|
+
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
3162
|
+
namespace ServicePeriodAnchorConfig {
|
|
3163
|
+
interface Custom {
|
|
3164
|
+
/**
|
|
3165
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3166
|
+
*/
|
|
3167
|
+
day_of_month: number;
|
|
3168
|
+
/**
|
|
3169
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3170
|
+
*/
|
|
3171
|
+
hour?: number;
|
|
3172
|
+
/**
|
|
3173
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3174
|
+
*/
|
|
3175
|
+
minute?: number;
|
|
3176
|
+
/**
|
|
3177
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3178
|
+
*/
|
|
3179
|
+
month?: number;
|
|
3180
|
+
/**
|
|
3181
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3182
|
+
*/
|
|
3183
|
+
second?: number;
|
|
3184
|
+
}
|
|
3185
|
+
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
3186
|
+
}
|
|
3187
|
+
}
|
|
3188
|
+
}
|
|
2332
3189
|
namespace PriceData {
|
|
2333
3190
|
interface Recurring {
|
|
2334
3191
|
/**
|
|
@@ -2363,14 +3220,30 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2363
3220
|
* This sub-hash contains details about the Billie payment method options to pass to the invoice's PaymentIntent.
|
|
2364
3221
|
*/
|
|
2365
3222
|
billie?: Emptyable<PaymentMethodOptions.Billie>;
|
|
3223
|
+
/**
|
|
3224
|
+
* This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
|
|
3225
|
+
*/
|
|
3226
|
+
bizum?: Emptyable<PaymentMethodOptions.Bizum>;
|
|
3227
|
+
/**
|
|
3228
|
+
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
3229
|
+
*/
|
|
3230
|
+
blik?: Emptyable<PaymentMethodOptions.Blik>;
|
|
2366
3231
|
/**
|
|
2367
3232
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
2368
3233
|
*/
|
|
2369
3234
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
3235
|
+
/**
|
|
3236
|
+
* This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
3237
|
+
*/
|
|
3238
|
+
check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
|
|
2370
3239
|
/**
|
|
2371
3240
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2372
3241
|
*/
|
|
2373
3242
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
3243
|
+
/**
|
|
3244
|
+
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
3245
|
+
*/
|
|
3246
|
+
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
2374
3247
|
/**
|
|
2375
3248
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
2376
3249
|
*/
|
|
@@ -2395,8 +3268,12 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2395
3268
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
2396
3269
|
*/
|
|
2397
3270
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
3271
|
+
/**
|
|
3272
|
+
* This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
3273
|
+
*/
|
|
3274
|
+
wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
|
|
2398
3275
|
}
|
|
2399
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | '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;
|
|
3276
|
+
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' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | OtherString;
|
|
2400
3277
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
2401
3278
|
namespace PaymentMethodOptions {
|
|
2402
3279
|
interface AcssDebit {
|
|
@@ -2416,6 +3293,22 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2416
3293
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
2417
3294
|
}
|
|
2418
3295
|
interface Billie {
|
|
3296
|
+
/**
|
|
3297
|
+
* Registration details about the buyer's organization.
|
|
3298
|
+
*/
|
|
3299
|
+
company_details?: Emptyable<Billie.CompanyDetails>;
|
|
3300
|
+
}
|
|
3301
|
+
interface Bizum {
|
|
3302
|
+
/**
|
|
3303
|
+
* Configuration options for setting up a mandate
|
|
3304
|
+
*/
|
|
3305
|
+
mandate_options?: Bizum.MandateOptions;
|
|
3306
|
+
}
|
|
3307
|
+
interface Blik {
|
|
3308
|
+
/**
|
|
3309
|
+
* Configuration options for setting up a mandate
|
|
3310
|
+
*/
|
|
3311
|
+
mandate_options?: Blik.MandateOptions;
|
|
2419
3312
|
}
|
|
2420
3313
|
interface Card {
|
|
2421
3314
|
/**
|
|
@@ -2431,6 +3324,8 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2431
3324
|
*/
|
|
2432
3325
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
2433
3326
|
}
|
|
3327
|
+
interface CheckScan {
|
|
3328
|
+
}
|
|
2434
3329
|
interface CustomerBalance {
|
|
2435
3330
|
/**
|
|
2436
3331
|
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
@@ -2441,6 +3336,8 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2441
3336
|
*/
|
|
2442
3337
|
funding_type?: string;
|
|
2443
3338
|
}
|
|
3339
|
+
interface IdBankTransfer {
|
|
3340
|
+
}
|
|
2444
3341
|
interface Konbini {
|
|
2445
3342
|
}
|
|
2446
3343
|
interface Payto {
|
|
@@ -2477,6 +3374,16 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2477
3374
|
*/
|
|
2478
3375
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
2479
3376
|
}
|
|
3377
|
+
interface WechatPay {
|
|
3378
|
+
/**
|
|
3379
|
+
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
3380
|
+
*/
|
|
3381
|
+
app_id?: string;
|
|
3382
|
+
/**
|
|
3383
|
+
* The client type that the end customer will pay from.
|
|
3384
|
+
*/
|
|
3385
|
+
client?: WechatPay.Client;
|
|
3386
|
+
}
|
|
2480
3387
|
namespace AcssDebit {
|
|
2481
3388
|
interface MandateOptions {
|
|
2482
3389
|
/**
|
|
@@ -2492,6 +3399,56 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2492
3399
|
namespace Bancontact {
|
|
2493
3400
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
2494
3401
|
}
|
|
3402
|
+
namespace Billie {
|
|
3403
|
+
interface CompanyDetails {
|
|
3404
|
+
/**
|
|
3405
|
+
* The address the company or entity is registered with.
|
|
3406
|
+
*/
|
|
3407
|
+
registered_address?: Emptyable<AddressParam>;
|
|
3408
|
+
/**
|
|
3409
|
+
* Company or entity name.
|
|
3410
|
+
*/
|
|
3411
|
+
registered_name?: string;
|
|
3412
|
+
/**
|
|
3413
|
+
* The official registration number for the given registration type.
|
|
3414
|
+
*/
|
|
3415
|
+
registration_number?: string;
|
|
3416
|
+
/**
|
|
3417
|
+
* Type of registration the company or entity holds in their registered country.
|
|
3418
|
+
*/
|
|
3419
|
+
registration_type?: Emptyable<CompanyDetails.RegistrationType>;
|
|
3420
|
+
/**
|
|
3421
|
+
* VAT ID number.
|
|
3422
|
+
*/
|
|
3423
|
+
vat?: string;
|
|
3424
|
+
}
|
|
3425
|
+
namespace CompanyDetails {
|
|
3426
|
+
type RegistrationType = 'ch_ein' | 'de_hrb' | 'dk_cvr' | 'es_cif' | 'fi_tunnus' | 'fr_siren' | 'fr_siret' | 'it_rea' | 'nl_kvk' | 'no_org_number' | 'no_pno' | 'se_org_number' | 'se_pno' | 'uk_crn' | OtherString;
|
|
3427
|
+
}
|
|
3428
|
+
}
|
|
3429
|
+
namespace Bizum {
|
|
3430
|
+
interface MandateOptions {
|
|
3431
|
+
/**
|
|
3432
|
+
* Amount to be charged for future payments. Required when `amount_type=fixed`.
|
|
3433
|
+
*/
|
|
3434
|
+
amount: number;
|
|
3435
|
+
/**
|
|
3436
|
+
* Indicates the mandate amount type.
|
|
3437
|
+
*/
|
|
3438
|
+
amount_type: MandateOptions.AmountType;
|
|
3439
|
+
}
|
|
3440
|
+
namespace MandateOptions {
|
|
3441
|
+
type AmountType = 'fixed' | OtherString;
|
|
3442
|
+
}
|
|
3443
|
+
}
|
|
3444
|
+
namespace Blik {
|
|
3445
|
+
interface MandateOptions {
|
|
3446
|
+
/**
|
|
3447
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
3448
|
+
*/
|
|
3449
|
+
expires_after?: number;
|
|
3450
|
+
}
|
|
3451
|
+
}
|
|
2495
3452
|
namespace Card {
|
|
2496
3453
|
interface MandateOptions {
|
|
2497
3454
|
/**
|
|
@@ -2617,27 +3574,42 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2617
3574
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2618
3575
|
*/
|
|
2619
3576
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3577
|
+
/**
|
|
3578
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
3579
|
+
*/
|
|
3580
|
+
institution?: string;
|
|
2620
3581
|
}
|
|
2621
3582
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
2622
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
3583
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
2623
3584
|
namespace Filters {
|
|
2624
3585
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2625
3586
|
}
|
|
2626
3587
|
}
|
|
2627
3588
|
}
|
|
3589
|
+
namespace WechatPay {
|
|
3590
|
+
type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
|
|
3591
|
+
}
|
|
2628
3592
|
}
|
|
2629
3593
|
}
|
|
2630
3594
|
namespace PendingInvoiceItemInterval {
|
|
2631
3595
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2632
3596
|
}
|
|
3597
|
+
namespace Prebilling {
|
|
3598
|
+
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
3599
|
+
}
|
|
2633
3600
|
namespace TrialSettings {
|
|
2634
3601
|
interface EndBehavior {
|
|
3602
|
+
/**
|
|
3603
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
3604
|
+
*/
|
|
3605
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
2635
3606
|
/**
|
|
2636
3607
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
2637
3608
|
*/
|
|
2638
3609
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
2639
3610
|
}
|
|
2640
3611
|
namespace EndBehavior {
|
|
3612
|
+
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
2641
3613
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
2642
3614
|
}
|
|
2643
3615
|
}
|
|
@@ -2647,6 +3619,10 @@ export interface SubscriptionListParams extends PaginationParams {
|
|
|
2647
3619
|
* Filter subscriptions by their automatic tax settings.
|
|
2648
3620
|
*/
|
|
2649
3621
|
automatic_tax?: SubscriptionListParams.AutomaticTax;
|
|
3622
|
+
/**
|
|
3623
|
+
* Filter for subscriptions that have the specified billing cadence.
|
|
3624
|
+
*/
|
|
3625
|
+
billing_cadence?: string;
|
|
2650
3626
|
/**
|
|
2651
3627
|
* The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
|
|
2652
3628
|
*/
|
|
@@ -2702,6 +3678,16 @@ export declare namespace SubscriptionListParams {
|
|
|
2702
3678
|
type CollectionMethod = 'charge_automatically' | 'send_invoice' | OtherString;
|
|
2703
3679
|
type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
|
|
2704
3680
|
}
|
|
3681
|
+
export interface SubscriptionAttachCadenceParams {
|
|
3682
|
+
/**
|
|
3683
|
+
* 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.
|
|
3684
|
+
*/
|
|
3685
|
+
billing_cadence: string;
|
|
3686
|
+
/**
|
|
3687
|
+
* Specifies which fields in the response should be expanded.
|
|
3688
|
+
*/
|
|
3689
|
+
expand?: Array<string>;
|
|
3690
|
+
}
|
|
2705
3691
|
export interface SubscriptionCancelParams {
|
|
2706
3692
|
/**
|
|
2707
3693
|
* Details about why this subscription was cancelled
|
|
@@ -2774,6 +3760,58 @@ export declare namespace SubscriptionMigrateParams {
|
|
|
2774
3760
|
}
|
|
2775
3761
|
}
|
|
2776
3762
|
}
|
|
3763
|
+
export interface SubscriptionPauseParams {
|
|
3764
|
+
/**
|
|
3765
|
+
* Controls what to bill for when pausing the subscription.
|
|
3766
|
+
*/
|
|
3767
|
+
bill_for?: SubscriptionPauseParams.BillFor;
|
|
3768
|
+
/**
|
|
3769
|
+
* Specifies which fields in the response should be expanded.
|
|
3770
|
+
*/
|
|
3771
|
+
expand?: Array<string>;
|
|
3772
|
+
/**
|
|
3773
|
+
* Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`.
|
|
3774
|
+
*/
|
|
3775
|
+
invoicing_behavior?: SubscriptionPauseParams.InvoicingBehavior;
|
|
3776
|
+
/**
|
|
3777
|
+
* The type of pause to apply. Defaults to `subscription`.
|
|
3778
|
+
*/
|
|
3779
|
+
type?: SubscriptionPauseParams.Type;
|
|
3780
|
+
}
|
|
3781
|
+
export declare namespace SubscriptionPauseParams {
|
|
3782
|
+
interface BillFor {
|
|
3783
|
+
/**
|
|
3784
|
+
* Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
|
|
3785
|
+
*/
|
|
3786
|
+
outstanding_usage_through?: BillFor.OutstandingUsageThrough;
|
|
3787
|
+
/**
|
|
3788
|
+
* Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
|
|
3789
|
+
*/
|
|
3790
|
+
unused_time_from?: BillFor.UnusedTimeFrom;
|
|
3791
|
+
}
|
|
3792
|
+
type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
|
|
3793
|
+
type Type = 'subscription' | OtherString;
|
|
3794
|
+
namespace BillFor {
|
|
3795
|
+
interface OutstandingUsageThrough {
|
|
3796
|
+
/**
|
|
3797
|
+
* When to bill metered usage in the current period.
|
|
3798
|
+
*/
|
|
3799
|
+
type: OutstandingUsageThrough.Type;
|
|
3800
|
+
}
|
|
3801
|
+
interface UnusedTimeFrom {
|
|
3802
|
+
/**
|
|
3803
|
+
* When to credit for unused time.
|
|
3804
|
+
*/
|
|
3805
|
+
type: UnusedTimeFrom.Type;
|
|
3806
|
+
}
|
|
3807
|
+
namespace OutstandingUsageThrough {
|
|
3808
|
+
type Type = 'none' | 'now' | OtherString;
|
|
3809
|
+
}
|
|
3810
|
+
namespace UnusedTimeFrom {
|
|
3811
|
+
type Type = 'item_current_period_start' | 'none' | 'now' | OtherString;
|
|
3812
|
+
}
|
|
3813
|
+
}
|
|
3814
|
+
}
|
|
2777
3815
|
export interface SubscriptionResumeParams {
|
|
2778
3816
|
/**
|
|
2779
3817
|
* The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
|
|
@@ -2783,6 +3821,10 @@ export interface SubscriptionResumeParams {
|
|
|
2783
3821
|
* Specifies which fields in the response should be expanded.
|
|
2784
3822
|
*/
|
|
2785
3823
|
expand?: Array<string>;
|
|
3824
|
+
/**
|
|
3825
|
+
* 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`.
|
|
3826
|
+
*/
|
|
3827
|
+
payment_behavior?: SubscriptionResumeParams.PaymentBehavior;
|
|
2786
3828
|
/**
|
|
2787
3829
|
* 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`.
|
|
2788
3830
|
*/
|
|
@@ -2794,6 +3836,7 @@ export interface SubscriptionResumeParams {
|
|
|
2794
3836
|
}
|
|
2795
3837
|
export declare namespace SubscriptionResumeParams {
|
|
2796
3838
|
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
3839
|
+
type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success' | OtherString;
|
|
2797
3840
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2798
3841
|
}
|
|
2799
3842
|
export interface SubscriptionSearchParams {
|
|
@@ -2814,3 +3857,15 @@ export interface SubscriptionSearchParams {
|
|
|
2814
3857
|
*/
|
|
2815
3858
|
page?: string;
|
|
2816
3859
|
}
|
|
3860
|
+
export interface SubscriptionSerializeBatchCancelParams {
|
|
3861
|
+
}
|
|
3862
|
+
export interface SubscriptionSerializeBatchCreateParams {
|
|
3863
|
+
}
|
|
3864
|
+
export interface SubscriptionSerializeBatchMigrateParams {
|
|
3865
|
+
}
|
|
3866
|
+
export interface SubscriptionSerializeBatchPauseParams {
|
|
3867
|
+
}
|
|
3868
|
+
export interface SubscriptionSerializeBatchResumeParams {
|
|
3869
|
+
}
|
|
3870
|
+
export interface SubscriptionSerializeBatchUpdateParams {
|
|
3871
|
+
}
|