stripe 22.4.0 → 22.5.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3171 -13
- package/OPENAPI_VERSION +1 -1
- package/README.md +44 -60
- package/VERSION +1 -1
- package/cjs/Error.d.ts +58 -0
- package/cjs/Error.js +135 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +491 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- package/cjs/Types.d.ts +9 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +5 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +564 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/AccountSignals.d.ts +111 -0
- package/cjs/resources/AccountSignals.js +4 -0
- package/cjs/resources/AccountSignals.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +1037 -6
- package/cjs/resources/Accounts.js +47 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +28 -1
- package/cjs/resources/Balance.d.ts +134 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BalanceTransfers.d.ts +160 -0
- package/cjs/resources/BalanceTransfers.js +15 -0
- package/cjs/resources/BalanceTransfers.js.map +1 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertNotifications.d.ts +75 -0
- package/cjs/resources/Billing/AlertNotifications.js +4 -0
- package/cjs/resources/Billing/AlertNotifications.js.map +1 -0
- package/cjs/resources/Billing/AlertRecovereds.d.ts +56 -0
- package/cjs/resources/Billing/AlertRecovereds.js +4 -0
- package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
- package/cjs/resources/Billing/AlertTriggereds.d.ts +55 -1
- package/cjs/resources/Billing/Alerts.d.ts +448 -5
- package/cjs/resources/Billing/Alerts.js +329 -5
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +136 -3
- package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +105 -3
- package/cjs/resources/Billing/CreditGrants.js +134 -5
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/FeedbackOptions.d.ts +32 -0
- package/cjs/resources/Billing/FeedbackOptions.js +4 -0
- package/cjs/resources/Billing/FeedbackOptions.js.map +1 -0
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/cjs/resources/Billing/Meters.d.ts +31 -0
- package/cjs/resources/Billing/index.d.ts +13 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Configurations.d.ts +5 -0
- package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +25 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +102 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +28 -0
- package/cjs/resources/Charges.d.ts +3367 -70
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +1193 -12
- package/cjs/resources/Checkout/Sessions.js +115 -0
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +1 -0
- package/cjs/resources/ConfirmationTokens.d.ts +146 -1
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +128 -2
- package/cjs/resources/Coupons.js +41 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +7 -1
- package/cjs/resources/CreditNotes.js +13 -0
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js +4 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js +4 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/cjs/resources/Crypto/Customers.d.ts +111 -0
- package/cjs/resources/Crypto/Customers.js +31 -0
- package/cjs/resources/Crypto/Customers.js.map +1 -0
- package/cjs/resources/Crypto/DepositAddresses.d.ts +128 -0
- package/cjs/resources/Crypto/DepositAddresses.js +31 -0
- package/cjs/resources/Crypto/DepositAddresses.js.map +1 -0
- package/cjs/resources/Crypto/OnrampSessions.d.ts +421 -0
- package/cjs/resources/Crypto/OnrampSessions.js +47 -0
- package/cjs/resources/Crypto/OnrampSessions.js.map +1 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js +15 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/cjs/resources/Crypto/index.d.ts +41 -0
- package/cjs/resources/Crypto/index.js +19 -0
- package/cjs/resources/Crypto/index.js.map +1 -0
- package/cjs/resources/CustomerSessions.d.ts +74 -0
- package/cjs/resources/CustomerSessions.js +13 -0
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/Customers.d.ts +98 -1
- package/cjs/resources/Customers.js +195 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/Orders.d.ts +159 -0
- package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
- package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1420 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
- package/cjs/resources/DelegatedCheckout/index.js +15 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +19 -0
- package/cjs/resources/Disputes.d.ts +43 -0
- package/cjs/resources/Disputes.js +14 -0
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +574 -3
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/cjs/resources/FinancialConnections/index.d.ts +21 -9
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +212 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/GiftCardOperations.d.ts +249 -0
- package/cjs/resources/GiftCardOperations.js +15 -0
- package/cjs/resources/GiftCardOperations.js.map +1 -0
- package/cjs/resources/GiftCards.d.ts +181 -0
- package/cjs/resources/GiftCards.js +51 -0
- package/cjs/resources/GiftCards.js.map +1 -0
- package/cjs/resources/Identity/BlocklistEntries.d.ts +155 -0
- package/cjs/resources/Identity/BlocklistEntries.js +54 -0
- package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
- package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
- package/cjs/resources/Identity/index.d.ts +18 -10
- package/cjs/resources/Identity/index.js +2 -0
- package/cjs/resources/Identity/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +204 -3
- package/cjs/resources/InvoiceItems.js +41 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +2125 -21
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +524 -1
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +22 -4
- package/cjs/resources/Issuing/Cards.d.ts +82 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +53 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +246 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Programs.d.ts +95 -0
- package/cjs/resources/Issuing/Programs.js +35 -0
- package/cjs/resources/Issuing/Programs.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +83 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Tokens.d.ts +26 -0
- package/cjs/resources/Issuing/Transactions.d.ts +233 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +56 -22
- package/cjs/resources/Issuing/index.js +8 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +47 -2
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/cjs/resources/Orchestration/index.d.ts +12 -0
- package/cjs/resources/Orchestration/index.js +13 -0
- package/cjs/resources/Orchestration/index.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4773 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +679 -2
- package/cjs/resources/PaymentAttemptRecords.js +48 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +52 -0
- package/cjs/resources/PaymentIntents.d.ts +16109 -2361
- package/cjs/resources/PaymentIntents.js +46 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +77 -15
- package/cjs/resources/PaymentLocationCapabilities.d.ts +123 -0
- package/cjs/resources/PaymentLocationCapabilities.js +29 -0
- package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
- package/cjs/resources/PaymentLocations.d.ts +178 -0
- package/cjs/resources/PaymentLocations.js +41 -0
- package/cjs/resources/PaymentLocations.js.map +1 -0
- package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
- package/cjs/resources/PaymentMethodBalances.js +4 -0
- package/cjs/resources/PaymentMethodBalances.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +420 -0
- package/cjs/resources/PaymentMethods.d.ts +300 -3
- package/cjs/resources/PaymentMethods.js +20 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +737 -20
- package/cjs/resources/PaymentRecords.js +18 -0
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Persons.d.ts +25 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +77 -1
- package/cjs/resources/Prices.js +27 -0
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +158 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +29 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +14 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +199 -1
- package/cjs/resources/Products.js +69 -0
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/Profiles.d.ts +68 -0
- package/cjs/resources/Profiles.js +4 -0
- package/cjs/resources/Profiles.js.map +1 -0
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +684 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1179 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +1045 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +3548 -254
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/AccountEvaluations.d.ts +308 -0
- package/cjs/resources/Radar/AccountEvaluations.js +27 -0
- package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
- package/cjs/resources/Radar/CustomerEvaluations.d.ts +245 -0
- package/cjs/resources/Radar/CustomerEvaluations.js +27 -0
- package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +115 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +39 -1
- package/cjs/resources/Radar/ValueListItems.js +13 -0
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +36 -16
- package/cjs/resources/Radar/index.js +6 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +39 -0
- package/cjs/resources/Refunds.js +27 -0
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +16 -0
- package/cjs/resources/Reserve/Plans.js +11 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +17 -6
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/RiskSignals.d.ts +10 -0
- package/cjs/resources/RiskSignals.js +4 -0
- package/cjs/resources/RiskSignals.js.map +1 -0
- package/cjs/resources/SetupAttempts.d.ts +35 -1
- package/cjs/resources/SetupAttempts.js.map +1 -1
- package/cjs/resources/SetupIntents.d.ts +627 -11
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +425 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +344 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +29 -1
- package/cjs/resources/SubscriptionItems.d.ts +266 -1
- package/cjs/resources/SubscriptionItems.js +41 -0
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +2398 -67
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +971 -13
- package/cjs/resources/Subscriptions.js +290 -1
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/cjs/resources/Tax/Calculations.d.ts +46 -4
- package/cjs/resources/Tax/Forms.d.ts +228 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Locations.d.ts +112 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +171 -2
- package/cjs/resources/Tax/Registrations.js +27 -0
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +8 -0
- package/cjs/resources/Tax/Settings.js +13 -0
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +10 -2
- package/cjs/resources/Tax/Transactions.js +13 -0
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +31 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +16 -1
- package/cjs/resources/TaxFunds.d.ts +174 -0
- package/cjs/resources/TaxFunds.js +23 -0
- package/cjs/resources/TaxFunds.js.map +1 -0
- package/cjs/resources/TaxIds.d.ts +6 -0
- package/cjs/resources/TaxIds.js +13 -0
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.d.ts +12 -0
- package/cjs/resources/TaxRates.js +27 -0
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +207 -2
- package/cjs/resources/Terminal/Readers.js +24 -0
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +9 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/Capital/index.js +13 -0
- package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +100 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +102 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js +39 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +110 -0
- package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +38 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +15 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +14 -6
- package/cjs/resources/TestHelpers/index.js +12 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +82 -0
- package/cjs/resources/Transfers.d.ts +12 -0
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/TransitBalances.d.ts +25 -0
- package/cjs/resources/TransitBalances.js +4 -0
- package/cjs/resources/TransitBalances.js.map +1 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +84 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +1011 -0
- package/cjs/resources/V2/Billing/Cadences.js +264 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +237 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +776 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +47 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +29 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js +15 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts.d.ts +1484 -0
- package/cjs/resources/V2/Billing/Contracts.js +331 -0
- package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/cjs/resources/V2/Billing/IntentActions.d.ts +603 -0
- package/cjs/resources/V2/Billing/IntentActions.js +4 -0
- package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents.d.ts +1261 -0
- package/cjs/resources/V2/Billing/Intents.js +87 -0
- package/cjs/resources/V2/Billing/Intents.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees.d.ts +360 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
- package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/cjs/resources/V2/Billing/LicensedItems.d.ts +170 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
- package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +218 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
- package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/cjs/resources/V2/Billing/OneTimeItems.d.ts +170 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +620 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans.d.ts +169 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
- package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardRates.d.ts +111 -0
- package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +215 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards.d.ts +336 -0
- package/cjs/resources/V2/Billing/RateCards.js +76 -0
- package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +510 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
- package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +175 -6
- package/cjs/resources/V2/Billing/index.js +32 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountEvaluations.d.ts +159 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +220 -2
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +16128 -1981
- package/cjs/resources/V2/Core/Accounts.js +10379 -53
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +331 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +360 -0
- package/cjs/resources/V2/Core/BatchJobs.js +225 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/cjs/resources/V2/Core/ConnectionSessions.d.ts +86 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +7881 -232
- package/cjs/resources/V2/Core/FeeBatches.d.ts +234 -0
- package/cjs/resources/V2/Core/FeeBatches.js +23 -0
- package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
- package/cjs/resources/V2/Core/FeeEntries.d.ts +200 -0
- package/cjs/resources/V2/Core/FeeEntries.js +23 -0
- package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +416 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +4 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js +101 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts.d.ts +530 -0
- package/cjs/resources/V2/Core/Health/Alerts.js +182 -0
- package/cjs/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/cjs/resources/V2/Core/Health/index.d.ts +16 -0
- package/cjs/resources/V2/Core/Health/index.js +13 -0
- package/cjs/resources/V2/Core/Health/index.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +280 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +252 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +65 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
- package/cjs/resources/V2/Core/Vault/index.js +15 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
- package/cjs/resources/V2/Core/index.d.ts +66 -14
- package/cjs/resources/V2/Core/index.js +18 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/cjs/resources/V2/Data/Analytics/index.js +13 -0
- package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +172 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +13 -0
- package/cjs/resources/V2/Data/index.js +15 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +20 -0
- package/cjs/resources/V2/Extend/index.js +15 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +218 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +305 -0
- package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
- package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +23 -0
- package/cjs/resources/V2/Iam/index.js +15 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +169 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +438 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +50 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +251 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +219 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +638 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +318 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +394 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +525 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +277 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +481 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +166 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +29 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +308 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +116 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +34 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +15 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +266 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +297 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +150 -0
- package/cjs/resources/V2/MoneyManagement/index.js +51 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +835 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +209 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/cjs/resources/V2/Payments/index.d.ts +31 -0
- package/cjs/resources/V2/Payments/index.js +15 -0
- package/cjs/resources/V2/Payments/index.js.map +1 -0
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +191 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Reporting/Reports.d.ts +106 -0
- package/cjs/resources/V2/Reporting/Reports.js +17 -0
- package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
- package/cjs/resources/V2/Reporting/index.d.ts +18 -0
- package/cjs/resources/V2/Reporting/index.js +15 -0
- package/cjs/resources/V2/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Risk/Inquiries.d.ts +143 -0
- package/cjs/resources/V2/Risk/Inquiries.js +29 -0
- package/cjs/resources/V2/Risk/Inquiries.js.map +1 -0
- package/cjs/resources/V2/Risk/index.d.ts +14 -0
- package/cjs/resources/V2/Risk/index.js +13 -0
- package/cjs/resources/V2/Risk/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountActivity.d.ts +424 -0
- package/cjs/resources/V2/Signals/AccountActivity.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivity.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +396 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js +59 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +281 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +110 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +26 -0
- package/cjs/resources/V2/Signals/index.js +17 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +331 -0
- package/cjs/resources/V2/Tax/ManualRules.js +193 -0
- package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
- package/cjs/resources/V2/Tax/index.d.ts +16 -0
- package/cjs/resources/V2/Tax/index.js +13 -0
- package/cjs/resources/V2/Tax/index.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +45 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
- package/cjs/resources/V2/TestHelpers/index.js +15 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +42 -0
- package/cjs/resources/V2/index.js +24 -0
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +19 -0
- package/cjs/resources.js +290 -18
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +15353 -1281
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +158 -54
- package/cjs/stripe.core.js +72 -31
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +58 -0
- package/esm/Error.js +118 -0
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +487 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- package/esm/Types.d.ts +9 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +5 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +564 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/AccountSignals.d.ts +111 -0
- package/esm/resources/AccountSignals.js +3 -0
- package/esm/resources/AccountSignals.js.map +1 -0
- package/esm/resources/Accounts.d.ts +1037 -6
- package/esm/resources/Accounts.js +47 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +28 -1
- package/esm/resources/Balance.d.ts +134 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BalanceTransfers.d.ts +160 -0
- package/esm/resources/BalanceTransfers.js +11 -0
- package/esm/resources/BalanceTransfers.js.map +1 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertNotifications.d.ts +75 -0
- package/esm/resources/Billing/AlertNotifications.js +3 -0
- package/esm/resources/Billing/AlertNotifications.js.map +1 -0
- package/esm/resources/Billing/AlertRecovereds.d.ts +56 -0
- package/esm/resources/Billing/AlertRecovereds.js +3 -0
- package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
- package/esm/resources/Billing/AlertTriggereds.d.ts +55 -1
- package/esm/resources/Billing/Alerts.d.ts +448 -5
- package/esm/resources/Billing/Alerts.js +329 -5
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +136 -3
- package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +105 -3
- package/esm/resources/Billing/CreditGrants.js +134 -5
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/FeedbackOptions.d.ts +32 -0
- package/esm/resources/Billing/FeedbackOptions.js +3 -0
- package/esm/resources/Billing/FeedbackOptions.js.map +1 -0
- package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/esm/resources/Billing/Meters.d.ts +31 -0
- package/esm/resources/Billing/index.d.ts +13 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Configurations.d.ts +5 -0
- package/esm/resources/BillingPortal/Configurations.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +25 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +102 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +28 -0
- package/esm/resources/Charges.d.ts +3367 -70
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +1193 -12
- package/esm/resources/Checkout/Sessions.js +115 -0
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +1 -0
- package/esm/resources/ConfirmationTokens.d.ts +146 -1
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/Coupons.d.ts +128 -2
- package/esm/resources/Coupons.js +41 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +7 -1
- package/esm/resources/CreditNotes.js +13 -0
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js +3 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js +3 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/esm/resources/Crypto/Customers.d.ts +111 -0
- package/esm/resources/Crypto/Customers.js +27 -0
- package/esm/resources/Crypto/Customers.js.map +1 -0
- package/esm/resources/Crypto/DepositAddresses.d.ts +128 -0
- package/esm/resources/Crypto/DepositAddresses.js +27 -0
- package/esm/resources/Crypto/DepositAddresses.js.map +1 -0
- package/esm/resources/Crypto/OnrampSessions.d.ts +421 -0
- package/esm/resources/Crypto/OnrampSessions.js +43 -0
- package/esm/resources/Crypto/OnrampSessions.js.map +1 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js +11 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/esm/resources/Crypto/index.d.ts +41 -0
- package/esm/resources/Crypto/index.js +15 -0
- package/esm/resources/Crypto/index.js.map +1 -0
- package/esm/resources/CustomerSessions.d.ts +74 -0
- package/esm/resources/CustomerSessions.js +13 -0
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/Customers.d.ts +98 -1
- package/esm/resources/Customers.js +195 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/esm/resources/DelegatedCheckout/Orders.d.ts +159 -0
- package/esm/resources/DelegatedCheckout/Orders.js +11 -0
- package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1420 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
- package/esm/resources/DelegatedCheckout/index.js +11 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +19 -0
- package/esm/resources/Disputes.d.ts +43 -0
- package/esm/resources/Disputes.js +14 -0
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +574 -3
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/esm/resources/FinancialConnections/Authorizations.js +9 -1
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/esm/resources/FinancialConnections/index.d.ts +21 -9
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +212 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/GiftCardOperations.d.ts +249 -0
- package/esm/resources/GiftCardOperations.js +11 -0
- package/esm/resources/GiftCardOperations.js.map +1 -0
- package/esm/resources/GiftCards.d.ts +181 -0
- package/esm/resources/GiftCards.js +47 -0
- package/esm/resources/GiftCards.js.map +1 -0
- package/esm/resources/Identity/BlocklistEntries.d.ts +155 -0
- package/esm/resources/Identity/BlocklistEntries.js +50 -0
- package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
- package/esm/resources/Identity/VerificationReports.d.ts +33 -2
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
- package/esm/resources/Identity/index.d.ts +18 -10
- package/esm/resources/Identity/index.js +2 -0
- package/esm/resources/Identity/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +204 -3
- package/esm/resources/InvoiceItems.js +41 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/esm/resources/InvoiceRenderingTemplates.js +28 -0
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +2125 -21
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +524 -1
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +22 -4
- package/esm/resources/Issuing/Cards.d.ts +82 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +49 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +246 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Programs.d.ts +95 -0
- package/esm/resources/Issuing/Programs.js +31 -0
- package/esm/resources/Issuing/Programs.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +83 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Tokens.d.ts +26 -0
- package/esm/resources/Issuing/Transactions.d.ts +233 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +56 -22
- package/esm/resources/Issuing/index.js +8 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +47 -2
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
- package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/esm/resources/Orchestration/index.d.ts +12 -0
- package/esm/resources/Orchestration/index.js +9 -0
- package/esm/resources/Orchestration/index.js.map +1 -0
- package/esm/resources/Orders.d.ts +4773 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +679 -2
- package/esm/resources/PaymentAttemptRecords.js +48 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +52 -0
- package/esm/resources/PaymentIntents.d.ts +16109 -2361
- package/esm/resources/PaymentIntents.js +46 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +77 -15
- package/esm/resources/PaymentLocationCapabilities.d.ts +123 -0
- package/esm/resources/PaymentLocationCapabilities.js +25 -0
- package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
- package/esm/resources/PaymentLocations.d.ts +178 -0
- package/esm/resources/PaymentLocations.js +37 -0
- package/esm/resources/PaymentLocations.js.map +1 -0
- package/esm/resources/PaymentMethodBalances.d.ts +46 -0
- package/esm/resources/PaymentMethodBalances.js +3 -0
- package/esm/resources/PaymentMethodBalances.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +420 -0
- package/esm/resources/PaymentMethods.d.ts +300 -3
- package/esm/resources/PaymentMethods.js +20 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +737 -20
- package/esm/resources/PaymentRecords.js +18 -0
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Persons.d.ts +25 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +77 -1
- package/esm/resources/Prices.js +27 -0
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +158 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +25 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +14 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +199 -1
- package/esm/resources/Products.js +69 -0
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/Profiles.d.ts +68 -0
- package/esm/resources/Profiles.js +3 -0
- package/esm/resources/Profiles.js.map +1 -0
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +684 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1179 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +1045 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +3548 -254
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/AccountEvaluations.d.ts +308 -0
- package/esm/resources/Radar/AccountEvaluations.js +23 -0
- package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
- package/esm/resources/Radar/CustomerEvaluations.d.ts +245 -0
- package/esm/resources/Radar/CustomerEvaluations.js +23 -0
- package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +115 -1
- package/esm/resources/Radar/ValueListItems.d.ts +39 -1
- package/esm/resources/Radar/ValueListItems.js +13 -0
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +36 -16
- package/esm/resources/Radar/index.js +6 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +39 -0
- package/esm/resources/Refunds.js +27 -0
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +16 -0
- package/esm/resources/Reserve/Plans.js +9 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +17 -6
- package/esm/resources/Reserve/index.js +9 -0
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/RiskSignals.d.ts +10 -0
- package/esm/resources/RiskSignals.js +3 -0
- package/esm/resources/RiskSignals.js.map +1 -0
- package/esm/resources/SetupAttempts.d.ts +35 -1
- package/esm/resources/SetupAttempts.js.map +1 -1
- package/esm/resources/SetupIntents.d.ts +627 -11
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +425 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +344 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +29 -1
- package/esm/resources/SubscriptionItems.d.ts +266 -1
- package/esm/resources/SubscriptionItems.js +41 -0
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +2398 -67
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +971 -13
- package/esm/resources/Subscriptions.js +290 -1
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/esm/resources/Tax/Calculations.d.ts +46 -4
- package/esm/resources/Tax/Forms.d.ts +228 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Locations.d.ts +112 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +171 -2
- package/esm/resources/Tax/Registrations.js +27 -0
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +8 -0
- package/esm/resources/Tax/Settings.js +13 -0
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +10 -2
- package/esm/resources/Tax/Transactions.js +13 -0
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +31 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +16 -1
- package/esm/resources/TaxFunds.d.ts +174 -0
- package/esm/resources/TaxFunds.js +19 -0
- package/esm/resources/TaxFunds.js.map +1 -0
- package/esm/resources/TaxIds.d.ts +6 -0
- package/esm/resources/TaxIds.js +13 -0
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.d.ts +12 -0
- package/esm/resources/TaxRates.js +27 -0
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +207 -2
- package/esm/resources/Terminal/Readers.js +24 -0
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +9 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/esm/resources/TestHelpers/Capital/index.js +9 -0
- package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +100 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +102 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js +35 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +110 -0
- package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +38 -0
- package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
- package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Terminal/Readers.d.ts +15 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +14 -6
- package/esm/resources/TestHelpers/index.js +6 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +82 -0
- package/esm/resources/Transfers.d.ts +12 -0
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/TransitBalances.d.ts +25 -0
- package/esm/resources/TransitBalances.js +3 -0
- package/esm/resources/TransitBalances.js.map +1 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +84 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +1011 -0
- package/esm/resources/V2/Billing/Cadences.js +260 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +237 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +776 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +47 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +25 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js +11 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts.d.ts +1484 -0
- package/esm/resources/V2/Billing/Contracts.js +327 -0
- package/esm/resources/V2/Billing/Contracts.js.map +1 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/esm/resources/V2/Billing/IntentActions.d.ts +603 -0
- package/esm/resources/V2/Billing/IntentActions.js +3 -0
- package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
- package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents.d.ts +1261 -0
- package/esm/resources/V2/Billing/Intents.js +83 -0
- package/esm/resources/V2/Billing/Intents.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees.d.ts +360 -0
- package/esm/resources/V2/Billing/LicenseFees.js +144 -0
- package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/esm/resources/V2/Billing/LicensedItems.d.ts +170 -0
- package/esm/resources/V2/Billing/LicensedItems.js +31 -0
- package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/esm/resources/V2/Billing/MeteredItems.d.ts +218 -0
- package/esm/resources/V2/Billing/MeteredItems.js +31 -0
- package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/esm/resources/V2/Billing/OneTimeItems.d.ts +170 -0
- package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
- package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +620 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans.d.ts +169 -0
- package/esm/resources/V2/Billing/PricingPlans.js +39 -0
- package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardRates.d.ts +111 -0
- package/esm/resources/V2/Billing/RateCardRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +215 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
- package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards.d.ts +336 -0
- package/esm/resources/V2/Billing/RateCards.js +72 -0
- package/esm/resources/V2/Billing/RateCards.js.map +1 -0
- package/esm/resources/V2/Billing/ServiceActions.d.ts +510 -0
- package/esm/resources/V2/Billing/ServiceActions.js +158 -0
- package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +175 -6
- package/esm/resources/V2/Billing/index.js +32 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountEvaluations.d.ts +159 -0
- package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
- package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +220 -2
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +16128 -1981
- package/esm/resources/V2/Core/Accounts.js +10379 -53
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +331 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +360 -0
- package/esm/resources/V2/Core/BatchJobs.js +221 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/esm/resources/V2/Core/ConnectionSessions.d.ts +86 -0
- package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
- package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +7881 -232
- package/esm/resources/V2/Core/FeeBatches.d.ts +234 -0
- package/esm/resources/V2/Core/FeeBatches.js +19 -0
- package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
- package/esm/resources/V2/Core/FeeEntries.d.ts +200 -0
- package/esm/resources/V2/Core/FeeEntries.js +19 -0
- package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +416 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +3 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js +97 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts.d.ts +530 -0
- package/esm/resources/V2/Core/Health/Alerts.js +178 -0
- package/esm/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/esm/resources/V2/Core/Health/index.d.ts +16 -0
- package/esm/resources/V2/Core/Health/index.js +9 -0
- package/esm/resources/V2/Core/Health/index.js.map +1 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +280 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +252 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +61 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
- package/esm/resources/V2/Core/Vault/index.js +11 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -0
- package/esm/resources/V2/Core/index.d.ts +66 -14
- package/esm/resources/V2/Core/index.js +18 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/esm/resources/V2/Data/Analytics/index.js +9 -0
- package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +172 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +13 -0
- package/esm/resources/V2/Data/index.js +11 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +20 -0
- package/esm/resources/V2/Extend/index.js +11 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +218 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/ApiKeys.d.ts +305 -0
- package/esm/resources/V2/Iam/ApiKeys.js +43 -0
- package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +23 -0
- package/esm/resources/V2/Iam/index.js +11 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +169 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +438 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +46 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +251 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +219 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +638 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +318 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +394 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +525 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +277 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +481 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +166 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +25 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +308 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +116 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +34 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +11 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +9 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +266 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +297 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +150 -0
- package/esm/resources/V2/MoneyManagement/index.js +47 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Payments/OffSessionPayments.d.ts +835 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +209 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/esm/resources/V2/Payments/index.d.ts +31 -0
- package/esm/resources/V2/Payments/index.js +11 -0
- package/esm/resources/V2/Payments/index.js.map +1 -0
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +191 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
- package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Reporting/Reports.d.ts +106 -0
- package/esm/resources/V2/Reporting/Reports.js +13 -0
- package/esm/resources/V2/Reporting/Reports.js.map +1 -0
- package/esm/resources/V2/Reporting/index.d.ts +18 -0
- package/esm/resources/V2/Reporting/index.js +11 -0
- package/esm/resources/V2/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Risk/Inquiries.d.ts +143 -0
- package/esm/resources/V2/Risk/Inquiries.js +25 -0
- package/esm/resources/V2/Risk/Inquiries.js.map +1 -0
- package/esm/resources/V2/Risk/index.d.ts +14 -0
- package/esm/resources/V2/Risk/index.js +9 -0
- package/esm/resources/V2/Risk/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountActivity.d.ts +424 -0
- package/esm/resources/V2/Signals/AccountActivity.js +23 -0
- package/esm/resources/V2/Signals/AccountActivity.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +396 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js +55 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +281 -0
- package/esm/resources/V2/Signals/AccountSignals.js +106 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +26 -0
- package/esm/resources/V2/Signals/index.js +13 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +331 -0
- package/esm/resources/V2/Tax/ManualRules.js +189 -0
- package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
- package/esm/resources/V2/Tax/index.d.ts +16 -0
- package/esm/resources/V2/Tax/index.js +9 -0
- package/esm/resources/V2/Tax/index.js.map +1 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +45 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
- package/esm/resources/V2/TestHelpers/index.js +11 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +42 -0
- package/esm/resources/V2/index.js +24 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +19 -0
- package/esm/resources.js +261 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +158 -54
- package/esm/stripe.core.js +43 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +158 -54
- package/esm/stripe.esm.node.js +43 -2
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -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, OtherString, 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,7 +368,34 @@ export declare namespace Session {
|
|
|
330
368
|
*/
|
|
331
369
|
recovery: AfterExpiration.Recovery | null;
|
|
332
370
|
}
|
|
371
|
+
type ApprovalMethod = 'auto' | 'manual' | OtherString;
|
|
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 {
|
|
395
|
+
/**
|
|
396
|
+
* Controls how much address information Checkout collects when automatic tax is enabled.
|
|
397
|
+
*/
|
|
398
|
+
address_collection_precision?: AutomaticTax.AddressCollectionPrecision | null;
|
|
334
399
|
/**
|
|
335
400
|
* Indicates whether automatic tax is enabled for the session
|
|
336
401
|
*/
|
|
@@ -379,19 +444,36 @@ export declare namespace Session {
|
|
|
379
444
|
*/
|
|
380
445
|
logo: BrandingSettings.Logo | null;
|
|
381
446
|
}
|
|
447
|
+
interface CheckoutItem {
|
|
448
|
+
type: CheckoutItem.Type;
|
|
449
|
+
rate_card_subscription_item?: CheckoutItem.RateCardSubscriptionItem;
|
|
450
|
+
pricing_plan_subscription_item?: CheckoutItem.PricingPlanSubscriptionItem;
|
|
451
|
+
}
|
|
382
452
|
interface CollectedInformation {
|
|
383
453
|
/**
|
|
384
454
|
* Customer's business name for this Checkout Session
|
|
385
455
|
*/
|
|
386
456
|
business_name: string | null;
|
|
457
|
+
/**
|
|
458
|
+
* Customer's email for this Checkout Session
|
|
459
|
+
*/
|
|
460
|
+
email?: string | null;
|
|
387
461
|
/**
|
|
388
462
|
* Customer's individual name for this Checkout Session
|
|
389
463
|
*/
|
|
390
464
|
individual_name: string | null;
|
|
465
|
+
/**
|
|
466
|
+
* Customer's phone number for this Checkout Session
|
|
467
|
+
*/
|
|
468
|
+
phone?: string | null;
|
|
391
469
|
/**
|
|
392
470
|
* Shipping information for this Checkout Session.
|
|
393
471
|
*/
|
|
394
472
|
shipping_details: CollectedInformation.ShippingDetails | null;
|
|
473
|
+
/**
|
|
474
|
+
* Customer's tax id for this Checkout Session.
|
|
475
|
+
*/
|
|
476
|
+
tax_id?: CollectedInformation.TaxId | null;
|
|
395
477
|
}
|
|
396
478
|
interface Consent {
|
|
397
479
|
/**
|
|
@@ -438,6 +520,32 @@ export declare namespace Session {
|
|
|
438
520
|
*/
|
|
439
521
|
source_currency: string;
|
|
440
522
|
}
|
|
523
|
+
interface CurrentAttempt {
|
|
524
|
+
/**
|
|
525
|
+
* The customer's billing information, if provided.
|
|
526
|
+
*/
|
|
527
|
+
billing_details?: CurrentAttempt.BillingDetails | null;
|
|
528
|
+
/**
|
|
529
|
+
* The customer's email.
|
|
530
|
+
*/
|
|
531
|
+
email?: string | null;
|
|
532
|
+
/**
|
|
533
|
+
* The attempt ID you will pass to the [Checkout Session approve](api/checkout/sessions/approve) endpoint to approve the attempt.
|
|
534
|
+
*/
|
|
535
|
+
id: string;
|
|
536
|
+
/**
|
|
537
|
+
* 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.
|
|
538
|
+
*/
|
|
539
|
+
payment_method_details?: CurrentAttempt.PaymentMethodDetails | null;
|
|
540
|
+
/**
|
|
541
|
+
* The customer's phone number.
|
|
542
|
+
*/
|
|
543
|
+
phone?: string | null;
|
|
544
|
+
/**
|
|
545
|
+
* The customer's shipping information, if provided.
|
|
546
|
+
*/
|
|
547
|
+
shipping_details: CurrentAttempt.ShippingDetails | null;
|
|
548
|
+
}
|
|
441
549
|
interface CustomField {
|
|
442
550
|
dropdown?: CustomField.Dropdown;
|
|
443
551
|
/**
|
|
@@ -527,6 +635,20 @@ export declare namespace Session {
|
|
|
527
635
|
enabled: boolean;
|
|
528
636
|
invoice_data: InvoiceCreation.InvoiceData;
|
|
529
637
|
}
|
|
638
|
+
interface Item {
|
|
639
|
+
/**
|
|
640
|
+
* The key of the item. Guaranteed to be a unique ID within this checkout session's items.
|
|
641
|
+
*/
|
|
642
|
+
key: string;
|
|
643
|
+
/**
|
|
644
|
+
* Details on the subscription for this item.
|
|
645
|
+
*/
|
|
646
|
+
subscription?: Item.Subscription | null;
|
|
647
|
+
/**
|
|
648
|
+
* The type of the item.
|
|
649
|
+
*/
|
|
650
|
+
type: 'subscription';
|
|
651
|
+
}
|
|
530
652
|
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' | OtherString;
|
|
531
653
|
interface ManagedPayments {
|
|
532
654
|
/**
|
|
@@ -567,6 +689,7 @@ export declare namespace Session {
|
|
|
567
689
|
bacs_debit?: PaymentMethodOptions.BacsDebit;
|
|
568
690
|
bancontact?: PaymentMethodOptions.Bancontact;
|
|
569
691
|
billie?: PaymentMethodOptions.Billie;
|
|
692
|
+
bizum?: PaymentMethodOptions.Bizum;
|
|
570
693
|
boleto?: PaymentMethodOptions.Boleto;
|
|
571
694
|
card?: PaymentMethodOptions.Card;
|
|
572
695
|
cashapp?: PaymentMethodOptions.Cashapp;
|
|
@@ -596,6 +719,7 @@ export declare namespace Session {
|
|
|
596
719
|
satispay?: PaymentMethodOptions.Satispay;
|
|
597
720
|
scalapay?: PaymentMethodOptions.Scalapay;
|
|
598
721
|
sepa_debit?: PaymentMethodOptions.SepaDebit;
|
|
722
|
+
sequra?: PaymentMethodOptions.Sequra;
|
|
599
723
|
sofort?: PaymentMethodOptions.Sofort;
|
|
600
724
|
sunbit?: PaymentMethodOptions.Sunbit;
|
|
601
725
|
swish?: PaymentMethodOptions.Swish;
|
|
@@ -606,6 +730,18 @@ export declare namespace Session {
|
|
|
606
730
|
}
|
|
607
731
|
type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid' | OtherString;
|
|
608
732
|
interface Permissions {
|
|
733
|
+
/**
|
|
734
|
+
* Permissions for updating the Checkout Session.
|
|
735
|
+
*/
|
|
736
|
+
update?: Permissions.Update | null;
|
|
737
|
+
/**
|
|
738
|
+
* Determines which entity is allowed to update the line items.
|
|
739
|
+
*
|
|
740
|
+
* 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.
|
|
741
|
+
*
|
|
742
|
+
* 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.
|
|
743
|
+
*/
|
|
744
|
+
update_line_items?: Permissions.UpdateLineItems | null;
|
|
609
745
|
/**
|
|
610
746
|
* Determines which entity is allowed to update the shipping details.
|
|
611
747
|
*
|
|
@@ -631,6 +767,12 @@ export declare namespace Session {
|
|
|
631
767
|
*/
|
|
632
768
|
presentment_currency: string;
|
|
633
769
|
}
|
|
770
|
+
interface Redaction {
|
|
771
|
+
/**
|
|
772
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
773
|
+
*/
|
|
774
|
+
status: Redaction.Status;
|
|
775
|
+
}
|
|
634
776
|
type RedirectOnCompletion = 'always' | 'if_required' | 'never' | OtherString;
|
|
635
777
|
interface SavedPaymentMethodOptions {
|
|
636
778
|
/**
|
|
@@ -684,9 +826,27 @@ export declare namespace Session {
|
|
|
684
826
|
* The shipping rate.
|
|
685
827
|
*/
|
|
686
828
|
shipping_rate: string | ShippingRate;
|
|
829
|
+
/**
|
|
830
|
+
* The tax rates applied to this shipping option.
|
|
831
|
+
*/
|
|
832
|
+
tax_rates?: Array<string>;
|
|
687
833
|
}
|
|
688
834
|
type Status = 'complete' | 'expired' | 'open';
|
|
689
835
|
type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe' | OtherString;
|
|
836
|
+
interface SurchargeCost {
|
|
837
|
+
/**
|
|
838
|
+
* Total surcharge cost before taxes are applied.
|
|
839
|
+
*/
|
|
840
|
+
amount_subtotal: number;
|
|
841
|
+
/**
|
|
842
|
+
* Total tax amount applied due to surcharging. If no tax was applied, defaults to 0.
|
|
843
|
+
*/
|
|
844
|
+
amount_tax: number;
|
|
845
|
+
/**
|
|
846
|
+
* Total surcharge cost after taxes are applied.
|
|
847
|
+
*/
|
|
848
|
+
amount_total: number;
|
|
849
|
+
}
|
|
690
850
|
interface TaxIdCollection {
|
|
691
851
|
/**
|
|
692
852
|
* Indicates whether tax ID collection is enabled for the session
|
|
@@ -706,6 +866,10 @@ export declare namespace Session {
|
|
|
706
866
|
* This is the sum of all the shipping amounts.
|
|
707
867
|
*/
|
|
708
868
|
amount_shipping: number | null;
|
|
869
|
+
/**
|
|
870
|
+
* The surcharge amount that was applied to the Checkout Session.
|
|
871
|
+
*/
|
|
872
|
+
amount_surcharge?: number;
|
|
709
873
|
/**
|
|
710
874
|
* This is the sum of all the tax amounts.
|
|
711
875
|
*/
|
|
@@ -738,7 +902,14 @@ export declare namespace Session {
|
|
|
738
902
|
url: string | null;
|
|
739
903
|
}
|
|
740
904
|
}
|
|
905
|
+
namespace AutomaticSurcharge {
|
|
906
|
+
type CalculationBasis = 'total_after_tax' | 'total_before_tax';
|
|
907
|
+
type Provider = 'daikin' | 'interpayments' | 'proserv' | 'yeeld';
|
|
908
|
+
type Status = 'complete' | 'failed' | 'requires_input';
|
|
909
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
910
|
+
}
|
|
741
911
|
namespace AutomaticTax {
|
|
912
|
+
type AddressCollectionPrecision = 'full' | 'minimal';
|
|
742
913
|
interface Liability {
|
|
743
914
|
/**
|
|
744
915
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -751,7 +922,7 @@ export declare namespace Session {
|
|
|
751
922
|
}
|
|
752
923
|
type Status = 'complete' | 'failed' | 'requires_location_inputs' | OtherString;
|
|
753
924
|
namespace Liability {
|
|
754
|
-
type Type = 'account' | 'self' | OtherString;
|
|
925
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
755
926
|
}
|
|
756
927
|
}
|
|
757
928
|
namespace BrandingSettings {
|
|
@@ -791,6 +962,37 @@ export declare namespace Session {
|
|
|
791
962
|
type Type = 'file' | 'url';
|
|
792
963
|
}
|
|
793
964
|
}
|
|
965
|
+
namespace CheckoutItem {
|
|
966
|
+
type Type = 'rate_card_subscription_item' | 'pricing_plan_subscription_item';
|
|
967
|
+
interface RateCardSubscriptionItem {
|
|
968
|
+
rate_card: string;
|
|
969
|
+
metadata: Metadata;
|
|
970
|
+
rate_card_version: string;
|
|
971
|
+
billing_cadence?: string;
|
|
972
|
+
rate_card_subscription?: string;
|
|
973
|
+
}
|
|
974
|
+
interface PricingPlanSubscriptionItem {
|
|
975
|
+
pricing_plan: string;
|
|
976
|
+
pricing_plan_version: string;
|
|
977
|
+
metadata: Metadata;
|
|
978
|
+
component_configurations: {
|
|
979
|
+
[key: string]: PricingPlanSubscriptionItem.ComponentConfigurations;
|
|
980
|
+
};
|
|
981
|
+
pricing_plan_subscription?: string;
|
|
982
|
+
billing_cadence?: string;
|
|
983
|
+
}
|
|
984
|
+
namespace PricingPlanSubscriptionItem {
|
|
985
|
+
interface ComponentConfigurations {
|
|
986
|
+
type: 'license_fee_component';
|
|
987
|
+
license_fee_component?: ComponentConfigurations.LicenseFeeComponent;
|
|
988
|
+
}
|
|
989
|
+
namespace ComponentConfigurations {
|
|
990
|
+
interface LicenseFeeComponent {
|
|
991
|
+
quantity: number;
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
}
|
|
794
996
|
namespace CollectedInformation {
|
|
795
997
|
interface ShippingDetails {
|
|
796
998
|
address: Address;
|
|
@@ -799,6 +1001,19 @@ export declare namespace Session {
|
|
|
799
1001
|
*/
|
|
800
1002
|
name: string;
|
|
801
1003
|
}
|
|
1004
|
+
interface TaxId {
|
|
1005
|
+
/**
|
|
1006
|
+
* 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`, `ic_nif`, or `unknown`
|
|
1007
|
+
*/
|
|
1008
|
+
type: TaxId.Type;
|
|
1009
|
+
/**
|
|
1010
|
+
* The value of the tax ID.
|
|
1011
|
+
*/
|
|
1012
|
+
value: string | null;
|
|
1013
|
+
}
|
|
1014
|
+
namespace TaxId {
|
|
1015
|
+
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' | 'ic_nif' | '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';
|
|
1016
|
+
}
|
|
802
1017
|
}
|
|
803
1018
|
namespace Consent {
|
|
804
1019
|
type Promotions = 'opt_in' | 'opt_out';
|
|
@@ -818,6 +1033,137 @@ export declare namespace Session {
|
|
|
818
1033
|
type Position = 'auto' | 'hidden';
|
|
819
1034
|
}
|
|
820
1035
|
}
|
|
1036
|
+
namespace CurrentAttempt {
|
|
1037
|
+
interface BillingDetails {
|
|
1038
|
+
address: Address;
|
|
1039
|
+
/**
|
|
1040
|
+
* Customer name.
|
|
1041
|
+
*/
|
|
1042
|
+
name: string | null;
|
|
1043
|
+
}
|
|
1044
|
+
interface PaymentMethodDetails {
|
|
1045
|
+
/**
|
|
1046
|
+
* Indicates whether this payment method can be shown again to its customer in a checkout flow.
|
|
1047
|
+
*/
|
|
1048
|
+
allow_redisplay: PaymentMethodDetails.AllowRedisplay;
|
|
1049
|
+
au_becs_debit?: PaymentMethodDetails.AuBecsDebit;
|
|
1050
|
+
bacs_debit?: PaymentMethodDetails.BacsDebit;
|
|
1051
|
+
boleto?: PaymentMethodDetails.Boleto;
|
|
1052
|
+
card?: PaymentMethodDetails.Card;
|
|
1053
|
+
link?: PaymentMethodDetails.Link;
|
|
1054
|
+
pix?: PaymentMethodDetails.Pix;
|
|
1055
|
+
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
1056
|
+
/**
|
|
1057
|
+
* 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.
|
|
1058
|
+
*/
|
|
1059
|
+
type: string;
|
|
1060
|
+
us_bank_account?: PaymentMethodDetails.UsBankAccount;
|
|
1061
|
+
}
|
|
1062
|
+
interface ShippingDetails {
|
|
1063
|
+
address: Address;
|
|
1064
|
+
/**
|
|
1065
|
+
* Customer name.
|
|
1066
|
+
*/
|
|
1067
|
+
name: string;
|
|
1068
|
+
}
|
|
1069
|
+
namespace PaymentMethodDetails {
|
|
1070
|
+
type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
1071
|
+
interface AuBecsDebit {
|
|
1072
|
+
/**
|
|
1073
|
+
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1074
|
+
*/
|
|
1075
|
+
fingerprint: string | null;
|
|
1076
|
+
}
|
|
1077
|
+
interface BacsDebit {
|
|
1078
|
+
/**
|
|
1079
|
+
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1080
|
+
*/
|
|
1081
|
+
fingerprint: string | null;
|
|
1082
|
+
}
|
|
1083
|
+
interface Boleto {
|
|
1084
|
+
/**
|
|
1085
|
+
* Uniquely identifies this particular boleto payment method. You can use this attribute to check whether two boleto payment methods are the same.
|
|
1086
|
+
*/
|
|
1087
|
+
fingerprint: string | null;
|
|
1088
|
+
}
|
|
1089
|
+
interface Card {
|
|
1090
|
+
/**
|
|
1091
|
+
* The brand of the card, accounting for customer's brand choice on dual-branded cards.
|
|
1092
|
+
*/
|
|
1093
|
+
brand: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* 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.
|
|
1096
|
+
*/
|
|
1097
|
+
country: string | null;
|
|
1098
|
+
/**
|
|
1099
|
+
* Two-digit number representing the card's expiration month.
|
|
1100
|
+
*/
|
|
1101
|
+
exp_month: number;
|
|
1102
|
+
/**
|
|
1103
|
+
* Four-digit number representing the card's expiration year.
|
|
1104
|
+
*/
|
|
1105
|
+
exp_year: number;
|
|
1106
|
+
/**
|
|
1107
|
+
* 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.
|
|
1108
|
+
*
|
|
1109
|
+
* *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.*
|
|
1110
|
+
*/
|
|
1111
|
+
fingerprint: string | null;
|
|
1112
|
+
/**
|
|
1113
|
+
* Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
1114
|
+
*/
|
|
1115
|
+
funding: Card.Funding;
|
|
1116
|
+
/**
|
|
1117
|
+
* Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
1118
|
+
*/
|
|
1119
|
+
iin?: string | null;
|
|
1120
|
+
/**
|
|
1121
|
+
* The last four digits of the card.
|
|
1122
|
+
*/
|
|
1123
|
+
last4: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* If this Card is part of a card wallet, this contains the details of the card wallet.
|
|
1126
|
+
*/
|
|
1127
|
+
wallet: Card.Wallet | null;
|
|
1128
|
+
}
|
|
1129
|
+
interface Link {
|
|
1130
|
+
/**
|
|
1131
|
+
* Unique, encrypted bank account identifier.
|
|
1132
|
+
*/
|
|
1133
|
+
fingerprint?: string | null;
|
|
1134
|
+
}
|
|
1135
|
+
interface Pix {
|
|
1136
|
+
/**
|
|
1137
|
+
* Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.
|
|
1138
|
+
*/
|
|
1139
|
+
fingerprint: string | null;
|
|
1140
|
+
}
|
|
1141
|
+
interface SepaDebit {
|
|
1142
|
+
/**
|
|
1143
|
+
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1144
|
+
*/
|
|
1145
|
+
fingerprint: string | null;
|
|
1146
|
+
}
|
|
1147
|
+
interface UsBankAccount {
|
|
1148
|
+
/**
|
|
1149
|
+
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1150
|
+
*/
|
|
1151
|
+
fingerprint: string | null;
|
|
1152
|
+
}
|
|
1153
|
+
namespace Card {
|
|
1154
|
+
type Funding = 'credit' | 'debit' | 'prepaid' | 'unknown';
|
|
1155
|
+
interface Wallet {
|
|
1156
|
+
/**
|
|
1157
|
+
* The type of the wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, `meta_pay`, or `link`.
|
|
1158
|
+
*/
|
|
1159
|
+
type: Wallet.Type;
|
|
1160
|
+
}
|
|
1161
|
+
namespace Wallet {
|
|
1162
|
+
type Type = 'amex_express_checkout' | 'apple_pay' | 'google_pay' | 'link' | 'masterpass' | 'meta_pay' | 'samsung_pay' | 'visa_checkout';
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
821
1167
|
namespace CustomerDetails {
|
|
822
1168
|
type TaxExempt = 'exempt' | 'none' | 'reverse';
|
|
823
1169
|
interface TaxId {
|
|
@@ -998,7 +1344,90 @@ export declare namespace Session {
|
|
|
998
1344
|
template: string | null;
|
|
999
1345
|
}
|
|
1000
1346
|
namespace Issuer {
|
|
1001
|
-
type Type = 'account' | 'self' | OtherString;
|
|
1347
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
namespace Item {
|
|
1352
|
+
interface Subscription {
|
|
1353
|
+
/**
|
|
1354
|
+
* The description for the subscription.
|
|
1355
|
+
*/
|
|
1356
|
+
description: string | null;
|
|
1357
|
+
/**
|
|
1358
|
+
* The items in the subscription.
|
|
1359
|
+
*/
|
|
1360
|
+
items: Array<Subscription.Item>;
|
|
1361
|
+
/**
|
|
1362
|
+
* Set of key-value pairs attached to the subscription.
|
|
1363
|
+
*/
|
|
1364
|
+
metadata: Metadata | null;
|
|
1365
|
+
/**
|
|
1366
|
+
* Specifies an interval for how often to bill for any pending invoice items.
|
|
1367
|
+
*/
|
|
1368
|
+
pending_invoice_item_interval: Subscription.PendingInvoiceItemInterval | null;
|
|
1369
|
+
/**
|
|
1370
|
+
* Determines how to handle prorations when the subscription is updated.
|
|
1371
|
+
*/
|
|
1372
|
+
proration_behavior: Subscription.ProrationBehavior | null;
|
|
1373
|
+
/**
|
|
1374
|
+
* The ID of the [Subscription](https://docs.stripe.com/api/subscriptions).
|
|
1375
|
+
*/
|
|
1376
|
+
subscription: string | _Subscription | null;
|
|
1377
|
+
/**
|
|
1378
|
+
* The Unix timestamp marking when the trial period ends.
|
|
1379
|
+
*/
|
|
1380
|
+
trial_end: number | null;
|
|
1381
|
+
/**
|
|
1382
|
+
* The number of trial period days before the customer is charged for the first time.
|
|
1383
|
+
*/
|
|
1384
|
+
trial_period_days: number | null;
|
|
1385
|
+
/**
|
|
1386
|
+
* Settings related to subscription trials.
|
|
1387
|
+
*/
|
|
1388
|
+
trial_settings: Subscription.TrialSettings | null;
|
|
1389
|
+
}
|
|
1390
|
+
namespace Subscription {
|
|
1391
|
+
interface Item {
|
|
1392
|
+
/**
|
|
1393
|
+
* The price for this subscription item.
|
|
1394
|
+
*/
|
|
1395
|
+
price: string | Price;
|
|
1396
|
+
/**
|
|
1397
|
+
* The quantity for this subscription item.
|
|
1398
|
+
*/
|
|
1399
|
+
quantity: number | null;
|
|
1400
|
+
}
|
|
1401
|
+
interface PendingInvoiceItemInterval {
|
|
1402
|
+
/**
|
|
1403
|
+
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
1404
|
+
*/
|
|
1405
|
+
interval: PendingInvoiceItemInterval.Interval;
|
|
1406
|
+
/**
|
|
1407
|
+
* 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).
|
|
1408
|
+
*/
|
|
1409
|
+
interval_count: number;
|
|
1410
|
+
}
|
|
1411
|
+
type ProrationBehavior = 'create_prorations' | 'none' | OtherString;
|
|
1412
|
+
interface TrialSettings {
|
|
1413
|
+
/**
|
|
1414
|
+
* Defines how a subscription behaves when a free trial ends.
|
|
1415
|
+
*/
|
|
1416
|
+
end_behavior: TrialSettings.EndBehavior;
|
|
1417
|
+
}
|
|
1418
|
+
namespace PendingInvoiceItemInterval {
|
|
1419
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1420
|
+
}
|
|
1421
|
+
namespace TrialSettings {
|
|
1422
|
+
interface EndBehavior {
|
|
1423
|
+
/**
|
|
1424
|
+
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
1425
|
+
*/
|
|
1426
|
+
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
1427
|
+
}
|
|
1428
|
+
namespace EndBehavior {
|
|
1429
|
+
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
1430
|
+
}
|
|
1002
1431
|
}
|
|
1003
1432
|
}
|
|
1004
1433
|
}
|
|
@@ -1183,6 +1612,9 @@ export declare namespace Session {
|
|
|
1183
1612
|
*/
|
|
1184
1613
|
capture_method?: 'manual';
|
|
1185
1614
|
}
|
|
1615
|
+
interface Bizum {
|
|
1616
|
+
mandate_options?: Bizum.MandateOptions;
|
|
1617
|
+
}
|
|
1186
1618
|
interface Boleto {
|
|
1187
1619
|
/**
|
|
1188
1620
|
* 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 +1637,10 @@ export declare namespace Session {
|
|
|
1205
1637
|
*/
|
|
1206
1638
|
capture_method?: 'manual';
|
|
1207
1639
|
installments?: Card.Installments;
|
|
1640
|
+
/**
|
|
1641
|
+
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1642
|
+
*/
|
|
1643
|
+
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
1208
1644
|
/**
|
|
1209
1645
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1210
1646
|
*/
|
|
@@ -1541,6 +1977,10 @@ export declare namespace Session {
|
|
|
1541
1977
|
* 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).
|
|
1542
1978
|
*/
|
|
1543
1979
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
1980
|
+
/**
|
|
1981
|
+
* 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.
|
|
1982
|
+
*/
|
|
1983
|
+
subsellers?: Array<string>;
|
|
1544
1984
|
}
|
|
1545
1985
|
interface Payto {
|
|
1546
1986
|
mandate_options?: Payto.MandateOptions;
|
|
@@ -1637,6 +2077,12 @@ export declare namespace Session {
|
|
|
1637
2077
|
*/
|
|
1638
2078
|
target_date?: string;
|
|
1639
2079
|
}
|
|
2080
|
+
interface Sequra {
|
|
2081
|
+
/**
|
|
2082
|
+
* Controls when the funds will be captured from the customer's account.
|
|
2083
|
+
*/
|
|
2084
|
+
capture_method?: 'manual';
|
|
2085
|
+
}
|
|
1640
2086
|
interface Sofort {
|
|
1641
2087
|
/**
|
|
1642
2088
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1781,6 +2227,10 @@ export declare namespace Session {
|
|
|
1781
2227
|
}
|
|
1782
2228
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
1783
2229
|
}
|
|
2230
|
+
namespace Bizum {
|
|
2231
|
+
interface MandateOptions {
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
1784
2234
|
namespace Boleto {
|
|
1785
2235
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
1786
2236
|
}
|
|
@@ -1791,6 +2241,7 @@ export declare namespace Session {
|
|
|
1791
2241
|
*/
|
|
1792
2242
|
enabled?: boolean;
|
|
1793
2243
|
}
|
|
2244
|
+
type RequestDecrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
1794
2245
|
type RequestExtendedAuthorization = 'if_available' | 'never' | OtherString;
|
|
1795
2246
|
type RequestIncrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
1796
2247
|
type RequestMulticapture = 'if_available' | 'never' | OtherString;
|
|
@@ -1801,10 +2252,15 @@ export declare namespace Session {
|
|
|
1801
2252
|
* The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.
|
|
1802
2253
|
*/
|
|
1803
2254
|
brands_blocked?: Array<Restrictions.BrandsBlocked>;
|
|
2255
|
+
/**
|
|
2256
|
+
* Card funding types to block for this Checkout Session. Supported values are `credit`, `debit`, and `prepaid`.
|
|
2257
|
+
*/
|
|
2258
|
+
funding_types_blocked?: Array<Restrictions.FundingTypesBlocked>;
|
|
1804
2259
|
}
|
|
1805
2260
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
1806
2261
|
namespace Restrictions {
|
|
1807
2262
|
type BrandsBlocked = 'american_express' | 'discover_global_network' | 'mastercard' | 'visa';
|
|
2263
|
+
type FundingTypesBlocked = 'credit' | 'debit' | 'prepaid';
|
|
1808
2264
|
}
|
|
1809
2265
|
}
|
|
1810
2266
|
namespace CustomerBalance {
|
|
@@ -1976,6 +2432,7 @@ export declare namespace Session {
|
|
|
1976
2432
|
namespace UsBankAccount {
|
|
1977
2433
|
interface FinancialConnections {
|
|
1978
2434
|
filters?: FinancialConnections.Filters;
|
|
2435
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
1979
2436
|
/**
|
|
1980
2437
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
1981
2438
|
*/
|
|
@@ -1997,12 +2454,25 @@ export declare namespace Session {
|
|
|
1997
2454
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
1998
2455
|
*/
|
|
1999
2456
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2457
|
+
/**
|
|
2458
|
+
* The institution to use to filter for possible accounts to link.
|
|
2459
|
+
*/
|
|
2460
|
+
institution?: string;
|
|
2461
|
+
}
|
|
2462
|
+
interface ManualEntry {
|
|
2463
|
+
/**
|
|
2464
|
+
* Settings for configuring manual entry of account details.
|
|
2465
|
+
*/
|
|
2466
|
+
mode?: ManualEntry.Mode;
|
|
2000
2467
|
}
|
|
2001
2468
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
2002
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2469
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
2003
2470
|
namespace Filters {
|
|
2004
2471
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2005
2472
|
}
|
|
2473
|
+
namespace ManualEntry {
|
|
2474
|
+
type Mode = 'automatic' | 'custom' | OtherString;
|
|
2475
|
+
}
|
|
2006
2476
|
}
|
|
2007
2477
|
}
|
|
2008
2478
|
namespace WechatPay {
|
|
@@ -2010,7 +2480,33 @@ export declare namespace Session {
|
|
|
2010
2480
|
}
|
|
2011
2481
|
}
|
|
2012
2482
|
namespace Permissions {
|
|
2483
|
+
interface Update {
|
|
2484
|
+
/**
|
|
2485
|
+
* Determines which entity is allowed to update the line items.
|
|
2486
|
+
*
|
|
2487
|
+
* 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.
|
|
2488
|
+
*
|
|
2489
|
+
* 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.
|
|
2490
|
+
*/
|
|
2491
|
+
line_items?: Update.LineItems | null;
|
|
2492
|
+
/**
|
|
2493
|
+
* Determines which entity is allowed to update the shipping details.
|
|
2494
|
+
*
|
|
2495
|
+
* 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.
|
|
2496
|
+
*
|
|
2497
|
+
* 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.
|
|
2498
|
+
*/
|
|
2499
|
+
shipping_details: Update.ShippingDetails | null;
|
|
2500
|
+
}
|
|
2501
|
+
type UpdateLineItems = 'client_only' | 'server_only';
|
|
2013
2502
|
type UpdateShippingDetails = 'client_only' | 'server_only';
|
|
2503
|
+
namespace Update {
|
|
2504
|
+
type LineItems = 'client_only' | 'server_only';
|
|
2505
|
+
type ShippingDetails = 'client_only' | 'server_only';
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2508
|
+
namespace Redaction {
|
|
2509
|
+
type Status = 'processing' | 'redacted' | 'validated' | OtherString;
|
|
2014
2510
|
}
|
|
2015
2511
|
namespace SavedPaymentMethodOptions {
|
|
2016
2512
|
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
@@ -2124,6 +2620,18 @@ export declare namespace Checkout {
|
|
|
2124
2620
|
* Enables user redeemable promotion codes.
|
|
2125
2621
|
*/
|
|
2126
2622
|
allow_promotion_codes?: boolean;
|
|
2623
|
+
/**
|
|
2624
|
+
* Determines whether the customer's attempt to pay must be manually approved.
|
|
2625
|
+
*
|
|
2626
|
+
* Default is `auto`, when the customer's attempt to pay is approved automatically with no action required on your server.
|
|
2627
|
+
*
|
|
2628
|
+
* When set to `manual`, you must approve the customer's attempt to pay by calling [approve](api/checkout/sessions/approve) from your server.
|
|
2629
|
+
*/
|
|
2630
|
+
approval_method?: SessionCreateParams.ApprovalMethod;
|
|
2631
|
+
/**
|
|
2632
|
+
* Settings for automatic surcharge calculation for this session.
|
|
2633
|
+
*/
|
|
2634
|
+
automatic_surcharge?: SessionCreateParams.AutomaticSurcharge;
|
|
2127
2635
|
/**
|
|
2128
2636
|
* Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
|
2129
2637
|
*/
|
|
@@ -2140,6 +2648,7 @@ export declare namespace Checkout {
|
|
|
2140
2648
|
* 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`.
|
|
2141
2649
|
*/
|
|
2142
2650
|
cancel_url?: string;
|
|
2651
|
+
checkout_items?: Array<SessionCreateParams.CheckoutItem>;
|
|
2143
2652
|
/**
|
|
2144
2653
|
* A unique string to reference the Checkout Session. This can be a
|
|
2145
2654
|
* customer ID, a cart ID, or similar, and can be used to reconcile the
|
|
@@ -2158,6 +2667,14 @@ export declare namespace Checkout {
|
|
|
2158
2667
|
* 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`.
|
|
2159
2668
|
*/
|
|
2160
2669
|
custom_fields?: Array<SessionCreateParams.CustomField>;
|
|
2670
|
+
/**
|
|
2671
|
+
* A list of custom payment methods (e.g., `cpmt_123`) this Checkout Session can accept.
|
|
2672
|
+
*
|
|
2673
|
+
* You can add custom payment methods to your account through the dashboard under Settings > Custom Payment Methods.
|
|
2674
|
+
*
|
|
2675
|
+
* 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).
|
|
2676
|
+
*/
|
|
2677
|
+
custom_payment_method_types?: Array<string>;
|
|
2161
2678
|
/**
|
|
2162
2679
|
* Display additional text for your customers using custom text. You can't set this parameter if `ui_mode` is `custom`.
|
|
2163
2680
|
*/
|
|
@@ -2228,6 +2745,10 @@ export declare namespace Checkout {
|
|
|
2228
2745
|
* Generate a post-purchase Invoice for one-time payments.
|
|
2229
2746
|
*/
|
|
2230
2747
|
invoice_creation?: SessionCreateParams.InvoiceCreation;
|
|
2748
|
+
/**
|
|
2749
|
+
* A list of items the customer will purchase.
|
|
2750
|
+
*/
|
|
2751
|
+
items?: Array<SessionCreateParams.Item>;
|
|
2231
2752
|
/**
|
|
2232
2753
|
* 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.
|
|
2233
2754
|
*
|
|
@@ -2400,7 +2921,30 @@ export declare namespace Checkout {
|
|
|
2400
2921
|
*/
|
|
2401
2922
|
recovery?: AfterExpiration.Recovery;
|
|
2402
2923
|
}
|
|
2924
|
+
type ApprovalMethod = 'auto' | 'manual' | OtherString;
|
|
2925
|
+
interface AutomaticSurcharge {
|
|
2926
|
+
/**
|
|
2927
|
+
* Determines which amount serves as the basis for calculating the surcharge.
|
|
2928
|
+
*/
|
|
2929
|
+
calculation_basis?: AutomaticSurcharge.CalculationBasis;
|
|
2930
|
+
/**
|
|
2931
|
+
* Set to `true` to calculate surcharge automatically using the customer's card details and location.
|
|
2932
|
+
*/
|
|
2933
|
+
enabled: boolean;
|
|
2934
|
+
/**
|
|
2935
|
+
* Specifies whether the surcharge is considered inclusive or exclusive of taxes.
|
|
2936
|
+
*/
|
|
2937
|
+
tax_behavior?: AutomaticSurcharge.TaxBehavior;
|
|
2938
|
+
}
|
|
2403
2939
|
interface AutomaticTax {
|
|
2940
|
+
/**
|
|
2941
|
+
* 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.
|
|
2942
|
+
*
|
|
2943
|
+
* 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.
|
|
2944
|
+
*
|
|
2945
|
+
* 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`.
|
|
2946
|
+
*/
|
|
2947
|
+
address_collection_precision?: AutomaticTax.AddressCollectionPrecision;
|
|
2404
2948
|
/**
|
|
2405
2949
|
* Set to `true` to [calculate tax automatically](https://docs.stripe.com/tax) using the customer's location.
|
|
2406
2950
|
*
|
|
@@ -2443,6 +2987,11 @@ export declare namespace Checkout {
|
|
|
2443
2987
|
*/
|
|
2444
2988
|
logo?: BrandingSettings.Logo;
|
|
2445
2989
|
}
|
|
2990
|
+
interface CheckoutItem {
|
|
2991
|
+
type: CheckoutItem.Type;
|
|
2992
|
+
rate_card_subscription_item?: CheckoutItem.RateCardSubscriptionItem;
|
|
2993
|
+
pricing_plan_subscription_item?: CheckoutItem.PricingPlanSubscriptionItem;
|
|
2994
|
+
}
|
|
2446
2995
|
interface ConsentCollection {
|
|
2447
2996
|
/**
|
|
2448
2997
|
* 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.
|
|
@@ -2530,12 +3079,16 @@ export declare namespace Checkout {
|
|
|
2530
3079
|
* The ID of the coupon to apply to this Session.
|
|
2531
3080
|
*/
|
|
2532
3081
|
coupon?: string;
|
|
3082
|
+
/**
|
|
3083
|
+
* 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.
|
|
3084
|
+
*/
|
|
3085
|
+
coupon_data?: Discount.CouponData;
|
|
2533
3086
|
/**
|
|
2534
3087
|
* The ID of a promotion code to apply to this Session.
|
|
2535
3088
|
*/
|
|
2536
3089
|
promotion_code?: string;
|
|
2537
3090
|
}
|
|
2538
|
-
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' | OtherString;
|
|
3091
|
+
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' | OtherString;
|
|
2539
3092
|
interface InvoiceCreation {
|
|
2540
3093
|
/**
|
|
2541
3094
|
* Set to `true` to enable invoice creation.
|
|
@@ -2546,6 +3099,16 @@ export declare namespace Checkout {
|
|
|
2546
3099
|
*/
|
|
2547
3100
|
invoice_data?: InvoiceCreation.InvoiceData;
|
|
2548
3101
|
}
|
|
3102
|
+
interface Item {
|
|
3103
|
+
/**
|
|
3104
|
+
* Configuration for the subscription item.
|
|
3105
|
+
*/
|
|
3106
|
+
subscription?: Item.Subscription;
|
|
3107
|
+
/**
|
|
3108
|
+
* The type of item.
|
|
3109
|
+
*/
|
|
3110
|
+
type: 'subscription';
|
|
3111
|
+
}
|
|
2549
3112
|
interface LineItem {
|
|
2550
3113
|
/**
|
|
2551
3114
|
* When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
|
|
@@ -2727,6 +3290,14 @@ export declare namespace Checkout {
|
|
|
2727
3290
|
* contains details about the Billie payment method options.
|
|
2728
3291
|
*/
|
|
2729
3292
|
billie?: PaymentMethodOptions.Billie;
|
|
3293
|
+
/**
|
|
3294
|
+
* contains details about the Bizum payment method options.
|
|
3295
|
+
*/
|
|
3296
|
+
bizum?: PaymentMethodOptions.Bizum;
|
|
3297
|
+
/**
|
|
3298
|
+
* contains details about the BLIK payment method options.
|
|
3299
|
+
*/
|
|
3300
|
+
blik?: PaymentMethodOptions.Blik;
|
|
2730
3301
|
/**
|
|
2731
3302
|
* contains details about the Boleto payment method options.
|
|
2732
3303
|
*/
|
|
@@ -2884,8 +3455,26 @@ export declare namespace Checkout {
|
|
|
2884
3455
|
*/
|
|
2885
3456
|
wechat_pay?: PaymentMethodOptions.WechatPay;
|
|
2886
3457
|
}
|
|
2887
|
-
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' | OtherString;
|
|
3458
|
+
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' | OtherString;
|
|
2888
3459
|
interface Permissions {
|
|
3460
|
+
/**
|
|
3461
|
+
* Permissions for updating the Checkout Session.
|
|
3462
|
+
*/
|
|
3463
|
+
update?: Permissions.Update;
|
|
3464
|
+
/**
|
|
3465
|
+
* Determines which entity is allowed to update the discounts (coupons or promotion codes) that apply to this session.
|
|
3466
|
+
*
|
|
3467
|
+
* 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.
|
|
3468
|
+
*/
|
|
3469
|
+
update_discounts?: Permissions.UpdateDiscounts;
|
|
3470
|
+
/**
|
|
3471
|
+
* Determines which entity is allowed to update the line items.
|
|
3472
|
+
*
|
|
3473
|
+
* 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.
|
|
3474
|
+
*
|
|
3475
|
+
* 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.
|
|
3476
|
+
*/
|
|
3477
|
+
update_line_items?: Permissions.UpdateLineItems;
|
|
2889
3478
|
/**
|
|
2890
3479
|
* Determines which entity is allowed to update the shipping details.
|
|
2891
3480
|
*
|
|
@@ -2948,6 +3537,10 @@ export declare namespace Checkout {
|
|
|
2948
3537
|
* Parameters to be passed to Shipping Rate creation for this shipping option.
|
|
2949
3538
|
*/
|
|
2950
3539
|
shipping_rate_data?: ShippingOption.ShippingRateData;
|
|
3540
|
+
/**
|
|
3541
|
+
* The tax rates that will be applied to this shipping option. This parameter is only supported for Checkout Sessions with `ui_mode` set to `form` or `elements`.
|
|
3542
|
+
*/
|
|
3543
|
+
tax_rates?: Array<string>;
|
|
2951
3544
|
}
|
|
2952
3545
|
type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe' | OtherString;
|
|
2953
3546
|
interface SubscriptionData {
|
|
@@ -3047,7 +3640,12 @@ export declare namespace Checkout {
|
|
|
3047
3640
|
enabled: boolean;
|
|
3048
3641
|
}
|
|
3049
3642
|
}
|
|
3643
|
+
namespace AutomaticSurcharge {
|
|
3644
|
+
type CalculationBasis = 'total_after_tax' | 'total_before_tax';
|
|
3645
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
3646
|
+
}
|
|
3050
3647
|
namespace AutomaticTax {
|
|
3648
|
+
type AddressCollectionPrecision = 'full' | 'minimal';
|
|
3051
3649
|
interface Liability {
|
|
3052
3650
|
/**
|
|
3053
3651
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -3059,7 +3657,7 @@ export declare namespace Checkout {
|
|
|
3059
3657
|
type: Liability.Type;
|
|
3060
3658
|
}
|
|
3061
3659
|
namespace Liability {
|
|
3062
|
-
type Type = 'account' | 'self' | OtherString;
|
|
3660
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
3063
3661
|
}
|
|
3064
3662
|
}
|
|
3065
3663
|
namespace BrandingSettings {
|
|
@@ -3100,6 +3698,33 @@ export declare namespace Checkout {
|
|
|
3100
3698
|
type Type = 'file' | 'url' | OtherString;
|
|
3101
3699
|
}
|
|
3102
3700
|
}
|
|
3701
|
+
namespace CheckoutItem {
|
|
3702
|
+
type Type = 'rate_card_subscription_item' | 'pricing_plan_subscription_item';
|
|
3703
|
+
interface RateCardSubscriptionItem {
|
|
3704
|
+
rate_card: string;
|
|
3705
|
+
metadata?: MetadataParam;
|
|
3706
|
+
rate_card_version?: string;
|
|
3707
|
+
}
|
|
3708
|
+
interface PricingPlanSubscriptionItem {
|
|
3709
|
+
pricing_plan: string;
|
|
3710
|
+
pricing_plan_version?: string;
|
|
3711
|
+
metadata?: MetadataParam;
|
|
3712
|
+
component_configurations?: {
|
|
3713
|
+
[key: string]: PricingPlanSubscriptionItem.ComponentConfigurations;
|
|
3714
|
+
};
|
|
3715
|
+
}
|
|
3716
|
+
namespace PricingPlanSubscriptionItem {
|
|
3717
|
+
interface ComponentConfigurations {
|
|
3718
|
+
type: 'license_fee_component';
|
|
3719
|
+
license_fee_component?: ComponentConfigurations.LicenseFeeComponent;
|
|
3720
|
+
}
|
|
3721
|
+
namespace ComponentConfigurations {
|
|
3722
|
+
interface LicenseFeeComponent {
|
|
3723
|
+
quantity: number;
|
|
3724
|
+
}
|
|
3725
|
+
}
|
|
3726
|
+
}
|
|
3727
|
+
}
|
|
3103
3728
|
namespace ConsentCollection {
|
|
3104
3729
|
interface PaymentMethodReuseAgreement {
|
|
3105
3730
|
/**
|
|
@@ -3122,7 +3747,7 @@ export declare namespace Checkout {
|
|
|
3122
3747
|
namespace CustomField {
|
|
3123
3748
|
interface Dropdown {
|
|
3124
3749
|
/**
|
|
3125
|
-
* The value that pre-fills the field on the payment page.Must match a `value` in the `options` array.
|
|
3750
|
+
* The value that pre-fills the field on the payment page. Must match a `value` in the `options` array.
|
|
3126
3751
|
*/
|
|
3127
3752
|
default_value?: string;
|
|
3128
3753
|
/**
|
|
@@ -3208,6 +3833,37 @@ export declare namespace Checkout {
|
|
|
3208
3833
|
message: string;
|
|
3209
3834
|
}
|
|
3210
3835
|
}
|
|
3836
|
+
namespace Discount {
|
|
3837
|
+
interface CouponData {
|
|
3838
|
+
/**
|
|
3839
|
+
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
3840
|
+
*/
|
|
3841
|
+
amount_off?: number;
|
|
3842
|
+
/**
|
|
3843
|
+
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
3844
|
+
*/
|
|
3845
|
+
currency?: string;
|
|
3846
|
+
/**
|
|
3847
|
+
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
3848
|
+
*/
|
|
3849
|
+
duration?: CouponData.Duration;
|
|
3850
|
+
/**
|
|
3851
|
+
* 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`.
|
|
3852
|
+
*/
|
|
3853
|
+
metadata?: Emptyable<MetadataParam>;
|
|
3854
|
+
/**
|
|
3855
|
+
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
3856
|
+
*/
|
|
3857
|
+
name?: string;
|
|
3858
|
+
/**
|
|
3859
|
+
* 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).
|
|
3860
|
+
*/
|
|
3861
|
+
percent_off?: number;
|
|
3862
|
+
}
|
|
3863
|
+
namespace CouponData {
|
|
3864
|
+
type Duration = 'forever' | 'once' | 'repeating' | 'service_period' | OtherString;
|
|
3865
|
+
}
|
|
3866
|
+
}
|
|
3211
3867
|
namespace InvoiceCreation {
|
|
3212
3868
|
interface InvoiceData {
|
|
3213
3869
|
/**
|
|
@@ -3271,13 +3927,238 @@ export declare namespace Checkout {
|
|
|
3271
3927
|
template?: string;
|
|
3272
3928
|
}
|
|
3273
3929
|
namespace Issuer {
|
|
3274
|
-
type Type = 'account' | 'self' | OtherString;
|
|
3930
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
3275
3931
|
}
|
|
3276
3932
|
namespace RenderingOptions {
|
|
3277
3933
|
type AmountTaxDisplay = 'exclude_tax' | 'include_inclusive_tax';
|
|
3278
3934
|
}
|
|
3279
3935
|
}
|
|
3280
3936
|
}
|
|
3937
|
+
namespace Item {
|
|
3938
|
+
interface Subscription {
|
|
3939
|
+
/**
|
|
3940
|
+
* Configures when the subscription schedule's billing cycle anchors to a specific day of the week or month.
|
|
3941
|
+
*/
|
|
3942
|
+
billing_cycle_anchor_config?: Subscription.BillingCycleAnchorConfig;
|
|
3943
|
+
/**
|
|
3944
|
+
* Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
|
3945
|
+
*/
|
|
3946
|
+
billing_mode?: Subscription.BillingMode;
|
|
3947
|
+
/**
|
|
3948
|
+
* The subscription's description, meant to be displayable to the customer.
|
|
3949
|
+
*/
|
|
3950
|
+
description?: string;
|
|
3951
|
+
/**
|
|
3952
|
+
* The list of items for the subscription.
|
|
3953
|
+
*/
|
|
3954
|
+
items: Array<Subscription.Item>;
|
|
3955
|
+
/**
|
|
3956
|
+
* 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`.
|
|
3957
|
+
*/
|
|
3958
|
+
metadata?: MetadataParam;
|
|
3959
|
+
/**
|
|
3960
|
+
* Specifies an interval for how often to bill for any pending invoice items.
|
|
3961
|
+
*/
|
|
3962
|
+
pending_invoice_item_interval?: Subscription.PendingInvoiceItemInterval;
|
|
3963
|
+
/**
|
|
3964
|
+
* Determines how to handle prorations resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
|
|
3965
|
+
*/
|
|
3966
|
+
proration_behavior?: Subscription.ProrationBehavior;
|
|
3967
|
+
/**
|
|
3968
|
+
* 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.
|
|
3969
|
+
*/
|
|
3970
|
+
trial_end?: number;
|
|
3971
|
+
/**
|
|
3972
|
+
* Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
3973
|
+
*/
|
|
3974
|
+
trial_period_days?: number;
|
|
3975
|
+
/**
|
|
3976
|
+
* Settings related to subscription trials.
|
|
3977
|
+
*/
|
|
3978
|
+
trial_settings?: Subscription.TrialSettings;
|
|
3979
|
+
}
|
|
3980
|
+
namespace Subscription {
|
|
3981
|
+
interface BillingCycleAnchorConfig {
|
|
3982
|
+
/**
|
|
3983
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3984
|
+
*/
|
|
3985
|
+
day_of_month: number;
|
|
3986
|
+
/**
|
|
3987
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3988
|
+
*/
|
|
3989
|
+
hour?: number;
|
|
3990
|
+
/**
|
|
3991
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3992
|
+
*/
|
|
3993
|
+
minute?: number;
|
|
3994
|
+
/**
|
|
3995
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3996
|
+
*/
|
|
3997
|
+
month?: number;
|
|
3998
|
+
/**
|
|
3999
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
4000
|
+
*/
|
|
4001
|
+
second?: number;
|
|
4002
|
+
}
|
|
4003
|
+
interface BillingMode {
|
|
4004
|
+
/**
|
|
4005
|
+
* Configure behavior for flexible billing mode.
|
|
4006
|
+
*/
|
|
4007
|
+
flexible?: BillingMode.Flexible;
|
|
4008
|
+
/**
|
|
4009
|
+
* Controls the calculation and orchestration of prorations and invoices for subscriptions. If no value is passed, the default is `flexible`.
|
|
4010
|
+
*/
|
|
4011
|
+
type: BillingMode.Type;
|
|
4012
|
+
}
|
|
4013
|
+
interface Item {
|
|
4014
|
+
/**
|
|
4015
|
+
* The ID of the [Price](https://docs.stripe.com/api/prices). One of `price` or `price_data` is required.
|
|
4016
|
+
*/
|
|
4017
|
+
price?: string;
|
|
4018
|
+
/**
|
|
4019
|
+
* Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
|
|
4020
|
+
*/
|
|
4021
|
+
price_data?: Item.PriceData;
|
|
4022
|
+
/**
|
|
4023
|
+
* Quantity for this item.
|
|
4024
|
+
*/
|
|
4025
|
+
quantity?: number;
|
|
4026
|
+
}
|
|
4027
|
+
interface PendingInvoiceItemInterval {
|
|
4028
|
+
/**
|
|
4029
|
+
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
4030
|
+
*/
|
|
4031
|
+
interval: PendingInvoiceItemInterval.Interval;
|
|
4032
|
+
/**
|
|
4033
|
+
* 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).
|
|
4034
|
+
*/
|
|
4035
|
+
interval_count?: number;
|
|
4036
|
+
}
|
|
4037
|
+
type ProrationBehavior = 'create_prorations' | 'none' | OtherString;
|
|
4038
|
+
interface TrialSettings {
|
|
4039
|
+
/**
|
|
4040
|
+
* Defines how the subscription should behave when the user's free trial ends.
|
|
4041
|
+
*/
|
|
4042
|
+
end_behavior: TrialSettings.EndBehavior;
|
|
4043
|
+
}
|
|
4044
|
+
namespace BillingMode {
|
|
4045
|
+
interface Flexible {
|
|
4046
|
+
/**
|
|
4047
|
+
* Controls how invoices and invoice items display proration amounts and discount amounts.
|
|
4048
|
+
*/
|
|
4049
|
+
proration_discounts?: Flexible.ProrationDiscounts;
|
|
4050
|
+
}
|
|
4051
|
+
type Type = 'classic' | 'flexible' | OtherString;
|
|
4052
|
+
namespace Flexible {
|
|
4053
|
+
type ProrationDiscounts = 'included' | 'itemized';
|
|
4054
|
+
}
|
|
4055
|
+
}
|
|
4056
|
+
namespace Item {
|
|
4057
|
+
interface PriceData {
|
|
4058
|
+
/**
|
|
4059
|
+
* 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).
|
|
4060
|
+
*/
|
|
4061
|
+
currency: string;
|
|
4062
|
+
/**
|
|
4063
|
+
* 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.
|
|
4064
|
+
*/
|
|
4065
|
+
product?: string;
|
|
4066
|
+
/**
|
|
4067
|
+
* Data used to generate a new [Product](https://docs.stripe.com/api/products) object inline. One of `product` or `product_data` is required.
|
|
4068
|
+
*/
|
|
4069
|
+
product_data?: PriceData.ProductData;
|
|
4070
|
+
/**
|
|
4071
|
+
* The recurring components of a price such as `interval` and `interval_count`.
|
|
4072
|
+
*/
|
|
4073
|
+
recurring?: PriceData.Recurring;
|
|
4074
|
+
/**
|
|
4075
|
+
* 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.
|
|
4076
|
+
*/
|
|
4077
|
+
tax_behavior?: PriceData.TaxBehavior;
|
|
4078
|
+
/**
|
|
4079
|
+
* A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
|
|
4080
|
+
*/
|
|
4081
|
+
unit_amount?: number;
|
|
4082
|
+
/**
|
|
4083
|
+
* 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.
|
|
4084
|
+
*/
|
|
4085
|
+
unit_amount_decimal?: Decimal;
|
|
4086
|
+
}
|
|
4087
|
+
namespace PriceData {
|
|
4088
|
+
interface ProductData {
|
|
4089
|
+
/**
|
|
4090
|
+
* 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.
|
|
4091
|
+
*/
|
|
4092
|
+
description?: string;
|
|
4093
|
+
/**
|
|
4094
|
+
* A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
4095
|
+
*/
|
|
4096
|
+
images?: Array<string>;
|
|
4097
|
+
/**
|
|
4098
|
+
* 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`.
|
|
4099
|
+
*/
|
|
4100
|
+
metadata?: MetadataParam;
|
|
4101
|
+
/**
|
|
4102
|
+
* The product's name, meant to be displayable to the customer.
|
|
4103
|
+
*/
|
|
4104
|
+
name: string;
|
|
4105
|
+
/**
|
|
4106
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
4107
|
+
*/
|
|
4108
|
+
tax_code?: string;
|
|
4109
|
+
/**
|
|
4110
|
+
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
4111
|
+
*/
|
|
4112
|
+
tax_details?: ProductData.TaxDetails;
|
|
4113
|
+
/**
|
|
4114
|
+
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
4115
|
+
*/
|
|
4116
|
+
unit_label?: string;
|
|
4117
|
+
}
|
|
4118
|
+
interface Recurring {
|
|
4119
|
+
/**
|
|
4120
|
+
* Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
|
4121
|
+
*/
|
|
4122
|
+
interval: Recurring.Interval;
|
|
4123
|
+
/**
|
|
4124
|
+
* 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).
|
|
4125
|
+
*/
|
|
4126
|
+
interval_count?: number;
|
|
4127
|
+
}
|
|
4128
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
4129
|
+
namespace ProductData {
|
|
4130
|
+
interface TaxDetails {
|
|
4131
|
+
/**
|
|
4132
|
+
* 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.
|
|
4133
|
+
*/
|
|
4134
|
+
performance_location?: string;
|
|
4135
|
+
/**
|
|
4136
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
4137
|
+
*/
|
|
4138
|
+
tax_code?: Emptyable<string>;
|
|
4139
|
+
}
|
|
4140
|
+
}
|
|
4141
|
+
namespace Recurring {
|
|
4142
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
4143
|
+
}
|
|
4144
|
+
}
|
|
4145
|
+
}
|
|
4146
|
+
namespace PendingInvoiceItemInterval {
|
|
4147
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
4148
|
+
}
|
|
4149
|
+
namespace TrialSettings {
|
|
4150
|
+
interface EndBehavior {
|
|
4151
|
+
/**
|
|
4152
|
+
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
4153
|
+
*/
|
|
4154
|
+
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
4155
|
+
}
|
|
4156
|
+
namespace EndBehavior {
|
|
4157
|
+
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
4158
|
+
}
|
|
4159
|
+
}
|
|
4160
|
+
}
|
|
4161
|
+
}
|
|
3281
4162
|
namespace LineItem {
|
|
3282
4163
|
interface AdjustableQuantity {
|
|
3283
4164
|
/**
|
|
@@ -3345,6 +4226,10 @@ export declare namespace Checkout {
|
|
|
3345
4226
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
3346
4227
|
*/
|
|
3347
4228
|
tax_code?: string;
|
|
4229
|
+
/**
|
|
4230
|
+
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
4231
|
+
*/
|
|
4232
|
+
tax_details?: ProductData.TaxDetails;
|
|
3348
4233
|
/**
|
|
3349
4234
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
3350
4235
|
*/
|
|
@@ -3361,6 +4246,18 @@ export declare namespace Checkout {
|
|
|
3361
4246
|
interval_count?: number;
|
|
3362
4247
|
}
|
|
3363
4248
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
4249
|
+
namespace ProductData {
|
|
4250
|
+
interface TaxDetails {
|
|
4251
|
+
/**
|
|
4252
|
+
* 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.
|
|
4253
|
+
*/
|
|
4254
|
+
performance_location?: string;
|
|
4255
|
+
/**
|
|
4256
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
4257
|
+
*/
|
|
4258
|
+
tax_code?: Emptyable<string>;
|
|
4259
|
+
}
|
|
4260
|
+
}
|
|
3364
4261
|
namespace Recurring {
|
|
3365
4262
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
3366
4263
|
}
|
|
@@ -3595,6 +4492,19 @@ export declare namespace Checkout {
|
|
|
3595
4492
|
*/
|
|
3596
4493
|
capture_method?: 'manual';
|
|
3597
4494
|
}
|
|
4495
|
+
interface Bizum {
|
|
4496
|
+
/**
|
|
4497
|
+
* Additional fields for mandate creation.
|
|
4498
|
+
*/
|
|
4499
|
+
mandate_options?: Bizum.MandateOptions;
|
|
4500
|
+
}
|
|
4501
|
+
interface Blik {
|
|
4502
|
+
/**
|
|
4503
|
+
* Additional fields for Mandate creation
|
|
4504
|
+
*/
|
|
4505
|
+
mandate_options?: Blik.MandateOptions;
|
|
4506
|
+
setup_future_usage?: Emptyable<Blik.SetupFutureUsage>;
|
|
4507
|
+
}
|
|
3598
4508
|
interface Boleto {
|
|
3599
4509
|
/**
|
|
3600
4510
|
* 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.
|
|
@@ -3620,6 +4530,10 @@ export declare namespace Checkout {
|
|
|
3620
4530
|
* Installment options for card payments
|
|
3621
4531
|
*/
|
|
3622
4532
|
installments?: Card.Installments;
|
|
4533
|
+
/**
|
|
4534
|
+
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
4535
|
+
*/
|
|
4536
|
+
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
3623
4537
|
/**
|
|
3624
4538
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
3625
4539
|
*/
|
|
@@ -3986,6 +4900,10 @@ export declare namespace Checkout {
|
|
|
3986
4900
|
* 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.
|
|
3987
4901
|
*/
|
|
3988
4902
|
reference?: string;
|
|
4903
|
+
/**
|
|
4904
|
+
* 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.
|
|
4905
|
+
*/
|
|
4906
|
+
reference_id?: string;
|
|
3989
4907
|
/**
|
|
3990
4908
|
* The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
3991
4909
|
*/
|
|
@@ -4002,6 +4920,10 @@ export declare namespace Checkout {
|
|
|
4002
4920
|
* 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`.
|
|
4003
4921
|
*/
|
|
4004
4922
|
setup_future_usage?: Emptyable<Paypal.SetupFutureUsage>;
|
|
4923
|
+
/**
|
|
4924
|
+
* 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.
|
|
4925
|
+
*/
|
|
4926
|
+
subsellers?: Array<string>;
|
|
4005
4927
|
}
|
|
4006
4928
|
interface Payto {
|
|
4007
4929
|
/**
|
|
@@ -4250,6 +5172,19 @@ export declare namespace Checkout {
|
|
|
4250
5172
|
}
|
|
4251
5173
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4252
5174
|
}
|
|
5175
|
+
namespace Bizum {
|
|
5176
|
+
interface MandateOptions {
|
|
5177
|
+
}
|
|
5178
|
+
}
|
|
5179
|
+
namespace Blik {
|
|
5180
|
+
interface MandateOptions {
|
|
5181
|
+
/**
|
|
5182
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
5183
|
+
*/
|
|
5184
|
+
expires_after?: number;
|
|
5185
|
+
}
|
|
5186
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
5187
|
+
}
|
|
4253
5188
|
namespace Boleto {
|
|
4254
5189
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4255
5190
|
}
|
|
@@ -4261,6 +5196,7 @@ export declare namespace Checkout {
|
|
|
4261
5196
|
*/
|
|
4262
5197
|
enabled?: boolean;
|
|
4263
5198
|
}
|
|
5199
|
+
type RequestDecrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
4264
5200
|
type RequestExtendedAuthorization = 'if_available' | 'never' | OtherString;
|
|
4265
5201
|
type RequestIncrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
4266
5202
|
type RequestMulticapture = 'if_available' | 'never' | OtherString;
|
|
@@ -4499,7 +5435,7 @@ export declare namespace Checkout {
|
|
|
4499
5435
|
type VerificationMethod = 'automatic' | 'instant' | OtherString;
|
|
4500
5436
|
namespace FinancialConnections {
|
|
4501
5437
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
4502
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
5438
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
4503
5439
|
}
|
|
4504
5440
|
}
|
|
4505
5441
|
namespace WechatPay {
|
|
@@ -4507,7 +5443,31 @@ export declare namespace Checkout {
|
|
|
4507
5443
|
}
|
|
4508
5444
|
}
|
|
4509
5445
|
namespace Permissions {
|
|
5446
|
+
interface Update {
|
|
5447
|
+
/**
|
|
5448
|
+
* Determines which entity is allowed to update the line items.
|
|
5449
|
+
*
|
|
5450
|
+
* 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.
|
|
5451
|
+
*
|
|
5452
|
+
* 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.
|
|
5453
|
+
*/
|
|
5454
|
+
line_items?: Update.LineItems;
|
|
5455
|
+
/**
|
|
5456
|
+
* Determines which entity is allowed to update the shipping details.
|
|
5457
|
+
*
|
|
5458
|
+
* 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.
|
|
5459
|
+
*
|
|
5460
|
+
* 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.
|
|
5461
|
+
*/
|
|
5462
|
+
shipping_details?: Update.ShippingDetails;
|
|
5463
|
+
}
|
|
5464
|
+
type UpdateDiscounts = 'client_only' | 'server_only' | OtherString;
|
|
5465
|
+
type UpdateLineItems = 'client_only' | 'server_only' | OtherString;
|
|
4510
5466
|
type UpdateShippingDetails = 'client_only' | 'server_only' | OtherString;
|
|
5467
|
+
namespace Update {
|
|
5468
|
+
type LineItems = 'client_only' | 'server_only' | OtherString;
|
|
5469
|
+
type ShippingDetails = 'client_only' | 'server_only' | OtherString;
|
|
5470
|
+
}
|
|
4511
5471
|
}
|
|
4512
5472
|
namespace SavedPaymentMethodOptions {
|
|
4513
5473
|
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
@@ -4711,7 +5671,7 @@ export declare namespace Checkout {
|
|
|
4711
5671
|
type: Issuer.Type;
|
|
4712
5672
|
}
|
|
4713
5673
|
namespace Issuer {
|
|
4714
|
-
type Type = 'account' | 'self' | OtherString;
|
|
5674
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
4715
5675
|
}
|
|
4716
5676
|
}
|
|
4717
5677
|
namespace PendingInvoiceItemInterval {
|
|
@@ -4755,14 +5715,26 @@ export declare namespace Checkout {
|
|
|
4755
5715
|
}
|
|
4756
5716
|
export declare namespace Checkout {
|
|
4757
5717
|
interface SessionUpdateParams {
|
|
5718
|
+
/**
|
|
5719
|
+
* Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
|
5720
|
+
*/
|
|
5721
|
+
automatic_tax?: SessionUpdateParams.AutomaticTax;
|
|
4758
5722
|
/**
|
|
4759
5723
|
* Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions.
|
|
4760
5724
|
*/
|
|
4761
5725
|
collected_information?: SessionUpdateParams.CollectedInformation;
|
|
5726
|
+
/**
|
|
5727
|
+
* List of coupons and promotion codes attached to the Checkout Session.
|
|
5728
|
+
*/
|
|
5729
|
+
discounts?: Emptyable<Array<SessionUpdateParams.Discount>>;
|
|
4762
5730
|
/**
|
|
4763
5731
|
* Specifies which fields in the response should be expanded.
|
|
4764
5732
|
*/
|
|
4765
5733
|
expand?: Array<string>;
|
|
5734
|
+
/**
|
|
5735
|
+
* Generate a post-purchase Invoice for one-time payments.
|
|
5736
|
+
*/
|
|
5737
|
+
invoice_creation?: SessionUpdateParams.InvoiceCreation;
|
|
4766
5738
|
/**
|
|
4767
5739
|
* A list of items the customer is purchasing.
|
|
4768
5740
|
*
|
|
@@ -4787,14 +5759,40 @@ export declare namespace Checkout {
|
|
|
4787
5759
|
* The shipping rate options to apply to this Session. Up to a maximum of 5.
|
|
4788
5760
|
*/
|
|
4789
5761
|
shipping_options?: Emptyable<Array<SessionUpdateParams.ShippingOption>>;
|
|
5762
|
+
/**
|
|
5763
|
+
* A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
|
5764
|
+
*/
|
|
5765
|
+
subscription_data?: SessionUpdateParams.SubscriptionData;
|
|
4790
5766
|
}
|
|
4791
5767
|
namespace SessionUpdateParams {
|
|
5768
|
+
interface AutomaticTax {
|
|
5769
|
+
/**
|
|
5770
|
+
* 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.
|
|
5771
|
+
*/
|
|
5772
|
+
liability?: AutomaticTax.Liability;
|
|
5773
|
+
}
|
|
4792
5774
|
interface CollectedInformation {
|
|
4793
5775
|
/**
|
|
4794
5776
|
* The shipping details to apply to this Session.
|
|
4795
5777
|
*/
|
|
4796
5778
|
shipping_details?: CollectedInformation.ShippingDetails;
|
|
4797
5779
|
}
|
|
5780
|
+
interface Discount {
|
|
5781
|
+
/**
|
|
5782
|
+
* 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.
|
|
5783
|
+
*/
|
|
5784
|
+
coupon?: string;
|
|
5785
|
+
/**
|
|
5786
|
+
* 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.
|
|
5787
|
+
*/
|
|
5788
|
+
coupon_data?: Discount.CouponData;
|
|
5789
|
+
}
|
|
5790
|
+
interface InvoiceCreation {
|
|
5791
|
+
/**
|
|
5792
|
+
* Parameters passed when creating invoices for payment-mode Checkout Sessions.
|
|
5793
|
+
*/
|
|
5794
|
+
invoice_data?: InvoiceCreation.InvoiceData;
|
|
5795
|
+
}
|
|
4798
5796
|
interface LineItem {
|
|
4799
5797
|
/**
|
|
4800
5798
|
* When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
|
|
@@ -4834,6 +5832,43 @@ export declare namespace Checkout {
|
|
|
4834
5832
|
* Parameters to be passed to Shipping Rate creation for this shipping option.
|
|
4835
5833
|
*/
|
|
4836
5834
|
shipping_rate_data?: ShippingOption.ShippingRateData;
|
|
5835
|
+
/**
|
|
5836
|
+
* The tax rates that will be applied to this shipping option. This parameter is only supported for Checkout Sessions with `ui_mode` set to `form` or `elements`.
|
|
5837
|
+
*/
|
|
5838
|
+
tax_rates?: Emptyable<Array<string>>;
|
|
5839
|
+
}
|
|
5840
|
+
interface SubscriptionData {
|
|
5841
|
+
/**
|
|
5842
|
+
* All invoices will be billed using the specified settings.
|
|
5843
|
+
*/
|
|
5844
|
+
invoice_settings?: SubscriptionData.InvoiceSettings;
|
|
5845
|
+
/**
|
|
5846
|
+
* 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.
|
|
5847
|
+
*/
|
|
5848
|
+
pending_invoice_item_interval?: Emptyable<SubscriptionData.PendingInvoiceItemInterval>;
|
|
5849
|
+
/**
|
|
5850
|
+
* 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.
|
|
5851
|
+
*/
|
|
5852
|
+
trial_end?: number;
|
|
5853
|
+
/**
|
|
5854
|
+
* Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
5855
|
+
*/
|
|
5856
|
+
trial_period_days?: Emptyable<number>;
|
|
5857
|
+
}
|
|
5858
|
+
namespace AutomaticTax {
|
|
5859
|
+
interface Liability {
|
|
5860
|
+
/**
|
|
5861
|
+
* The connected account being referenced when `type` is `account`.
|
|
5862
|
+
*/
|
|
5863
|
+
account?: string;
|
|
5864
|
+
/**
|
|
5865
|
+
* Type of the account referenced in the request.
|
|
5866
|
+
*/
|
|
5867
|
+
type: Liability.Type;
|
|
5868
|
+
}
|
|
5869
|
+
namespace Liability {
|
|
5870
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
5871
|
+
}
|
|
4837
5872
|
}
|
|
4838
5873
|
namespace CollectedInformation {
|
|
4839
5874
|
interface ShippingDetails {
|
|
@@ -4875,6 +5910,60 @@ export declare namespace Checkout {
|
|
|
4875
5910
|
}
|
|
4876
5911
|
}
|
|
4877
5912
|
}
|
|
5913
|
+
namespace Discount {
|
|
5914
|
+
interface CouponData {
|
|
5915
|
+
/**
|
|
5916
|
+
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
5917
|
+
*/
|
|
5918
|
+
amount_off?: number;
|
|
5919
|
+
/**
|
|
5920
|
+
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
5921
|
+
*/
|
|
5922
|
+
currency?: string;
|
|
5923
|
+
/**
|
|
5924
|
+
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
5925
|
+
*/
|
|
5926
|
+
duration?: CouponData.Duration;
|
|
5927
|
+
/**
|
|
5928
|
+
* 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`.
|
|
5929
|
+
*/
|
|
5930
|
+
metadata?: Emptyable<MetadataParam>;
|
|
5931
|
+
/**
|
|
5932
|
+
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
5933
|
+
*/
|
|
5934
|
+
name?: string;
|
|
5935
|
+
/**
|
|
5936
|
+
* 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).
|
|
5937
|
+
*/
|
|
5938
|
+
percent_off?: number;
|
|
5939
|
+
}
|
|
5940
|
+
namespace CouponData {
|
|
5941
|
+
type Duration = 'forever' | 'once' | 'repeating' | 'service_period' | OtherString;
|
|
5942
|
+
}
|
|
5943
|
+
}
|
|
5944
|
+
namespace InvoiceCreation {
|
|
5945
|
+
interface InvoiceData {
|
|
5946
|
+
/**
|
|
5947
|
+
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
5948
|
+
*/
|
|
5949
|
+
issuer?: InvoiceData.Issuer;
|
|
5950
|
+
}
|
|
5951
|
+
namespace InvoiceData {
|
|
5952
|
+
interface Issuer {
|
|
5953
|
+
/**
|
|
5954
|
+
* The connected account being referenced when `type` is `account`.
|
|
5955
|
+
*/
|
|
5956
|
+
account?: string;
|
|
5957
|
+
/**
|
|
5958
|
+
* Type of the account referenced in the request.
|
|
5959
|
+
*/
|
|
5960
|
+
type: Issuer.Type;
|
|
5961
|
+
}
|
|
5962
|
+
namespace Issuer {
|
|
5963
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
5964
|
+
}
|
|
5965
|
+
}
|
|
5966
|
+
}
|
|
4878
5967
|
namespace LineItem {
|
|
4879
5968
|
interface AdjustableQuantity {
|
|
4880
5969
|
/**
|
|
@@ -4942,6 +6031,10 @@ export declare namespace Checkout {
|
|
|
4942
6031
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
4943
6032
|
*/
|
|
4944
6033
|
tax_code?: string;
|
|
6034
|
+
/**
|
|
6035
|
+
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
6036
|
+
*/
|
|
6037
|
+
tax_details?: ProductData.TaxDetails;
|
|
4945
6038
|
/**
|
|
4946
6039
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
4947
6040
|
*/
|
|
@@ -4958,6 +6051,18 @@ export declare namespace Checkout {
|
|
|
4958
6051
|
interval_count?: number;
|
|
4959
6052
|
}
|
|
4960
6053
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
6054
|
+
namespace ProductData {
|
|
6055
|
+
interface TaxDetails {
|
|
6056
|
+
/**
|
|
6057
|
+
* 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.
|
|
6058
|
+
*/
|
|
6059
|
+
performance_location?: string;
|
|
6060
|
+
/**
|
|
6061
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
6062
|
+
*/
|
|
6063
|
+
tax_code?: Emptyable<string>;
|
|
6064
|
+
}
|
|
6065
|
+
}
|
|
4961
6066
|
namespace Recurring {
|
|
4962
6067
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
4963
6068
|
}
|
|
@@ -5067,6 +6172,42 @@ export declare namespace Checkout {
|
|
|
5067
6172
|
}
|
|
5068
6173
|
}
|
|
5069
6174
|
}
|
|
6175
|
+
namespace SubscriptionData {
|
|
6176
|
+
interface InvoiceSettings {
|
|
6177
|
+
/**
|
|
6178
|
+
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
6179
|
+
*/
|
|
6180
|
+
issuer?: InvoiceSettings.Issuer;
|
|
6181
|
+
}
|
|
6182
|
+
interface PendingInvoiceItemInterval {
|
|
6183
|
+
/**
|
|
6184
|
+
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
6185
|
+
*/
|
|
6186
|
+
interval: PendingInvoiceItemInterval.Interval;
|
|
6187
|
+
/**
|
|
6188
|
+
* 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).
|
|
6189
|
+
*/
|
|
6190
|
+
interval_count?: number;
|
|
6191
|
+
}
|
|
6192
|
+
namespace InvoiceSettings {
|
|
6193
|
+
interface Issuer {
|
|
6194
|
+
/**
|
|
6195
|
+
* The connected account being referenced when `type` is `account`.
|
|
6196
|
+
*/
|
|
6197
|
+
account?: string;
|
|
6198
|
+
/**
|
|
6199
|
+
* Type of the account referenced in the request.
|
|
6200
|
+
*/
|
|
6201
|
+
type: Issuer.Type;
|
|
6202
|
+
}
|
|
6203
|
+
namespace Issuer {
|
|
6204
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
6205
|
+
}
|
|
6206
|
+
}
|
|
6207
|
+
namespace PendingInvoiceItemInterval {
|
|
6208
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
6209
|
+
}
|
|
6210
|
+
}
|
|
5070
6211
|
}
|
|
5071
6212
|
}
|
|
5072
6213
|
export declare namespace Checkout {
|
|
@@ -5118,6 +6259,46 @@ export declare namespace Checkout {
|
|
|
5118
6259
|
type Status = 'complete' | 'expired' | 'open';
|
|
5119
6260
|
}
|
|
5120
6261
|
}
|
|
6262
|
+
export declare namespace Checkout {
|
|
6263
|
+
interface SessionApproveParams {
|
|
6264
|
+
/**
|
|
6265
|
+
* The ID of the customer's attempt to pay to approve.
|
|
6266
|
+
*/
|
|
6267
|
+
attempt: string;
|
|
6268
|
+
/**
|
|
6269
|
+
* Specifies which fields in the response should be expanded.
|
|
6270
|
+
*/
|
|
6271
|
+
expand?: Array<string>;
|
|
6272
|
+
/**
|
|
6273
|
+
* A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.
|
|
6274
|
+
*/
|
|
6275
|
+
payment_intent_data?: SessionApproveParams.PaymentIntentData;
|
|
6276
|
+
/**
|
|
6277
|
+
* The URL to redirect your customer back to after they authenticate or cancel their payment on the
|
|
6278
|
+
* payment method's app or site. This parameter is allowed and required if and only if you did not
|
|
6279
|
+
* set the return URL during Checkout Session creation or in `checkout.confirm()` in Stripe.js.
|
|
6280
|
+
*/
|
|
6281
|
+
return_url?: string;
|
|
6282
|
+
/**
|
|
6283
|
+
* A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
|
6284
|
+
*/
|
|
6285
|
+
subscription_data?: SessionApproveParams.SubscriptionData;
|
|
6286
|
+
}
|
|
6287
|
+
namespace SessionApproveParams {
|
|
6288
|
+
interface PaymentIntentData {
|
|
6289
|
+
/**
|
|
6290
|
+
* 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).
|
|
6291
|
+
*/
|
|
6292
|
+
application_fee_amount?: number;
|
|
6293
|
+
}
|
|
6294
|
+
interface SubscriptionData {
|
|
6295
|
+
/**
|
|
6296
|
+
* 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).
|
|
6297
|
+
*/
|
|
6298
|
+
application_fee_percent?: number;
|
|
6299
|
+
}
|
|
6300
|
+
}
|
|
6301
|
+
}
|
|
5121
6302
|
export declare namespace Checkout {
|
|
5122
6303
|
interface SessionExpireParams {
|
|
5123
6304
|
/**
|