stripe 22.3.0 → 22.4.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 +2984 -12
- package/OPENAPI_VERSION +1 -1
- package/README.md +44 -60
- package/VERSION +1 -1
- package/cjs/Error.d.ts +53 -0
- package/cjs/Error.js +134 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +476 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- package/cjs/Types.d.ts +4 -2
- package/cjs/apiVersion.d.ts +1 -2
- package/cjs/apiVersion.js +2 -3
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +5 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +597 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/AccountSignals.d.ts +110 -0
- package/cjs/resources/AccountSignals.js +4 -0
- package/cjs/resources/AccountSignals.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +1020 -6
- package/cjs/resources/Accounts.js +47 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +28 -1
- package/cjs/resources/Balance.d.ts +134 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BalanceTransfers.d.ts +160 -0
- package/cjs/resources/BalanceTransfers.js +15 -0
- package/cjs/resources/BalanceTransfers.js.map +1 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertRecovereds.d.ts +40 -0
- package/cjs/resources/Billing/AlertRecovereds.js +4 -0
- package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
- package/cjs/resources/Billing/AlertTriggereds.d.ts +55 -1
- package/cjs/resources/Billing/Alerts.d.ts +408 -5
- package/cjs/resources/Billing/Alerts.js +321 -5
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +126 -2
- package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +85 -3
- package/cjs/resources/Billing/CreditGrants.js +134 -5
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/cjs/resources/Billing/Meters.d.ts +31 -0
- package/cjs/resources/Billing/index.d.ts +6 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +25 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +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 +101 -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 +3352 -70
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +1174 -22
- 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 +139 -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 +29 -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 +79 -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/OnrampSessions.d.ts +413 -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 +60 -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 +34 -0
- package/cjs/resources/Crypto/index.js +17 -0
- package/cjs/resources/Crypto/index.js.map +1 -0
- package/cjs/resources/CustomerSessions.d.ts +74 -0
- package/cjs/resources/CustomerSessions.js +13 -0
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/Customers.d.ts +98 -1
- package/cjs/resources/Customers.js +195 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +128 -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 +1416 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
- package/cjs/resources/DelegatedCheckout/index.js +15 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +19 -0
- package/cjs/resources/Disputes.d.ts +43 -0
- package/cjs/resources/Disputes.js +14 -0
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +573 -2
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +99 -0
- package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/cjs/resources/FinancialConnections/Institutions.d.ts +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 +156 -7
- package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
- package/cjs/resources/FinancialConnections/index.d.ts +21 -6
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FrMealVouchersOnboardings.d.ts +173 -0
- package/cjs/resources/FrMealVouchersOnboardings.js +42 -0
- package/cjs/resources/FrMealVouchersOnboardings.js.map +1 -0
- package/cjs/resources/FxQuotes.d.ts +212 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/GiftCardOperations.d.ts +248 -0
- package/cjs/resources/GiftCardOperations.js +15 -0
- package/cjs/resources/GiftCardOperations.js.map +1 -0
- package/cjs/resources/GiftCards.d.ts +187 -0
- package/cjs/resources/GiftCards.js +51 -0
- package/cjs/resources/GiftCards.js.map +1 -0
- package/cjs/resources/Identity/BlocklistEntries.d.ts +155 -0
- package/cjs/resources/Identity/BlocklistEntries.js +54 -0
- package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
- package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
- package/cjs/resources/Identity/index.d.ts +18 -10
- package/cjs/resources/Identity/index.js +2 -0
- package/cjs/resources/Identity/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +203 -2
- package/cjs/resources/InvoiceItems.js +41 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +2120 -22
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +435 -1
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +18 -4
- package/cjs/resources/Issuing/Cards.d.ts +53 -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 +178 -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 -1
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/cjs/resources/Orchestration/index.d.ts +12 -0
- package/cjs/resources/Orchestration/index.js +13 -0
- package/cjs/resources/Orchestration/index.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4773 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +664 -2
- package/cjs/resources/PaymentAttemptRecords.js +48 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
- package/cjs/resources/PaymentIntents.d.ts +16756 -3555
- package/cjs/resources/PaymentIntents.js +46 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +74 -12
- package/cjs/resources/PaymentLocationCapabilities.d.ts +122 -0
- package/cjs/resources/PaymentLocationCapabilities.js +29 -0
- package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
- package/cjs/resources/PaymentLocations.d.ts +178 -0
- package/cjs/resources/PaymentLocations.js +41 -0
- package/cjs/resources/PaymentLocations.js.map +1 -0
- package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
- package/cjs/resources/PaymentMethodBalances.js +4 -0
- package/cjs/resources/PaymentMethodBalances.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +290 -3
- package/cjs/resources/PaymentMethods.js +20 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +623 -19
- package/cjs/resources/PaymentRecords.js +11 -0
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Persons.d.ts +25 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +76 -0
- package/cjs/resources/Prices.js +27 -0
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -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 +125 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +12 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +198 -0
- package/cjs/resources/Products.js +69 -0
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/Profiles.d.ts +26 -0
- package/cjs/resources/Profiles.js +4 -0
- package/cjs/resources/Profiles.js.map +1 -0
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +684 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1173 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +902 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +3548 -254
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/AccountEvaluations.d.ts +308 -0
- package/cjs/resources/Radar/AccountEvaluations.js +27 -0
- package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
- package/cjs/resources/Radar/CustomerEvaluations.d.ts +244 -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 +63 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +38 -0
- package/cjs/resources/Radar/ValueListItems.js +13 -0
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +36 -16
- package/cjs/resources/Radar/index.js +6 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +35 -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 +26 -1
- package/cjs/resources/SetupIntents.d.ts +603 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1146 -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 +320 -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 +1949 -19
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +965 -12
- package/cjs/resources/Subscriptions.js +289 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/cjs/resources/Tax/Calculations.d.ts +45 -3
- 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 +108 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +171 -2
- package/cjs/resources/Tax/Registrations.js +27 -0
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +8 -0
- package/cjs/resources/Tax/Settings.js +13 -0
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +10 -2
- package/cjs/resources/Tax/Transactions.js +13 -0
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +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 +15 -0
- 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 +17 -1
- package/cjs/resources/Terminal/index.d.ts +5 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/Capital/index.js +13 -0
- package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +94 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +18 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +126 -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 +26 -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 +37 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +14 -6
- package/cjs/resources/TestHelpers/index.js +12 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +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 +8 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +71 -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 +280 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +84 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +1011 -0
- package/cjs/resources/V2/Billing/Cadences.js +264 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +236 -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 +775 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +47 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +29 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js +15 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts.d.ts +1775 -0
- package/cjs/resources/V2/Billing/Contracts.js +607 -0
- package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/cjs/resources/V2/Billing/IntentActions.d.ts +603 -0
- package/cjs/resources/V2/Billing/IntentActions.js +4 -0
- package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents.d.ts +1253 -0
- package/cjs/resources/V2/Billing/Intents.js +87 -0
- package/cjs/resources/V2/Billing/Intents.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees.d.ts +360 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
- package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/cjs/resources/V2/Billing/LicensedItems.d.ts +170 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
- package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +218 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
- package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/cjs/resources/V2/Billing/OneTimeItems.d.ts +170 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +620 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans.d.ts +169 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
- package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardRates.d.ts +111 -0
- package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +215 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards.d.ts +336 -0
- package/cjs/resources/V2/Billing/RateCards.js +76 -0
- package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +510 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
- package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +175 -6
- package/cjs/resources/V2/Billing/index.js +32 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountEvaluations.d.ts +156 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +220 -2
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +15174 -1219
- package/cjs/resources/V2/Core/Accounts.js +10284 -53
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +330 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +360 -0
- package/cjs/resources/V2/Core/BatchJobs.js +225 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/cjs/resources/V2/Core/ConnectionSessions.d.ts +86 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +7671 -232
- package/cjs/resources/V2/Core/FeeBatches.d.ts +233 -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 +199 -0
- package/cjs/resources/V2/Core/FeeEntries.js +23 -0
- package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +416 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +4 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js +101 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts.d.ts +530 -0
- package/cjs/resources/V2/Core/Health/Alerts.js +182 -0
- package/cjs/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/cjs/resources/V2/Core/Health/index.d.ts +16 -0
- package/cjs/resources/V2/Core/Health/index.js +13 -0
- package/cjs/resources/V2/Core/Health/index.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +279 -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 +251 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +65 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
- package/cjs/resources/V2/Core/Vault/index.js +15 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
- package/cjs/resources/V2/Core/index.d.ts +66 -14
- package/cjs/resources/V2/Core/index.js +18 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +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 +171 -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 +162 -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 +119 -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 +210 -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 +304 -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 +167 -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 +44 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +449 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +50 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +250 -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 +218 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +638 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +317 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +394 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +525 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +266 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +263 -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 +30 -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 +265 -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 +296 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +143 -0
- package/cjs/resources/V2/MoneyManagement/index.js +49 -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 +823 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +209 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/cjs/resources/V2/Payments/index.d.ts +31 -0
- package/cjs/resources/V2/Payments/index.js +15 -0
- package/cjs/resources/V2/Payments/index.js.map +1 -0
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +190 -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/Signals/AccountSignals.d.ts +172 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +58 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +13 -0
- package/cjs/resources/V2/Signals/index.js +13 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +331 -0
- package/cjs/resources/V2/Tax/ManualRules.js +193 -0
- package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
- package/cjs/resources/V2/Tax/index.d.ts +16 -0
- package/cjs/resources/V2/Tax/index.js +13 -0
- package/cjs/resources/V2/Tax/index.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
- package/cjs/resources/V2/TestHelpers/index.js +15 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +39 -0
- package/cjs/resources/V2/index.js +22 -0
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +20 -0
- package/cjs/resources.js +282 -18
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +14156 -490
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +161 -54
- package/cjs/stripe.core.js +74 -31
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +53 -0
- package/esm/Error.js +117 -0
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +472 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- package/esm/Types.d.ts +4 -2
- package/esm/apiVersion.d.ts +1 -2
- package/esm/apiVersion.js +1 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +5 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +597 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/AccountSignals.d.ts +110 -0
- package/esm/resources/AccountSignals.js +3 -0
- package/esm/resources/AccountSignals.js.map +1 -0
- package/esm/resources/Accounts.d.ts +1020 -6
- package/esm/resources/Accounts.js +47 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +28 -1
- package/esm/resources/Balance.d.ts +134 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BalanceTransfers.d.ts +160 -0
- package/esm/resources/BalanceTransfers.js +11 -0
- package/esm/resources/BalanceTransfers.js.map +1 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertRecovereds.d.ts +40 -0
- package/esm/resources/Billing/AlertRecovereds.js +3 -0
- package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
- package/esm/resources/Billing/AlertTriggereds.d.ts +55 -1
- package/esm/resources/Billing/Alerts.d.ts +408 -5
- package/esm/resources/Billing/Alerts.js +321 -5
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +126 -2
- package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +85 -3
- package/esm/resources/Billing/CreditGrants.js +134 -5
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/esm/resources/Billing/Meters.d.ts +31 -0
- package/esm/resources/Billing/index.d.ts +6 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +25 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +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 +101 -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 +3352 -70
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +1174 -22
- 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 +139 -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 +29 -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 +79 -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/OnrampSessions.d.ts +413 -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 +60 -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 +34 -0
- package/esm/resources/Crypto/index.js +13 -0
- package/esm/resources/Crypto/index.js.map +1 -0
- package/esm/resources/CustomerSessions.d.ts +74 -0
- package/esm/resources/CustomerSessions.js +13 -0
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/Customers.d.ts +98 -1
- package/esm/resources/Customers.js +195 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +128 -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 +1416 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
- package/esm/resources/DelegatedCheckout/index.js +11 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +19 -0
- package/esm/resources/Disputes.d.ts +43 -0
- package/esm/resources/Disputes.js +14 -0
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +573 -2
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +99 -0
- package/esm/resources/FinancialConnections/Authorizations.js +11 -0
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/esm/resources/FinancialConnections/Institutions.d.ts +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 +156 -7
- package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
- package/esm/resources/FinancialConnections/index.d.ts +21 -6
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FrMealVouchersOnboardings.d.ts +173 -0
- package/esm/resources/FrMealVouchersOnboardings.js +38 -0
- package/esm/resources/FrMealVouchersOnboardings.js.map +1 -0
- package/esm/resources/FxQuotes.d.ts +212 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/GiftCardOperations.d.ts +248 -0
- package/esm/resources/GiftCardOperations.js +11 -0
- package/esm/resources/GiftCardOperations.js.map +1 -0
- package/esm/resources/GiftCards.d.ts +187 -0
- package/esm/resources/GiftCards.js +47 -0
- package/esm/resources/GiftCards.js.map +1 -0
- package/esm/resources/Identity/BlocklistEntries.d.ts +155 -0
- package/esm/resources/Identity/BlocklistEntries.js +50 -0
- package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
- package/esm/resources/Identity/VerificationReports.d.ts +33 -2
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
- package/esm/resources/Identity/index.d.ts +18 -10
- package/esm/resources/Identity/index.js +2 -0
- package/esm/resources/Identity/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +203 -2
- package/esm/resources/InvoiceItems.js +41 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/esm/resources/InvoiceRenderingTemplates.js +28 -0
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +2120 -22
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +435 -1
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +18 -4
- package/esm/resources/Issuing/Cards.d.ts +53 -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 +178 -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 -1
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
- package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/esm/resources/Orchestration/index.d.ts +12 -0
- package/esm/resources/Orchestration/index.js +9 -0
- package/esm/resources/Orchestration/index.js.map +1 -0
- package/esm/resources/Orders.d.ts +4773 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +664 -2
- package/esm/resources/PaymentAttemptRecords.js +48 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
- package/esm/resources/PaymentIntents.d.ts +16756 -3555
- package/esm/resources/PaymentIntents.js +46 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +74 -12
- package/esm/resources/PaymentLocationCapabilities.d.ts +122 -0
- package/esm/resources/PaymentLocationCapabilities.js +25 -0
- package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
- package/esm/resources/PaymentLocations.d.ts +178 -0
- package/esm/resources/PaymentLocations.js +37 -0
- package/esm/resources/PaymentLocations.js.map +1 -0
- package/esm/resources/PaymentMethodBalances.d.ts +46 -0
- package/esm/resources/PaymentMethodBalances.js +3 -0
- package/esm/resources/PaymentMethodBalances.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +290 -3
- package/esm/resources/PaymentMethods.js +20 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +623 -19
- package/esm/resources/PaymentRecords.js +11 -0
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Persons.d.ts +25 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +76 -0
- package/esm/resources/Prices.js +27 -0
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -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 +125 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +12 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +198 -0
- package/esm/resources/Products.js +69 -0
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/Profiles.d.ts +26 -0
- package/esm/resources/Profiles.js +3 -0
- package/esm/resources/Profiles.js.map +1 -0
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +684 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1173 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +902 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +3548 -254
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/AccountEvaluations.d.ts +308 -0
- package/esm/resources/Radar/AccountEvaluations.js +23 -0
- package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
- package/esm/resources/Radar/CustomerEvaluations.d.ts +244 -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 +63 -1
- package/esm/resources/Radar/ValueListItems.d.ts +38 -0
- package/esm/resources/Radar/ValueListItems.js +13 -0
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +36 -16
- package/esm/resources/Radar/index.js +6 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +35 -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 +26 -1
- package/esm/resources/SetupIntents.d.ts +603 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +1146 -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 +320 -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 +1949 -19
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +965 -12
- package/esm/resources/Subscriptions.js +289 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/esm/resources/Tax/Calculations.d.ts +45 -3
- 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 +108 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +171 -2
- package/esm/resources/Tax/Registrations.js +27 -0
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +8 -0
- package/esm/resources/Tax/Settings.js +13 -0
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +10 -2
- package/esm/resources/Tax/Transactions.js +13 -0
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +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 +15 -0
- 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 +17 -1
- package/esm/resources/Terminal/index.d.ts +5 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/esm/resources/TestHelpers/Capital/index.js +9 -0
- package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +94 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +18 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +126 -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 +26 -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 +37 -0
- package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
- package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +14 -6
- package/esm/resources/TestHelpers/index.js +6 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +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 +8 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +71 -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 +280 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +84 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +1011 -0
- package/esm/resources/V2/Billing/Cadences.js +260 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +236 -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 +775 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +47 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +25 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js +11 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts.d.ts +1775 -0
- package/esm/resources/V2/Billing/Contracts.js +603 -0
- package/esm/resources/V2/Billing/Contracts.js.map +1 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/esm/resources/V2/Billing/IntentActions.d.ts +603 -0
- package/esm/resources/V2/Billing/IntentActions.js +3 -0
- package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
- package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents.d.ts +1253 -0
- package/esm/resources/V2/Billing/Intents.js +83 -0
- package/esm/resources/V2/Billing/Intents.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees.d.ts +360 -0
- package/esm/resources/V2/Billing/LicenseFees.js +144 -0
- package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/esm/resources/V2/Billing/LicensedItems.d.ts +170 -0
- package/esm/resources/V2/Billing/LicensedItems.js +31 -0
- package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/esm/resources/V2/Billing/MeteredItems.d.ts +218 -0
- package/esm/resources/V2/Billing/MeteredItems.js +31 -0
- package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/esm/resources/V2/Billing/OneTimeItems.d.ts +170 -0
- package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
- package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +620 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans.d.ts +169 -0
- package/esm/resources/V2/Billing/PricingPlans.js +39 -0
- package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardRates.d.ts +111 -0
- package/esm/resources/V2/Billing/RateCardRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +215 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
- package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards.d.ts +336 -0
- package/esm/resources/V2/Billing/RateCards.js +72 -0
- package/esm/resources/V2/Billing/RateCards.js.map +1 -0
- package/esm/resources/V2/Billing/ServiceActions.d.ts +510 -0
- package/esm/resources/V2/Billing/ServiceActions.js +158 -0
- package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +175 -6
- package/esm/resources/V2/Billing/index.js +32 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountEvaluations.d.ts +156 -0
- package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
- package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +220 -2
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +15174 -1219
- package/esm/resources/V2/Core/Accounts.js +10284 -53
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +330 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +360 -0
- package/esm/resources/V2/Core/BatchJobs.js +221 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/esm/resources/V2/Core/ConnectionSessions.d.ts +86 -0
- package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
- package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +7671 -232
- package/esm/resources/V2/Core/FeeBatches.d.ts +233 -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 +199 -0
- package/esm/resources/V2/Core/FeeEntries.js +19 -0
- package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +416 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +3 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js +97 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts.d.ts +530 -0
- package/esm/resources/V2/Core/Health/Alerts.js +178 -0
- package/esm/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/esm/resources/V2/Core/Health/index.d.ts +16 -0
- package/esm/resources/V2/Core/Health/index.js +9 -0
- package/esm/resources/V2/Core/Health/index.js.map +1 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +279 -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 +251 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +61 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
- package/esm/resources/V2/Core/Vault/index.js +11 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -0
- package/esm/resources/V2/Core/index.d.ts +66 -14
- package/esm/resources/V2/Core/index.js +18 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +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 +171 -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 +162 -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 +119 -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 +210 -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 +304 -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 +167 -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 +44 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +449 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +46 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +250 -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 +218 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +638 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +317 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +394 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +525 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +266 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +263 -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 +30 -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 +265 -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 +296 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +143 -0
- package/esm/resources/V2/MoneyManagement/index.js +45 -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 +823 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +209 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/esm/resources/V2/Payments/index.d.ts +31 -0
- package/esm/resources/V2/Payments/index.js +11 -0
- package/esm/resources/V2/Payments/index.js.map +1 -0
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +190 -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/Signals/AccountSignals.d.ts +172 -0
- package/esm/resources/V2/Signals/AccountSignals.js +54 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +13 -0
- package/esm/resources/V2/Signals/index.js +9 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +331 -0
- package/esm/resources/V2/Tax/ManualRules.js +189 -0
- package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
- package/esm/resources/V2/Tax/index.d.ts +16 -0
- package/esm/resources/V2/Tax/index.js +9 -0
- package/esm/resources/V2/Tax/index.js.map +1 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
- package/esm/resources/V2/TestHelpers/index.js +11 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +39 -0
- package/esm/resources/V2/index.js +22 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +20 -0
- package/esm/resources.js +252 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +161 -54
- package/esm/stripe.core.js +45 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +161 -54
- package/esm/stripe.esm.node.js +45 -2
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { StripeResource } from '../../StripeResource.js';
|
|
2
2
|
import { LineItem } from './../LineItems.js';
|
|
3
3
|
import { Discount as _Discount } from './../Discounts.js';
|
|
4
|
-
import { Subscription } from './../Subscriptions.js';
|
|
4
|
+
import { Subscription as _Subscription } from './../Subscriptions.js';
|
|
5
5
|
import { Customer, DeletedCustomer } from './../Customers.js';
|
|
6
6
|
import { Invoice } from './../Invoices.js';
|
|
7
7
|
import { PaymentIntent } from './../PaymentIntents.js';
|
|
8
8
|
import { PaymentLink } from './../PaymentLinks.js';
|
|
9
|
+
import { PaymentRecord } from './../PaymentRecords.js';
|
|
9
10
|
import { SetupIntent } from './../SetupIntents.js';
|
|
10
11
|
import { Account } from './../Accounts.js';
|
|
11
12
|
import { TaxId, DeletedTaxId } from './../TaxIds.js';
|
|
12
13
|
import { Coupon } from './../Coupons.js';
|
|
13
14
|
import { PromotionCode } from './../PromotionCodes.js';
|
|
15
|
+
import { Price } from './../Prices.js';
|
|
14
16
|
import { ShippingRate } from './../ShippingRates.js';
|
|
15
17
|
import { TaxRate } from './../TaxRates.js';
|
|
16
18
|
import { MetadataParam, Emptyable, Address, Decimal, ShippingAddressParam, PaginationParams, RangeQueryParam, Metadata } from '../../shared.js';
|
|
@@ -34,6 +36,10 @@ export declare class SessionResource extends StripeResource {
|
|
|
34
36
|
* Related guide: [Dynamically update a Checkout Session](https://docs.stripe.com/payments/advanced/dynamic-updates)
|
|
35
37
|
*/
|
|
36
38
|
update(id: string, params?: Checkout.SessionUpdateParams, options?: RequestOptions): Promise<Response<Session>>;
|
|
39
|
+
/**
|
|
40
|
+
* Approves a customer's attempt to pay for a Checkout Session with approval_method set to manual.
|
|
41
|
+
*/
|
|
42
|
+
approve(id: string, params: Checkout.SessionApproveParams, options?: RequestOptions): Promise<Response<Session>>;
|
|
37
43
|
/**
|
|
38
44
|
* A Checkout Session can be expired when it is in one of these statuses: open
|
|
39
45
|
*
|
|
@@ -74,6 +80,15 @@ export interface Session {
|
|
|
74
80
|
* Total of all items after discounts and taxes are applied.
|
|
75
81
|
*/
|
|
76
82
|
amount_total: number | null;
|
|
83
|
+
/**
|
|
84
|
+
* Determines whether the customer's attempt to pay must be manually approved.
|
|
85
|
+
*
|
|
86
|
+
* Default is `auto`, when the customer's attempt to pay is approved automatically with no action required on your server.
|
|
87
|
+
*
|
|
88
|
+
* When set to `manual`, you must approve the customer's attempt to pay by calling [approve](api/checkout/sessions/approve) from your server.
|
|
89
|
+
*/
|
|
90
|
+
approval_method?: Session.ApprovalMethod | null;
|
|
91
|
+
automatic_surcharge?: Session.AutomaticSurcharge;
|
|
77
92
|
automatic_tax: Session.AutomaticTax;
|
|
78
93
|
/**
|
|
79
94
|
* Describes whether Checkout should collect the customer's billing address. Defaults to `auto`.
|
|
@@ -84,6 +99,7 @@ export interface Session {
|
|
|
84
99
|
* If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website.
|
|
85
100
|
*/
|
|
86
101
|
cancel_url: string | null;
|
|
102
|
+
checkout_items?: Array<Session.CheckoutItem>;
|
|
87
103
|
/**
|
|
88
104
|
* A unique string to reference the Checkout Session. This can be a
|
|
89
105
|
* customer ID, a cart ID, or similar, and can be used to reconcile the
|
|
@@ -119,10 +135,19 @@ export interface Session {
|
|
|
119
135
|
* Currency conversion details for [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing) sessions created before 2025-03-31.
|
|
120
136
|
*/
|
|
121
137
|
currency_conversion: Session.CurrencyConversion | null;
|
|
138
|
+
/**
|
|
139
|
+
* The customer's pending attempt to pay that requires your approval. Contains information about the customer and their payment details.
|
|
140
|
+
*/
|
|
141
|
+
current_attempt?: Session.CurrentAttempt | null;
|
|
122
142
|
/**
|
|
123
143
|
* Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`.
|
|
124
144
|
*/
|
|
125
145
|
custom_fields: Array<Session.CustomField>;
|
|
146
|
+
/**
|
|
147
|
+
* A list of the types of [custom payment methods](https://docs.stripe.com/payments/payment-methods/custom-payment-methods) (e.g. cpmt_123) this Checkout
|
|
148
|
+
* Session is allowed to accept.
|
|
149
|
+
*/
|
|
150
|
+
custom_payment_method_types?: Array<string>;
|
|
126
151
|
custom_text: Session.CustomText;
|
|
127
152
|
/**
|
|
128
153
|
* The ID of the customer for this Session.
|
|
@@ -176,6 +201,10 @@ export interface Session {
|
|
|
176
201
|
* Details on the state of invoice creation for the Checkout Session.
|
|
177
202
|
*/
|
|
178
203
|
invoice_creation: Session.InvoiceCreation | null;
|
|
204
|
+
/**
|
|
205
|
+
* The items to be purchased by the customer.
|
|
206
|
+
*/
|
|
207
|
+
items?: Array<Session.Item>;
|
|
179
208
|
/**
|
|
180
209
|
* The line items purchased by the customer.
|
|
181
210
|
*/
|
|
@@ -234,6 +263,10 @@ export interface Session {
|
|
|
234
263
|
* Session is allowed to accept.
|
|
235
264
|
*/
|
|
236
265
|
payment_method_types: Array<string>;
|
|
266
|
+
/**
|
|
267
|
+
* The [Payment Record](https://docs.stripe.com/api/payment-record) for this Checkout Session.
|
|
268
|
+
*/
|
|
269
|
+
payment_record?: string | PaymentRecord | null;
|
|
237
270
|
/**
|
|
238
271
|
* The payment status of the Checkout Session, one of `paid`, `unpaid`, or `no_payment_required`.
|
|
239
272
|
* You can use this value to decide when to fulfill your customer's order.
|
|
@@ -251,6 +284,10 @@ export interface Session {
|
|
|
251
284
|
* The ID of the original expired Checkout Session that triggered the recovery flow.
|
|
252
285
|
*/
|
|
253
286
|
recovered_from: string | null;
|
|
287
|
+
/**
|
|
288
|
+
* The redaction status of the Checkout Session. If the Session is not redacted, this field is null.
|
|
289
|
+
*/
|
|
290
|
+
redaction?: Session.Redaction | null;
|
|
254
291
|
/**
|
|
255
292
|
* This parameter applies to `ui_mode: embedded_page`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.
|
|
256
293
|
*/
|
|
@@ -292,12 +329,13 @@ export interface Session {
|
|
|
292
329
|
/**
|
|
293
330
|
* The ID of the [Subscription](https://docs.stripe.com/api/subscriptions) for Checkout Sessions in `subscription` mode.
|
|
294
331
|
*/
|
|
295
|
-
subscription: string |
|
|
332
|
+
subscription: string | _Subscription | null;
|
|
296
333
|
/**
|
|
297
334
|
* The URL the customer will be directed to after the payment or
|
|
298
335
|
* subscription creation is successful.
|
|
299
336
|
*/
|
|
300
337
|
success_url: string | null;
|
|
338
|
+
surcharge_cost?: Session.SurchargeCost;
|
|
301
339
|
tax_id_collection?: Session.TaxIdCollection;
|
|
302
340
|
/**
|
|
303
341
|
* Tax and discount details for the computed total amount.
|
|
@@ -330,6 +368,29 @@ export declare namespace Session {
|
|
|
330
368
|
*/
|
|
331
369
|
recovery: AfterExpiration.Recovery | null;
|
|
332
370
|
}
|
|
371
|
+
type ApprovalMethod = 'auto' | 'manual';
|
|
372
|
+
interface AutomaticSurcharge {
|
|
373
|
+
/**
|
|
374
|
+
* Determines which amount serves as the basis for calculating the surcharge.
|
|
375
|
+
*/
|
|
376
|
+
calculation_basis: AutomaticSurcharge.CalculationBasis | null;
|
|
377
|
+
/**
|
|
378
|
+
* Indicates whether automatic surcharge is enabled for the session.
|
|
379
|
+
*/
|
|
380
|
+
enabled: boolean;
|
|
381
|
+
/**
|
|
382
|
+
* The surcharge provider used for this session.
|
|
383
|
+
*/
|
|
384
|
+
provider?: AutomaticSurcharge.Provider;
|
|
385
|
+
/**
|
|
386
|
+
* The status of the most recent surcharge calculation for this session.
|
|
387
|
+
*/
|
|
388
|
+
status?: AutomaticSurcharge.Status;
|
|
389
|
+
/**
|
|
390
|
+
* Specifies whether the surcharge is considered inclusive or exclusive of taxes.
|
|
391
|
+
*/
|
|
392
|
+
tax_behavior: AutomaticSurcharge.TaxBehavior | null;
|
|
393
|
+
}
|
|
333
394
|
interface AutomaticTax {
|
|
334
395
|
/**
|
|
335
396
|
* Indicates whether automatic tax is enabled for the session
|
|
@@ -379,19 +440,36 @@ export declare namespace Session {
|
|
|
379
440
|
*/
|
|
380
441
|
logo: BrandingSettings.Logo | null;
|
|
381
442
|
}
|
|
443
|
+
interface CheckoutItem {
|
|
444
|
+
type: CheckoutItem.Type;
|
|
445
|
+
rate_card_subscription_item?: CheckoutItem.RateCardSubscriptionItem;
|
|
446
|
+
pricing_plan_subscription_item?: CheckoutItem.PricingPlanSubscriptionItem;
|
|
447
|
+
}
|
|
382
448
|
interface CollectedInformation {
|
|
383
449
|
/**
|
|
384
450
|
* Customer's business name for this Checkout Session
|
|
385
451
|
*/
|
|
386
452
|
business_name: string | null;
|
|
453
|
+
/**
|
|
454
|
+
* Customer's email for this Checkout Session
|
|
455
|
+
*/
|
|
456
|
+
email?: string | null;
|
|
387
457
|
/**
|
|
388
458
|
* Customer's individual name for this Checkout Session
|
|
389
459
|
*/
|
|
390
460
|
individual_name: string | null;
|
|
461
|
+
/**
|
|
462
|
+
* Customer's phone number for this Checkout Session
|
|
463
|
+
*/
|
|
464
|
+
phone?: string | null;
|
|
391
465
|
/**
|
|
392
466
|
* Shipping information for this Checkout Session.
|
|
393
467
|
*/
|
|
394
468
|
shipping_details: CollectedInformation.ShippingDetails | null;
|
|
469
|
+
/**
|
|
470
|
+
* Customer's tax ids for this Checkout Session.
|
|
471
|
+
*/
|
|
472
|
+
tax_ids?: Array<CollectedInformation.TaxId> | null;
|
|
395
473
|
}
|
|
396
474
|
interface Consent {
|
|
397
475
|
/**
|
|
@@ -438,6 +516,32 @@ export declare namespace Session {
|
|
|
438
516
|
*/
|
|
439
517
|
source_currency: string;
|
|
440
518
|
}
|
|
519
|
+
interface CurrentAttempt {
|
|
520
|
+
/**
|
|
521
|
+
* The customer's billing information, if provided.
|
|
522
|
+
*/
|
|
523
|
+
billing_details?: CurrentAttempt.BillingDetails | null;
|
|
524
|
+
/**
|
|
525
|
+
* The customer's email.
|
|
526
|
+
*/
|
|
527
|
+
email?: string | null;
|
|
528
|
+
/**
|
|
529
|
+
* The attempt ID you will pass to the [Checkout Session approve](api/checkout/sessions/approve) endpoint to approve the attempt.
|
|
530
|
+
*/
|
|
531
|
+
id: string;
|
|
532
|
+
/**
|
|
533
|
+
* Information about the payment method the customer is attempting to pay with. Relevant payment method information is provided when available. Some payment details are only available after the payment has completed and can't be returned in the manual approval flow.
|
|
534
|
+
*/
|
|
535
|
+
payment_method_details?: CurrentAttempt.PaymentMethodDetails | null;
|
|
536
|
+
/**
|
|
537
|
+
* The customer's phone number.
|
|
538
|
+
*/
|
|
539
|
+
phone?: string | null;
|
|
540
|
+
/**
|
|
541
|
+
* The customer's shipping information, if provided.
|
|
542
|
+
*/
|
|
543
|
+
shipping_details: CurrentAttempt.ShippingDetails | null;
|
|
544
|
+
}
|
|
441
545
|
interface CustomField {
|
|
442
546
|
dropdown?: CustomField.Dropdown;
|
|
443
547
|
/**
|
|
@@ -527,6 +631,20 @@ export declare namespace Session {
|
|
|
527
631
|
enabled: boolean;
|
|
528
632
|
invoice_data: InvoiceCreation.InvoiceData;
|
|
529
633
|
}
|
|
634
|
+
interface Item {
|
|
635
|
+
/**
|
|
636
|
+
* The key of the item. Guaranteed to be a unique ID within this checkout session's items.
|
|
637
|
+
*/
|
|
638
|
+
key: string;
|
|
639
|
+
/**
|
|
640
|
+
* Details on the subscription for this item.
|
|
641
|
+
*/
|
|
642
|
+
subscription?: Item.Subscription | null;
|
|
643
|
+
/**
|
|
644
|
+
* The type of the item.
|
|
645
|
+
*/
|
|
646
|
+
type: 'subscription';
|
|
647
|
+
}
|
|
530
648
|
type Locale = 'auto' | 'bg' | 'cs' | 'da' | 'de' | 'el' | 'en' | 'en-GB' | 'es' | 'es-419' | 'et' | 'fi' | 'fil' | 'fr' | 'fr-CA' | 'hr' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lt' | 'lv' | 'ms' | 'mt' | 'nb' | 'nl' | 'pl' | 'pt' | 'pt-BR' | 'ro' | 'ru' | 'sk' | 'sl' | 'sv' | 'th' | 'tr' | 'vi' | 'zh' | 'zh-HK' | 'zh-TW';
|
|
531
649
|
interface ManagedPayments {
|
|
532
650
|
/**
|
|
@@ -567,6 +685,7 @@ export declare namespace Session {
|
|
|
567
685
|
bacs_debit?: PaymentMethodOptions.BacsDebit;
|
|
568
686
|
bancontact?: PaymentMethodOptions.Bancontact;
|
|
569
687
|
billie?: PaymentMethodOptions.Billie;
|
|
688
|
+
bizum?: PaymentMethodOptions.Bizum;
|
|
570
689
|
boleto?: PaymentMethodOptions.Boleto;
|
|
571
690
|
card?: PaymentMethodOptions.Card;
|
|
572
691
|
cashapp?: PaymentMethodOptions.Cashapp;
|
|
@@ -606,6 +725,18 @@ export declare namespace Session {
|
|
|
606
725
|
}
|
|
607
726
|
type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid';
|
|
608
727
|
interface Permissions {
|
|
728
|
+
/**
|
|
729
|
+
* Permissions for updating the Checkout Session.
|
|
730
|
+
*/
|
|
731
|
+
update?: Permissions.Update | null;
|
|
732
|
+
/**
|
|
733
|
+
* Determines which entity is allowed to update the line items.
|
|
734
|
+
*
|
|
735
|
+
* Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
736
|
+
*
|
|
737
|
+
* When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
738
|
+
*/
|
|
739
|
+
update_line_items?: Permissions.UpdateLineItems | null;
|
|
609
740
|
/**
|
|
610
741
|
* Determines which entity is allowed to update the shipping details.
|
|
611
742
|
*
|
|
@@ -631,6 +762,12 @@ export declare namespace Session {
|
|
|
631
762
|
*/
|
|
632
763
|
presentment_currency: string;
|
|
633
764
|
}
|
|
765
|
+
interface Redaction {
|
|
766
|
+
/**
|
|
767
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
768
|
+
*/
|
|
769
|
+
status: Redaction.Status;
|
|
770
|
+
}
|
|
634
771
|
type RedirectOnCompletion = 'always' | 'if_required' | 'never';
|
|
635
772
|
interface SavedPaymentMethodOptions {
|
|
636
773
|
/**
|
|
@@ -687,6 +824,20 @@ export declare namespace Session {
|
|
|
687
824
|
}
|
|
688
825
|
type Status = 'complete' | 'expired' | 'open';
|
|
689
826
|
type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe';
|
|
827
|
+
interface SurchargeCost {
|
|
828
|
+
/**
|
|
829
|
+
* Total surcharge cost before taxes are applied.
|
|
830
|
+
*/
|
|
831
|
+
amount_subtotal: number;
|
|
832
|
+
/**
|
|
833
|
+
* Total tax amount applied due to surcharging. If no tax was applied, defaults to 0.
|
|
834
|
+
*/
|
|
835
|
+
amount_tax: number;
|
|
836
|
+
/**
|
|
837
|
+
* Total surcharge cost after taxes are applied.
|
|
838
|
+
*/
|
|
839
|
+
amount_total: number;
|
|
840
|
+
}
|
|
690
841
|
interface TaxIdCollection {
|
|
691
842
|
/**
|
|
692
843
|
* Indicates whether tax ID collection is enabled for the session
|
|
@@ -706,6 +857,10 @@ export declare namespace Session {
|
|
|
706
857
|
* This is the sum of all the shipping amounts.
|
|
707
858
|
*/
|
|
708
859
|
amount_shipping: number | null;
|
|
860
|
+
/**
|
|
861
|
+
* The surcharge amount that was applied to the Checkout Session.
|
|
862
|
+
*/
|
|
863
|
+
amount_surcharge?: number;
|
|
709
864
|
/**
|
|
710
865
|
* This is the sum of all the tax amounts.
|
|
711
866
|
*/
|
|
@@ -738,6 +893,12 @@ export declare namespace Session {
|
|
|
738
893
|
url: string | null;
|
|
739
894
|
}
|
|
740
895
|
}
|
|
896
|
+
namespace AutomaticSurcharge {
|
|
897
|
+
type CalculationBasis = 'total_after_tax' | 'total_before_tax';
|
|
898
|
+
type Provider = 'interpayments' | 'proserv' | 'yeeld';
|
|
899
|
+
type Status = 'complete' | 'failed' | 'requires_input';
|
|
900
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
901
|
+
}
|
|
741
902
|
namespace AutomaticTax {
|
|
742
903
|
interface Liability {
|
|
743
904
|
/**
|
|
@@ -751,7 +912,7 @@ export declare namespace Session {
|
|
|
751
912
|
}
|
|
752
913
|
type Status = 'complete' | 'failed' | 'requires_location_inputs';
|
|
753
914
|
namespace Liability {
|
|
754
|
-
type Type = 'account' | 'self';
|
|
915
|
+
type Type = 'account' | 'application' | 'self';
|
|
755
916
|
}
|
|
756
917
|
}
|
|
757
918
|
namespace BrandingSettings {
|
|
@@ -791,6 +952,37 @@ export declare namespace Session {
|
|
|
791
952
|
type Type = 'file' | 'url';
|
|
792
953
|
}
|
|
793
954
|
}
|
|
955
|
+
namespace CheckoutItem {
|
|
956
|
+
type Type = 'rate_card_subscription_item' | 'pricing_plan_subscription_item';
|
|
957
|
+
interface RateCardSubscriptionItem {
|
|
958
|
+
rate_card: string;
|
|
959
|
+
metadata: Metadata;
|
|
960
|
+
rate_card_version: string;
|
|
961
|
+
billing_cadence?: string;
|
|
962
|
+
rate_card_subscription?: string;
|
|
963
|
+
}
|
|
964
|
+
interface PricingPlanSubscriptionItem {
|
|
965
|
+
pricing_plan: string;
|
|
966
|
+
pricing_plan_version: string;
|
|
967
|
+
metadata: Metadata;
|
|
968
|
+
component_configurations: {
|
|
969
|
+
[key: string]: PricingPlanSubscriptionItem.ComponentConfigurations;
|
|
970
|
+
};
|
|
971
|
+
pricing_plan_subscription?: string;
|
|
972
|
+
billing_cadence?: string;
|
|
973
|
+
}
|
|
974
|
+
namespace PricingPlanSubscriptionItem {
|
|
975
|
+
interface ComponentConfigurations {
|
|
976
|
+
type: 'license_fee_component';
|
|
977
|
+
license_fee_component?: ComponentConfigurations.LicenseFeeComponent;
|
|
978
|
+
}
|
|
979
|
+
namespace ComponentConfigurations {
|
|
980
|
+
interface LicenseFeeComponent {
|
|
981
|
+
quantity: number;
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
}
|
|
794
986
|
namespace CollectedInformation {
|
|
795
987
|
interface ShippingDetails {
|
|
796
988
|
address: Address;
|
|
@@ -799,6 +991,19 @@ export declare namespace Session {
|
|
|
799
991
|
*/
|
|
800
992
|
name: string;
|
|
801
993
|
}
|
|
994
|
+
interface TaxId {
|
|
995
|
+
/**
|
|
996
|
+
* The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
|
997
|
+
*/
|
|
998
|
+
type: TaxId.Type;
|
|
999
|
+
/**
|
|
1000
|
+
* The value of the tax ID.
|
|
1001
|
+
*/
|
|
1002
|
+
value: string | null;
|
|
1003
|
+
}
|
|
1004
|
+
namespace TaxId {
|
|
1005
|
+
type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'gb_vat' | 'ge_vat' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'unknown' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin';
|
|
1006
|
+
}
|
|
802
1007
|
}
|
|
803
1008
|
namespace Consent {
|
|
804
1009
|
type Promotions = 'opt_in' | 'opt_out';
|
|
@@ -818,6 +1023,137 @@ export declare namespace Session {
|
|
|
818
1023
|
type Position = 'auto' | 'hidden';
|
|
819
1024
|
}
|
|
820
1025
|
}
|
|
1026
|
+
namespace CurrentAttempt {
|
|
1027
|
+
interface BillingDetails {
|
|
1028
|
+
address: Address;
|
|
1029
|
+
/**
|
|
1030
|
+
* Customer name.
|
|
1031
|
+
*/
|
|
1032
|
+
name: string | null;
|
|
1033
|
+
}
|
|
1034
|
+
interface PaymentMethodDetails {
|
|
1035
|
+
/**
|
|
1036
|
+
* Indicates whether this payment method can be shown again to its customer in a checkout flow.
|
|
1037
|
+
*/
|
|
1038
|
+
allow_redisplay: PaymentMethodDetails.AllowRedisplay;
|
|
1039
|
+
au_becs_debit?: PaymentMethodDetails.AuBecsDebit;
|
|
1040
|
+
bacs_debit?: PaymentMethodDetails.BacsDebit;
|
|
1041
|
+
boleto?: PaymentMethodDetails.Boleto;
|
|
1042
|
+
card?: PaymentMethodDetails.Card;
|
|
1043
|
+
link?: PaymentMethodDetails.Link;
|
|
1044
|
+
pix?: PaymentMethodDetails.Pix;
|
|
1045
|
+
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
1046
|
+
/**
|
|
1047
|
+
* The type of payment method the customer is attempting to pay with. An additional hash is included in the payment method details with a name matching this value. It contains additional information specific to the payment method type.
|
|
1048
|
+
*/
|
|
1049
|
+
type: string;
|
|
1050
|
+
us_bank_account?: PaymentMethodDetails.UsBankAccount;
|
|
1051
|
+
}
|
|
1052
|
+
interface ShippingDetails {
|
|
1053
|
+
address: Address;
|
|
1054
|
+
/**
|
|
1055
|
+
* Customer name.
|
|
1056
|
+
*/
|
|
1057
|
+
name: string;
|
|
1058
|
+
}
|
|
1059
|
+
namespace PaymentMethodDetails {
|
|
1060
|
+
type AllowRedisplay = 'always' | 'limited' | 'unspecified';
|
|
1061
|
+
interface AuBecsDebit {
|
|
1062
|
+
/**
|
|
1063
|
+
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1064
|
+
*/
|
|
1065
|
+
fingerprint: string | null;
|
|
1066
|
+
}
|
|
1067
|
+
interface BacsDebit {
|
|
1068
|
+
/**
|
|
1069
|
+
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1070
|
+
*/
|
|
1071
|
+
fingerprint: string | null;
|
|
1072
|
+
}
|
|
1073
|
+
interface Boleto {
|
|
1074
|
+
/**
|
|
1075
|
+
* Uniquely identifies this particular boleto payment method. You can use this attribute to check whether two boleto payment methods are the same.
|
|
1076
|
+
*/
|
|
1077
|
+
fingerprint: string | null;
|
|
1078
|
+
}
|
|
1079
|
+
interface Card {
|
|
1080
|
+
/**
|
|
1081
|
+
* The brand of the card, accounting for customer's brand choice on dual-branded cards.
|
|
1082
|
+
*/
|
|
1083
|
+
brand: string;
|
|
1084
|
+
/**
|
|
1085
|
+
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
1086
|
+
*/
|
|
1087
|
+
country: string | null;
|
|
1088
|
+
/**
|
|
1089
|
+
* Two-digit number representing the card's expiration month.
|
|
1090
|
+
*/
|
|
1091
|
+
exp_month: number;
|
|
1092
|
+
/**
|
|
1093
|
+
* Four-digit number representing the card's expiration year.
|
|
1094
|
+
*/
|
|
1095
|
+
exp_year: number;
|
|
1096
|
+
/**
|
|
1097
|
+
* Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
1098
|
+
*
|
|
1099
|
+
* *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
1100
|
+
*/
|
|
1101
|
+
fingerprint: string | null;
|
|
1102
|
+
/**
|
|
1103
|
+
* Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
1104
|
+
*/
|
|
1105
|
+
funding: Card.Funding;
|
|
1106
|
+
/**
|
|
1107
|
+
* Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
1108
|
+
*/
|
|
1109
|
+
iin?: string | null;
|
|
1110
|
+
/**
|
|
1111
|
+
* The last four digits of the card.
|
|
1112
|
+
*/
|
|
1113
|
+
last4: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* If this Card is part of a card wallet, this contains the details of the card wallet.
|
|
1116
|
+
*/
|
|
1117
|
+
wallet: Card.Wallet | null;
|
|
1118
|
+
}
|
|
1119
|
+
interface Link {
|
|
1120
|
+
/**
|
|
1121
|
+
* Unique, encrypted bank account identifier.
|
|
1122
|
+
*/
|
|
1123
|
+
fingerprint?: string | null;
|
|
1124
|
+
}
|
|
1125
|
+
interface Pix {
|
|
1126
|
+
/**
|
|
1127
|
+
* Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.
|
|
1128
|
+
*/
|
|
1129
|
+
fingerprint: string | null;
|
|
1130
|
+
}
|
|
1131
|
+
interface SepaDebit {
|
|
1132
|
+
/**
|
|
1133
|
+
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1134
|
+
*/
|
|
1135
|
+
fingerprint: string | null;
|
|
1136
|
+
}
|
|
1137
|
+
interface UsBankAccount {
|
|
1138
|
+
/**
|
|
1139
|
+
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1140
|
+
*/
|
|
1141
|
+
fingerprint: string | null;
|
|
1142
|
+
}
|
|
1143
|
+
namespace Card {
|
|
1144
|
+
type Funding = 'credit' | 'debit' | 'prepaid' | 'unknown';
|
|
1145
|
+
interface Wallet {
|
|
1146
|
+
/**
|
|
1147
|
+
* The type of the wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, `meta_pay`, or `link`.
|
|
1148
|
+
*/
|
|
1149
|
+
type: Wallet.Type;
|
|
1150
|
+
}
|
|
1151
|
+
namespace Wallet {
|
|
1152
|
+
type Type = 'amex_express_checkout' | 'apple_pay' | 'google_pay' | 'link' | 'masterpass' | 'meta_pay' | 'samsung_pay' | 'visa_checkout';
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
821
1157
|
namespace CustomerDetails {
|
|
822
1158
|
type TaxExempt = 'exempt' | 'none' | 'reverse';
|
|
823
1159
|
interface TaxId {
|
|
@@ -998,7 +1334,90 @@ export declare namespace Session {
|
|
|
998
1334
|
template: string | null;
|
|
999
1335
|
}
|
|
1000
1336
|
namespace Issuer {
|
|
1001
|
-
type Type = 'account' | 'self';
|
|
1337
|
+
type Type = 'account' | 'application' | 'self';
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
namespace Item {
|
|
1342
|
+
interface Subscription {
|
|
1343
|
+
/**
|
|
1344
|
+
* The description for the subscription.
|
|
1345
|
+
*/
|
|
1346
|
+
description: string | null;
|
|
1347
|
+
/**
|
|
1348
|
+
* The items in the subscription.
|
|
1349
|
+
*/
|
|
1350
|
+
items: Array<Subscription.Item>;
|
|
1351
|
+
/**
|
|
1352
|
+
* Set of key-value pairs attached to the subscription.
|
|
1353
|
+
*/
|
|
1354
|
+
metadata: Metadata | null;
|
|
1355
|
+
/**
|
|
1356
|
+
* Specifies an interval for how often to bill for any pending invoice items.
|
|
1357
|
+
*/
|
|
1358
|
+
pending_invoice_item_interval: Subscription.PendingInvoiceItemInterval | null;
|
|
1359
|
+
/**
|
|
1360
|
+
* Determines how to handle prorations when the subscription is updated.
|
|
1361
|
+
*/
|
|
1362
|
+
proration_behavior: Subscription.ProrationBehavior | null;
|
|
1363
|
+
/**
|
|
1364
|
+
* The ID of the [Subscription](https://docs.stripe.com/api/subscriptions).
|
|
1365
|
+
*/
|
|
1366
|
+
subscription: string | _Subscription | null;
|
|
1367
|
+
/**
|
|
1368
|
+
* The Unix timestamp marking when the trial period ends.
|
|
1369
|
+
*/
|
|
1370
|
+
trial_end: number | null;
|
|
1371
|
+
/**
|
|
1372
|
+
* The number of trial period days before the customer is charged for the first time.
|
|
1373
|
+
*/
|
|
1374
|
+
trial_period_days: number | null;
|
|
1375
|
+
/**
|
|
1376
|
+
* Settings related to subscription trials.
|
|
1377
|
+
*/
|
|
1378
|
+
trial_settings: Subscription.TrialSettings | null;
|
|
1379
|
+
}
|
|
1380
|
+
namespace Subscription {
|
|
1381
|
+
interface Item {
|
|
1382
|
+
/**
|
|
1383
|
+
* The price for this subscription item.
|
|
1384
|
+
*/
|
|
1385
|
+
price: string | Price;
|
|
1386
|
+
/**
|
|
1387
|
+
* The quantity for this subscription item.
|
|
1388
|
+
*/
|
|
1389
|
+
quantity: number | null;
|
|
1390
|
+
}
|
|
1391
|
+
interface PendingInvoiceItemInterval {
|
|
1392
|
+
/**
|
|
1393
|
+
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
1394
|
+
*/
|
|
1395
|
+
interval: PendingInvoiceItemInterval.Interval;
|
|
1396
|
+
/**
|
|
1397
|
+
* The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
|
|
1398
|
+
*/
|
|
1399
|
+
interval_count: number;
|
|
1400
|
+
}
|
|
1401
|
+
type ProrationBehavior = 'create_prorations' | 'none';
|
|
1402
|
+
interface TrialSettings {
|
|
1403
|
+
/**
|
|
1404
|
+
* Defines how a subscription behaves when a free trial ends.
|
|
1405
|
+
*/
|
|
1406
|
+
end_behavior: TrialSettings.EndBehavior;
|
|
1407
|
+
}
|
|
1408
|
+
namespace PendingInvoiceItemInterval {
|
|
1409
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1410
|
+
}
|
|
1411
|
+
namespace TrialSettings {
|
|
1412
|
+
interface EndBehavior {
|
|
1413
|
+
/**
|
|
1414
|
+
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
1415
|
+
*/
|
|
1416
|
+
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
1417
|
+
}
|
|
1418
|
+
namespace EndBehavior {
|
|
1419
|
+
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
|
|
1420
|
+
}
|
|
1002
1421
|
}
|
|
1003
1422
|
}
|
|
1004
1423
|
}
|
|
@@ -1183,6 +1602,9 @@ export declare namespace Session {
|
|
|
1183
1602
|
*/
|
|
1184
1603
|
capture_method?: 'manual';
|
|
1185
1604
|
}
|
|
1605
|
+
interface Bizum {
|
|
1606
|
+
mandate_options?: Bizum.MandateOptions;
|
|
1607
|
+
}
|
|
1186
1608
|
interface Boleto {
|
|
1187
1609
|
/**
|
|
1188
1610
|
* The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
|
@@ -1205,6 +1627,10 @@ export declare namespace Session {
|
|
|
1205
1627
|
*/
|
|
1206
1628
|
capture_method?: 'manual';
|
|
1207
1629
|
installments?: Card.Installments;
|
|
1630
|
+
/**
|
|
1631
|
+
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1632
|
+
*/
|
|
1633
|
+
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
1208
1634
|
/**
|
|
1209
1635
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1210
1636
|
*/
|
|
@@ -1531,6 +1957,10 @@ export declare namespace Session {
|
|
|
1531
1957
|
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
1532
1958
|
*/
|
|
1533
1959
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
1960
|
+
/**
|
|
1961
|
+
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
1962
|
+
*/
|
|
1963
|
+
subsellers?: Array<string>;
|
|
1534
1964
|
}
|
|
1535
1965
|
interface Payto {
|
|
1536
1966
|
mandate_options?: Payto.MandateOptions;
|
|
@@ -1761,6 +2191,10 @@ export declare namespace Session {
|
|
|
1761
2191
|
}
|
|
1762
2192
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
1763
2193
|
}
|
|
2194
|
+
namespace Bizum {
|
|
2195
|
+
interface MandateOptions {
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
1764
2198
|
namespace Boleto {
|
|
1765
2199
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
1766
2200
|
}
|
|
@@ -1771,6 +2205,7 @@ export declare namespace Session {
|
|
|
1771
2205
|
*/
|
|
1772
2206
|
enabled?: boolean;
|
|
1773
2207
|
}
|
|
2208
|
+
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
1774
2209
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
1775
2210
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
1776
2211
|
type RequestMulticapture = 'if_available' | 'never';
|
|
@@ -1956,6 +2391,7 @@ export declare namespace Session {
|
|
|
1956
2391
|
namespace UsBankAccount {
|
|
1957
2392
|
interface FinancialConnections {
|
|
1958
2393
|
filters?: FinancialConnections.Filters;
|
|
2394
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
1959
2395
|
/**
|
|
1960
2396
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
1961
2397
|
*/
|
|
@@ -1977,12 +2413,25 @@ export declare namespace Session {
|
|
|
1977
2413
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
1978
2414
|
*/
|
|
1979
2415
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2416
|
+
/**
|
|
2417
|
+
* The institution to use to filter for possible accounts to link.
|
|
2418
|
+
*/
|
|
2419
|
+
institution?: string;
|
|
2420
|
+
}
|
|
2421
|
+
interface ManualEntry {
|
|
2422
|
+
/**
|
|
2423
|
+
* Settings for configuring manual entry of account details.
|
|
2424
|
+
*/
|
|
2425
|
+
mode?: ManualEntry.Mode;
|
|
1980
2426
|
}
|
|
1981
2427
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
1982
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
2428
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
|
|
1983
2429
|
namespace Filters {
|
|
1984
2430
|
type AccountSubcategory = 'checking' | 'savings';
|
|
1985
2431
|
}
|
|
2432
|
+
namespace ManualEntry {
|
|
2433
|
+
type Mode = 'automatic' | 'custom';
|
|
2434
|
+
}
|
|
1986
2435
|
}
|
|
1987
2436
|
}
|
|
1988
2437
|
namespace WechatPay {
|
|
@@ -1990,17 +2439,43 @@ export declare namespace Session {
|
|
|
1990
2439
|
}
|
|
1991
2440
|
}
|
|
1992
2441
|
namespace Permissions {
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2442
|
+
interface Update {
|
|
2443
|
+
/**
|
|
2444
|
+
* Determines which entity is allowed to update the line items.
|
|
2445
|
+
*
|
|
2446
|
+
* Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
2447
|
+
*
|
|
2448
|
+
* When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
2449
|
+
*/
|
|
2450
|
+
line_items?: Update.LineItems | null;
|
|
2451
|
+
/**
|
|
2452
|
+
* Determines which entity is allowed to update the shipping details.
|
|
2453
|
+
*
|
|
2454
|
+
* Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
2455
|
+
*
|
|
2456
|
+
* When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
|
2457
|
+
*/
|
|
2458
|
+
shipping_details: Update.ShippingDetails | null;
|
|
2459
|
+
}
|
|
2460
|
+
type UpdateLineItems = 'client_only' | 'server_only';
|
|
2461
|
+
type UpdateShippingDetails = 'client_only' | 'server_only';
|
|
2462
|
+
namespace Update {
|
|
2463
|
+
type LineItems = 'client_only' | 'server_only';
|
|
2464
|
+
type ShippingDetails = 'client_only' | 'server_only';
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
namespace Redaction {
|
|
2468
|
+
type Status = 'processing' | 'redacted' | 'validated';
|
|
2469
|
+
}
|
|
2470
|
+
namespace SavedPaymentMethodOptions {
|
|
2471
|
+
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified';
|
|
2472
|
+
type PaymentMethodRemove = 'disabled' | 'enabled';
|
|
2473
|
+
type PaymentMethodSave = 'disabled' | 'enabled';
|
|
2474
|
+
}
|
|
2475
|
+
namespace ShippingAddressCollection {
|
|
2476
|
+
type AllowedCountry = 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CV' | 'CW' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SZ' | 'TA' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'ZZ';
|
|
2477
|
+
}
|
|
2478
|
+
namespace ShippingCost {
|
|
2004
2479
|
interface Tax {
|
|
2005
2480
|
/**
|
|
2006
2481
|
* Amount of tax applied for this rate.
|
|
@@ -2104,6 +2579,18 @@ export declare namespace Checkout {
|
|
|
2104
2579
|
* Enables user redeemable promotion codes.
|
|
2105
2580
|
*/
|
|
2106
2581
|
allow_promotion_codes?: boolean;
|
|
2582
|
+
/**
|
|
2583
|
+
* Determines whether the customer's attempt to pay must be manually approved.
|
|
2584
|
+
*
|
|
2585
|
+
* Default is `auto`, when the customer's attempt to pay is approved automatically with no action required on your server.
|
|
2586
|
+
*
|
|
2587
|
+
* When set to `manual`, you must approve the customer's attempt to pay by calling [approve](api/checkout/sessions/approve) from your server.
|
|
2588
|
+
*/
|
|
2589
|
+
approval_method?: SessionCreateParams.ApprovalMethod;
|
|
2590
|
+
/**
|
|
2591
|
+
* Settings for automatic surcharge calculation for this session.
|
|
2592
|
+
*/
|
|
2593
|
+
automatic_surcharge?: SessionCreateParams.AutomaticSurcharge;
|
|
2107
2594
|
/**
|
|
2108
2595
|
* Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
|
2109
2596
|
*/
|
|
@@ -2120,6 +2607,7 @@ export declare namespace Checkout {
|
|
|
2120
2607
|
* If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. This parameter is not allowed if ui_mode is `embedded_page` or `elements`.
|
|
2121
2608
|
*/
|
|
2122
2609
|
cancel_url?: string;
|
|
2610
|
+
checkout_items?: Array<SessionCreateParams.CheckoutItem>;
|
|
2123
2611
|
/**
|
|
2124
2612
|
* A unique string to reference the Checkout Session. This can be a
|
|
2125
2613
|
* customer ID, a cart ID, or similar, and can be used to reconcile the
|
|
@@ -2138,6 +2626,14 @@ export declare namespace Checkout {
|
|
|
2138
2626
|
* Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`.
|
|
2139
2627
|
*/
|
|
2140
2628
|
custom_fields?: Array<SessionCreateParams.CustomField>;
|
|
2629
|
+
/**
|
|
2630
|
+
* A list of custom payment methods (e.g., `cpmt_123`) this Checkout Session can accept.
|
|
2631
|
+
*
|
|
2632
|
+
* You can add custom payment methods to your account through the dashboard under Settings > Custom Payment Methods.
|
|
2633
|
+
*
|
|
2634
|
+
* Read more about custom payment methods in checkout in our [custom payment method types guide](https://docs.stripe.com/payments/payment-methods/custom-payment-methods).
|
|
2635
|
+
*/
|
|
2636
|
+
custom_payment_method_types?: Array<string>;
|
|
2141
2637
|
/**
|
|
2142
2638
|
* Display additional text for your customers using custom text. You can't set this parameter if `ui_mode` is `custom`.
|
|
2143
2639
|
*/
|
|
@@ -2208,6 +2704,10 @@ export declare namespace Checkout {
|
|
|
2208
2704
|
* Generate a post-purchase Invoice for one-time payments.
|
|
2209
2705
|
*/
|
|
2210
2706
|
invoice_creation?: SessionCreateParams.InvoiceCreation;
|
|
2707
|
+
/**
|
|
2708
|
+
* A list of items the customer will purchase.
|
|
2709
|
+
*/
|
|
2710
|
+
items?: Array<SessionCreateParams.Item>;
|
|
2211
2711
|
/**
|
|
2212
2712
|
* A list of items the customer is purchasing. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices). The parameter is required for `payment` and `subscription` mode.
|
|
2213
2713
|
*
|
|
@@ -2380,7 +2880,30 @@ export declare namespace Checkout {
|
|
|
2380
2880
|
*/
|
|
2381
2881
|
recovery?: AfterExpiration.Recovery;
|
|
2382
2882
|
}
|
|
2883
|
+
type ApprovalMethod = 'auto' | 'manual';
|
|
2884
|
+
interface AutomaticSurcharge {
|
|
2885
|
+
/**
|
|
2886
|
+
* Determines which amount serves as the basis for calculating the surcharge.
|
|
2887
|
+
*/
|
|
2888
|
+
calculation_basis?: AutomaticSurcharge.CalculationBasis;
|
|
2889
|
+
/**
|
|
2890
|
+
* Set to `true` to calculate surcharge automatically using the customer's card details and location.
|
|
2891
|
+
*/
|
|
2892
|
+
enabled: boolean;
|
|
2893
|
+
/**
|
|
2894
|
+
* Specifies whether the surcharge is considered inclusive or exclusive of taxes.
|
|
2895
|
+
*/
|
|
2896
|
+
tax_behavior?: AutomaticSurcharge.TaxBehavior;
|
|
2897
|
+
}
|
|
2383
2898
|
interface AutomaticTax {
|
|
2899
|
+
/**
|
|
2900
|
+
* Controls how much address information Checkout collects when [automatic_tax](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-automatic_tax-enabled) is enabled.
|
|
2901
|
+
*
|
|
2902
|
+
* Defaults to `full`, which collects the address fields needed for the most accurate tax calculation. Set to `minimal` to collect only the fields required for tax in the buyer's country, accepting potentially less precise tax calculation in exchange for a streamlined form.
|
|
2903
|
+
*
|
|
2904
|
+
* Only honored when `automatic_tax.enabled` is `true`, `billing_address_collection` is `auto`, the resolved tax address source is the session billing address, and `ui_mode` is `form`.
|
|
2905
|
+
*/
|
|
2906
|
+
address_collection_precision?: AutomaticTax.AddressCollectionPrecision;
|
|
2384
2907
|
/**
|
|
2385
2908
|
* Set to `true` to [calculate tax automatically](https://docs.stripe.com/tax) using the customer's location.
|
|
2386
2909
|
*
|
|
@@ -2423,6 +2946,11 @@ export declare namespace Checkout {
|
|
|
2423
2946
|
*/
|
|
2424
2947
|
logo?: BrandingSettings.Logo;
|
|
2425
2948
|
}
|
|
2949
|
+
interface CheckoutItem {
|
|
2950
|
+
type: CheckoutItem.Type;
|
|
2951
|
+
rate_card_subscription_item?: CheckoutItem.RateCardSubscriptionItem;
|
|
2952
|
+
pricing_plan_subscription_item?: CheckoutItem.PricingPlanSubscriptionItem;
|
|
2953
|
+
}
|
|
2426
2954
|
interface ConsentCollection {
|
|
2427
2955
|
/**
|
|
2428
2956
|
* Determines the display of payment method reuse agreement text in the UI. If set to `hidden`, it will hide legal text related to the reuse of a payment method.
|
|
@@ -2510,12 +3038,16 @@ export declare namespace Checkout {
|
|
|
2510
3038
|
* The ID of the coupon to apply to this Session.
|
|
2511
3039
|
*/
|
|
2512
3040
|
coupon?: string;
|
|
3041
|
+
/**
|
|
3042
|
+
* Data used to generate a new [Coupon](https://docs.stripe.com/api/coupon) object inline. One of `coupon` or `coupon_data` is required when updating discounts.
|
|
3043
|
+
*/
|
|
3044
|
+
coupon_data?: Discount.CouponData;
|
|
2513
3045
|
/**
|
|
2514
3046
|
* The ID of a promotion code to apply to this Session.
|
|
2515
3047
|
*/
|
|
2516
3048
|
promotion_code?: string;
|
|
2517
3049
|
}
|
|
2518
|
-
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
3050
|
+
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'shopeepay' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
2519
3051
|
interface InvoiceCreation {
|
|
2520
3052
|
/**
|
|
2521
3053
|
* Set to `true` to enable invoice creation.
|
|
@@ -2526,6 +3058,16 @@ export declare namespace Checkout {
|
|
|
2526
3058
|
*/
|
|
2527
3059
|
invoice_data?: InvoiceCreation.InvoiceData;
|
|
2528
3060
|
}
|
|
3061
|
+
interface Item {
|
|
3062
|
+
/**
|
|
3063
|
+
* Configuration for the subscription item.
|
|
3064
|
+
*/
|
|
3065
|
+
subscription?: Item.Subscription;
|
|
3066
|
+
/**
|
|
3067
|
+
* The type of item.
|
|
3068
|
+
*/
|
|
3069
|
+
type: 'subscription';
|
|
3070
|
+
}
|
|
2529
3071
|
interface LineItem {
|
|
2530
3072
|
/**
|
|
2531
3073
|
* When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
|
|
@@ -2711,6 +3253,14 @@ export declare namespace Checkout {
|
|
|
2711
3253
|
* contains details about the Billie payment method options.
|
|
2712
3254
|
*/
|
|
2713
3255
|
billie?: PaymentMethodOptions.Billie;
|
|
3256
|
+
/**
|
|
3257
|
+
* contains details about the Bizum payment method options.
|
|
3258
|
+
*/
|
|
3259
|
+
bizum?: PaymentMethodOptions.Bizum;
|
|
3260
|
+
/**
|
|
3261
|
+
* contains details about the BLIK payment method options.
|
|
3262
|
+
*/
|
|
3263
|
+
blik?: PaymentMethodOptions.Blik;
|
|
2714
3264
|
/**
|
|
2715
3265
|
* contains details about the Boleto payment method options.
|
|
2716
3266
|
*/
|
|
@@ -2868,8 +3418,26 @@ export declare namespace Checkout {
|
|
|
2868
3418
|
*/
|
|
2869
3419
|
wechat_pay?: PaymentMethodOptions.WechatPay;
|
|
2870
3420
|
}
|
|
2871
|
-
type PaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
3421
|
+
type PaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'shopeepay' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
2872
3422
|
interface Permissions {
|
|
3423
|
+
/**
|
|
3424
|
+
* Permissions for updating the Checkout Session.
|
|
3425
|
+
*/
|
|
3426
|
+
update?: Permissions.Update;
|
|
3427
|
+
/**
|
|
3428
|
+
* Determines which entity is allowed to update the discounts (coupons or promotion codes) that apply to this session.
|
|
3429
|
+
*
|
|
3430
|
+
* Default is `client_only`. Stripe Checkout client will automatically handle discount updates. If set to `server_only`, only your server is allowed to update discounts.
|
|
3431
|
+
*/
|
|
3432
|
+
update_discounts?: Permissions.UpdateDiscounts;
|
|
3433
|
+
/**
|
|
3434
|
+
* Determines which entity is allowed to update the line items.
|
|
3435
|
+
*
|
|
3436
|
+
* Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
3437
|
+
*
|
|
3438
|
+
* When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
3439
|
+
*/
|
|
3440
|
+
update_line_items?: Permissions.UpdateLineItems;
|
|
2873
3441
|
/**
|
|
2874
3442
|
* Determines which entity is allowed to update the shipping details.
|
|
2875
3443
|
*
|
|
@@ -3031,7 +3599,12 @@ export declare namespace Checkout {
|
|
|
3031
3599
|
enabled: boolean;
|
|
3032
3600
|
}
|
|
3033
3601
|
}
|
|
3602
|
+
namespace AutomaticSurcharge {
|
|
3603
|
+
type CalculationBasis = 'total_after_tax' | 'total_before_tax';
|
|
3604
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
3605
|
+
}
|
|
3034
3606
|
namespace AutomaticTax {
|
|
3607
|
+
type AddressCollectionPrecision = 'full' | 'minimal';
|
|
3035
3608
|
interface Liability {
|
|
3036
3609
|
/**
|
|
3037
3610
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -3043,7 +3616,7 @@ export declare namespace Checkout {
|
|
|
3043
3616
|
type: Liability.Type;
|
|
3044
3617
|
}
|
|
3045
3618
|
namespace Liability {
|
|
3046
|
-
type Type = 'account' | 'self';
|
|
3619
|
+
type Type = 'account' | 'application' | 'self';
|
|
3047
3620
|
}
|
|
3048
3621
|
}
|
|
3049
3622
|
namespace BrandingSettings {
|
|
@@ -3084,6 +3657,33 @@ export declare namespace Checkout {
|
|
|
3084
3657
|
type Type = 'file' | 'url';
|
|
3085
3658
|
}
|
|
3086
3659
|
}
|
|
3660
|
+
namespace CheckoutItem {
|
|
3661
|
+
type Type = 'rate_card_subscription_item' | 'pricing_plan_subscription_item';
|
|
3662
|
+
interface RateCardSubscriptionItem {
|
|
3663
|
+
rate_card: string;
|
|
3664
|
+
metadata?: MetadataParam;
|
|
3665
|
+
rate_card_version?: string;
|
|
3666
|
+
}
|
|
3667
|
+
interface PricingPlanSubscriptionItem {
|
|
3668
|
+
pricing_plan: string;
|
|
3669
|
+
pricing_plan_version?: string;
|
|
3670
|
+
metadata?: MetadataParam;
|
|
3671
|
+
component_configurations?: {
|
|
3672
|
+
[key: string]: PricingPlanSubscriptionItem.ComponentConfigurations;
|
|
3673
|
+
};
|
|
3674
|
+
}
|
|
3675
|
+
namespace PricingPlanSubscriptionItem {
|
|
3676
|
+
interface ComponentConfigurations {
|
|
3677
|
+
type: 'license_fee_component';
|
|
3678
|
+
license_fee_component?: ComponentConfigurations.LicenseFeeComponent;
|
|
3679
|
+
}
|
|
3680
|
+
namespace ComponentConfigurations {
|
|
3681
|
+
interface LicenseFeeComponent {
|
|
3682
|
+
quantity: number;
|
|
3683
|
+
}
|
|
3684
|
+
}
|
|
3685
|
+
}
|
|
3686
|
+
}
|
|
3087
3687
|
namespace ConsentCollection {
|
|
3088
3688
|
interface PaymentMethodReuseAgreement {
|
|
3089
3689
|
/**
|
|
@@ -3192,6 +3792,37 @@ export declare namespace Checkout {
|
|
|
3192
3792
|
message: string;
|
|
3193
3793
|
}
|
|
3194
3794
|
}
|
|
3795
|
+
namespace Discount {
|
|
3796
|
+
interface CouponData {
|
|
3797
|
+
/**
|
|
3798
|
+
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
3799
|
+
*/
|
|
3800
|
+
amount_off?: number;
|
|
3801
|
+
/**
|
|
3802
|
+
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
3803
|
+
*/
|
|
3804
|
+
currency?: string;
|
|
3805
|
+
/**
|
|
3806
|
+
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
3807
|
+
*/
|
|
3808
|
+
duration?: CouponData.Duration;
|
|
3809
|
+
/**
|
|
3810
|
+
* 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
3811
|
+
*/
|
|
3812
|
+
metadata?: Emptyable<MetadataParam>;
|
|
3813
|
+
/**
|
|
3814
|
+
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
3815
|
+
*/
|
|
3816
|
+
name?: string;
|
|
3817
|
+
/**
|
|
3818
|
+
* A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed).
|
|
3819
|
+
*/
|
|
3820
|
+
percent_off?: number;
|
|
3821
|
+
}
|
|
3822
|
+
namespace CouponData {
|
|
3823
|
+
type Duration = 'forever' | 'once' | 'repeating' | 'service_period';
|
|
3824
|
+
}
|
|
3825
|
+
}
|
|
3195
3826
|
namespace InvoiceCreation {
|
|
3196
3827
|
interface InvoiceData {
|
|
3197
3828
|
/**
|
|
@@ -3255,13 +3886,238 @@ export declare namespace Checkout {
|
|
|
3255
3886
|
template?: string;
|
|
3256
3887
|
}
|
|
3257
3888
|
namespace Issuer {
|
|
3258
|
-
type Type = 'account' | 'self';
|
|
3889
|
+
type Type = 'account' | 'application' | 'self';
|
|
3259
3890
|
}
|
|
3260
3891
|
namespace RenderingOptions {
|
|
3261
3892
|
type AmountTaxDisplay = 'exclude_tax' | 'include_inclusive_tax';
|
|
3262
3893
|
}
|
|
3263
3894
|
}
|
|
3264
3895
|
}
|
|
3896
|
+
namespace Item {
|
|
3897
|
+
interface Subscription {
|
|
3898
|
+
/**
|
|
3899
|
+
* Configures when the subscription schedule's billing cycle anchors to a specific day of the week or month.
|
|
3900
|
+
*/
|
|
3901
|
+
billing_cycle_anchor_config?: Subscription.BillingCycleAnchorConfig;
|
|
3902
|
+
/**
|
|
3903
|
+
* Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
|
3904
|
+
*/
|
|
3905
|
+
billing_mode?: Subscription.BillingMode;
|
|
3906
|
+
/**
|
|
3907
|
+
* The subscription's description, meant to be displayable to the customer.
|
|
3908
|
+
*/
|
|
3909
|
+
description?: string;
|
|
3910
|
+
/**
|
|
3911
|
+
* The list of items for the subscription.
|
|
3912
|
+
*/
|
|
3913
|
+
items: Array<Subscription.Item>;
|
|
3914
|
+
/**
|
|
3915
|
+
* 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
3916
|
+
*/
|
|
3917
|
+
metadata?: MetadataParam;
|
|
3918
|
+
/**
|
|
3919
|
+
* Specifies an interval for how often to bill for any pending invoice items.
|
|
3920
|
+
*/
|
|
3921
|
+
pending_invoice_item_interval?: Subscription.PendingInvoiceItemInterval;
|
|
3922
|
+
/**
|
|
3923
|
+
* Determines how to handle prorations resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
|
|
3924
|
+
*/
|
|
3925
|
+
proration_behavior?: Subscription.ProrationBehavior;
|
|
3926
|
+
/**
|
|
3927
|
+
* Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. Has to be at least 48 hours in the future.
|
|
3928
|
+
*/
|
|
3929
|
+
trial_end?: number;
|
|
3930
|
+
/**
|
|
3931
|
+
* Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
3932
|
+
*/
|
|
3933
|
+
trial_period_days?: number;
|
|
3934
|
+
/**
|
|
3935
|
+
* Settings related to subscription trials.
|
|
3936
|
+
*/
|
|
3937
|
+
trial_settings?: Subscription.TrialSettings;
|
|
3938
|
+
}
|
|
3939
|
+
namespace Subscription {
|
|
3940
|
+
interface BillingCycleAnchorConfig {
|
|
3941
|
+
/**
|
|
3942
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3943
|
+
*/
|
|
3944
|
+
day_of_month: number;
|
|
3945
|
+
/**
|
|
3946
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3947
|
+
*/
|
|
3948
|
+
hour?: number;
|
|
3949
|
+
/**
|
|
3950
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3951
|
+
*/
|
|
3952
|
+
minute?: number;
|
|
3953
|
+
/**
|
|
3954
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3955
|
+
*/
|
|
3956
|
+
month?: number;
|
|
3957
|
+
/**
|
|
3958
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3959
|
+
*/
|
|
3960
|
+
second?: number;
|
|
3961
|
+
}
|
|
3962
|
+
interface BillingMode {
|
|
3963
|
+
/**
|
|
3964
|
+
* Configure behavior for flexible billing mode.
|
|
3965
|
+
*/
|
|
3966
|
+
flexible?: BillingMode.Flexible;
|
|
3967
|
+
/**
|
|
3968
|
+
* Controls the calculation and orchestration of prorations and invoices for subscriptions. If no value is passed, the default is `flexible`.
|
|
3969
|
+
*/
|
|
3970
|
+
type: BillingMode.Type;
|
|
3971
|
+
}
|
|
3972
|
+
interface Item {
|
|
3973
|
+
/**
|
|
3974
|
+
* The ID of the price for this subscription item.
|
|
3975
|
+
*/
|
|
3976
|
+
price?: string;
|
|
3977
|
+
/**
|
|
3978
|
+
* Data used to generate a new Price object inline.
|
|
3979
|
+
*/
|
|
3980
|
+
price_data?: Item.PriceData;
|
|
3981
|
+
/**
|
|
3982
|
+
* Quantity for this item.
|
|
3983
|
+
*/
|
|
3984
|
+
quantity?: number;
|
|
3985
|
+
}
|
|
3986
|
+
interface PendingInvoiceItemInterval {
|
|
3987
|
+
/**
|
|
3988
|
+
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
3989
|
+
*/
|
|
3990
|
+
interval: PendingInvoiceItemInterval.Interval;
|
|
3991
|
+
/**
|
|
3992
|
+
* The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
|
|
3993
|
+
*/
|
|
3994
|
+
interval_count?: number;
|
|
3995
|
+
}
|
|
3996
|
+
type ProrationBehavior = 'create_prorations' | 'none';
|
|
3997
|
+
interface TrialSettings {
|
|
3998
|
+
/**
|
|
3999
|
+
* Defines how the subscription should behave when the user's free trial ends.
|
|
4000
|
+
*/
|
|
4001
|
+
end_behavior: TrialSettings.EndBehavior;
|
|
4002
|
+
}
|
|
4003
|
+
namespace BillingMode {
|
|
4004
|
+
interface Flexible {
|
|
4005
|
+
/**
|
|
4006
|
+
* Controls how invoices and invoice items display proration amounts and discount amounts.
|
|
4007
|
+
*/
|
|
4008
|
+
proration_discounts?: Flexible.ProrationDiscounts;
|
|
4009
|
+
}
|
|
4010
|
+
type Type = 'classic' | 'flexible';
|
|
4011
|
+
namespace Flexible {
|
|
4012
|
+
type ProrationDiscounts = 'included' | 'itemized';
|
|
4013
|
+
}
|
|
4014
|
+
}
|
|
4015
|
+
namespace Item {
|
|
4016
|
+
interface PriceData {
|
|
4017
|
+
/**
|
|
4018
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
4019
|
+
*/
|
|
4020
|
+
currency: string;
|
|
4021
|
+
/**
|
|
4022
|
+
* The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. One of `product` or `product_data` is required.
|
|
4023
|
+
*/
|
|
4024
|
+
product?: string;
|
|
4025
|
+
/**
|
|
4026
|
+
* Data used to generate a new [Product](https://docs.stripe.com/api/products) object inline. One of `product` or `product_data` is required.
|
|
4027
|
+
*/
|
|
4028
|
+
product_data?: PriceData.ProductData;
|
|
4029
|
+
/**
|
|
4030
|
+
* The recurring components of a price such as `interval` and `interval_count`.
|
|
4031
|
+
*/
|
|
4032
|
+
recurring?: PriceData.Recurring;
|
|
4033
|
+
/**
|
|
4034
|
+
* Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
|
4035
|
+
*/
|
|
4036
|
+
tax_behavior?: PriceData.TaxBehavior;
|
|
4037
|
+
/**
|
|
4038
|
+
* A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
|
|
4039
|
+
*/
|
|
4040
|
+
unit_amount?: number;
|
|
4041
|
+
/**
|
|
4042
|
+
* Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
|
|
4043
|
+
*/
|
|
4044
|
+
unit_amount_decimal?: Decimal;
|
|
4045
|
+
}
|
|
4046
|
+
namespace PriceData {
|
|
4047
|
+
interface ProductData {
|
|
4048
|
+
/**
|
|
4049
|
+
* The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
|
4050
|
+
*/
|
|
4051
|
+
description?: string;
|
|
4052
|
+
/**
|
|
4053
|
+
* A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
4054
|
+
*/
|
|
4055
|
+
images?: Array<string>;
|
|
4056
|
+
/**
|
|
4057
|
+
* 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
4058
|
+
*/
|
|
4059
|
+
metadata?: MetadataParam;
|
|
4060
|
+
/**
|
|
4061
|
+
* The product's name, meant to be displayable to the customer.
|
|
4062
|
+
*/
|
|
4063
|
+
name: string;
|
|
4064
|
+
/**
|
|
4065
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
4066
|
+
*/
|
|
4067
|
+
tax_code?: string;
|
|
4068
|
+
/**
|
|
4069
|
+
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
4070
|
+
*/
|
|
4071
|
+
tax_details?: ProductData.TaxDetails;
|
|
4072
|
+
/**
|
|
4073
|
+
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
4074
|
+
*/
|
|
4075
|
+
unit_label?: string;
|
|
4076
|
+
}
|
|
4077
|
+
interface Recurring {
|
|
4078
|
+
/**
|
|
4079
|
+
* Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
|
4080
|
+
*/
|
|
4081
|
+
interval: Recurring.Interval;
|
|
4082
|
+
/**
|
|
4083
|
+
* The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
|
|
4084
|
+
*/
|
|
4085
|
+
interval_count?: number;
|
|
4086
|
+
}
|
|
4087
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
4088
|
+
namespace ProductData {
|
|
4089
|
+
interface TaxDetails {
|
|
4090
|
+
/**
|
|
4091
|
+
* A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
4092
|
+
*/
|
|
4093
|
+
performance_location?: string;
|
|
4094
|
+
/**
|
|
4095
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
4096
|
+
*/
|
|
4097
|
+
tax_code?: Emptyable<string>;
|
|
4098
|
+
}
|
|
4099
|
+
}
|
|
4100
|
+
namespace Recurring {
|
|
4101
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
4102
|
+
}
|
|
4103
|
+
}
|
|
4104
|
+
}
|
|
4105
|
+
namespace PendingInvoiceItemInterval {
|
|
4106
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
4107
|
+
}
|
|
4108
|
+
namespace TrialSettings {
|
|
4109
|
+
interface EndBehavior {
|
|
4110
|
+
/**
|
|
4111
|
+
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
4112
|
+
*/
|
|
4113
|
+
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
4114
|
+
}
|
|
4115
|
+
namespace EndBehavior {
|
|
4116
|
+
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
|
|
4117
|
+
}
|
|
4118
|
+
}
|
|
4119
|
+
}
|
|
4120
|
+
}
|
|
3265
4121
|
namespace LineItem {
|
|
3266
4122
|
interface AdjustableQuantity {
|
|
3267
4123
|
/**
|
|
@@ -3329,6 +4185,10 @@ export declare namespace Checkout {
|
|
|
3329
4185
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
3330
4186
|
*/
|
|
3331
4187
|
tax_code?: string;
|
|
4188
|
+
/**
|
|
4189
|
+
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
4190
|
+
*/
|
|
4191
|
+
tax_details?: ProductData.TaxDetails;
|
|
3332
4192
|
/**
|
|
3333
4193
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
3334
4194
|
*/
|
|
@@ -3345,6 +4205,18 @@ export declare namespace Checkout {
|
|
|
3345
4205
|
interval_count?: number;
|
|
3346
4206
|
}
|
|
3347
4207
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
4208
|
+
namespace ProductData {
|
|
4209
|
+
interface TaxDetails {
|
|
4210
|
+
/**
|
|
4211
|
+
* A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
4212
|
+
*/
|
|
4213
|
+
performance_location?: string;
|
|
4214
|
+
/**
|
|
4215
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
4216
|
+
*/
|
|
4217
|
+
tax_code?: Emptyable<string>;
|
|
4218
|
+
}
|
|
4219
|
+
}
|
|
3348
4220
|
namespace Recurring {
|
|
3349
4221
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
3350
4222
|
}
|
|
@@ -3579,6 +4451,19 @@ export declare namespace Checkout {
|
|
|
3579
4451
|
*/
|
|
3580
4452
|
capture_method?: 'manual';
|
|
3581
4453
|
}
|
|
4454
|
+
interface Bizum {
|
|
4455
|
+
/**
|
|
4456
|
+
* Additional fields for mandate creation.
|
|
4457
|
+
*/
|
|
4458
|
+
mandate_options?: Bizum.MandateOptions;
|
|
4459
|
+
}
|
|
4460
|
+
interface Blik {
|
|
4461
|
+
/**
|
|
4462
|
+
* Additional fields for Mandate creation
|
|
4463
|
+
*/
|
|
4464
|
+
mandate_options?: Blik.MandateOptions;
|
|
4465
|
+
setup_future_usage?: Emptyable<Blik.SetupFutureUsage>;
|
|
4466
|
+
}
|
|
3582
4467
|
interface Boleto {
|
|
3583
4468
|
/**
|
|
3584
4469
|
* The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
|
@@ -3604,6 +4489,10 @@ export declare namespace Checkout {
|
|
|
3604
4489
|
* Installment options for card payments
|
|
3605
4490
|
*/
|
|
3606
4491
|
installments?: Card.Installments;
|
|
4492
|
+
/**
|
|
4493
|
+
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
4494
|
+
*/
|
|
4495
|
+
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
3607
4496
|
/**
|
|
3608
4497
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
3609
4498
|
*/
|
|
@@ -3960,6 +4849,10 @@ export declare namespace Checkout {
|
|
|
3960
4849
|
* A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
3961
4850
|
*/
|
|
3962
4851
|
reference?: string;
|
|
4852
|
+
/**
|
|
4853
|
+
* A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
4854
|
+
*/
|
|
4855
|
+
reference_id?: string;
|
|
3963
4856
|
/**
|
|
3964
4857
|
* The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
3965
4858
|
*/
|
|
@@ -3976,6 +4869,10 @@ export declare namespace Checkout {
|
|
|
3976
4869
|
* If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3977
4870
|
*/
|
|
3978
4871
|
setup_future_usage?: Emptyable<Paypal.SetupFutureUsage>;
|
|
4872
|
+
/**
|
|
4873
|
+
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
4874
|
+
*/
|
|
4875
|
+
subsellers?: Array<string>;
|
|
3979
4876
|
}
|
|
3980
4877
|
interface Payto {
|
|
3981
4878
|
/**
|
|
@@ -4214,6 +5111,19 @@ export declare namespace Checkout {
|
|
|
4214
5111
|
}
|
|
4215
5112
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4216
5113
|
}
|
|
5114
|
+
namespace Bizum {
|
|
5115
|
+
interface MandateOptions {
|
|
5116
|
+
}
|
|
5117
|
+
}
|
|
5118
|
+
namespace Blik {
|
|
5119
|
+
interface MandateOptions {
|
|
5120
|
+
/**
|
|
5121
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
5122
|
+
*/
|
|
5123
|
+
expires_after?: number;
|
|
5124
|
+
}
|
|
5125
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
5126
|
+
}
|
|
4217
5127
|
namespace Boleto {
|
|
4218
5128
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4219
5129
|
}
|
|
@@ -4225,6 +5135,7 @@ export declare namespace Checkout {
|
|
|
4225
5135
|
*/
|
|
4226
5136
|
enabled?: boolean;
|
|
4227
5137
|
}
|
|
5138
|
+
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
4228
5139
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
4229
5140
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
4230
5141
|
type RequestMulticapture = 'if_available' | 'never';
|
|
@@ -4463,7 +5374,7 @@ export declare namespace Checkout {
|
|
|
4463
5374
|
type VerificationMethod = 'automatic' | 'instant';
|
|
4464
5375
|
namespace FinancialConnections {
|
|
4465
5376
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
4466
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
5377
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
|
|
4467
5378
|
}
|
|
4468
5379
|
}
|
|
4469
5380
|
namespace WechatPay {
|
|
@@ -4471,7 +5382,31 @@ export declare namespace Checkout {
|
|
|
4471
5382
|
}
|
|
4472
5383
|
}
|
|
4473
5384
|
namespace Permissions {
|
|
5385
|
+
interface Update {
|
|
5386
|
+
/**
|
|
5387
|
+
* Determines which entity is allowed to update the line items.
|
|
5388
|
+
*
|
|
5389
|
+
* Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
5390
|
+
*
|
|
5391
|
+
* When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
5392
|
+
*/
|
|
5393
|
+
line_items?: Update.LineItems;
|
|
5394
|
+
/**
|
|
5395
|
+
* Determines which entity is allowed to update the shipping details.
|
|
5396
|
+
*
|
|
5397
|
+
* Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
5398
|
+
*
|
|
5399
|
+
* When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
|
5400
|
+
*/
|
|
5401
|
+
shipping_details?: Update.ShippingDetails;
|
|
5402
|
+
}
|
|
5403
|
+
type UpdateDiscounts = 'client_only' | 'server_only';
|
|
5404
|
+
type UpdateLineItems = 'client_only' | 'server_only';
|
|
4474
5405
|
type UpdateShippingDetails = 'client_only' | 'server_only';
|
|
5406
|
+
namespace Update {
|
|
5407
|
+
type LineItems = 'client_only' | 'server_only';
|
|
5408
|
+
type ShippingDetails = 'client_only' | 'server_only';
|
|
5409
|
+
}
|
|
4475
5410
|
}
|
|
4476
5411
|
namespace SavedPaymentMethodOptions {
|
|
4477
5412
|
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified';
|
|
@@ -4675,7 +5610,7 @@ export declare namespace Checkout {
|
|
|
4675
5610
|
type: Issuer.Type;
|
|
4676
5611
|
}
|
|
4677
5612
|
namespace Issuer {
|
|
4678
|
-
type Type = 'account' | 'self';
|
|
5613
|
+
type Type = 'account' | 'application' | 'self';
|
|
4679
5614
|
}
|
|
4680
5615
|
}
|
|
4681
5616
|
namespace PendingInvoiceItemInterval {
|
|
@@ -4719,14 +5654,26 @@ export declare namespace Checkout {
|
|
|
4719
5654
|
}
|
|
4720
5655
|
export declare namespace Checkout {
|
|
4721
5656
|
interface SessionUpdateParams {
|
|
5657
|
+
/**
|
|
5658
|
+
* Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
|
5659
|
+
*/
|
|
5660
|
+
automatic_tax?: SessionUpdateParams.AutomaticTax;
|
|
4722
5661
|
/**
|
|
4723
5662
|
* Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions.
|
|
4724
5663
|
*/
|
|
4725
5664
|
collected_information?: SessionUpdateParams.CollectedInformation;
|
|
5665
|
+
/**
|
|
5666
|
+
* List of coupons and promotion codes attached to the Checkout Session.
|
|
5667
|
+
*/
|
|
5668
|
+
discounts?: Emptyable<Array<SessionUpdateParams.Discount>>;
|
|
4726
5669
|
/**
|
|
4727
5670
|
* Specifies which fields in the response should be expanded.
|
|
4728
5671
|
*/
|
|
4729
5672
|
expand?: Array<string>;
|
|
5673
|
+
/**
|
|
5674
|
+
* Generate a post-purchase Invoice for one-time payments.
|
|
5675
|
+
*/
|
|
5676
|
+
invoice_creation?: SessionUpdateParams.InvoiceCreation;
|
|
4730
5677
|
/**
|
|
4731
5678
|
* A list of items the customer is purchasing.
|
|
4732
5679
|
*
|
|
@@ -4751,14 +5698,40 @@ export declare namespace Checkout {
|
|
|
4751
5698
|
* The shipping rate options to apply to this Session. Up to a maximum of 5.
|
|
4752
5699
|
*/
|
|
4753
5700
|
shipping_options?: Emptyable<Array<SessionUpdateParams.ShippingOption>>;
|
|
5701
|
+
/**
|
|
5702
|
+
* A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
|
5703
|
+
*/
|
|
5704
|
+
subscription_data?: SessionUpdateParams.SubscriptionData;
|
|
4754
5705
|
}
|
|
4755
5706
|
namespace SessionUpdateParams {
|
|
5707
|
+
interface AutomaticTax {
|
|
5708
|
+
/**
|
|
5709
|
+
* The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
|
5710
|
+
*/
|
|
5711
|
+
liability?: AutomaticTax.Liability;
|
|
5712
|
+
}
|
|
4756
5713
|
interface CollectedInformation {
|
|
4757
5714
|
/**
|
|
4758
5715
|
* The shipping details to apply to this Session.
|
|
4759
5716
|
*/
|
|
4760
5717
|
shipping_details?: CollectedInformation.ShippingDetails;
|
|
4761
5718
|
}
|
|
5719
|
+
interface Discount {
|
|
5720
|
+
/**
|
|
5721
|
+
* The ID of the [Coupon](https://docs.stripe.com/api/coupons) to apply to this Session. One of `coupon` or `coupon_data` is required when updating discounts.
|
|
5722
|
+
*/
|
|
5723
|
+
coupon?: string;
|
|
5724
|
+
/**
|
|
5725
|
+
* Data used to generate a new [Coupon](https://docs.stripe.com/api/coupon) object inline. One of `coupon` or `coupon_data` is required when updating discounts.
|
|
5726
|
+
*/
|
|
5727
|
+
coupon_data?: Discount.CouponData;
|
|
5728
|
+
}
|
|
5729
|
+
interface InvoiceCreation {
|
|
5730
|
+
/**
|
|
5731
|
+
* Parameters passed when creating invoices for payment-mode Checkout Sessions.
|
|
5732
|
+
*/
|
|
5733
|
+
invoice_data?: InvoiceCreation.InvoiceData;
|
|
5734
|
+
}
|
|
4762
5735
|
interface LineItem {
|
|
4763
5736
|
/**
|
|
4764
5737
|
* When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
|
|
@@ -4799,6 +5772,39 @@ export declare namespace Checkout {
|
|
|
4799
5772
|
*/
|
|
4800
5773
|
shipping_rate_data?: ShippingOption.ShippingRateData;
|
|
4801
5774
|
}
|
|
5775
|
+
interface SubscriptionData {
|
|
5776
|
+
/**
|
|
5777
|
+
* All invoices will be billed using the specified settings.
|
|
5778
|
+
*/
|
|
5779
|
+
invoice_settings?: SubscriptionData.InvoiceSettings;
|
|
5780
|
+
/**
|
|
5781
|
+
* 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#create_invoice) for the given subscription at the specified interval.
|
|
5782
|
+
*/
|
|
5783
|
+
pending_invoice_item_interval?: Emptyable<SubscriptionData.PendingInvoiceItemInterval>;
|
|
5784
|
+
/**
|
|
5785
|
+
* Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. Has to be at least 48 hours in the future.
|
|
5786
|
+
*/
|
|
5787
|
+
trial_end?: number;
|
|
5788
|
+
/**
|
|
5789
|
+
* Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
5790
|
+
*/
|
|
5791
|
+
trial_period_days?: Emptyable<number>;
|
|
5792
|
+
}
|
|
5793
|
+
namespace AutomaticTax {
|
|
5794
|
+
interface Liability {
|
|
5795
|
+
/**
|
|
5796
|
+
* The connected account being referenced when `type` is `account`.
|
|
5797
|
+
*/
|
|
5798
|
+
account?: string;
|
|
5799
|
+
/**
|
|
5800
|
+
* Type of the account referenced in the request.
|
|
5801
|
+
*/
|
|
5802
|
+
type: Liability.Type;
|
|
5803
|
+
}
|
|
5804
|
+
namespace Liability {
|
|
5805
|
+
type Type = 'account' | 'application' | 'self';
|
|
5806
|
+
}
|
|
5807
|
+
}
|
|
4802
5808
|
namespace CollectedInformation {
|
|
4803
5809
|
interface ShippingDetails {
|
|
4804
5810
|
/**
|
|
@@ -4839,6 +5845,60 @@ export declare namespace Checkout {
|
|
|
4839
5845
|
}
|
|
4840
5846
|
}
|
|
4841
5847
|
}
|
|
5848
|
+
namespace Discount {
|
|
5849
|
+
interface CouponData {
|
|
5850
|
+
/**
|
|
5851
|
+
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
5852
|
+
*/
|
|
5853
|
+
amount_off?: number;
|
|
5854
|
+
/**
|
|
5855
|
+
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
5856
|
+
*/
|
|
5857
|
+
currency?: string;
|
|
5858
|
+
/**
|
|
5859
|
+
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
5860
|
+
*/
|
|
5861
|
+
duration?: CouponData.Duration;
|
|
5862
|
+
/**
|
|
5863
|
+
* 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
5864
|
+
*/
|
|
5865
|
+
metadata?: Emptyable<MetadataParam>;
|
|
5866
|
+
/**
|
|
5867
|
+
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
5868
|
+
*/
|
|
5869
|
+
name?: string;
|
|
5870
|
+
/**
|
|
5871
|
+
* A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed).
|
|
5872
|
+
*/
|
|
5873
|
+
percent_off?: number;
|
|
5874
|
+
}
|
|
5875
|
+
namespace CouponData {
|
|
5876
|
+
type Duration = 'forever' | 'once' | 'repeating' | 'service_period';
|
|
5877
|
+
}
|
|
5878
|
+
}
|
|
5879
|
+
namespace InvoiceCreation {
|
|
5880
|
+
interface InvoiceData {
|
|
5881
|
+
/**
|
|
5882
|
+
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
5883
|
+
*/
|
|
5884
|
+
issuer?: InvoiceData.Issuer;
|
|
5885
|
+
}
|
|
5886
|
+
namespace InvoiceData {
|
|
5887
|
+
interface Issuer {
|
|
5888
|
+
/**
|
|
5889
|
+
* The connected account being referenced when `type` is `account`.
|
|
5890
|
+
*/
|
|
5891
|
+
account?: string;
|
|
5892
|
+
/**
|
|
5893
|
+
* Type of the account referenced in the request.
|
|
5894
|
+
*/
|
|
5895
|
+
type: Issuer.Type;
|
|
5896
|
+
}
|
|
5897
|
+
namespace Issuer {
|
|
5898
|
+
type Type = 'account' | 'application' | 'self';
|
|
5899
|
+
}
|
|
5900
|
+
}
|
|
5901
|
+
}
|
|
4842
5902
|
namespace LineItem {
|
|
4843
5903
|
interface AdjustableQuantity {
|
|
4844
5904
|
/**
|
|
@@ -4906,6 +5966,10 @@ export declare namespace Checkout {
|
|
|
4906
5966
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
4907
5967
|
*/
|
|
4908
5968
|
tax_code?: string;
|
|
5969
|
+
/**
|
|
5970
|
+
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
5971
|
+
*/
|
|
5972
|
+
tax_details?: ProductData.TaxDetails;
|
|
4909
5973
|
/**
|
|
4910
5974
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
4911
5975
|
*/
|
|
@@ -4922,6 +5986,18 @@ export declare namespace Checkout {
|
|
|
4922
5986
|
interval_count?: number;
|
|
4923
5987
|
}
|
|
4924
5988
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
5989
|
+
namespace ProductData {
|
|
5990
|
+
interface TaxDetails {
|
|
5991
|
+
/**
|
|
5992
|
+
* A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
5993
|
+
*/
|
|
5994
|
+
performance_location?: string;
|
|
5995
|
+
/**
|
|
5996
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
5997
|
+
*/
|
|
5998
|
+
tax_code?: Emptyable<string>;
|
|
5999
|
+
}
|
|
6000
|
+
}
|
|
4925
6001
|
namespace Recurring {
|
|
4926
6002
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
4927
6003
|
}
|
|
@@ -5031,6 +6107,42 @@ export declare namespace Checkout {
|
|
|
5031
6107
|
}
|
|
5032
6108
|
}
|
|
5033
6109
|
}
|
|
6110
|
+
namespace SubscriptionData {
|
|
6111
|
+
interface InvoiceSettings {
|
|
6112
|
+
/**
|
|
6113
|
+
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
6114
|
+
*/
|
|
6115
|
+
issuer?: InvoiceSettings.Issuer;
|
|
6116
|
+
}
|
|
6117
|
+
interface PendingInvoiceItemInterval {
|
|
6118
|
+
/**
|
|
6119
|
+
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
6120
|
+
*/
|
|
6121
|
+
interval: PendingInvoiceItemInterval.Interval;
|
|
6122
|
+
/**
|
|
6123
|
+
* The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
|
|
6124
|
+
*/
|
|
6125
|
+
interval_count?: number;
|
|
6126
|
+
}
|
|
6127
|
+
namespace InvoiceSettings {
|
|
6128
|
+
interface Issuer {
|
|
6129
|
+
/**
|
|
6130
|
+
* The connected account being referenced when `type` is `account`.
|
|
6131
|
+
*/
|
|
6132
|
+
account?: string;
|
|
6133
|
+
/**
|
|
6134
|
+
* Type of the account referenced in the request.
|
|
6135
|
+
*/
|
|
6136
|
+
type: Issuer.Type;
|
|
6137
|
+
}
|
|
6138
|
+
namespace Issuer {
|
|
6139
|
+
type Type = 'account' | 'application' | 'self';
|
|
6140
|
+
}
|
|
6141
|
+
}
|
|
6142
|
+
namespace PendingInvoiceItemInterval {
|
|
6143
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
6144
|
+
}
|
|
6145
|
+
}
|
|
5034
6146
|
}
|
|
5035
6147
|
}
|
|
5036
6148
|
export declare namespace Checkout {
|
|
@@ -5082,6 +6194,46 @@ export declare namespace Checkout {
|
|
|
5082
6194
|
type Status = 'complete' | 'expired' | 'open';
|
|
5083
6195
|
}
|
|
5084
6196
|
}
|
|
6197
|
+
export declare namespace Checkout {
|
|
6198
|
+
interface SessionApproveParams {
|
|
6199
|
+
/**
|
|
6200
|
+
* The ID of the customer's attempt to pay to approve.
|
|
6201
|
+
*/
|
|
6202
|
+
attempt: string;
|
|
6203
|
+
/**
|
|
6204
|
+
* Specifies which fields in the response should be expanded.
|
|
6205
|
+
*/
|
|
6206
|
+
expand?: Array<string>;
|
|
6207
|
+
/**
|
|
6208
|
+
* A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.
|
|
6209
|
+
*/
|
|
6210
|
+
payment_intent_data?: SessionApproveParams.PaymentIntentData;
|
|
6211
|
+
/**
|
|
6212
|
+
* The URL to redirect your customer back to after they authenticate or cancel their payment on the
|
|
6213
|
+
* payment method's app or site. This parameter is allowed and required if and only if you did not
|
|
6214
|
+
* set the return URL during Checkout Session creation or in `checkout.confirm()` in Stripe.js.
|
|
6215
|
+
*/
|
|
6216
|
+
return_url?: string;
|
|
6217
|
+
/**
|
|
6218
|
+
* A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
|
6219
|
+
*/
|
|
6220
|
+
subscription_data?: SessionApproveParams.SubscriptionData;
|
|
6221
|
+
}
|
|
6222
|
+
namespace SessionApproveParams {
|
|
6223
|
+
interface PaymentIntentData {
|
|
6224
|
+
/**
|
|
6225
|
+
* The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
6226
|
+
*/
|
|
6227
|
+
application_fee_amount?: number;
|
|
6228
|
+
}
|
|
6229
|
+
interface SubscriptionData {
|
|
6230
|
+
/**
|
|
6231
|
+
* 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 application owner's Stripe account. To use an application fee percent, the request must be made on behalf of another account, using the `Stripe-Account` header or an OAuth key. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
|
|
6232
|
+
*/
|
|
6233
|
+
application_fee_percent?: number;
|
|
6234
|
+
}
|
|
6235
|
+
}
|
|
6236
|
+
}
|
|
5085
6237
|
export declare namespace Checkout {
|
|
5086
6238
|
interface SessionExpireParams {
|
|
5087
6239
|
/**
|