stripe 23.1.0 → 23.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2269 -4845
- package/OPENAPI_VERSION +1 -1
- package/README.md +69 -60
- package/VERSION +1 -1
- package/cjs/Error.d.ts +29 -0
- package/cjs/Error.js +54 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.js +25 -4
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +226 -3
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +21 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/WorkloadIdentity.d.ts +99 -0
- package/cjs/WorkloadIdentity.js +292 -0
- package/cjs/WorkloadIdentity.js.map +1 -0
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/net/WorkloadIdentityTokenTransport.d.ts +27 -0
- package/cjs/net/WorkloadIdentityTokenTransport.js +53 -0
- package/cjs/net/WorkloadIdentityTokenTransport.js.map +1 -0
- package/cjs/resources/AccountLinks.d.ts +5 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +729 -8
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/AccountSignals.d.ts +111 -0
- package/cjs/resources/AccountSignals.js +4 -0
- package/cjs/resources/AccountSignals.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +871 -3
- package/cjs/resources/Accounts.js +47 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +28 -1
- package/cjs/resources/Apps/Installs.d.ts +1 -1
- package/cjs/resources/Apps/Installs.js +1 -1
- package/cjs/resources/Balance.d.ts +205 -0
- package/cjs/resources/BalanceSettings.d.ts +26 -0
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BalanceTransfers.d.ts +160 -0
- package/cjs/resources/BalanceTransfers.js +15 -0
- package/cjs/resources/BalanceTransfers.js.map +1 -0
- package/cjs/resources/BankAccounts.d.ts +16 -2
- package/cjs/resources/Billing/AlertNotifications.d.ts +79 -0
- package/cjs/resources/Billing/AlertNotifications.js +4 -0
- package/cjs/resources/Billing/AlertNotifications.js.map +1 -0
- package/cjs/resources/Billing/AlertRecovereds.d.ts +56 -0
- package/cjs/resources/Billing/AlertRecovereds.js +4 -0
- package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
- package/cjs/resources/Billing/AlertTriggereds.d.ts +59 -1
- package/cjs/resources/Billing/Alerts.d.ts +462 -5
- package/cjs/resources/Billing/Alerts.js +329 -5
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +89 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +136 -3
- package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +105 -3
- package/cjs/resources/Billing/CreditGrants.js +134 -5
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/cjs/resources/Billing/Meters.d.ts +31 -0
- package/cjs/resources/Billing/index.d.ts +10 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +39 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +217 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +123 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +28 -0
- package/cjs/resources/Charges.d.ts +3783 -94
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +2287 -79
- package/cjs/resources/Checkout/Sessions.js +668 -12
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +1 -0
- package/cjs/resources/ConfirmationTokens.d.ts +201 -1
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +128 -2
- package/cjs/resources/Coupons.js +41 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +7 -1
- package/cjs/resources/CreditNotes.js +13 -0
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js +4 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js +4 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/cjs/resources/Crypto/Customers.d.ts +111 -0
- package/cjs/resources/Crypto/Customers.js +31 -0
- package/cjs/resources/Crypto/Customers.js.map +1 -0
- package/cjs/resources/Crypto/DepositAddresses.d.ts +128 -0
- package/cjs/resources/Crypto/DepositAddresses.js +31 -0
- package/cjs/resources/Crypto/DepositAddresses.js.map +1 -0
- package/cjs/resources/Crypto/OnrampSessions.d.ts +425 -0
- package/cjs/resources/Crypto/OnrampSessions.js +47 -0
- package/cjs/resources/Crypto/OnrampSessions.js.map +1 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js +15 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/cjs/resources/Crypto/index.d.ts +41 -0
- package/cjs/resources/Crypto/index.js +19 -0
- package/cjs/resources/Crypto/index.js.map +1 -0
- package/cjs/resources/CustomerCashBalanceTransactions.d.ts +15 -0
- package/cjs/resources/CustomerSessions.d.ts +82 -0
- package/cjs/resources/CustomerSessions.js +13 -0
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/CustomerTaxExemptions.d.ts +107 -0
- package/cjs/resources/CustomerTaxExemptions.js +4 -0
- package/cjs/resources/CustomerTaxExemptions.js.map +1 -0
- package/cjs/resources/Customers.d.ts +334 -1
- package/cjs/resources/Customers.js +221 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/Orders.d.ts +159 -0
- package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
- package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1427 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
- package/cjs/resources/DelegatedCheckout/index.js +15 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +19 -0
- package/cjs/resources/Disputes.d.ts +29 -1
- package/cjs/resources/Disputes.js +14 -0
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +640 -3
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +105 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Consents.d.ts +113 -0
- package/cjs/resources/FinancialConnections/Consents.js +21 -0
- package/cjs/resources/FinancialConnections/Consents.js.map +1 -0
- package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +134 -9
- package/cjs/resources/FinancialConnections/Transactions.d.ts +70 -0
- package/cjs/resources/FinancialConnections/index.d.ts +27 -9
- package/cjs/resources/FinancialConnections/index.js +6 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +216 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/GiftCardOperations.d.ts +249 -0
- package/cjs/resources/GiftCardOperations.js +15 -0
- package/cjs/resources/GiftCardOperations.js.map +1 -0
- package/cjs/resources/GiftCards.d.ts +188 -0
- package/cjs/resources/GiftCards.js +51 -0
- package/cjs/resources/GiftCards.js.map +1 -0
- package/cjs/resources/Identity/BlocklistEntries.d.ts +155 -0
- package/cjs/resources/Identity/BlocklistEntries.js +54 -0
- package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
- package/cjs/resources/Identity/VerificationReports.d.ts +203 -2
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +45 -1
- package/cjs/resources/Identity/index.d.ts +18 -10
- package/cjs/resources/Identity/index.js +2 -0
- package/cjs/resources/Identity/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +215 -2
- package/cjs/resources/InvoiceItems.js +41 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +2167 -73
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +821 -1
- package/cjs/resources/Issuing/Authorizations.js +177 -0
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +22 -4
- package/cjs/resources/Issuing/Cards.d.ts +141 -2
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +53 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +246 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Programs.d.ts +95 -0
- package/cjs/resources/Issuing/Programs.js +35 -0
- package/cjs/resources/Issuing/Programs.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +83 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Tokens.d.ts +26 -0
- package/cjs/resources/Issuing/Transactions.d.ts +259 -0
- package/cjs/resources/Issuing/Transactions.js +48 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +56 -22
- package/cjs/resources/Issuing/index.js +8 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +36 -2
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/cjs/resources/Orchestration/index.d.ts +12 -0
- package/cjs/resources/Orchestration/index.js +13 -0
- package/cjs/resources/Orchestration/index.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4776 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +908 -2
- package/cjs/resources/PaymentAttemptRecords.js +48 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +104 -0
- package/cjs/resources/PaymentIntents.d.ts +19847 -4859
- package/cjs/resources/PaymentIntents.js +46 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +73 -12
- package/cjs/resources/PaymentLocationCapabilities.d.ts +124 -0
- package/cjs/resources/PaymentLocationCapabilities.js +29 -0
- package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
- package/cjs/resources/PaymentLocations.d.ts +178 -0
- package/cjs/resources/PaymentLocations.js +41 -0
- package/cjs/resources/PaymentLocations.js.map +1 -0
- package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
- package/cjs/resources/PaymentMethodBalances.js +4 -0
- package/cjs/resources/PaymentMethodBalances.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +420 -0
- package/cjs/resources/PaymentMethods.d.ts +423 -3
- package/cjs/resources/PaymentMethods.js +20 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentPlans.d.ts +427 -0
- package/cjs/resources/PaymentPlans.js +35 -0
- package/cjs/resources/PaymentPlans.js.map +1 -0
- package/cjs/resources/PaymentRecords.d.ts +906 -20
- package/cjs/resources/PaymentRecords.js +18 -0
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Payouts.d.ts +30 -0
- package/cjs/resources/Persons.d.ts +39 -2
- package/cjs/resources/Prices.d.ts +60 -0
- package/cjs/resources/Prices.js +27 -0
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/cjs/resources/Products.d.ts +156 -0
- package/cjs/resources/Products.js +69 -0
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/Profiles.d.ts +68 -0
- package/cjs/resources/Profiles.js +4 -0
- package/cjs/resources/Profiles.js.map +1 -0
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +684 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1291 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +1134 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +3548 -254
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/AccountEvaluations.d.ts +309 -0
- package/cjs/resources/Radar/AccountEvaluations.js +27 -0
- package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
- package/cjs/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/cjs/resources/Radar/BillingEvaluations.js +15 -0
- package/cjs/resources/Radar/BillingEvaluations.js.map +1 -0
- package/cjs/resources/Radar/CustomerEvaluations.d.ts +245 -0
- package/cjs/resources/Radar/CustomerEvaluations.js +27 -0
- package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +234 -5
- package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
- package/cjs/resources/Radar/Rules.d.ts +18 -0
- package/cjs/resources/Radar/Rules.js +4 -0
- package/cjs/resources/Radar/Rules.js.map +1 -0
- package/cjs/resources/Radar/ValueListItems.d.ts +39 -1
- package/cjs/resources/Radar/ValueListItems.js +13 -0
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +44 -16
- package/cjs/resources/Radar/index.js +8 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +113 -0
- package/cjs/resources/Refunds.js +27 -0
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reporting/ReportRuns.d.ts +4 -0
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +41 -1
- package/cjs/resources/Reserve/Plans.js +19 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +18 -6
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/Risk/Forms.d.ts +380 -0
- package/cjs/resources/Risk/Forms.js +38 -0
- package/cjs/resources/Risk/Forms.js.map +1 -0
- package/cjs/resources/Risk/index.d.ts +13 -0
- package/cjs/resources/Risk/index.js +13 -0
- package/cjs/resources/Risk/index.js.map +1 -0
- package/cjs/resources/RiskSignals.d.ts +10 -0
- package/cjs/resources/RiskSignals.js +4 -0
- package/cjs/resources/RiskSignals.js.map +1 -0
- package/cjs/resources/SetupAttempts.d.ts +39 -1
- package/cjs/resources/SetupAttempts.js.map +1 -1
- package/cjs/resources/SetupIntents.d.ts +877 -16
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +442 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +378 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +29 -1
- package/cjs/resources/SubscriptionItems.d.ts +236 -0
- package/cjs/resources/SubscriptionItems.js +41 -0
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +2007 -31
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +910 -14
- package/cjs/resources/Subscriptions.js +186 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +12 -1
- package/cjs/resources/Tax/Calculations.d.ts +43 -1
- package/cjs/resources/Tax/Certificates.d.ts +107 -0
- package/cjs/resources/Tax/Certificates.js +35 -0
- package/cjs/resources/Tax/Certificates.js.map +1 -0
- package/cjs/resources/Tax/FormCorrections.d.ts +29 -0
- package/cjs/resources/Tax/FormCorrections.js +4 -0
- package/cjs/resources/Tax/FormCorrections.js.map +1 -0
- package/cjs/resources/Tax/Forms.d.ts +973 -0
- package/cjs/resources/Tax/Forms.js +38 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +60 -4
- package/cjs/resources/Tax/Registrations.js +27 -0
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +8 -0
- package/cjs/resources/Tax/Settings.js +13 -0
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +12 -0
- package/cjs/resources/Tax/Transactions.js +13 -0
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +41 -17
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxFunds.d.ts +174 -0
- package/cjs/resources/TaxFunds.js +23 -0
- package/cjs/resources/TaxFunds.js.map +1 -0
- package/cjs/resources/TaxIds.d.ts +6 -0
- package/cjs/resources/TaxIds.js +13 -0
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.d.ts +12 -0
- package/cjs/resources/TaxRates.js +27 -0
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +235 -2
- package/cjs/resources/Terminal/Readers.js +24 -0
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +9 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +82 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/Capital/index.js +13 -0
- package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +165 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +95 -0
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js +245 -0
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js +39 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +48 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.js +48 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +38 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +92 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +18 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +14 -6
- package/cjs/resources/TestHelpers/index.js +12 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +76 -0
- package/cjs/resources/Transfers.d.ts +12 -0
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/TransitBalances.d.ts +25 -0
- package/cjs/resources/TransitBalances.js +4 -0
- package/cjs/resources/TransitBalances.js.map +1 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/InboundTransfers.d.ts +60 -0
- package/cjs/resources/Treasury/OutboundPayments.d.ts +48 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +66 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/Treasury/TransactionEntries.js +76 -0
- package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
- package/cjs/resources/Treasury/Transactions.js +82 -0
- package/cjs/resources/Treasury/Transactions.js.map +1 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +87 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +1022 -0
- package/cjs/resources/V2/Billing/Cadences.js +264 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +50 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractTermQuantityChanges.d.ts +35 -0
- package/cjs/resources/V2/Billing/ContractTermQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractTermQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractTerms.d.ts +216 -0
- package/cjs/resources/V2/Billing/ContractTerms.js +4 -0
- package/cjs/resources/V2/Billing/ContractTerms.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +29 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js +15 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/Terms/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/Terms/QuantityChanges.js +29 -0
- package/cjs/resources/V2/Billing/Contracts/Terms/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/Terms.d.ts +46 -0
- package/cjs/resources/V2/Billing/Contracts/Terms.js +82 -0
- package/cjs/resources/V2/Billing/Contracts/Terms.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts.d.ts +2762 -0
- package/cjs/resources/V2/Billing/Contracts.js +657 -0
- package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/cjs/resources/V2/Billing/IntentActions.d.ts +609 -0
- package/cjs/resources/V2/Billing/IntentActions.js +4 -0
- package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents.d.ts +1267 -0
- package/cjs/resources/V2/Billing/Intents.js +87 -0
- package/cjs/resources/V2/Billing/Intents.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees.d.ts +360 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
- package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/cjs/resources/V2/Billing/LicensedItems.d.ts +170 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
- package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +218 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
- package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/cjs/resources/V2/Billing/OneTimeItems.d.ts +170 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +636 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans.d.ts +169 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
- package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardRates.d.ts +111 -0
- package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +218 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards.d.ts +336 -0
- package/cjs/resources/V2/Billing/RateCards.js +76 -0
- package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +536 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
- package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +181 -6
- package/cjs/resources/V2/Billing/index.js +32 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountEvaluations.d.ts +167 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Core/AccountLinks.d.ts +138 -2
- package/cjs/resources/V2/Core/AccountPersons.d.ts +5 -2
- package/cjs/resources/V2/Core/AccountSessions.d.ts +1649 -0
- package/cjs/resources/V2/Core/AccountSessions.js +16 -0
- package/cjs/resources/V2/Core/AccountSessions.js.map +1 -0
- package/cjs/resources/V2/Core/AccountTokens.d.ts +242 -4
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +5 -2
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +10 -4
- package/cjs/resources/V2/Core/Accounts.d.ts +22332 -1163
- package/cjs/resources/V2/Core/Accounts.js +23373 -30
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +410 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +39 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/cjs/resources/V2/Core/BatchJobs.js +252 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/cjs/resources/V2/Core/ConnectionSessions.d.ts +86 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +6062 -593
- package/cjs/resources/V2/Core/FeeBatches.d.ts +228 -0
- package/cjs/resources/V2/Core/FeeBatches.js +23 -0
- package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
- package/cjs/resources/V2/Core/FeeEntries.d.ts +196 -0
- package/cjs/resources/V2/Core/FeeEntries.js +23 -0
- package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +426 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +4 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js +101 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts.d.ts +540 -0
- package/cjs/resources/V2/Core/Health/Alerts.js +182 -0
- package/cjs/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/cjs/resources/V2/Core/Health/index.d.ts +16 -0
- package/cjs/resources/V2/Core/Health/index.js +13 -0
- package/cjs/resources/V2/Core/Health/index.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/NetworkTokens.d.ts +199 -0
- package/cjs/resources/V2/Core/Vault/NetworkTokens.js +42 -0
- package/cjs/resources/V2/Core/Vault/NetworkTokens.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +17 -9
- package/cjs/resources/V2/Core/Vault/index.js +2 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +69 -14
- package/cjs/resources/V2/Core/index.js +20 -2
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/cjs/resources/V2/Data/Analytics/index.js +13 -0
- package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
- package/cjs/resources/V2/Data/Operations.d.ts +37 -0
- package/cjs/resources/V2/Data/Operations.js +40 -0
- package/cjs/resources/V2/Data/Operations.js.map +1 -0
- package/cjs/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/cjs/resources/V2/Data/QueryRuns.js +51 -0
- package/cjs/resources/V2/Data/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/cjs/resources/V2/Data/ReportRuns.js +53 -0
- package/cjs/resources/V2/Data/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +176 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reports.d.ts +140 -0
- package/cjs/resources/V2/Data/Reports.js +25 -0
- package/cjs/resources/V2/Data/Reports.js.map +1 -0
- package/cjs/resources/V2/Data/Schemas.d.ts +161 -0
- package/cjs/resources/V2/Data/Schemas.js +23 -0
- package/cjs/resources/V2/Data/Schemas.js.map +1 -0
- package/cjs/resources/V2/Data/SearchResultLists.d.ts +348 -0
- package/cjs/resources/V2/Data/SearchResultLists.js +4 -0
- package/cjs/resources/V2/Data/SearchResultLists.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +42 -0
- package/cjs/resources/V2/Data/index.js +25 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/Extend/ObjectDefinitionVersions.d.ts +222 -0
- package/cjs/resources/V2/Extend/ObjectDefinitionVersions.js +4 -0
- package/cjs/resources/V2/Extend/ObjectDefinitionVersions.js.map +1 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.d.ts +33 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.js +23 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.js.map +1 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions.d.ts +63 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions.js +29 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +29 -0
- package/cjs/resources/V2/Extend/index.js +17 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +457 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +306 -0
- package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
- package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +23 -0
- package/cjs/resources/V2/Iam/index.js +15 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +44 -2
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +173 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCreditSimulations.d.ts +18 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCreditSimulations.js +4 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCredits.d.ts +134 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.d.ts +62 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExports.d.ts +50 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExports.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExports.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.d.ts +51 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js +22 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +437 -4
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +132 -2
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +144 -6
- package/cjs/resources/V2/MoneyManagement/FundingIntents.d.ts +504 -0
- package/cjs/resources/V2/MoneyManagement/FundingIntents.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FundingIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FundingSessions.d.ts +111 -0
- package/cjs/resources/V2/MoneyManagement/FundingSessions.js +15 -0
- package/cjs/resources/V2/MoneyManagement/FundingSessions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundFundings.d.ts +178 -0
- package/cjs/resources/V2/MoneyManagement/InboundFundings.js +23 -0
- package/cjs/resources/V2/MoneyManagement/InboundFundings.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.d.ts +265 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.js +39 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +88 -2
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +374 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +23 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +246 -6
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +143 -2
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +434 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +40 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +18 -6
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +125 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +344 -6
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +171 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +29 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +373 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/cjs/resources/V2/MoneyManagement/RewardProgramEnrollments.d.ts +140 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramEnrollments.js +46 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramEnrollments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramRules.d.ts +85 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramRules.js +4 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramRules.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms/Rules.d.ts +205 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms/Rules.js +177 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms/Rules.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms.d.ts +135 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms.js +57 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +43 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +13 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers.d.ts +37 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers.js +21 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +140 -4
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +140 -4
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +175 -57
- package/cjs/resources/V2/MoneyManagement/index.js +28 -2
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +736 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +47 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +212 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/cjs/resources/V2/Payments/index.d.ts +30 -0
- package/cjs/resources/V2/Payments/index.js +15 -0
- package/cjs/resources/V2/Payments/index.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Catalog/Providers.d.ts +33 -0
- package/cjs/resources/V2/Provisioning/Catalog/Providers.js +17 -0
- package/cjs/resources/V2/Provisioning/Catalog/Providers.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Catalog/Services.d.ts +37 -0
- package/cjs/resources/V2/Provisioning/Catalog/Services.js +17 -0
- package/cjs/resources/V2/Provisioning/Catalog/Services.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Catalog/index.d.ts +10 -0
- package/cjs/resources/V2/Provisioning/Catalog/index.js +15 -0
- package/cjs/resources/V2/Provisioning/Catalog/index.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Eligibility.d.ts +33 -0
- package/cjs/resources/V2/Provisioning/Eligibility.js +16 -0
- package/cjs/resources/V2/Provisioning/Eligibility.js.map +1 -0
- package/cjs/resources/V2/Provisioning/PaymentMethodRequests.d.ts +79 -0
- package/cjs/resources/V2/Provisioning/PaymentMethodRequests.js +25 -0
- package/cjs/resources/V2/Provisioning/PaymentMethodRequests.js.map +1 -0
- package/cjs/resources/V2/Provisioning/PaymentProfile.d.ts +139 -0
- package/cjs/resources/V2/Provisioning/PaymentProfile.js +74 -0
- package/cjs/resources/V2/Provisioning/PaymentProfile.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Projects.d.ts +79 -0
- package/cjs/resources/V2/Provisioning/Projects.js +15 -0
- package/cjs/resources/V2/Provisioning/Projects.js.map +1 -0
- package/cjs/resources/V2/Provisioning/ProviderConnectionRequests.d.ts +145 -0
- package/cjs/resources/V2/Provisioning/ProviderConnectionRequests.js +27 -0
- package/cjs/resources/V2/Provisioning/ProviderConnectionRequests.js.map +1 -0
- package/cjs/resources/V2/Provisioning/ProviderConnections.d.ts +115 -0
- package/cjs/resources/V2/Provisioning/ProviderConnections.js +23 -0
- package/cjs/resources/V2/Provisioning/ProviderConnections.js.map +1 -0
- package/cjs/resources/V2/Provisioning/ProviderServiceDetails.d.ts +243 -0
- package/cjs/resources/V2/Provisioning/ProviderServiceDetails.js +4 -0
- package/cjs/resources/V2/Provisioning/ProviderServiceDetails.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Providers.d.ts +67 -0
- package/cjs/resources/V2/Provisioning/Providers.js +4 -0
- package/cjs/resources/V2/Provisioning/Providers.js.map +1 -0
- package/cjs/resources/V2/Provisioning/ResourceAccessConfigurations.d.ts +28 -0
- package/cjs/resources/V2/Provisioning/ResourceAccessConfigurations.js +4 -0
- package/cjs/resources/V2/Provisioning/ResourceAccessConfigurations.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Resources.d.ts +287 -0
- package/cjs/resources/V2/Provisioning/Resources.js +66 -0
- package/cjs/resources/V2/Provisioning/Resources.js.map +1 -0
- package/cjs/resources/V2/Provisioning/index.d.ts +66 -0
- package/cjs/resources/V2/Provisioning/index.js +27 -0
- package/cjs/resources/V2/Provisioning/index.js.map +1 -0
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +195 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Reporting/Reports.d.ts +106 -0
- package/cjs/resources/V2/Reporting/Reports.js +17 -0
- package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
- package/cjs/resources/V2/Reporting/index.d.ts +18 -0
- package/cjs/resources/V2/Reporting/index.js +15 -0
- package/cjs/resources/V2/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Risk/Forms.d.ts +253 -0
- package/cjs/resources/V2/Risk/Forms.js +21 -0
- package/cjs/resources/V2/Risk/Forms.js.map +1 -0
- package/cjs/resources/V2/Risk/index.d.ts +13 -0
- package/cjs/resources/V2/Risk/index.js +13 -0
- package/cjs/resources/V2/Risk/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountActivities.d.ts +747 -0
- package/cjs/resources/V2/Signals/AccountActivities.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +516 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js +67 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +361 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +118 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/PaymentRetryEvaluations.d.ts +116 -0
- package/cjs/resources/V2/Signals/PaymentRetryEvaluations.js +38 -0
- package/cjs/resources/V2/Signals/PaymentRetryEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/PaymentRetrySignals.d.ts +63 -0
- package/cjs/resources/V2/Signals/PaymentRetrySignals.js +15 -0
- package/cjs/resources/V2/Signals/PaymentRetrySignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +39 -0
- package/cjs/resources/V2/Signals/index.js +21 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/Tax/IntegrationConfigurations.d.ts +116 -0
- package/cjs/resources/V2/Tax/IntegrationConfigurations.js +21 -0
- package/cjs/resources/V2/Tax/IntegrationConfigurations.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +331 -0
- package/cjs/resources/V2/Tax/ManualRules.js +193 -0
- package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
- package/cjs/resources/V2/Tax/Operations.d.ts +43 -0
- package/cjs/resources/V2/Tax/Operations.js +15 -0
- package/cjs/resources/V2/Tax/Operations.js.map +1 -0
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.d.ts +70 -0
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js +4 -0
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
- package/cjs/resources/V2/Tax/index.d.ts +27 -0
- package/cjs/resources/V2/Tax/index.js +17 -0
- package/cjs/resources/V2/Tax/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +33 -0
- package/cjs/resources/V2/index.js +26 -4
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +20 -0
- package/cjs/resources.js +313 -21
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +20042 -2747
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +170 -56
- package/cjs/stripe.core.js +156 -45
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +29 -0
- package/esm/Error.js +47 -0
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.js +26 -5
- package/esm/RequestSender.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +226 -3
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +21 -2
- package/esm/Types.js.map +1 -1
- package/esm/WorkloadIdentity.d.ts +99 -0
- package/esm/WorkloadIdentity.js +282 -0
- package/esm/WorkloadIdentity.js.map +1 -0
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/net/WorkloadIdentityTokenTransport.d.ts +27 -0
- package/esm/net/WorkloadIdentityTokenTransport.js +49 -0
- package/esm/net/WorkloadIdentityTokenTransport.js.map +1 -0
- package/esm/resources/AccountLinks.d.ts +5 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +729 -8
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/AccountSignals.d.ts +111 -0
- package/esm/resources/AccountSignals.js +3 -0
- package/esm/resources/AccountSignals.js.map +1 -0
- package/esm/resources/Accounts.d.ts +871 -3
- package/esm/resources/Accounts.js +47 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +28 -1
- package/esm/resources/Apps/Installs.d.ts +1 -1
- package/esm/resources/Apps/Installs.js +1 -1
- package/esm/resources/Balance.d.ts +205 -0
- package/esm/resources/BalanceSettings.d.ts +26 -0
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BalanceTransfers.d.ts +160 -0
- package/esm/resources/BalanceTransfers.js +11 -0
- package/esm/resources/BalanceTransfers.js.map +1 -0
- package/esm/resources/BankAccounts.d.ts +16 -2
- package/esm/resources/Billing/AlertNotifications.d.ts +79 -0
- package/esm/resources/Billing/AlertNotifications.js +3 -0
- package/esm/resources/Billing/AlertNotifications.js.map +1 -0
- package/esm/resources/Billing/AlertRecovereds.d.ts +56 -0
- package/esm/resources/Billing/AlertRecovereds.js +3 -0
- package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
- package/esm/resources/Billing/AlertTriggereds.d.ts +59 -1
- package/esm/resources/Billing/Alerts.d.ts +462 -5
- package/esm/resources/Billing/Alerts.js +329 -5
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +89 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +136 -3
- package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +105 -3
- package/esm/resources/Billing/CreditGrants.js +134 -5
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/esm/resources/Billing/Meters.d.ts +31 -0
- package/esm/resources/Billing/index.d.ts +10 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +39 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +217 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +123 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +28 -0
- package/esm/resources/Charges.d.ts +3783 -94
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +2287 -79
- package/esm/resources/Checkout/Sessions.js +668 -12
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +1 -0
- package/esm/resources/ConfirmationTokens.d.ts +201 -1
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/Coupons.d.ts +128 -2
- package/esm/resources/Coupons.js +41 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +7 -1
- package/esm/resources/CreditNotes.js +13 -0
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js +3 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js +3 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/esm/resources/Crypto/Customers.d.ts +111 -0
- package/esm/resources/Crypto/Customers.js +27 -0
- package/esm/resources/Crypto/Customers.js.map +1 -0
- package/esm/resources/Crypto/DepositAddresses.d.ts +128 -0
- package/esm/resources/Crypto/DepositAddresses.js +27 -0
- package/esm/resources/Crypto/DepositAddresses.js.map +1 -0
- package/esm/resources/Crypto/OnrampSessions.d.ts +425 -0
- package/esm/resources/Crypto/OnrampSessions.js +43 -0
- package/esm/resources/Crypto/OnrampSessions.js.map +1 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js +11 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/esm/resources/Crypto/index.d.ts +41 -0
- package/esm/resources/Crypto/index.js +15 -0
- package/esm/resources/Crypto/index.js.map +1 -0
- package/esm/resources/CustomerCashBalanceTransactions.d.ts +15 -0
- package/esm/resources/CustomerSessions.d.ts +82 -0
- package/esm/resources/CustomerSessions.js +13 -0
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/CustomerTaxExemptions.d.ts +107 -0
- package/esm/resources/CustomerTaxExemptions.js +3 -0
- package/esm/resources/CustomerTaxExemptions.js.map +1 -0
- package/esm/resources/Customers.d.ts +334 -1
- package/esm/resources/Customers.js +221 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/esm/resources/DelegatedCheckout/Orders.d.ts +159 -0
- package/esm/resources/DelegatedCheckout/Orders.js +11 -0
- package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1427 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
- package/esm/resources/DelegatedCheckout/index.js +11 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +19 -0
- package/esm/resources/Disputes.d.ts +29 -1
- package/esm/resources/Disputes.js +14 -0
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +640 -3
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +105 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/esm/resources/FinancialConnections/Authorizations.js +9 -1
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Consents.d.ts +113 -0
- package/esm/resources/FinancialConnections/Consents.js +17 -0
- package/esm/resources/FinancialConnections/Consents.js.map +1 -0
- package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +134 -9
- package/esm/resources/FinancialConnections/Transactions.d.ts +70 -0
- package/esm/resources/FinancialConnections/index.d.ts +27 -9
- package/esm/resources/FinancialConnections/index.js +6 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +216 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/GiftCardOperations.d.ts +249 -0
- package/esm/resources/GiftCardOperations.js +11 -0
- package/esm/resources/GiftCardOperations.js.map +1 -0
- package/esm/resources/GiftCards.d.ts +188 -0
- package/esm/resources/GiftCards.js +47 -0
- package/esm/resources/GiftCards.js.map +1 -0
- package/esm/resources/Identity/BlocklistEntries.d.ts +155 -0
- package/esm/resources/Identity/BlocklistEntries.js +50 -0
- package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
- package/esm/resources/Identity/VerificationReports.d.ts +203 -2
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +45 -1
- package/esm/resources/Identity/index.d.ts +18 -10
- package/esm/resources/Identity/index.js +2 -0
- package/esm/resources/Identity/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +215 -2
- package/esm/resources/InvoiceItems.js +41 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/esm/resources/InvoiceRenderingTemplates.js +28 -0
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +2167 -73
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +821 -1
- package/esm/resources/Issuing/Authorizations.js +177 -0
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +22 -4
- package/esm/resources/Issuing/Cards.d.ts +141 -2
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +49 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +246 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Programs.d.ts +95 -0
- package/esm/resources/Issuing/Programs.js +31 -0
- package/esm/resources/Issuing/Programs.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +83 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Tokens.d.ts +26 -0
- package/esm/resources/Issuing/Transactions.d.ts +259 -0
- package/esm/resources/Issuing/Transactions.js +48 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +56 -22
- package/esm/resources/Issuing/index.js +8 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +36 -2
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
- package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/esm/resources/Orchestration/index.d.ts +12 -0
- package/esm/resources/Orchestration/index.js +9 -0
- package/esm/resources/Orchestration/index.js.map +1 -0
- package/esm/resources/Orders.d.ts +4776 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +908 -2
- package/esm/resources/PaymentAttemptRecords.js +48 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +104 -0
- package/esm/resources/PaymentIntents.d.ts +19847 -4859
- package/esm/resources/PaymentIntents.js +46 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +73 -12
- package/esm/resources/PaymentLocationCapabilities.d.ts +124 -0
- package/esm/resources/PaymentLocationCapabilities.js +25 -0
- package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
- package/esm/resources/PaymentLocations.d.ts +178 -0
- package/esm/resources/PaymentLocations.js +37 -0
- package/esm/resources/PaymentLocations.js.map +1 -0
- package/esm/resources/PaymentMethodBalances.d.ts +46 -0
- package/esm/resources/PaymentMethodBalances.js +3 -0
- package/esm/resources/PaymentMethodBalances.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +420 -0
- package/esm/resources/PaymentMethods.d.ts +423 -3
- package/esm/resources/PaymentMethods.js +20 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentPlans.d.ts +427 -0
- package/esm/resources/PaymentPlans.js +31 -0
- package/esm/resources/PaymentPlans.js.map +1 -0
- package/esm/resources/PaymentRecords.d.ts +906 -20
- package/esm/resources/PaymentRecords.js +18 -0
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Payouts.d.ts +30 -0
- package/esm/resources/Persons.d.ts +39 -2
- package/esm/resources/Prices.d.ts +60 -0
- package/esm/resources/Prices.js +27 -0
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/esm/resources/Products.d.ts +156 -0
- package/esm/resources/Products.js +69 -0
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/Profiles.d.ts +68 -0
- package/esm/resources/Profiles.js +3 -0
- package/esm/resources/Profiles.js.map +1 -0
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +684 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1291 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +1134 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +3548 -254
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/AccountEvaluations.d.ts +309 -0
- package/esm/resources/Radar/AccountEvaluations.js +23 -0
- package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
- package/esm/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/esm/resources/Radar/BillingEvaluations.js +11 -0
- package/esm/resources/Radar/BillingEvaluations.js.map +1 -0
- package/esm/resources/Radar/CustomerEvaluations.d.ts +245 -0
- package/esm/resources/Radar/CustomerEvaluations.js +23 -0
- package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +234 -5
- package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
- package/esm/resources/Radar/Rules.d.ts +18 -0
- package/esm/resources/Radar/Rules.js +3 -0
- package/esm/resources/Radar/Rules.js.map +1 -0
- package/esm/resources/Radar/ValueListItems.d.ts +39 -1
- package/esm/resources/Radar/ValueListItems.js +13 -0
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +44 -16
- package/esm/resources/Radar/index.js +8 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +113 -0
- package/esm/resources/Refunds.js +27 -0
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reporting/ReportRuns.d.ts +4 -0
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +41 -1
- package/esm/resources/Reserve/Plans.js +17 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +18 -6
- package/esm/resources/Reserve/index.js +9 -0
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/Risk/Forms.d.ts +380 -0
- package/esm/resources/Risk/Forms.js +34 -0
- package/esm/resources/Risk/Forms.js.map +1 -0
- package/esm/resources/Risk/index.d.ts +13 -0
- package/esm/resources/Risk/index.js +9 -0
- package/esm/resources/Risk/index.js.map +1 -0
- package/esm/resources/RiskSignals.d.ts +10 -0
- package/esm/resources/RiskSignals.js +3 -0
- package/esm/resources/RiskSignals.js.map +1 -0
- package/esm/resources/SetupAttempts.d.ts +39 -1
- package/esm/resources/SetupAttempts.js.map +1 -1
- package/esm/resources/SetupIntents.d.ts +877 -16
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +442 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +378 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +29 -1
- package/esm/resources/SubscriptionItems.d.ts +236 -0
- package/esm/resources/SubscriptionItems.js +41 -0
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +2007 -31
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +910 -14
- package/esm/resources/Subscriptions.js +186 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +12 -1
- package/esm/resources/Tax/Calculations.d.ts +43 -1
- package/esm/resources/Tax/Certificates.d.ts +107 -0
- package/esm/resources/Tax/Certificates.js +31 -0
- package/esm/resources/Tax/Certificates.js.map +1 -0
- package/esm/resources/Tax/FormCorrections.d.ts +29 -0
- package/esm/resources/Tax/FormCorrections.js +3 -0
- package/esm/resources/Tax/FormCorrections.js.map +1 -0
- package/esm/resources/Tax/Forms.d.ts +973 -0
- package/esm/resources/Tax/Forms.js +34 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +60 -4
- package/esm/resources/Tax/Registrations.js +27 -0
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +8 -0
- package/esm/resources/Tax/Settings.js +13 -0
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +12 -0
- package/esm/resources/Tax/Transactions.js +13 -0
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +41 -17
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxFunds.d.ts +174 -0
- package/esm/resources/TaxFunds.js +19 -0
- package/esm/resources/TaxFunds.js.map +1 -0
- package/esm/resources/TaxIds.d.ts +6 -0
- package/esm/resources/TaxIds.js +13 -0
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.d.ts +12 -0
- package/esm/resources/TaxRates.js +27 -0
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +235 -2
- package/esm/resources/Terminal/Readers.js +24 -0
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +9 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +82 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/esm/resources/TestHelpers/Capital/index.js +9 -0
- package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +165 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +95 -0
- package/esm/resources/TestHelpers/Issuing/Authorizations.js +245 -0
- package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js +35 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +48 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.js +48 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +38 -0
- package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
- package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +92 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Terminal/Readers.d.ts +18 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +14 -6
- package/esm/resources/TestHelpers/index.js +6 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +76 -0
- package/esm/resources/Transfers.d.ts +12 -0
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/TransitBalances.d.ts +25 -0
- package/esm/resources/TransitBalances.js +3 -0
- package/esm/resources/TransitBalances.js.map +1 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/InboundTransfers.d.ts +60 -0
- package/esm/resources/Treasury/OutboundPayments.d.ts +48 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +66 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/Treasury/TransactionEntries.js +76 -0
- package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
- package/esm/resources/Treasury/Transactions.js +82 -0
- package/esm/resources/Treasury/Transactions.js.map +1 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +87 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +1022 -0
- package/esm/resources/V2/Billing/Cadences.js +260 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +50 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/ContractTermQuantityChanges.d.ts +35 -0
- package/esm/resources/V2/Billing/ContractTermQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractTermQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/ContractTerms.d.ts +216 -0
- package/esm/resources/V2/Billing/ContractTerms.js +3 -0
- package/esm/resources/V2/Billing/ContractTerms.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +25 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js +11 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/Terms/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/Terms/QuantityChanges.js +25 -0
- package/esm/resources/V2/Billing/Contracts/Terms/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/Terms.d.ts +46 -0
- package/esm/resources/V2/Billing/Contracts/Terms.js +78 -0
- package/esm/resources/V2/Billing/Contracts/Terms.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts.d.ts +2762 -0
- package/esm/resources/V2/Billing/Contracts.js +653 -0
- package/esm/resources/V2/Billing/Contracts.js.map +1 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/esm/resources/V2/Billing/IntentActions.d.ts +609 -0
- package/esm/resources/V2/Billing/IntentActions.js +3 -0
- package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
- package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents.d.ts +1267 -0
- package/esm/resources/V2/Billing/Intents.js +83 -0
- package/esm/resources/V2/Billing/Intents.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees.d.ts +360 -0
- package/esm/resources/V2/Billing/LicenseFees.js +144 -0
- package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/esm/resources/V2/Billing/LicensedItems.d.ts +170 -0
- package/esm/resources/V2/Billing/LicensedItems.js +31 -0
- package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/esm/resources/V2/Billing/MeteredItems.d.ts +218 -0
- package/esm/resources/V2/Billing/MeteredItems.js +31 -0
- package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/esm/resources/V2/Billing/OneTimeItems.d.ts +170 -0
- package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
- package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +636 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans.d.ts +169 -0
- package/esm/resources/V2/Billing/PricingPlans.js +39 -0
- package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardRates.d.ts +111 -0
- package/esm/resources/V2/Billing/RateCardRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +218 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
- package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards.d.ts +336 -0
- package/esm/resources/V2/Billing/RateCards.js +72 -0
- package/esm/resources/V2/Billing/RateCards.js.map +1 -0
- package/esm/resources/V2/Billing/ServiceActions.d.ts +536 -0
- package/esm/resources/V2/Billing/ServiceActions.js +158 -0
- package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +181 -6
- package/esm/resources/V2/Billing/index.js +32 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountEvaluations.d.ts +167 -0
- package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
- package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Core/AccountLinks.d.ts +138 -2
- package/esm/resources/V2/Core/AccountPersons.d.ts +5 -2
- package/esm/resources/V2/Core/AccountSessions.d.ts +1649 -0
- package/esm/resources/V2/Core/AccountSessions.js +12 -0
- package/esm/resources/V2/Core/AccountSessions.js.map +1 -0
- package/esm/resources/V2/Core/AccountTokens.d.ts +242 -4
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +5 -2
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +10 -4
- package/esm/resources/V2/Core/Accounts.d.ts +22332 -1163
- package/esm/resources/V2/Core/Accounts.js +23373 -30
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +410 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +35 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/esm/resources/V2/Core/BatchJobs.js +248 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/esm/resources/V2/Core/ConnectionSessions.d.ts +86 -0
- package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
- package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +6062 -593
- package/esm/resources/V2/Core/FeeBatches.d.ts +228 -0
- package/esm/resources/V2/Core/FeeBatches.js +19 -0
- package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
- package/esm/resources/V2/Core/FeeEntries.d.ts +196 -0
- package/esm/resources/V2/Core/FeeEntries.js +19 -0
- package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +426 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +3 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js +97 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts.d.ts +540 -0
- package/esm/resources/V2/Core/Health/Alerts.js +178 -0
- package/esm/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/esm/resources/V2/Core/Health/index.d.ts +16 -0
- package/esm/resources/V2/Core/Health/index.js +9 -0
- package/esm/resources/V2/Core/Health/index.js.map +1 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/NetworkTokens.d.ts +199 -0
- package/esm/resources/V2/Core/Vault/NetworkTokens.js +38 -0
- package/esm/resources/V2/Core/Vault/NetworkTokens.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +17 -9
- package/esm/resources/V2/Core/Vault/index.js +2 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +69 -14
- package/esm/resources/V2/Core/index.js +18 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/esm/resources/V2/Data/Analytics/index.js +9 -0
- package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
- package/esm/resources/V2/Data/Operations.d.ts +37 -0
- package/esm/resources/V2/Data/Operations.js +36 -0
- package/esm/resources/V2/Data/Operations.js.map +1 -0
- package/esm/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/esm/resources/V2/Data/QueryRuns.js +47 -0
- package/esm/resources/V2/Data/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/esm/resources/V2/Data/ReportRuns.js +49 -0
- package/esm/resources/V2/Data/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +176 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/Reports.d.ts +140 -0
- package/esm/resources/V2/Data/Reports.js +21 -0
- package/esm/resources/V2/Data/Reports.js.map +1 -0
- package/esm/resources/V2/Data/Schemas.d.ts +161 -0
- package/esm/resources/V2/Data/Schemas.js +19 -0
- package/esm/resources/V2/Data/Schemas.js.map +1 -0
- package/esm/resources/V2/Data/SearchResultLists.d.ts +348 -0
- package/esm/resources/V2/Data/SearchResultLists.js +3 -0
- package/esm/resources/V2/Data/SearchResultLists.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +42 -0
- package/esm/resources/V2/Data/index.js +21 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/Extend/ObjectDefinitionVersions.d.ts +222 -0
- package/esm/resources/V2/Extend/ObjectDefinitionVersions.js +3 -0
- package/esm/resources/V2/Extend/ObjectDefinitionVersions.js.map +1 -0
- package/esm/resources/V2/Extend/ObjectDefinitions/Versions.d.ts +33 -0
- package/esm/resources/V2/Extend/ObjectDefinitions/Versions.js +19 -0
- package/esm/resources/V2/Extend/ObjectDefinitions/Versions.js.map +1 -0
- package/esm/resources/V2/Extend/ObjectDefinitions.d.ts +63 -0
- package/esm/resources/V2/Extend/ObjectDefinitions.js +25 -0
- package/esm/resources/V2/Extend/ObjectDefinitions.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +29 -0
- package/esm/resources/V2/Extend/index.js +13 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +457 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/ApiKeys.d.ts +306 -0
- package/esm/resources/V2/Iam/ApiKeys.js +43 -0
- package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +23 -0
- package/esm/resources/V2/Iam/index.js +11 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +44 -2
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +173 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/EarnedCreditSimulations.d.ts +18 -0
- package/esm/resources/V2/MoneyManagement/EarnedCreditSimulations.js +3 -0
- package/esm/resources/V2/MoneyManagement/EarnedCreditSimulations.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/EarnedCredits.d.ts +134 -0
- package/esm/resources/V2/MoneyManagement/EarnedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/EarnedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.d.ts +62 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExports.d.ts +50 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExports.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExports.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.d.ts +51 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js +18 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +437 -4
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +132 -2
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +144 -6
- package/esm/resources/V2/MoneyManagement/FundingIntents.d.ts +504 -0
- package/esm/resources/V2/MoneyManagement/FundingIntents.js +49 -0
- package/esm/resources/V2/MoneyManagement/FundingIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FundingSessions.d.ts +111 -0
- package/esm/resources/V2/MoneyManagement/FundingSessions.js +11 -0
- package/esm/resources/V2/MoneyManagement/FundingSessions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundFundings.d.ts +178 -0
- package/esm/resources/V2/MoneyManagement/InboundFundings.js +19 -0
- package/esm/resources/V2/MoneyManagement/InboundFundings.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransferMandates.d.ts +265 -0
- package/esm/resources/V2/MoneyManagement/InboundTransferMandates.js +35 -0
- package/esm/resources/V2/MoneyManagement/InboundTransferMandates.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +88 -2
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +374 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +19 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +246 -6
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +143 -2
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +434 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +36 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +18 -6
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +125 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +344 -6
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +171 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +25 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +373 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/esm/resources/V2/MoneyManagement/RewardProgramEnrollments.d.ts +140 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramEnrollments.js +42 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramEnrollments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramRules.d.ts +85 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramRules.js +3 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramRules.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms/Rules.d.ts +205 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms/Rules.js +173 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms/Rules.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms.d.ts +135 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms.js +53 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +43 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers.d.ts +37 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers.js +17 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +140 -4
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +140 -4
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +175 -57
- package/esm/resources/V2/MoneyManagement/index.js +28 -2
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Payments/OffSessionPayments.d.ts +736 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +43 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +212 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/esm/resources/V2/Payments/index.d.ts +30 -0
- package/esm/resources/V2/Payments/index.js +11 -0
- package/esm/resources/V2/Payments/index.js.map +1 -0
- package/esm/resources/V2/Provisioning/Catalog/Providers.d.ts +33 -0
- package/esm/resources/V2/Provisioning/Catalog/Providers.js +13 -0
- package/esm/resources/V2/Provisioning/Catalog/Providers.js.map +1 -0
- package/esm/resources/V2/Provisioning/Catalog/Services.d.ts +37 -0
- package/esm/resources/V2/Provisioning/Catalog/Services.js +13 -0
- package/esm/resources/V2/Provisioning/Catalog/Services.js.map +1 -0
- package/esm/resources/V2/Provisioning/Catalog/index.d.ts +10 -0
- package/esm/resources/V2/Provisioning/Catalog/index.js +11 -0
- package/esm/resources/V2/Provisioning/Catalog/index.js.map +1 -0
- package/esm/resources/V2/Provisioning/Eligibility.d.ts +33 -0
- package/esm/resources/V2/Provisioning/Eligibility.js +12 -0
- package/esm/resources/V2/Provisioning/Eligibility.js.map +1 -0
- package/esm/resources/V2/Provisioning/PaymentMethodRequests.d.ts +79 -0
- package/esm/resources/V2/Provisioning/PaymentMethodRequests.js +21 -0
- package/esm/resources/V2/Provisioning/PaymentMethodRequests.js.map +1 -0
- package/esm/resources/V2/Provisioning/PaymentProfile.d.ts +139 -0
- package/esm/resources/V2/Provisioning/PaymentProfile.js +70 -0
- package/esm/resources/V2/Provisioning/PaymentProfile.js.map +1 -0
- package/esm/resources/V2/Provisioning/Projects.d.ts +79 -0
- package/esm/resources/V2/Provisioning/Projects.js +11 -0
- package/esm/resources/V2/Provisioning/Projects.js.map +1 -0
- package/esm/resources/V2/Provisioning/ProviderConnectionRequests.d.ts +145 -0
- package/esm/resources/V2/Provisioning/ProviderConnectionRequests.js +23 -0
- package/esm/resources/V2/Provisioning/ProviderConnectionRequests.js.map +1 -0
- package/esm/resources/V2/Provisioning/ProviderConnections.d.ts +115 -0
- package/esm/resources/V2/Provisioning/ProviderConnections.js +19 -0
- package/esm/resources/V2/Provisioning/ProviderConnections.js.map +1 -0
- package/esm/resources/V2/Provisioning/ProviderServiceDetails.d.ts +243 -0
- package/esm/resources/V2/Provisioning/ProviderServiceDetails.js +3 -0
- package/esm/resources/V2/Provisioning/ProviderServiceDetails.js.map +1 -0
- package/esm/resources/V2/Provisioning/Providers.d.ts +67 -0
- package/esm/resources/V2/Provisioning/Providers.js +3 -0
- package/esm/resources/V2/Provisioning/Providers.js.map +1 -0
- package/esm/resources/V2/Provisioning/ResourceAccessConfigurations.d.ts +28 -0
- package/esm/resources/V2/Provisioning/ResourceAccessConfigurations.js +3 -0
- package/esm/resources/V2/Provisioning/ResourceAccessConfigurations.js.map +1 -0
- package/esm/resources/V2/Provisioning/Resources.d.ts +287 -0
- package/esm/resources/V2/Provisioning/Resources.js +62 -0
- package/esm/resources/V2/Provisioning/Resources.js.map +1 -0
- package/esm/resources/V2/Provisioning/index.d.ts +66 -0
- package/esm/resources/V2/Provisioning/index.js +23 -0
- package/esm/resources/V2/Provisioning/index.js.map +1 -0
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +195 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
- package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Reporting/Reports.d.ts +106 -0
- package/esm/resources/V2/Reporting/Reports.js +13 -0
- package/esm/resources/V2/Reporting/Reports.js.map +1 -0
- package/esm/resources/V2/Reporting/index.d.ts +18 -0
- package/esm/resources/V2/Reporting/index.js +11 -0
- package/esm/resources/V2/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Risk/Forms.d.ts +253 -0
- package/esm/resources/V2/Risk/Forms.js +17 -0
- package/esm/resources/V2/Risk/Forms.js.map +1 -0
- package/esm/resources/V2/Risk/index.d.ts +13 -0
- package/esm/resources/V2/Risk/index.js +9 -0
- package/esm/resources/V2/Risk/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountActivities.d.ts +747 -0
- package/esm/resources/V2/Signals/AccountActivities.js +23 -0
- package/esm/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +516 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js +63 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +361 -0
- package/esm/resources/V2/Signals/AccountSignals.js +114 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/PaymentRetryEvaluations.d.ts +116 -0
- package/esm/resources/V2/Signals/PaymentRetryEvaluations.js +34 -0
- package/esm/resources/V2/Signals/PaymentRetryEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/PaymentRetrySignals.d.ts +63 -0
- package/esm/resources/V2/Signals/PaymentRetrySignals.js +11 -0
- package/esm/resources/V2/Signals/PaymentRetrySignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +39 -0
- package/esm/resources/V2/Signals/index.js +17 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/Tax/IntegrationConfigurations.d.ts +116 -0
- package/esm/resources/V2/Tax/IntegrationConfigurations.js +17 -0
- package/esm/resources/V2/Tax/IntegrationConfigurations.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +331 -0
- package/esm/resources/V2/Tax/ManualRules.js +189 -0
- package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
- package/esm/resources/V2/Tax/Operations.d.ts +43 -0
- package/esm/resources/V2/Tax/Operations.js +11 -0
- package/esm/resources/V2/Tax/Operations.js.map +1 -0
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.d.ts +70 -0
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.js +3 -0
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
- package/esm/resources/V2/Tax/index.d.ts +27 -0
- package/esm/resources/V2/Tax/index.js +13 -0
- package/esm/resources/V2/Tax/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +33 -0
- package/esm/resources/V2/index.js +22 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +20 -0
- package/esm/resources.js +283 -3
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +170 -56
- package/esm/stripe.core.js +122 -11
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +172 -58
- package/esm/stripe.esm.node.js +123 -9
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +0 -9
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
|
@@ -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
|
*
|
|
@@ -78,6 +84,16 @@ export interface Session {
|
|
|
78
84
|
* Total of all items after discounts and taxes are applied.
|
|
79
85
|
*/
|
|
80
86
|
amount_total: number | null;
|
|
87
|
+
/**
|
|
88
|
+
* Determines whether the customer's attempt to pay must be manually approved.
|
|
89
|
+
*
|
|
90
|
+
* Default is `auto`, when the customer's attempt to pay is approved automatically with no action required on your server.
|
|
91
|
+
*
|
|
92
|
+
* When set to `manual`, you must approve the customer's attempt to pay by calling [approve](https://docs.stripe.com/api/checkout/sessions/approve) from your server.
|
|
93
|
+
*/
|
|
94
|
+
approval_method?: Session.ApprovalMethod | null;
|
|
95
|
+
automatic_pass_through_fee?: Session.AutomaticPassThroughFee;
|
|
96
|
+
automatic_surcharge?: Session.AutomaticSurcharge;
|
|
81
97
|
automatic_tax: Session.AutomaticTax;
|
|
82
98
|
/**
|
|
83
99
|
* Describes whether Checkout should collect the customer's billing address. Defaults to `auto`.
|
|
@@ -88,6 +104,7 @@ export interface Session {
|
|
|
88
104
|
* 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.
|
|
89
105
|
*/
|
|
90
106
|
cancel_url: string | null;
|
|
107
|
+
checkout_items?: Array<Session.CheckoutItem>;
|
|
91
108
|
/**
|
|
92
109
|
* A unique string to reference the Checkout Session. This can be a
|
|
93
110
|
* customer ID, a cart ID, or similar, and can be used to reconcile the
|
|
@@ -123,10 +140,19 @@ export interface Session {
|
|
|
123
140
|
* Currency conversion details for [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing) sessions created before 2025-03-31.
|
|
124
141
|
*/
|
|
125
142
|
currency_conversion: Session.CurrencyConversion | null;
|
|
143
|
+
/**
|
|
144
|
+
* The customer's pending attempt to pay that requires your approval. Contains information about the customer and their payment details.
|
|
145
|
+
*/
|
|
146
|
+
current_attempt?: Session.CurrentAttempt | null;
|
|
126
147
|
/**
|
|
127
148
|
* 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 `elements`.
|
|
128
149
|
*/
|
|
129
150
|
custom_fields: Array<Session.CustomField>;
|
|
151
|
+
/**
|
|
152
|
+
* 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
|
|
153
|
+
* Session is allowed to accept.
|
|
154
|
+
*/
|
|
155
|
+
custom_payment_method_types?: Array<string>;
|
|
130
156
|
custom_text: Session.CustomText;
|
|
131
157
|
/**
|
|
132
158
|
* The ID of the customer for this Session.
|
|
@@ -180,6 +206,10 @@ export interface Session {
|
|
|
180
206
|
* Details on the state of invoice creation for the Checkout Session.
|
|
181
207
|
*/
|
|
182
208
|
invoice_creation: Session.InvoiceCreation | null;
|
|
209
|
+
/**
|
|
210
|
+
* The items to be purchased by the customer.
|
|
211
|
+
*/
|
|
212
|
+
items?: Array<Session.Item>;
|
|
183
213
|
/**
|
|
184
214
|
* The line items purchased by the customer.
|
|
185
215
|
*/
|
|
@@ -196,6 +226,10 @@ export interface Session {
|
|
|
196
226
|
* Settings for Managed Payments for this Checkout Session and resulting [PaymentIntents](https://docs.stripe.com/api/payment_intents/object), [Invoices](https://docs.stripe.com/api/invoices/object), and [Subscriptions](https://docs.stripe.com/api/subscriptions/object).
|
|
197
227
|
*/
|
|
198
228
|
managed_payments: Session.ManagedPayments | null;
|
|
229
|
+
/**
|
|
230
|
+
* Advertising attribution information for this Checkout Session.
|
|
231
|
+
*/
|
|
232
|
+
marketing_attributions?: Array<Session.MarketingAttribution> | null;
|
|
199
233
|
/**
|
|
200
234
|
* 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.
|
|
201
235
|
*/
|
|
@@ -205,6 +239,10 @@ export interface Session {
|
|
|
205
239
|
*/
|
|
206
240
|
mode: Session.Mode;
|
|
207
241
|
name_collection?: Session.NameCollection;
|
|
242
|
+
/**
|
|
243
|
+
* The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details.
|
|
244
|
+
*/
|
|
245
|
+
on_behalf_of?: string | null;
|
|
208
246
|
/**
|
|
209
247
|
* The optional items presented to the customer at checkout.
|
|
210
248
|
*/
|
|
@@ -238,6 +276,15 @@ export interface Session {
|
|
|
238
276
|
* Session is allowed to accept.
|
|
239
277
|
*/
|
|
240
278
|
payment_method_types: Array<string>;
|
|
279
|
+
/**
|
|
280
|
+
* The [Payment Record](https://docs.stripe.com/api/payment-record) for this Checkout Session.
|
|
281
|
+
*/
|
|
282
|
+
payment_record?: string | PaymentRecord | null;
|
|
283
|
+
/**
|
|
284
|
+
* The ID of the Payment Reservation for this Checkout Session.
|
|
285
|
+
*/
|
|
286
|
+
payment_reservation?: string | null;
|
|
287
|
+
payment_settings?: Session.PaymentSettings;
|
|
241
288
|
/**
|
|
242
289
|
* The payment status of the Checkout Session, one of `paid`, `unpaid`, or `no_payment_required`.
|
|
243
290
|
* You can use this value to decide when to fulfill your customer's order.
|
|
@@ -255,6 +302,10 @@ export interface Session {
|
|
|
255
302
|
* The ID of the original expired Checkout Session that triggered the recovery flow.
|
|
256
303
|
*/
|
|
257
304
|
recovered_from: string | null;
|
|
305
|
+
/**
|
|
306
|
+
* The redaction status of the Checkout Session. If the Session is not redacted, this field is null.
|
|
307
|
+
*/
|
|
308
|
+
redaction?: Session.Redaction | null;
|
|
258
309
|
/**
|
|
259
310
|
* 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`.
|
|
260
311
|
*/
|
|
@@ -296,12 +347,13 @@ export interface Session {
|
|
|
296
347
|
/**
|
|
297
348
|
* The ID of the [Subscription](https://docs.stripe.com/api/subscriptions) for Checkout Sessions in `subscription` mode.
|
|
298
349
|
*/
|
|
299
|
-
subscription: string |
|
|
350
|
+
subscription: string | _Subscription | null;
|
|
300
351
|
/**
|
|
301
352
|
* The URL the customer will be directed to after the payment or
|
|
302
353
|
* subscription creation is successful.
|
|
303
354
|
*/
|
|
304
355
|
success_url: string | null;
|
|
356
|
+
surcharge_cost?: Session.SurchargeCost;
|
|
305
357
|
tax_id_collection?: Session.TaxIdCollection;
|
|
306
358
|
/**
|
|
307
359
|
* Tax and discount details for the computed total amount.
|
|
@@ -334,11 +386,64 @@ export declare namespace Session {
|
|
|
334
386
|
*/
|
|
335
387
|
recovery: AfterExpiration.Recovery | null;
|
|
336
388
|
}
|
|
389
|
+
type ApprovalMethod = 'auto' | 'manual' | OtherString;
|
|
390
|
+
interface AutomaticPassThroughFee {
|
|
391
|
+
/**
|
|
392
|
+
* Whether the fee is calculated on the amount due before or after tax.
|
|
393
|
+
*/
|
|
394
|
+
calculation_basis: AutomaticPassThroughFee.CalculationBasis | null;
|
|
395
|
+
/**
|
|
396
|
+
* Indicates whether a pass-through fee is calculated and added to this session.
|
|
397
|
+
*/
|
|
398
|
+
enabled: boolean;
|
|
399
|
+
/**
|
|
400
|
+
* The provider that performed this session's latest pass-through fee calculation.
|
|
401
|
+
*/
|
|
402
|
+
provider: string | null;
|
|
403
|
+
/**
|
|
404
|
+
* The status of the most recent pass-through fee calculation for this session.
|
|
405
|
+
*/
|
|
406
|
+
status?: AutomaticPassThroughFee.Status;
|
|
407
|
+
/**
|
|
408
|
+
* The type of fee calculated for this session.
|
|
409
|
+
*/
|
|
410
|
+
type: AutomaticPassThroughFee.Type | null;
|
|
411
|
+
}
|
|
412
|
+
interface AutomaticSurcharge {
|
|
413
|
+
/**
|
|
414
|
+
* Determines which amount serves as the basis for calculating the surcharge.
|
|
415
|
+
*/
|
|
416
|
+
calculation_basis: AutomaticSurcharge.CalculationBasis | null;
|
|
417
|
+
/**
|
|
418
|
+
* Indicates whether automatic surcharge is enabled for the session.
|
|
419
|
+
*/
|
|
420
|
+
enabled: boolean;
|
|
421
|
+
/**
|
|
422
|
+
* The surcharge provider used for this session.
|
|
423
|
+
*/
|
|
424
|
+
provider?: AutomaticSurcharge.Provider;
|
|
425
|
+
/**
|
|
426
|
+
* The status of the most recent surcharge calculation for this session.
|
|
427
|
+
*/
|
|
428
|
+
status?: AutomaticSurcharge.Status;
|
|
429
|
+
/**
|
|
430
|
+
* Specifies whether the surcharge is considered inclusive or exclusive of taxes.
|
|
431
|
+
*/
|
|
432
|
+
tax_behavior: AutomaticSurcharge.TaxBehavior | null;
|
|
433
|
+
}
|
|
337
434
|
interface AutomaticTax {
|
|
435
|
+
/**
|
|
436
|
+
* Controls how much address information Checkout collects when automatic tax is enabled.
|
|
437
|
+
*/
|
|
438
|
+
address_collection_precision?: AutomaticTax.AddressCollectionPrecision | null;
|
|
338
439
|
/**
|
|
339
440
|
* Indicates whether automatic tax is enabled for the session
|
|
340
441
|
*/
|
|
341
442
|
enabled: boolean;
|
|
443
|
+
/**
|
|
444
|
+
* How `automatic_tax` was set (`explicit`, `managed_payments`, or `tax_integration_configuration`) and why it may have been disabled.
|
|
445
|
+
*/
|
|
446
|
+
enablement_details?: AutomaticTax.EnablementDetails | null;
|
|
342
447
|
/**
|
|
343
448
|
* 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.
|
|
344
449
|
*/
|
|
@@ -383,19 +488,36 @@ export declare namespace Session {
|
|
|
383
488
|
*/
|
|
384
489
|
logo: BrandingSettings.Logo | null;
|
|
385
490
|
}
|
|
491
|
+
interface CheckoutItem {
|
|
492
|
+
type: CheckoutItem.Type;
|
|
493
|
+
rate_card_subscription_item?: CheckoutItem.RateCardSubscriptionItem;
|
|
494
|
+
pricing_plan_subscription_item?: CheckoutItem.PricingPlanSubscriptionItem;
|
|
495
|
+
}
|
|
386
496
|
interface CollectedInformation {
|
|
387
497
|
/**
|
|
388
498
|
* Customer's business name for this Checkout Session
|
|
389
499
|
*/
|
|
390
500
|
business_name: string | null;
|
|
501
|
+
/**
|
|
502
|
+
* Customer's email for this Checkout Session
|
|
503
|
+
*/
|
|
504
|
+
email?: string | null;
|
|
391
505
|
/**
|
|
392
506
|
* Customer's individual name for this Checkout Session
|
|
393
507
|
*/
|
|
394
508
|
individual_name: string | null;
|
|
509
|
+
/**
|
|
510
|
+
* Customer's phone number for this Checkout Session
|
|
511
|
+
*/
|
|
512
|
+
phone?: string | null;
|
|
395
513
|
/**
|
|
396
514
|
* Shipping information for this Checkout Session.
|
|
397
515
|
*/
|
|
398
516
|
shipping_details: CollectedInformation.ShippingDetails | null;
|
|
517
|
+
/**
|
|
518
|
+
* Customer's tax id for this Checkout Session.
|
|
519
|
+
*/
|
|
520
|
+
tax_id?: CollectedInformation.TaxId | null;
|
|
399
521
|
}
|
|
400
522
|
interface Consent {
|
|
401
523
|
/**
|
|
@@ -442,6 +564,32 @@ export declare namespace Session {
|
|
|
442
564
|
*/
|
|
443
565
|
source_currency: string;
|
|
444
566
|
}
|
|
567
|
+
interface CurrentAttempt {
|
|
568
|
+
/**
|
|
569
|
+
* The customer's billing information, if provided.
|
|
570
|
+
*/
|
|
571
|
+
billing_details?: CurrentAttempt.BillingDetails | null;
|
|
572
|
+
/**
|
|
573
|
+
* The customer's email.
|
|
574
|
+
*/
|
|
575
|
+
email?: string | null;
|
|
576
|
+
/**
|
|
577
|
+
* The attempt ID you will pass to the [Checkout Session approve](api/checkout/sessions/approve) endpoint to approve the attempt.
|
|
578
|
+
*/
|
|
579
|
+
id: string;
|
|
580
|
+
/**
|
|
581
|
+
* 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.
|
|
582
|
+
*/
|
|
583
|
+
payment_method_details?: CurrentAttempt.PaymentMethodDetails | null;
|
|
584
|
+
/**
|
|
585
|
+
* The customer's phone number.
|
|
586
|
+
*/
|
|
587
|
+
phone?: string | null;
|
|
588
|
+
/**
|
|
589
|
+
* The customer's shipping information, if provided.
|
|
590
|
+
*/
|
|
591
|
+
shipping_details: CurrentAttempt.ShippingDetails | null;
|
|
592
|
+
}
|
|
445
593
|
interface CustomField {
|
|
446
594
|
dropdown?: CustomField.Dropdown;
|
|
447
595
|
/**
|
|
@@ -531,6 +679,18 @@ export declare namespace Session {
|
|
|
531
679
|
enabled: boolean;
|
|
532
680
|
invoice_data: InvoiceCreation.InvoiceData;
|
|
533
681
|
}
|
|
682
|
+
interface Item {
|
|
683
|
+
/**
|
|
684
|
+
* The key of the item. Guaranteed to be a unique ID within this checkout session's items.
|
|
685
|
+
*/
|
|
686
|
+
key: string;
|
|
687
|
+
metronome_commit?: Item.MetronomeCommit;
|
|
688
|
+
subscription?: Item.Subscription;
|
|
689
|
+
/**
|
|
690
|
+
* The type of the item.
|
|
691
|
+
*/
|
|
692
|
+
type: Item.Type;
|
|
693
|
+
}
|
|
534
694
|
type Locale = 'auto' | 'bg' | 'cs' | 'da' | 'de' | 'el' | 'en' | 'en-GB' | 'es' | 'es-419' | 'et' | 'fi' | 'fil' | 'fr' | 'fr-CA' | 'hi-IN' | '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;
|
|
535
695
|
interface ManagedPayments {
|
|
536
696
|
/**
|
|
@@ -538,6 +698,41 @@ export declare namespace Session {
|
|
|
538
698
|
*/
|
|
539
699
|
enabled: boolean;
|
|
540
700
|
}
|
|
701
|
+
interface MarketingAttribution {
|
|
702
|
+
ad_conversion?: MarketingAttribution.AdConversion;
|
|
703
|
+
/**
|
|
704
|
+
* The advertising platform's click identifier.
|
|
705
|
+
*/
|
|
706
|
+
click_id: string | null;
|
|
707
|
+
/**
|
|
708
|
+
* The Unix timestamp when the advertising interaction occurred.
|
|
709
|
+
*/
|
|
710
|
+
occurred_at: number | null;
|
|
711
|
+
/**
|
|
712
|
+
* The advertising group ID from the `utm_adgroup` parameter.
|
|
713
|
+
*/
|
|
714
|
+
utm_adgroup: string | null;
|
|
715
|
+
/**
|
|
716
|
+
* The advertising content identifier from the `utm_content` parameter.
|
|
717
|
+
*/
|
|
718
|
+
utm_content: string | null;
|
|
719
|
+
/**
|
|
720
|
+
* The advertising campaign ID from the `utm_id` parameter.
|
|
721
|
+
*/
|
|
722
|
+
utm_id: string | null;
|
|
723
|
+
/**
|
|
724
|
+
* The marketing medium from the `utm_medium` parameter.
|
|
725
|
+
*/
|
|
726
|
+
utm_medium: string | null;
|
|
727
|
+
/**
|
|
728
|
+
* The referral source from the `utm_source` parameter.
|
|
729
|
+
*/
|
|
730
|
+
utm_source: string | null;
|
|
731
|
+
/**
|
|
732
|
+
* The paid search term from the `utm_term` parameter.
|
|
733
|
+
*/
|
|
734
|
+
utm_term: string | null;
|
|
735
|
+
}
|
|
541
736
|
type Mode = 'payment' | 'setup' | 'subscription' | OtherString;
|
|
542
737
|
interface NameCollection {
|
|
543
738
|
business?: NameCollection.Business;
|
|
@@ -549,7 +744,7 @@ export declare namespace Session {
|
|
|
549
744
|
quantity: number;
|
|
550
745
|
}
|
|
551
746
|
type OriginContext = 'mobile_app' | 'web' | OtherString;
|
|
552
|
-
type PaymentMethodCollection = 'always' | 'if_required' | OtherString;
|
|
747
|
+
type PaymentMethodCollection = 'always' | 'auto' | 'if_required' | OtherString;
|
|
553
748
|
interface PaymentMethodConfigurationDetails {
|
|
554
749
|
/**
|
|
555
750
|
* ID of the payment method configuration used.
|
|
@@ -571,6 +766,7 @@ export declare namespace Session {
|
|
|
571
766
|
bacs_debit?: PaymentMethodOptions.BacsDebit;
|
|
572
767
|
bancontact?: PaymentMethodOptions.Bancontact;
|
|
573
768
|
billie?: PaymentMethodOptions.Billie;
|
|
769
|
+
bizum?: PaymentMethodOptions.Bizum;
|
|
574
770
|
boleto?: PaymentMethodOptions.Boleto;
|
|
575
771
|
card?: PaymentMethodOptions.Card;
|
|
576
772
|
cashapp?: PaymentMethodOptions.Cashapp;
|
|
@@ -593,6 +789,7 @@ export declare namespace Session {
|
|
|
593
789
|
payco?: PaymentMethodOptions.Payco;
|
|
594
790
|
paynow?: PaymentMethodOptions.Paynow;
|
|
595
791
|
paypal?: PaymentMethodOptions.Paypal;
|
|
792
|
+
paypay?: PaymentMethodOptions.Paypay;
|
|
596
793
|
payto?: PaymentMethodOptions.Payto;
|
|
597
794
|
pix?: PaymentMethodOptions.Pix;
|
|
598
795
|
revolut_pay?: PaymentMethodOptions.RevolutPay;
|
|
@@ -602,6 +799,7 @@ export declare namespace Session {
|
|
|
602
799
|
sepa_debit?: PaymentMethodOptions.SepaDebit;
|
|
603
800
|
sequra?: PaymentMethodOptions.Sequra;
|
|
604
801
|
sofort?: PaymentMethodOptions.Sofort;
|
|
802
|
+
stripe_balance?: PaymentMethodOptions.StripeBalance;
|
|
605
803
|
sunbit?: PaymentMethodOptions.Sunbit;
|
|
606
804
|
swish?: PaymentMethodOptions.Swish;
|
|
607
805
|
twint?: PaymentMethodOptions.Twint;
|
|
@@ -609,8 +807,54 @@ export declare namespace Session {
|
|
|
609
807
|
us_bank_account?: PaymentMethodOptions.UsBankAccount;
|
|
610
808
|
wechat_pay?: PaymentMethodOptions.WechatPay;
|
|
611
809
|
}
|
|
810
|
+
interface PaymentSettings {
|
|
811
|
+
/**
|
|
812
|
+
* Configures an application fee transferred to the application owner's Stripe account.
|
|
813
|
+
*/
|
|
814
|
+
application_fee_data?: PaymentSettings.ApplicationFeeData | null;
|
|
815
|
+
/**
|
|
816
|
+
* Controls when the funds will be captured from the customer's account.
|
|
817
|
+
*/
|
|
818
|
+
capture_method: string | null;
|
|
819
|
+
/**
|
|
820
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
821
|
+
*/
|
|
822
|
+
description: string | null;
|
|
823
|
+
/**
|
|
824
|
+
* 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.
|
|
825
|
+
*/
|
|
826
|
+
metadata: Metadata | null;
|
|
827
|
+
/**
|
|
828
|
+
* Indicates that you intend to make future payments with the payment method collected by this Checkout Session.
|
|
829
|
+
*/
|
|
830
|
+
setup_future_usage: PaymentSettings.SetupFutureUsage | null;
|
|
831
|
+
/**
|
|
832
|
+
* Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor.
|
|
833
|
+
*/
|
|
834
|
+
statement_descriptor: string | null;
|
|
835
|
+
/**
|
|
836
|
+
* Configures automatic transfers to a connected account when payments succeed.
|
|
837
|
+
*/
|
|
838
|
+
transfer_data?: PaymentSettings.TransferData | null;
|
|
839
|
+
/**
|
|
840
|
+
* A string that identifies the initial payment as part of a group.
|
|
841
|
+
*/
|
|
842
|
+
transfer_group?: string | null;
|
|
843
|
+
}
|
|
612
844
|
type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid' | OtherString;
|
|
613
845
|
interface Permissions {
|
|
846
|
+
/**
|
|
847
|
+
* Permissions for updating the Checkout Session.
|
|
848
|
+
*/
|
|
849
|
+
update?: Permissions.Update | null;
|
|
850
|
+
/**
|
|
851
|
+
* Determines which entity is allowed to update the line items.
|
|
852
|
+
*
|
|
853
|
+
* 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.
|
|
854
|
+
*
|
|
855
|
+
* 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.
|
|
856
|
+
*/
|
|
857
|
+
update_line_items?: Permissions.UpdateLineItems | null;
|
|
614
858
|
/**
|
|
615
859
|
* Determines which entity is allowed to update the shipping details.
|
|
616
860
|
*
|
|
@@ -636,12 +880,22 @@ export declare namespace Session {
|
|
|
636
880
|
*/
|
|
637
881
|
presentment_currency: string;
|
|
638
882
|
}
|
|
883
|
+
interface Redaction {
|
|
884
|
+
/**
|
|
885
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
886
|
+
*/
|
|
887
|
+
status: Redaction.Status;
|
|
888
|
+
}
|
|
639
889
|
type RedirectOnCompletion = 'always' | 'if_required' | 'never' | OtherString;
|
|
640
890
|
interface SavedPaymentMethodOptions {
|
|
641
891
|
/**
|
|
642
892
|
* Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with 'allow_redisplay: ‘always' are shown in Checkout.
|
|
643
893
|
*/
|
|
644
894
|
allow_redisplay_filters: Array<SavedPaymentMethodOptions.AllowRedisplayFilter> | null;
|
|
895
|
+
/**
|
|
896
|
+
* The ID of a saved payment method to select when the Payment Element renders, for example `pm_1MqLiJLkdIwHu7ixUEgbFdYF`. Takes precedence over the customer's default payment method. If the ID doesn't match one of the payment methods the Element is displaying, the Element selects a payment method as it normally would and no error is returned. Preselecting a payment method never changes which payment methods the Element displays, and never modifies the payment method, the customer, or this session. The preselection is fixed once set. To preselect a different payment method, create a new session. An Element that's already on the page keeps its current selection.
|
|
897
|
+
*/
|
|
898
|
+
payment_method_preselect?: string | null;
|
|
645
899
|
/**
|
|
646
900
|
* Enable customers to choose if they wish to remove their saved payment methods. Disabled by default.
|
|
647
901
|
*/
|
|
@@ -689,9 +943,27 @@ export declare namespace Session {
|
|
|
689
943
|
* The shipping rate.
|
|
690
944
|
*/
|
|
691
945
|
shipping_rate: string | ShippingRate;
|
|
946
|
+
/**
|
|
947
|
+
* The tax rates applied to this shipping option.
|
|
948
|
+
*/
|
|
949
|
+
tax_rates?: Array<string>;
|
|
692
950
|
}
|
|
693
951
|
type Status = 'complete' | 'expired' | 'open' | OtherString;
|
|
694
952
|
type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe' | OtherString;
|
|
953
|
+
interface SurchargeCost {
|
|
954
|
+
/**
|
|
955
|
+
* Total surcharge cost before taxes are applied.
|
|
956
|
+
*/
|
|
957
|
+
amount_subtotal: number;
|
|
958
|
+
/**
|
|
959
|
+
* Total tax amount applied due to surcharging. If no tax was applied, defaults to 0.
|
|
960
|
+
*/
|
|
961
|
+
amount_tax: number;
|
|
962
|
+
/**
|
|
963
|
+
* Total surcharge cost after taxes are applied.
|
|
964
|
+
*/
|
|
965
|
+
amount_total: number;
|
|
966
|
+
}
|
|
695
967
|
interface TaxIdCollection {
|
|
696
968
|
/**
|
|
697
969
|
* Indicates whether tax ID collection is enabled for the session
|
|
@@ -711,6 +983,10 @@ export declare namespace Session {
|
|
|
711
983
|
* This is the sum of all the shipping amounts.
|
|
712
984
|
*/
|
|
713
985
|
amount_shipping: number | null;
|
|
986
|
+
/**
|
|
987
|
+
* The surcharge amount that was applied to the Checkout Session.
|
|
988
|
+
*/
|
|
989
|
+
amount_surcharge?: number;
|
|
714
990
|
/**
|
|
715
991
|
* This is the sum of all the tax amounts.
|
|
716
992
|
*/
|
|
@@ -743,7 +1019,29 @@ export declare namespace Session {
|
|
|
743
1019
|
url: string | null;
|
|
744
1020
|
}
|
|
745
1021
|
}
|
|
1022
|
+
namespace AutomaticPassThroughFee {
|
|
1023
|
+
type CalculationBasis = 'total_after_tax' | 'total_before_tax' | OtherString;
|
|
1024
|
+
type Status = 'complete' | 'failed' | 'not_applicable' | 'requires_input';
|
|
1025
|
+
type Type = 'convenience_fee' | 'service_fee' | OtherString;
|
|
1026
|
+
}
|
|
1027
|
+
namespace AutomaticSurcharge {
|
|
1028
|
+
type CalculationBasis = 'total_after_tax' | 'total_before_tax' | OtherString;
|
|
1029
|
+
type Provider = 'daikin' | 'interpayments' | 'proserv' | 'yeeld' | OtherString;
|
|
1030
|
+
type Status = 'complete' | 'failed' | 'requires_input' | OtherString;
|
|
1031
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
|
|
1032
|
+
}
|
|
746
1033
|
namespace AutomaticTax {
|
|
1034
|
+
type AddressCollectionPrecision = 'full' | 'minimal';
|
|
1035
|
+
interface EnablementDetails {
|
|
1036
|
+
/**
|
|
1037
|
+
* Present when `source=tax_integration_configuration` and `automatic_tax[enabled]=false`.
|
|
1038
|
+
*/
|
|
1039
|
+
integration_configuration_disabled_reason: EnablementDetails.IntegrationConfigurationDisabledReason | null;
|
|
1040
|
+
/**
|
|
1041
|
+
* How `automatic_tax` was set: `explicit`, `managed_payments`, or `tax_integration_configuration`.
|
|
1042
|
+
*/
|
|
1043
|
+
source: EnablementDetails.Source;
|
|
1044
|
+
}
|
|
747
1045
|
interface Liability {
|
|
748
1046
|
/**
|
|
749
1047
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -755,8 +1053,17 @@ export declare namespace Session {
|
|
|
755
1053
|
type: Liability.Type;
|
|
756
1054
|
}
|
|
757
1055
|
type Status = 'complete' | 'failed' | 'requires_location_inputs' | OtherString;
|
|
1056
|
+
namespace EnablementDetails {
|
|
1057
|
+
interface IntegrationConfigurationDisabledReason {
|
|
1058
|
+
/**
|
|
1059
|
+
* The parameter that prevented `automatic_tax` from being enabled (for example `line_items[][tax_rates]`).
|
|
1060
|
+
*/
|
|
1061
|
+
conflicting_field: string;
|
|
1062
|
+
}
|
|
1063
|
+
type Source = 'explicit' | 'managed_payments' | 'tax_integration_configuration';
|
|
1064
|
+
}
|
|
758
1065
|
namespace Liability {
|
|
759
|
-
type Type = 'account' | 'self' | OtherString;
|
|
1066
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
760
1067
|
}
|
|
761
1068
|
}
|
|
762
1069
|
namespace BrandingSettings {
|
|
@@ -796,6 +1103,37 @@ export declare namespace Session {
|
|
|
796
1103
|
type Type = 'file' | 'url' | OtherString;
|
|
797
1104
|
}
|
|
798
1105
|
}
|
|
1106
|
+
namespace CheckoutItem {
|
|
1107
|
+
type Type = 'rate_card_subscription_item' | 'pricing_plan_subscription_item';
|
|
1108
|
+
interface RateCardSubscriptionItem {
|
|
1109
|
+
rate_card: string;
|
|
1110
|
+
metadata: Metadata;
|
|
1111
|
+
rate_card_version: string;
|
|
1112
|
+
billing_cadence?: string;
|
|
1113
|
+
rate_card_subscription?: string;
|
|
1114
|
+
}
|
|
1115
|
+
interface PricingPlanSubscriptionItem {
|
|
1116
|
+
pricing_plan: string;
|
|
1117
|
+
pricing_plan_version: string;
|
|
1118
|
+
metadata: Metadata;
|
|
1119
|
+
component_configurations: {
|
|
1120
|
+
[key: string]: PricingPlanSubscriptionItem.ComponentConfigurations;
|
|
1121
|
+
};
|
|
1122
|
+
pricing_plan_subscription?: string;
|
|
1123
|
+
billing_cadence?: string;
|
|
1124
|
+
}
|
|
1125
|
+
namespace PricingPlanSubscriptionItem {
|
|
1126
|
+
interface ComponentConfigurations {
|
|
1127
|
+
type: 'license_fee_component';
|
|
1128
|
+
license_fee_component?: ComponentConfigurations.LicenseFeeComponent;
|
|
1129
|
+
}
|
|
1130
|
+
namespace ComponentConfigurations {
|
|
1131
|
+
interface LicenseFeeComponent {
|
|
1132
|
+
quantity: number;
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
799
1137
|
namespace CollectedInformation {
|
|
800
1138
|
interface ShippingDetails {
|
|
801
1139
|
address: Address;
|
|
@@ -804,6 +1142,19 @@ export declare namespace Session {
|
|
|
804
1142
|
*/
|
|
805
1143
|
name: string;
|
|
806
1144
|
}
|
|
1145
|
+
interface TaxId {
|
|
1146
|
+
/**
|
|
1147
|
+
* 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`, `au_acn`, `nz_bn`, `pt_nif`, `cz_dic`, `fr_siret`, `fr_siren`, `fr_spi`, `sm_coe`, `tt_vat`, `tt_bir`, `mu_vat`, `mz_nuit`, `au_wpn`, `md_cf`, `is_kt`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, `ic_nif`, `gh_tin`, `bw_vat`, `ci_vat`, or `unknown`
|
|
1148
|
+
*/
|
|
1149
|
+
type: TaxId.Type;
|
|
1150
|
+
/**
|
|
1151
|
+
* The value of the tax ID.
|
|
1152
|
+
*/
|
|
1153
|
+
value: string | null;
|
|
1154
|
+
}
|
|
1155
|
+
namespace TaxId {
|
|
1156
|
+
type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_acn' | 'au_arn' | 'au_wpn' | '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' | 'bw_vat' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'ci_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'cz_dic' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'fr_siren' | 'fr_siret' | 'fr_spi' | 'gb_vat' | 'ge_vat' | 'gh_tin' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'ic_nif' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_kt' | '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_cf' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mu_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'mz_nuit' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_bn' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'pt_nif' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sm_coe' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tt_bir' | 'tt_vat' | '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' | OtherString;
|
|
1157
|
+
}
|
|
807
1158
|
}
|
|
808
1159
|
namespace Consent {
|
|
809
1160
|
type Promotions = 'opt_in' | 'opt_out' | OtherString;
|
|
@@ -823,6 +1174,144 @@ export declare namespace Session {
|
|
|
823
1174
|
type Position = 'auto' | 'hidden' | OtherString;
|
|
824
1175
|
}
|
|
825
1176
|
}
|
|
1177
|
+
namespace CurrentAttempt {
|
|
1178
|
+
interface BillingDetails {
|
|
1179
|
+
address: Address;
|
|
1180
|
+
/**
|
|
1181
|
+
* Customer name.
|
|
1182
|
+
*/
|
|
1183
|
+
name: string | null;
|
|
1184
|
+
}
|
|
1185
|
+
interface PaymentMethodDetails {
|
|
1186
|
+
/**
|
|
1187
|
+
* Indicates whether this payment method can be shown again to its customer in a checkout flow.
|
|
1188
|
+
*/
|
|
1189
|
+
allow_redisplay: PaymentMethodDetails.AllowRedisplay;
|
|
1190
|
+
au_becs_debit?: PaymentMethodDetails.AuBecsDebit;
|
|
1191
|
+
bacs_debit?: PaymentMethodDetails.BacsDebit;
|
|
1192
|
+
boleto?: PaymentMethodDetails.Boleto;
|
|
1193
|
+
card?: PaymentMethodDetails.Card;
|
|
1194
|
+
custom?: PaymentMethodDetails.Custom;
|
|
1195
|
+
link?: PaymentMethodDetails.Link;
|
|
1196
|
+
pix?: PaymentMethodDetails.Pix;
|
|
1197
|
+
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
1198
|
+
/**
|
|
1199
|
+
* 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.
|
|
1200
|
+
*/
|
|
1201
|
+
type: string;
|
|
1202
|
+
us_bank_account?: PaymentMethodDetails.UsBankAccount;
|
|
1203
|
+
}
|
|
1204
|
+
interface ShippingDetails {
|
|
1205
|
+
address: Address;
|
|
1206
|
+
/**
|
|
1207
|
+
* Customer name.
|
|
1208
|
+
*/
|
|
1209
|
+
name: string;
|
|
1210
|
+
}
|
|
1211
|
+
namespace PaymentMethodDetails {
|
|
1212
|
+
type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
1213
|
+
interface AuBecsDebit {
|
|
1214
|
+
/**
|
|
1215
|
+
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1216
|
+
*/
|
|
1217
|
+
fingerprint: string | null;
|
|
1218
|
+
}
|
|
1219
|
+
interface BacsDebit {
|
|
1220
|
+
/**
|
|
1221
|
+
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1222
|
+
*/
|
|
1223
|
+
fingerprint: string | null;
|
|
1224
|
+
}
|
|
1225
|
+
interface Boleto {
|
|
1226
|
+
/**
|
|
1227
|
+
* Uniquely identifies this particular boleto payment method. You can use this attribute to check whether two boleto payment methods are the same.
|
|
1228
|
+
*/
|
|
1229
|
+
fingerprint: string | null;
|
|
1230
|
+
}
|
|
1231
|
+
interface Card {
|
|
1232
|
+
/**
|
|
1233
|
+
* The brand of the card, accounting for customer's brand choice on dual-branded cards.
|
|
1234
|
+
*/
|
|
1235
|
+
brand: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* 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.
|
|
1238
|
+
*/
|
|
1239
|
+
country: string | null;
|
|
1240
|
+
/**
|
|
1241
|
+
* Two-digit number representing the card's expiration month.
|
|
1242
|
+
*/
|
|
1243
|
+
exp_month: number;
|
|
1244
|
+
/**
|
|
1245
|
+
* Four-digit number representing the card's expiration year.
|
|
1246
|
+
*/
|
|
1247
|
+
exp_year: number;
|
|
1248
|
+
/**
|
|
1249
|
+
* 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.
|
|
1250
|
+
*
|
|
1251
|
+
* *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.*
|
|
1252
|
+
*/
|
|
1253
|
+
fingerprint: string | null;
|
|
1254
|
+
/**
|
|
1255
|
+
* Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
1256
|
+
*/
|
|
1257
|
+
funding: Card.Funding;
|
|
1258
|
+
/**
|
|
1259
|
+
* Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
1260
|
+
*/
|
|
1261
|
+
iin?: string | null;
|
|
1262
|
+
/**
|
|
1263
|
+
* The last four digits of the card.
|
|
1264
|
+
*/
|
|
1265
|
+
last4: string;
|
|
1266
|
+
/**
|
|
1267
|
+
* If this Card is part of a card wallet, this contains the details of the card wallet.
|
|
1268
|
+
*/
|
|
1269
|
+
wallet: Card.Wallet | null;
|
|
1270
|
+
}
|
|
1271
|
+
interface Custom {
|
|
1272
|
+
/**
|
|
1273
|
+
* ID of the Dashboard-only CustomPaymentMethodType. Not expandable.
|
|
1274
|
+
*/
|
|
1275
|
+
type: string;
|
|
1276
|
+
}
|
|
1277
|
+
interface Link {
|
|
1278
|
+
/**
|
|
1279
|
+
* Unique, encrypted bank account identifier.
|
|
1280
|
+
*/
|
|
1281
|
+
fingerprint?: string | null;
|
|
1282
|
+
}
|
|
1283
|
+
interface Pix {
|
|
1284
|
+
/**
|
|
1285
|
+
* Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.
|
|
1286
|
+
*/
|
|
1287
|
+
fingerprint: string | null;
|
|
1288
|
+
}
|
|
1289
|
+
interface SepaDebit {
|
|
1290
|
+
/**
|
|
1291
|
+
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1292
|
+
*/
|
|
1293
|
+
fingerprint: string | null;
|
|
1294
|
+
}
|
|
1295
|
+
interface UsBankAccount {
|
|
1296
|
+
/**
|
|
1297
|
+
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1298
|
+
*/
|
|
1299
|
+
fingerprint: string | null;
|
|
1300
|
+
}
|
|
1301
|
+
namespace Card {
|
|
1302
|
+
type Funding = 'credit' | 'debit' | 'prepaid' | 'unknown' | OtherString;
|
|
1303
|
+
interface Wallet {
|
|
1304
|
+
/**
|
|
1305
|
+
* The type of the wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, `meta_pay`, or `link`.
|
|
1306
|
+
*/
|
|
1307
|
+
type: Wallet.Type;
|
|
1308
|
+
}
|
|
1309
|
+
namespace Wallet {
|
|
1310
|
+
type Type = 'amex_express_checkout' | 'apple_pay' | 'google_pay' | 'link' | 'masterpass' | 'meta_pay' | 'samsung_pay' | 'visa_checkout' | OtherString;
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
826
1315
|
namespace CustomerDetails {
|
|
827
1316
|
type TaxExempt = 'exempt' | 'none' | 'reverse' | OtherString;
|
|
828
1317
|
interface TaxId {
|
|
@@ -1003,28 +1492,371 @@ export declare namespace Session {
|
|
|
1003
1492
|
template: string | null;
|
|
1004
1493
|
}
|
|
1005
1494
|
namespace Issuer {
|
|
1006
|
-
type Type = 'account' | 'self' | OtherString;
|
|
1495
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
1007
1496
|
}
|
|
1008
1497
|
}
|
|
1009
1498
|
}
|
|
1010
|
-
namespace
|
|
1011
|
-
interface
|
|
1499
|
+
namespace Item {
|
|
1500
|
+
interface MetronomeCommit {
|
|
1012
1501
|
/**
|
|
1013
|
-
*
|
|
1502
|
+
* The list of commits for this Metronome contract.
|
|
1014
1503
|
*/
|
|
1015
|
-
|
|
1504
|
+
commits: Array<MetronomeCommit.Commit>;
|
|
1016
1505
|
/**
|
|
1017
|
-
*
|
|
1506
|
+
* The Metronome contract ID associated with this checkout item.
|
|
1018
1507
|
*/
|
|
1019
|
-
|
|
1508
|
+
metronome_contract: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* The Metronome customer ID associated with this checkout item, resolved during validation.
|
|
1511
|
+
*/
|
|
1512
|
+
metronome_customer: string | null;
|
|
1513
|
+
price_configuration: MetronomeCommit.PriceConfiguration;
|
|
1020
1514
|
}
|
|
1021
|
-
interface
|
|
1515
|
+
interface Subscription {
|
|
1022
1516
|
/**
|
|
1023
|
-
*
|
|
1517
|
+
* The Unix timestamp marking the subscription's backdated start date.
|
|
1024
1518
|
*/
|
|
1025
|
-
|
|
1519
|
+
backdate_start_date: number | null;
|
|
1026
1520
|
/**
|
|
1027
|
-
*
|
|
1521
|
+
* The description for the subscription.
|
|
1522
|
+
*/
|
|
1523
|
+
description: string | null;
|
|
1524
|
+
/**
|
|
1525
|
+
* The items in the subscription.
|
|
1526
|
+
*/
|
|
1527
|
+
items: Array<Subscription.Item>;
|
|
1528
|
+
/**
|
|
1529
|
+
* Set of key-value pairs attached to the subscription.
|
|
1530
|
+
*/
|
|
1531
|
+
metadata: Metadata | null;
|
|
1532
|
+
/**
|
|
1533
|
+
* Specifies an interval for how often to bill for any pending invoice items.
|
|
1534
|
+
*/
|
|
1535
|
+
pending_invoice_item_interval: Subscription.PendingInvoiceItemInterval | null;
|
|
1536
|
+
/**
|
|
1537
|
+
* Determines how to handle prorations when the subscription is updated.
|
|
1538
|
+
*/
|
|
1539
|
+
proration_behavior: Subscription.ProrationBehavior | null;
|
|
1540
|
+
/**
|
|
1541
|
+
* The ID of the [Subscription](https://docs.stripe.com/api/subscriptions).
|
|
1542
|
+
*/
|
|
1543
|
+
subscription: string | _Subscription | null;
|
|
1544
|
+
/**
|
|
1545
|
+
* The Unix timestamp marking when the trial period ends.
|
|
1546
|
+
*/
|
|
1547
|
+
trial_end: number | null;
|
|
1548
|
+
/**
|
|
1549
|
+
* The number of trial period days before the customer is charged for the first time.
|
|
1550
|
+
*/
|
|
1551
|
+
trial_period_days: number | null;
|
|
1552
|
+
/**
|
|
1553
|
+
* Settings related to subscription trials.
|
|
1554
|
+
*/
|
|
1555
|
+
trial_settings: Subscription.TrialSettings | null;
|
|
1556
|
+
}
|
|
1557
|
+
type Type = 'metronome_commit' | 'subscription' | OtherString;
|
|
1558
|
+
namespace MetronomeCommit {
|
|
1559
|
+
interface Commit {
|
|
1560
|
+
/**
|
|
1561
|
+
* Sets the balance amount and release schedule. Mutually exclusive with `commit_options`.
|
|
1562
|
+
*/
|
|
1563
|
+
access_schedule: Commit.AccessSchedule | null;
|
|
1564
|
+
/**
|
|
1565
|
+
* Metronome product tags this commit can be drawn down against. Products must have all specified tags. If `applicable_metronome_products`, `applicable_metronome_product_tags`, and `specifiers` are all absent, the commit applies to all products. See Metronome's [applicable_product_tags](https://docs.metronome.com/api-reference/contracts/edit-a-contract#body-add-commits-items-applicable-product-tags).
|
|
1566
|
+
*/
|
|
1567
|
+
applicable_metronome_product_tags: Array<string> | null;
|
|
1568
|
+
/**
|
|
1569
|
+
* Metronome product IDs this commit can be drawn down against. If `applicable_metronome_products`, `applicable_metronome_product_tags`, and `specifiers` are all absent, the commit applies to all products. See Metronome's [applicable_product_ids](https://docs.metronome.com/api-reference/contracts/edit-a-contract#body-add-commits-items-applicable-product-ids).
|
|
1570
|
+
*/
|
|
1571
|
+
applicable_metronome_products: Array<string> | null;
|
|
1572
|
+
/**
|
|
1573
|
+
* Customer selects the balance amount to purchase. Mutually exclusive with `access_schedule`.
|
|
1574
|
+
*/
|
|
1575
|
+
commit_options: Commit.CommitOptions | null;
|
|
1576
|
+
/**
|
|
1577
|
+
* The Metronome Custom Pricing Unit credit type ID for this commit. Null when the commit prices in fiat.
|
|
1578
|
+
*/
|
|
1579
|
+
credit_type_id: string | null;
|
|
1580
|
+
/**
|
|
1581
|
+
* Key-value pairs forwarded to the Metronome commit's [custom_fields](https://docs.metronome.com/api-reference/contracts/edit-a-contract#body-add-commits-items-custom-fields).
|
|
1582
|
+
*/
|
|
1583
|
+
custom_fields: {
|
|
1584
|
+
[key: string]: string;
|
|
1585
|
+
} | null;
|
|
1586
|
+
/**
|
|
1587
|
+
* Free-form description. Forwarded to the Metronome commit's description.
|
|
1588
|
+
*/
|
|
1589
|
+
description: string | null;
|
|
1590
|
+
/**
|
|
1591
|
+
* The Metronome commit ID, populated after successful activation.
|
|
1592
|
+
*/
|
|
1593
|
+
metronome_commit: string | null;
|
|
1594
|
+
/**
|
|
1595
|
+
* The Metronome product ID for this commit.
|
|
1596
|
+
*/
|
|
1597
|
+
metronome_product: string;
|
|
1598
|
+
/**
|
|
1599
|
+
* Display name for the commit. Surfaced on the Metronome commit's name.
|
|
1600
|
+
*/
|
|
1601
|
+
name: string;
|
|
1602
|
+
/**
|
|
1603
|
+
* Priority for applying the commit. Lower priority values apply first. Forwarded to Metronome as-is.
|
|
1604
|
+
*/
|
|
1605
|
+
priority: Decimal | null;
|
|
1606
|
+
/**
|
|
1607
|
+
* Specifies which rates are used to draw down the commit. Accepts `commit_rate`, `list_rate`, `COMMIT_RATE`, or `LIST_RATE`.
|
|
1608
|
+
*/
|
|
1609
|
+
rate_type: string | null;
|
|
1610
|
+
/**
|
|
1611
|
+
* Fraction of unused balance that rolls over on a Metronome contract transition. Must be between `0` and `1`. Forwarded to Metronome as-is.
|
|
1612
|
+
*/
|
|
1613
|
+
rollover_fraction: Decimal | null;
|
|
1614
|
+
/**
|
|
1615
|
+
* Usage filters that determine what draws down the commit. If `applicable_metronome_products`, `applicable_metronome_product_tags`, and `specifiers` are all absent, the commit applies to all products. See Metronome's [specifiers](https://docs.metronome.com/api-reference/contracts/edit-a-contract#body-add-commits-items-specifiers).
|
|
1616
|
+
*/
|
|
1617
|
+
specifiers: Array<Commit.Specifier> | null;
|
|
1618
|
+
/**
|
|
1619
|
+
* Tax details for the Stripe product created for this commit. If provided, `tax_code` is required.
|
|
1620
|
+
*/
|
|
1621
|
+
tax_details: Commit.TaxDetails | null;
|
|
1622
|
+
}
|
|
1623
|
+
interface PriceConfiguration {
|
|
1624
|
+
/**
|
|
1625
|
+
* The currency for this commit purchase, as an ISO 4217 lowercase string (for example, `usd`).
|
|
1626
|
+
*/
|
|
1627
|
+
currency: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* Specifies whether the price is considered inclusive or exclusive of taxes. When omitted and automatic tax is enabled, uses `tax_settings.defaults.tax_behavior`. If no default is set, the request returns an error.
|
|
1630
|
+
*/
|
|
1631
|
+
tax_behavior: PriceConfiguration.TaxBehavior | null;
|
|
1632
|
+
}
|
|
1633
|
+
namespace Commit {
|
|
1634
|
+
interface AccessSchedule {
|
|
1635
|
+
/**
|
|
1636
|
+
* The fixed price the buyer pays, in minor currency units.
|
|
1637
|
+
*/
|
|
1638
|
+
price_amount: number;
|
|
1639
|
+
/**
|
|
1640
|
+
* When and how many credits become available.
|
|
1641
|
+
*/
|
|
1642
|
+
schedule_items: Array<AccessSchedule.ScheduleItem>;
|
|
1643
|
+
}
|
|
1644
|
+
interface CommitOptions {
|
|
1645
|
+
/**
|
|
1646
|
+
* Custom access amount configuration.
|
|
1647
|
+
*/
|
|
1648
|
+
custom_amount: CommitOptions.CustomAmount | null;
|
|
1649
|
+
/**
|
|
1650
|
+
* Volume-based discount tiers.
|
|
1651
|
+
*/
|
|
1652
|
+
discount_tiers: Array<CommitOptions.DiscountTier> | null;
|
|
1653
|
+
/**
|
|
1654
|
+
* When access for the purchased credits ends.
|
|
1655
|
+
*/
|
|
1656
|
+
ending_before: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* Access-amount presets for the buyer to choose from.
|
|
1659
|
+
*/
|
|
1660
|
+
options: Array<CommitOptions.Option>;
|
|
1661
|
+
/**
|
|
1662
|
+
* The selected access amount. It matches an `options[].access_amount` for a preset selection, but may be a custom value when `custom_amount` is enabled. New sessions initialize it from the option marked `default_option`, or from the first option when none is marked. It is not necessarily the item's monetary price; use `amount_details` for display and totals.
|
|
1663
|
+
*/
|
|
1664
|
+
selected_access_amount: number | null;
|
|
1665
|
+
/**
|
|
1666
|
+
* When access for the purchased credits starts.
|
|
1667
|
+
*/
|
|
1668
|
+
starting_at: string;
|
|
1669
|
+
}
|
|
1670
|
+
interface Specifier {
|
|
1671
|
+
/**
|
|
1672
|
+
* Key-value pairs for presentation group filters.
|
|
1673
|
+
*/
|
|
1674
|
+
presentation_group_values: {
|
|
1675
|
+
[key: string]: string;
|
|
1676
|
+
} | null;
|
|
1677
|
+
/**
|
|
1678
|
+
* Key-value pairs for pricing group filters.
|
|
1679
|
+
*/
|
|
1680
|
+
pricing_group_values: {
|
|
1681
|
+
[key: string]: string;
|
|
1682
|
+
} | null;
|
|
1683
|
+
/**
|
|
1684
|
+
* Metronome product ID to scope this specifier to.
|
|
1685
|
+
*/
|
|
1686
|
+
product_id: string | null;
|
|
1687
|
+
/**
|
|
1688
|
+
* Metronome product tags to scope this specifier to. Products must have all specified tags.
|
|
1689
|
+
*/
|
|
1690
|
+
product_tags: Array<string> | null;
|
|
1691
|
+
}
|
|
1692
|
+
interface TaxDetails {
|
|
1693
|
+
/**
|
|
1694
|
+
* Stripe [tax code](https://docs.stripe.com/tax/tax-codes) for this commit (for example, `txcd_10103000`).
|
|
1695
|
+
*/
|
|
1696
|
+
tax_code: string;
|
|
1697
|
+
}
|
|
1698
|
+
namespace AccessSchedule {
|
|
1699
|
+
interface ScheduleItem {
|
|
1700
|
+
/**
|
|
1701
|
+
* The access amount in credit_type_id units.
|
|
1702
|
+
*/
|
|
1703
|
+
amount: Decimal;
|
|
1704
|
+
/**
|
|
1705
|
+
* Hour-aligned RFC 3339 timestamp in UTC at which access to the balance amount ends (exclusive).
|
|
1706
|
+
*/
|
|
1707
|
+
ending_before: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* Hour-aligned RFC 3339 timestamp in UTC at which access to the balance amount starts (inclusive).
|
|
1710
|
+
*/
|
|
1711
|
+
starting_at: string;
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
namespace CommitOptions {
|
|
1715
|
+
interface CustomAmount {
|
|
1716
|
+
/**
|
|
1717
|
+
* Whether custom amount input is enabled.
|
|
1718
|
+
*/
|
|
1719
|
+
enabled: boolean;
|
|
1720
|
+
/**
|
|
1721
|
+
* Maximum `access_amount` the customer can enter. `null` means the effective maximum is `999999999999999`.
|
|
1722
|
+
*/
|
|
1723
|
+
maximum: number | null;
|
|
1724
|
+
/**
|
|
1725
|
+
* Minimum `access_amount` the customer can enter. `null` means the effective minimum is `1`.
|
|
1726
|
+
*/
|
|
1727
|
+
minimum: number | null;
|
|
1728
|
+
}
|
|
1729
|
+
interface DiscountTier {
|
|
1730
|
+
/**
|
|
1731
|
+
* Percentage discount applied to the full access_amount.
|
|
1732
|
+
*/
|
|
1733
|
+
discount_percentage: number;
|
|
1734
|
+
/**
|
|
1735
|
+
* Upper bound (inclusive) in credit_type_id units. Null means unbounded.
|
|
1736
|
+
*/
|
|
1737
|
+
up_to: number | null;
|
|
1738
|
+
}
|
|
1739
|
+
interface Option {
|
|
1740
|
+
/**
|
|
1741
|
+
* The access amount for this option.
|
|
1742
|
+
*/
|
|
1743
|
+
access_amount: number;
|
|
1744
|
+
/**
|
|
1745
|
+
* Whether this option is pre-selected in the Checkout UI.
|
|
1746
|
+
*/
|
|
1747
|
+
default_option: boolean | null;
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
namespace PriceConfiguration {
|
|
1752
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | OtherString;
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
namespace Subscription {
|
|
1756
|
+
interface Item {
|
|
1757
|
+
/**
|
|
1758
|
+
* The adjustable quantity settings for this subscription item.
|
|
1759
|
+
*/
|
|
1760
|
+
adjustable_quantity?: Item.AdjustableQuantity | null;
|
|
1761
|
+
/**
|
|
1762
|
+
* The trial offer applied to this subscription item.
|
|
1763
|
+
*/
|
|
1764
|
+
current_trial: Item.CurrentTrial | null;
|
|
1765
|
+
/**
|
|
1766
|
+
* The price for this subscription item.
|
|
1767
|
+
*/
|
|
1768
|
+
price: string | Price;
|
|
1769
|
+
/**
|
|
1770
|
+
* The quantity for this subscription item.
|
|
1771
|
+
*/
|
|
1772
|
+
quantity: number | null;
|
|
1773
|
+
}
|
|
1774
|
+
interface PendingInvoiceItemInterval {
|
|
1775
|
+
/**
|
|
1776
|
+
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
1777
|
+
*/
|
|
1778
|
+
interval: PendingInvoiceItemInterval.Interval;
|
|
1779
|
+
/**
|
|
1780
|
+
* 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).
|
|
1781
|
+
*/
|
|
1782
|
+
interval_count: number;
|
|
1783
|
+
}
|
|
1784
|
+
type ProrationBehavior = 'create_prorations' | 'none' | OtherString;
|
|
1785
|
+
interface TrialSettings {
|
|
1786
|
+
/**
|
|
1787
|
+
* Defines how a subscription behaves when a free trial ends.
|
|
1788
|
+
*/
|
|
1789
|
+
end_behavior: TrialSettings.EndBehavior;
|
|
1790
|
+
}
|
|
1791
|
+
namespace Item {
|
|
1792
|
+
interface AdjustableQuantity {
|
|
1793
|
+
/**
|
|
1794
|
+
* Whether the quantity is adjustable.
|
|
1795
|
+
*/
|
|
1796
|
+
enabled: boolean;
|
|
1797
|
+
/**
|
|
1798
|
+
* The maximum quantity the customer can purchase.
|
|
1799
|
+
*/
|
|
1800
|
+
maximum: number | null;
|
|
1801
|
+
/**
|
|
1802
|
+
* The minimum quantity the customer can purchase.
|
|
1803
|
+
*/
|
|
1804
|
+
minimum: number | null;
|
|
1805
|
+
}
|
|
1806
|
+
interface CurrentTrial {
|
|
1807
|
+
/**
|
|
1808
|
+
* The ID of the trial offer applied to this subscription item.
|
|
1809
|
+
*/
|
|
1810
|
+
trial_offer: string;
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
namespace PendingInvoiceItemInterval {
|
|
1814
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1815
|
+
}
|
|
1816
|
+
namespace TrialSettings {
|
|
1817
|
+
interface EndBehavior {
|
|
1818
|
+
/**
|
|
1819
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
|
|
1820
|
+
*/
|
|
1821
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
|
|
1822
|
+
/**
|
|
1823
|
+
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
1824
|
+
*/
|
|
1825
|
+
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
1826
|
+
}
|
|
1827
|
+
namespace EndBehavior {
|
|
1828
|
+
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
1829
|
+
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
}
|
|
1834
|
+
namespace MarketingAttribution {
|
|
1835
|
+
interface AdConversion {
|
|
1836
|
+
/**
|
|
1837
|
+
* Whether the customer consented to sending conversion data to an advertising platform.
|
|
1838
|
+
*/
|
|
1839
|
+
consent_collected: boolean;
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
namespace NameCollection {
|
|
1843
|
+
interface Business {
|
|
1844
|
+
/**
|
|
1845
|
+
* Indicates whether business name collection is enabled for the session
|
|
1846
|
+
*/
|
|
1847
|
+
enabled: boolean;
|
|
1848
|
+
/**
|
|
1849
|
+
* Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.
|
|
1850
|
+
*/
|
|
1851
|
+
optional: boolean;
|
|
1852
|
+
}
|
|
1853
|
+
interface Individual {
|
|
1854
|
+
/**
|
|
1855
|
+
* Indicates whether individual name collection is enabled for the session
|
|
1856
|
+
*/
|
|
1857
|
+
enabled: boolean;
|
|
1858
|
+
/**
|
|
1859
|
+
* Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.
|
|
1028
1860
|
*/
|
|
1029
1861
|
optional: boolean;
|
|
1030
1862
|
}
|
|
@@ -1169,6 +2001,7 @@ export declare namespace Session {
|
|
|
1169
2001
|
* Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
|
|
1170
2002
|
*/
|
|
1171
2003
|
target_date?: string;
|
|
2004
|
+
verification_method?: BacsDebit.VerificationMethod;
|
|
1172
2005
|
}
|
|
1173
2006
|
interface Bancontact {
|
|
1174
2007
|
/**
|
|
@@ -1188,6 +2021,9 @@ export declare namespace Session {
|
|
|
1188
2021
|
*/
|
|
1189
2022
|
capture_method?: 'manual';
|
|
1190
2023
|
}
|
|
2024
|
+
interface Bizum {
|
|
2025
|
+
mandate_options?: Bizum.MandateOptions;
|
|
2026
|
+
}
|
|
1191
2027
|
interface Boleto {
|
|
1192
2028
|
/**
|
|
1193
2029
|
* 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.
|
|
@@ -1210,6 +2046,11 @@ export declare namespace Session {
|
|
|
1210
2046
|
*/
|
|
1211
2047
|
capture_method?: 'manual';
|
|
1212
2048
|
installments?: Card.Installments;
|
|
2049
|
+
mandate_options?: Card.MandateOptions;
|
|
2050
|
+
/**
|
|
2051
|
+
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
2052
|
+
*/
|
|
2053
|
+
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
1213
2054
|
/**
|
|
1214
2055
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1215
2056
|
*/
|
|
@@ -1546,6 +2387,26 @@ export declare namespace Session {
|
|
|
1546
2387
|
* 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).
|
|
1547
2388
|
*/
|
|
1548
2389
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
2390
|
+
/**
|
|
2391
|
+
* 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.
|
|
2392
|
+
*/
|
|
2393
|
+
subsellers?: Array<string>;
|
|
2394
|
+
}
|
|
2395
|
+
interface Paypay {
|
|
2396
|
+
/**
|
|
2397
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2398
|
+
*
|
|
2399
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2400
|
+
*
|
|
2401
|
+
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2402
|
+
*
|
|
2403
|
+
* 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).
|
|
2404
|
+
*/
|
|
2405
|
+
setup_future_usage?: Paypay.SetupFutureUsage;
|
|
2406
|
+
/**
|
|
2407
|
+
* A reference to the merchant subscription this payment corresponds to.
|
|
2408
|
+
*/
|
|
2409
|
+
subscription_reference?: string | null;
|
|
1549
2410
|
}
|
|
1550
2411
|
interface Payto {
|
|
1551
2412
|
mandate_options?: Payto.MandateOptions;
|
|
@@ -1660,6 +2521,18 @@ export declare namespace Session {
|
|
|
1660
2521
|
*/
|
|
1661
2522
|
setup_future_usage?: 'none';
|
|
1662
2523
|
}
|
|
2524
|
+
interface StripeBalance {
|
|
2525
|
+
/**
|
|
2526
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2527
|
+
*
|
|
2528
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2529
|
+
*
|
|
2530
|
+
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2531
|
+
*
|
|
2532
|
+
* 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).
|
|
2533
|
+
*/
|
|
2534
|
+
setup_future_usage?: StripeBalance.SetupFutureUsage;
|
|
2535
|
+
}
|
|
1663
2536
|
interface Sunbit {
|
|
1664
2537
|
/**
|
|
1665
2538
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -1777,7 +2650,7 @@ export declare namespace Session {
|
|
|
1777
2650
|
namespace MandateOptions {
|
|
1778
2651
|
type DefaultFor = 'invoice' | 'subscription' | OtherString;
|
|
1779
2652
|
type PaymentSchedule = 'combined' | 'interval' | 'sporadic' | OtherString;
|
|
1780
|
-
type TransactionType = 'business' | 'personal' | OtherString;
|
|
2653
|
+
type TransactionType = 'business' | 'buyer_choice' | 'personal' | OtherString;
|
|
1781
2654
|
}
|
|
1782
2655
|
}
|
|
1783
2656
|
namespace Alipay {
|
|
@@ -1794,10 +2667,15 @@ export declare namespace Session {
|
|
|
1794
2667
|
reference_prefix?: string;
|
|
1795
2668
|
}
|
|
1796
2669
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
2670
|
+
type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
|
|
1797
2671
|
}
|
|
1798
2672
|
namespace Bancontact {
|
|
1799
2673
|
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
1800
2674
|
}
|
|
2675
|
+
namespace Bizum {
|
|
2676
|
+
interface MandateOptions {
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
1801
2679
|
namespace Boleto {
|
|
1802
2680
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
1803
2681
|
}
|
|
@@ -1808,6 +2686,49 @@ export declare namespace Session {
|
|
|
1808
2686
|
*/
|
|
1809
2687
|
enabled?: boolean;
|
|
1810
2688
|
}
|
|
2689
|
+
interface MandateOptions {
|
|
2690
|
+
/**
|
|
2691
|
+
* Maximum or fixed amount for future payments, in the mandate's currency.
|
|
2692
|
+
*/
|
|
2693
|
+
amount?: number;
|
|
2694
|
+
/**
|
|
2695
|
+
* One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
|
2696
|
+
*/
|
|
2697
|
+
amount_type?: MandateOptions.AmountType;
|
|
2698
|
+
/**
|
|
2699
|
+
* 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).
|
|
2700
|
+
*/
|
|
2701
|
+
currency?: string;
|
|
2702
|
+
/**
|
|
2703
|
+
* A description of the mandate or subscription that is meant to be displayed to the customer.
|
|
2704
|
+
*/
|
|
2705
|
+
description?: string;
|
|
2706
|
+
/**
|
|
2707
|
+
* End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
2708
|
+
*/
|
|
2709
|
+
end_date?: number;
|
|
2710
|
+
/**
|
|
2711
|
+
* Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
|
2712
|
+
*/
|
|
2713
|
+
interval?: MandateOptions.Interval;
|
|
2714
|
+
/**
|
|
2715
|
+
* The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
|
|
2716
|
+
*/
|
|
2717
|
+
interval_count?: number;
|
|
2718
|
+
/**
|
|
2719
|
+
* Unique identifier for the mandate or subscription.
|
|
2720
|
+
*/
|
|
2721
|
+
reference?: string;
|
|
2722
|
+
/**
|
|
2723
|
+
* Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
|
2724
|
+
*/
|
|
2725
|
+
start_date?: number;
|
|
2726
|
+
/**
|
|
2727
|
+
* Specifies the type of mandates supported. Possible values are `india`.
|
|
2728
|
+
*/
|
|
2729
|
+
supported_types?: Array<'india'>;
|
|
2730
|
+
}
|
|
2731
|
+
type RequestDecrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
1811
2732
|
type RequestExtendedAuthorization = 'if_available' | 'never' | OtherString;
|
|
1812
2733
|
type RequestIncrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
1813
2734
|
type RequestMulticapture = 'if_available' | 'never' | OtherString;
|
|
@@ -1824,6 +2745,10 @@ export declare namespace Session {
|
|
|
1824
2745
|
funding_types_blocked?: Array<Restrictions.FundingTypesBlocked>;
|
|
1825
2746
|
}
|
|
1826
2747
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
2748
|
+
namespace MandateOptions {
|
|
2749
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
2750
|
+
type Interval = 'day' | 'month' | 'sporadic' | 'week' | 'year' | OtherString;
|
|
2751
|
+
}
|
|
1827
2752
|
namespace Restrictions {
|
|
1828
2753
|
type BrandsBlocked = 'american_express' | 'discover_global_network' | 'mastercard' | 'visa' | OtherString;
|
|
1829
2754
|
type FundingTypesBlocked = 'credit' | 'debit' | 'prepaid' | OtherString;
|
|
@@ -1875,6 +2800,9 @@ export declare namespace Session {
|
|
|
1875
2800
|
namespace Paypal {
|
|
1876
2801
|
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
1877
2802
|
}
|
|
2803
|
+
namespace Paypay {
|
|
2804
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
2805
|
+
}
|
|
1878
2806
|
namespace Payto {
|
|
1879
2807
|
interface MandateOptions {
|
|
1880
2808
|
/**
|
|
@@ -1968,6 +2896,9 @@ export declare namespace Session {
|
|
|
1968
2896
|
}
|
|
1969
2897
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
1970
2898
|
}
|
|
2899
|
+
namespace StripeBalance {
|
|
2900
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
2901
|
+
}
|
|
1971
2902
|
namespace Twint {
|
|
1972
2903
|
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
1973
2904
|
}
|
|
@@ -1998,6 +2929,7 @@ export declare namespace Session {
|
|
|
1998
2929
|
namespace UsBankAccount {
|
|
1999
2930
|
interface FinancialConnections {
|
|
2000
2931
|
filters?: FinancialConnections.Filters;
|
|
2932
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
2001
2933
|
/**
|
|
2002
2934
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
2003
2935
|
*/
|
|
@@ -2019,21 +2951,95 @@ export declare namespace Session {
|
|
|
2019
2951
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2020
2952
|
*/
|
|
2021
2953
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2954
|
+
/**
|
|
2955
|
+
* The institution to use to filter for possible accounts to link.
|
|
2956
|
+
*/
|
|
2957
|
+
institution?: string;
|
|
2958
|
+
}
|
|
2959
|
+
interface ManualEntry {
|
|
2960
|
+
/**
|
|
2961
|
+
* Settings for configuring manual entry of account details.
|
|
2962
|
+
*/
|
|
2963
|
+
mode?: ManualEntry.Mode;
|
|
2022
2964
|
}
|
|
2023
2965
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
2024
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2966
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
2025
2967
|
namespace Filters {
|
|
2026
2968
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2027
2969
|
}
|
|
2970
|
+
namespace ManualEntry {
|
|
2971
|
+
type Mode = 'automatic' | 'custom' | OtherString;
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
}
|
|
2975
|
+
namespace WechatPay {
|
|
2976
|
+
type Client = 'android' | 'ios' | 'web' | OtherString;
|
|
2977
|
+
type SetupFutureUsage = 'none' | OtherString;
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
namespace PaymentSettings {
|
|
2981
|
+
interface ApplicationFeeData {
|
|
2982
|
+
/**
|
|
2983
|
+
* The application fee amount, in the currency's smallest unit, applied to the initial payment.
|
|
2984
|
+
*/
|
|
2985
|
+
initial_amount: number | null;
|
|
2986
|
+
/**
|
|
2987
|
+
* The percentage of each payment collected as an application fee.
|
|
2988
|
+
*/
|
|
2989
|
+
percentage_decimal: Decimal | null;
|
|
2990
|
+
}
|
|
2991
|
+
type SetupFutureUsage = 'off_session' | 'on_session' | OtherString;
|
|
2992
|
+
interface TransferData {
|
|
2993
|
+
/**
|
|
2994
|
+
* The connected account that receives funds from payments created by this Checkout Session.
|
|
2995
|
+
*/
|
|
2996
|
+
destination: string;
|
|
2997
|
+
/**
|
|
2998
|
+
* Configures the amount transferred to the destination account.
|
|
2999
|
+
*/
|
|
3000
|
+
transfer_amount: TransferData.TransferAmount | null;
|
|
3001
|
+
}
|
|
3002
|
+
namespace TransferData {
|
|
3003
|
+
interface TransferAmount {
|
|
3004
|
+
/**
|
|
3005
|
+
* The amount, in the currency's smallest unit, transferred from the initial payment.
|
|
3006
|
+
*/
|
|
3007
|
+
initial_amount: number | null;
|
|
3008
|
+
/**
|
|
3009
|
+
* The percentage of each payment transferred to the destination account.
|
|
3010
|
+
*/
|
|
3011
|
+
percentage_decimal: Decimal | null;
|
|
2028
3012
|
}
|
|
2029
3013
|
}
|
|
2030
|
-
namespace WechatPay {
|
|
2031
|
-
type Client = 'android' | 'ios' | 'web' | OtherString;
|
|
2032
|
-
type SetupFutureUsage = 'none' | OtherString;
|
|
2033
|
-
}
|
|
2034
3014
|
}
|
|
2035
3015
|
namespace Permissions {
|
|
3016
|
+
interface Update {
|
|
3017
|
+
/**
|
|
3018
|
+
* Determines which entity is allowed to update the line items.
|
|
3019
|
+
*
|
|
3020
|
+
* 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.
|
|
3021
|
+
*
|
|
3022
|
+
* 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.
|
|
3023
|
+
*/
|
|
3024
|
+
line_items?: Update.LineItems | null;
|
|
3025
|
+
/**
|
|
3026
|
+
* Determines which entity is allowed to update the shipping details.
|
|
3027
|
+
*
|
|
3028
|
+
* 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.
|
|
3029
|
+
*
|
|
3030
|
+
* This parameter is only supported when `ui_mode=elements`.
|
|
3031
|
+
*/
|
|
3032
|
+
shipping_details: Update.ShippingDetails | null;
|
|
3033
|
+
}
|
|
3034
|
+
type UpdateLineItems = 'client_only' | 'server_only' | OtherString;
|
|
2036
3035
|
type UpdateShippingDetails = 'client_only' | 'server_only' | OtherString;
|
|
3036
|
+
namespace Update {
|
|
3037
|
+
type LineItems = 'client_only' | 'server_only' | OtherString;
|
|
3038
|
+
type ShippingDetails = 'client_only' | 'server_only' | OtherString;
|
|
3039
|
+
}
|
|
3040
|
+
}
|
|
3041
|
+
namespace Redaction {
|
|
3042
|
+
type Status = 'processing' | 'redacted' | 'validated' | OtherString;
|
|
2037
3043
|
}
|
|
2038
3044
|
namespace SavedPaymentMethodOptions {
|
|
2039
3045
|
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
@@ -2155,6 +3161,22 @@ export declare namespace Checkout {
|
|
|
2155
3161
|
* are both dynamically eligible and present in this list will be offered to the customer.
|
|
2156
3162
|
*/
|
|
2157
3163
|
allowed_payment_method_types?: Array<SessionCreateParams.AllowedPaymentMethodType>;
|
|
3164
|
+
/**
|
|
3165
|
+
* Determines whether the customer's attempt to pay must be manually approved.
|
|
3166
|
+
*
|
|
3167
|
+
* Default is `auto`, when the customer's attempt to pay is approved automatically with no action required on your server.
|
|
3168
|
+
*
|
|
3169
|
+
* When set to `manual`, you must approve the customer's attempt to pay by calling [approve](https://docs.stripe.com/api/checkout/sessions/approve) from your server.
|
|
3170
|
+
*/
|
|
3171
|
+
approval_method?: SessionCreateParams.ApprovalMethod;
|
|
3172
|
+
/**
|
|
3173
|
+
* Settings for calculating and adding a pass-through fee (a convenience or service fee) to this session.
|
|
3174
|
+
*/
|
|
3175
|
+
automatic_pass_through_fee?: SessionCreateParams.AutomaticPassThroughFee;
|
|
3176
|
+
/**
|
|
3177
|
+
* Settings for automatic surcharge calculation for this session.
|
|
3178
|
+
*/
|
|
3179
|
+
automatic_surcharge?: SessionCreateParams.AutomaticSurcharge;
|
|
2158
3180
|
/**
|
|
2159
3181
|
* Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
|
2160
3182
|
*/
|
|
@@ -2171,6 +3193,7 @@ export declare namespace Checkout {
|
|
|
2171
3193
|
* 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`.
|
|
2172
3194
|
*/
|
|
2173
3195
|
cancel_url?: string;
|
|
3196
|
+
checkout_items?: Array<SessionCreateParams.CheckoutItem>;
|
|
2174
3197
|
/**
|
|
2175
3198
|
* A unique string to reference the Checkout Session. This can be a
|
|
2176
3199
|
* customer ID, a cart ID, or similar, and can be used to reconcile the
|
|
@@ -2189,6 +3212,20 @@ export declare namespace Checkout {
|
|
|
2189
3212
|
* 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 `elements`.
|
|
2190
3213
|
*/
|
|
2191
3214
|
custom_fields?: Array<SessionCreateParams.CustomField>;
|
|
3215
|
+
/**
|
|
3216
|
+
* Options keyed by custom payment method type IDs (e.g., `cpmt_123`). Each ID must belong to your account and be included in `custom_payment_method_types`. Only available in `payment` mode.
|
|
3217
|
+
*/
|
|
3218
|
+
custom_payment_method_options?: {
|
|
3219
|
+
[key: string]: SessionCreateParams.CustomPaymentMethodOptions;
|
|
3220
|
+
};
|
|
3221
|
+
/**
|
|
3222
|
+
* A list of custom payment methods (e.g., `cpmt_123`) this Checkout Session can accept.
|
|
3223
|
+
*
|
|
3224
|
+
* You can add custom payment methods to your account through the dashboard under Settings > Custom Payment Methods.
|
|
3225
|
+
*
|
|
3226
|
+
* 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).
|
|
3227
|
+
*/
|
|
3228
|
+
custom_payment_method_types?: Array<string>;
|
|
2192
3229
|
/**
|
|
2193
3230
|
* Display additional text for your customers using custom text. You can't set this parameter if `ui_mode` is `elements`.
|
|
2194
3231
|
*/
|
|
@@ -2259,6 +3296,10 @@ export declare namespace Checkout {
|
|
|
2259
3296
|
* Generate a post-purchase Invoice for one-time payments.
|
|
2260
3297
|
*/
|
|
2261
3298
|
invoice_creation?: SessionCreateParams.InvoiceCreation;
|
|
3299
|
+
/**
|
|
3300
|
+
* A list of items the customer will purchase.
|
|
3301
|
+
*/
|
|
3302
|
+
items?: Array<SessionCreateParams.Item>;
|
|
2262
3303
|
/**
|
|
2263
3304
|
* 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.
|
|
2264
3305
|
*
|
|
@@ -2275,6 +3316,10 @@ export declare namespace Checkout {
|
|
|
2275
3316
|
* Settings for Managed Payments for this Checkout Session and resulting [PaymentIntents](https://docs.stripe.com/api/payment_intents/object), [Invoices](https://docs.stripe.com/api/invoices/object), and [Subscriptions](https://docs.stripe.com/api/subscriptions/object).
|
|
2276
3317
|
*/
|
|
2277
3318
|
managed_payments?: SessionCreateParams.ManagedPayments;
|
|
3319
|
+
/**
|
|
3320
|
+
* Advertising attribution information for this Checkout Session. Only one attribution is supported.
|
|
3321
|
+
*/
|
|
3322
|
+
marketing_attributions?: Array<SessionCreateParams.MarketingAttribution>;
|
|
2278
3323
|
/**
|
|
2279
3324
|
* 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`.
|
|
2280
3325
|
*/
|
|
@@ -2291,6 +3336,10 @@ export declare namespace Checkout {
|
|
|
2291
3336
|
* If a [Customer](https://docs.stripe.com/api/customers) is created or provided, the names can be saved to the Customer object as well.
|
|
2292
3337
|
*/
|
|
2293
3338
|
name_collection?: SessionCreateParams.NameCollection;
|
|
3339
|
+
/**
|
|
3340
|
+
* The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details.
|
|
3341
|
+
*/
|
|
3342
|
+
on_behalf_of?: string;
|
|
2294
3343
|
/**
|
|
2295
3344
|
* A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices).
|
|
2296
3345
|
*
|
|
@@ -2332,6 +3381,10 @@ export declare namespace Checkout {
|
|
|
2332
3381
|
* Payment-method-specific configuration.
|
|
2333
3382
|
*/
|
|
2334
3383
|
payment_method_options?: SessionCreateParams.PaymentMethodOptions;
|
|
3384
|
+
/**
|
|
3385
|
+
* A subset of parameters to configure the payment for this Checkout Session.
|
|
3386
|
+
*/
|
|
3387
|
+
payment_settings?: SessionCreateParams.PaymentSettings;
|
|
2335
3388
|
/**
|
|
2336
3389
|
* This property is used to set up permissions for various actions (for example, update) on the CheckoutSession object. Can only be set when creating `embedded_page` or `elements` sessions.
|
|
2337
3390
|
*
|
|
@@ -2417,8 +3470,45 @@ export declare namespace Checkout {
|
|
|
2417
3470
|
*/
|
|
2418
3471
|
recovery?: AfterExpiration.Recovery;
|
|
2419
3472
|
}
|
|
2420
|
-
type AllowedPaymentMethodType = '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' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
3473
|
+
type AllowedPaymentMethodType = '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' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
3474
|
+
type ApprovalMethod = 'auto' | 'manual' | OtherString;
|
|
3475
|
+
interface AutomaticPassThroughFee {
|
|
3476
|
+
/**
|
|
3477
|
+
* Whether the fee is calculated on the amount due before or after tax. Required when `enabled` is `true`.
|
|
3478
|
+
*/
|
|
3479
|
+
calculation_basis?: AutomaticPassThroughFee.CalculationBasis;
|
|
3480
|
+
/**
|
|
3481
|
+
* Set to `true` to calculate a pass-through fee using the customer's payment method details and location.
|
|
3482
|
+
*/
|
|
3483
|
+
enabled: boolean;
|
|
3484
|
+
/**
|
|
3485
|
+
* The type of fee to calculate. Required when `enabled` is `true`.
|
|
3486
|
+
*/
|
|
3487
|
+
type?: AutomaticPassThroughFee.Type;
|
|
3488
|
+
}
|
|
3489
|
+
interface AutomaticSurcharge {
|
|
3490
|
+
/**
|
|
3491
|
+
* Determines which amount serves as the basis for calculating the surcharge.
|
|
3492
|
+
*/
|
|
3493
|
+
calculation_basis?: AutomaticSurcharge.CalculationBasis;
|
|
3494
|
+
/**
|
|
3495
|
+
* Set to `true` to calculate surcharge automatically using the customer's card details and location.
|
|
3496
|
+
*/
|
|
3497
|
+
enabled: boolean;
|
|
3498
|
+
/**
|
|
3499
|
+
* Specifies whether the surcharge is considered inclusive or exclusive of taxes.
|
|
3500
|
+
*/
|
|
3501
|
+
tax_behavior?: AutomaticSurcharge.TaxBehavior;
|
|
3502
|
+
}
|
|
2421
3503
|
interface AutomaticTax {
|
|
3504
|
+
/**
|
|
3505
|
+
* 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.
|
|
3506
|
+
*
|
|
3507
|
+
* 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.
|
|
3508
|
+
*
|
|
3509
|
+
* 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`.
|
|
3510
|
+
*/
|
|
3511
|
+
address_collection_precision?: AutomaticTax.AddressCollectionPrecision;
|
|
2422
3512
|
/**
|
|
2423
3513
|
* Set to `true` to [calculate tax automatically](https://docs.stripe.com/tax) using the customer's location.
|
|
2424
3514
|
*
|
|
@@ -2461,6 +3551,11 @@ export declare namespace Checkout {
|
|
|
2461
3551
|
*/
|
|
2462
3552
|
logo?: BrandingSettings.Logo;
|
|
2463
3553
|
}
|
|
3554
|
+
interface CheckoutItem {
|
|
3555
|
+
type: CheckoutItem.Type;
|
|
3556
|
+
rate_card_subscription_item?: CheckoutItem.RateCardSubscriptionItem;
|
|
3557
|
+
pricing_plan_subscription_item?: CheckoutItem.PricingPlanSubscriptionItem;
|
|
3558
|
+
}
|
|
2464
3559
|
interface ConsentCollection {
|
|
2465
3560
|
/**
|
|
2466
3561
|
* 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.
|
|
@@ -2508,6 +3603,12 @@ export declare namespace Checkout {
|
|
|
2508
3603
|
*/
|
|
2509
3604
|
type: CustomField.Type;
|
|
2510
3605
|
}
|
|
3606
|
+
interface CustomPaymentMethodOptions {
|
|
3607
|
+
/**
|
|
3608
|
+
* Use `off_session` to set up this custom payment method for future payments when the customer is absent. Use `none` to disable setup for future usage.
|
|
3609
|
+
*/
|
|
3610
|
+
setup_future_usage?: CustomPaymentMethodOptions.SetupFutureUsage;
|
|
3611
|
+
}
|
|
2511
3612
|
interface CustomText {
|
|
2512
3613
|
/**
|
|
2513
3614
|
* Custom text that should be displayed after the payment confirmation button.
|
|
@@ -2548,12 +3649,16 @@ export declare namespace Checkout {
|
|
|
2548
3649
|
* The ID of the coupon to apply to this Session.
|
|
2549
3650
|
*/
|
|
2550
3651
|
coupon?: string;
|
|
3652
|
+
/**
|
|
3653
|
+
* 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.
|
|
3654
|
+
*/
|
|
3655
|
+
coupon_data?: Discount.CouponData;
|
|
2551
3656
|
/**
|
|
2552
3657
|
* The ID of a promotion code to apply to this Session.
|
|
2553
3658
|
*/
|
|
2554
3659
|
promotion_code?: string;
|
|
2555
3660
|
}
|
|
2556
|
-
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' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
3661
|
+
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' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
2557
3662
|
interface InvoiceCreation {
|
|
2558
3663
|
/**
|
|
2559
3664
|
* Set to `true` to enable invoice creation.
|
|
@@ -2564,6 +3669,20 @@ export declare namespace Checkout {
|
|
|
2564
3669
|
*/
|
|
2565
3670
|
invoice_data?: InvoiceCreation.InvoiceData;
|
|
2566
3671
|
}
|
|
3672
|
+
interface Item {
|
|
3673
|
+
/**
|
|
3674
|
+
* Configuration for the Metronome commit item.
|
|
3675
|
+
*/
|
|
3676
|
+
metronome_commit?: Item.MetronomeCommit;
|
|
3677
|
+
/**
|
|
3678
|
+
* Configuration for the subscription item.
|
|
3679
|
+
*/
|
|
3680
|
+
subscription?: Item.Subscription;
|
|
3681
|
+
/**
|
|
3682
|
+
* The type of item.
|
|
3683
|
+
*/
|
|
3684
|
+
type: Item.Type;
|
|
3685
|
+
}
|
|
2567
3686
|
interface LineItem {
|
|
2568
3687
|
/**
|
|
2569
3688
|
* When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
|
|
@@ -2597,6 +3716,44 @@ export declare namespace Checkout {
|
|
|
2597
3716
|
*/
|
|
2598
3717
|
enabled?: boolean;
|
|
2599
3718
|
}
|
|
3719
|
+
interface MarketingAttribution {
|
|
3720
|
+
/**
|
|
3721
|
+
* Information used when sending conversions to an advertising platform.
|
|
3722
|
+
*/
|
|
3723
|
+
ad_conversion?: MarketingAttribution.AdConversion;
|
|
3724
|
+
/**
|
|
3725
|
+
* The advertising platform's click identifier.
|
|
3726
|
+
*/
|
|
3727
|
+
click_id?: string;
|
|
3728
|
+
/**
|
|
3729
|
+
* The Unix timestamp when the advertising interaction occurred.
|
|
3730
|
+
*/
|
|
3731
|
+
occurred_at?: number;
|
|
3732
|
+
/**
|
|
3733
|
+
* The advertising group ID from the `utm_adgroup` parameter.
|
|
3734
|
+
*/
|
|
3735
|
+
utm_adgroup?: string;
|
|
3736
|
+
/**
|
|
3737
|
+
* The advertising content identifier from the `utm_content` parameter.
|
|
3738
|
+
*/
|
|
3739
|
+
utm_content?: string;
|
|
3740
|
+
/**
|
|
3741
|
+
* The advertising campaign ID from the `utm_id` parameter.
|
|
3742
|
+
*/
|
|
3743
|
+
utm_id?: string;
|
|
3744
|
+
/**
|
|
3745
|
+
* The marketing medium from the `utm_medium` parameter.
|
|
3746
|
+
*/
|
|
3747
|
+
utm_medium?: string;
|
|
3748
|
+
/**
|
|
3749
|
+
* The referral source from the `utm_source` parameter.
|
|
3750
|
+
*/
|
|
3751
|
+
utm_source?: string;
|
|
3752
|
+
/**
|
|
3753
|
+
* The paid search term from the `utm_term` parameter.
|
|
3754
|
+
*/
|
|
3755
|
+
utm_term?: string;
|
|
3756
|
+
}
|
|
2600
3757
|
type Mode = 'payment' | 'setup' | 'subscription' | OtherString;
|
|
2601
3758
|
interface NameCollection {
|
|
2602
3759
|
/**
|
|
@@ -2688,7 +3845,7 @@ export declare namespace Checkout {
|
|
|
2688
3845
|
*/
|
|
2689
3846
|
transfer_group?: string;
|
|
2690
3847
|
}
|
|
2691
|
-
type PaymentMethodCollection = 'always' | 'if_required' | OtherString;
|
|
3848
|
+
type PaymentMethodCollection = 'always' | 'auto' | 'if_required' | OtherString;
|
|
2692
3849
|
interface PaymentMethodData {
|
|
2693
3850
|
/**
|
|
2694
3851
|
* Allow redisplay will be set on the payment method on confirmation and indicates whether this payment method can be shown again to the customer in a checkout flow. Only set this field if you wish to override the allow_redisplay value determined by Checkout.
|
|
@@ -2736,6 +3893,10 @@ export declare namespace Checkout {
|
|
|
2736
3893
|
* contains details about the Billie payment method options.
|
|
2737
3894
|
*/
|
|
2738
3895
|
billie?: PaymentMethodOptions.Billie;
|
|
3896
|
+
/**
|
|
3897
|
+
* contains details about the Bizum payment method options.
|
|
3898
|
+
*/
|
|
3899
|
+
bizum?: PaymentMethodOptions.Bizum;
|
|
2739
3900
|
/**
|
|
2740
3901
|
* contains details about the BLIK payment method options.
|
|
2741
3902
|
*/
|
|
@@ -2840,6 +4001,10 @@ export declare namespace Checkout {
|
|
|
2840
4001
|
* contains details about the PayPal payment method options.
|
|
2841
4002
|
*/
|
|
2842
4003
|
paypal?: PaymentMethodOptions.Paypal;
|
|
4004
|
+
/**
|
|
4005
|
+
* contains details about the PayPay payment method options.
|
|
4006
|
+
*/
|
|
4007
|
+
paypay?: PaymentMethodOptions.Paypay;
|
|
2843
4008
|
/**
|
|
2844
4009
|
* contains details about the PayTo payment method options.
|
|
2845
4010
|
*/
|
|
@@ -2876,6 +4041,10 @@ export declare namespace Checkout {
|
|
|
2876
4041
|
* contains details about the Sofort payment method options.
|
|
2877
4042
|
*/
|
|
2878
4043
|
sofort?: PaymentMethodOptions.Sofort;
|
|
4044
|
+
/**
|
|
4045
|
+
* contains details about the Stripe Balance payment method options.
|
|
4046
|
+
*/
|
|
4047
|
+
stripe_balance?: PaymentMethodOptions.StripeBalance;
|
|
2879
4048
|
/**
|
|
2880
4049
|
* contains details about the Sunbit payment method options.
|
|
2881
4050
|
*/
|
|
@@ -2901,7 +4070,80 @@ export declare namespace Checkout {
|
|
|
2901
4070
|
*/
|
|
2902
4071
|
wechat_pay?: PaymentMethodOptions.WechatPay;
|
|
2903
4072
|
}
|
|
4073
|
+
interface PaymentSettings {
|
|
4074
|
+
/**
|
|
4075
|
+
* Configures an application fee transferred to the application owner's Stripe account.
|
|
4076
|
+
*/
|
|
4077
|
+
application_fee_data?: PaymentSettings.ApplicationFeeData;
|
|
4078
|
+
/**
|
|
4079
|
+
* Controls when the funds will be captured from the customer's account.
|
|
4080
|
+
*/
|
|
4081
|
+
capture_method?: PaymentSettings.CaptureMethod;
|
|
4082
|
+
/**
|
|
4083
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
4084
|
+
*/
|
|
4085
|
+
description?: string;
|
|
4086
|
+
/**
|
|
4087
|
+
* 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`.
|
|
4088
|
+
*/
|
|
4089
|
+
metadata?: MetadataParam;
|
|
4090
|
+
/**
|
|
4091
|
+
* Indicates that you intend to [make future payments](https://docs.stripe.com/payments/payment-intents#future-usage) with the payment
|
|
4092
|
+
* method collected by this Checkout Session.
|
|
4093
|
+
*
|
|
4094
|
+
* When setting this to `on_session`, Checkout will show a notice to the
|
|
4095
|
+
* customer that their payment details will be saved.
|
|
4096
|
+
*
|
|
4097
|
+
* When setting this to `off_session`, Checkout will show a notice to the
|
|
4098
|
+
* customer that their payment details will be saved and used for future
|
|
4099
|
+
* payments.
|
|
4100
|
+
*
|
|
4101
|
+
* If a Customer has been provided or Checkout creates a new Customer,
|
|
4102
|
+
* Checkout will attach the payment method to the Customer.
|
|
4103
|
+
*
|
|
4104
|
+
* If Checkout does not create a Customer, the payment method is not attached
|
|
4105
|
+
* to a Customer. To reuse the payment method, you can retrieve it from the
|
|
4106
|
+
* Checkout Session's PaymentIntent.
|
|
4107
|
+
*
|
|
4108
|
+
* When processing card payments, Checkout also uses `setup_future_usage`
|
|
4109
|
+
* to dynamically optimize your payment flow and comply with regional
|
|
4110
|
+
* legislation and network rules, such as SCA.
|
|
4111
|
+
*/
|
|
4112
|
+
setup_future_usage?: PaymentSettings.SetupFutureUsage;
|
|
4113
|
+
/**
|
|
4114
|
+
* Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
4115
|
+
*
|
|
4116
|
+
* Setting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
|
|
4117
|
+
*/
|
|
4118
|
+
statement_descriptor?: string;
|
|
4119
|
+
/**
|
|
4120
|
+
* Configures automatic transfers to a connected account when payments succeed.
|
|
4121
|
+
*/
|
|
4122
|
+
transfer_data?: PaymentSettings.TransferData;
|
|
4123
|
+
/**
|
|
4124
|
+
* A string that identifies the initial payment as part of a group.
|
|
4125
|
+
*/
|
|
4126
|
+
transfer_group?: string;
|
|
4127
|
+
}
|
|
2904
4128
|
interface Permissions {
|
|
4129
|
+
/**
|
|
4130
|
+
* Permissions for updating the Checkout Session.
|
|
4131
|
+
*/
|
|
4132
|
+
update?: Permissions.Update;
|
|
4133
|
+
/**
|
|
4134
|
+
* Determines which entity is allowed to update the discounts (coupons or promotion codes) that apply to this session.
|
|
4135
|
+
*
|
|
4136
|
+
* 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.
|
|
4137
|
+
*/
|
|
4138
|
+
update_discounts?: Permissions.UpdateDiscounts;
|
|
4139
|
+
/**
|
|
4140
|
+
* Determines which entity is allowed to update the line items.
|
|
4141
|
+
*
|
|
4142
|
+
* 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.
|
|
4143
|
+
*
|
|
4144
|
+
* 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.
|
|
4145
|
+
*/
|
|
4146
|
+
update_line_items?: Permissions.UpdateLineItems;
|
|
2905
4147
|
/**
|
|
2906
4148
|
* Determines which entity is allowed to update the shipping details.
|
|
2907
4149
|
*
|
|
@@ -2925,6 +4167,10 @@ export declare namespace Checkout {
|
|
|
2925
4167
|
* Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with 'allow_redisplay: ‘always' are shown in Checkout.
|
|
2926
4168
|
*/
|
|
2927
4169
|
allow_redisplay_filters?: Array<SavedPaymentMethodOptions.AllowRedisplayFilter>;
|
|
4170
|
+
/**
|
|
4171
|
+
* The ID of a saved payment method to select when the Payment Element renders, for example `pm_1MqLiJLkdIwHu7ixUEgbFdYF`. Takes precedence over the customer's default payment method. If the ID doesn't match one of the payment methods the Element is displaying, the Element selects a payment method as it normally would and no error is returned. Preselecting a payment method never changes which payment methods the Element displays, and never modifies the payment method, the customer, or this session. The preselection is fixed once set. To preselect a different payment method, create a new session. An Element that's already on the page keeps its current selection.
|
|
4172
|
+
*/
|
|
4173
|
+
payment_method_preselect?: string;
|
|
2928
4174
|
/**
|
|
2929
4175
|
* Enable customers to choose if they wish to remove their saved payment methods. Disabled by default.
|
|
2930
4176
|
*/
|
|
@@ -2964,6 +4210,10 @@ export declare namespace Checkout {
|
|
|
2964
4210
|
* Parameters to be passed to Shipping Rate creation for this shipping option.
|
|
2965
4211
|
*/
|
|
2966
4212
|
shipping_rate_data?: ShippingOption.ShippingRateData;
|
|
4213
|
+
/**
|
|
4214
|
+
* 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`.
|
|
4215
|
+
*/
|
|
4216
|
+
tax_rates?: Array<string>;
|
|
2967
4217
|
}
|
|
2968
4218
|
type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe' | OtherString;
|
|
2969
4219
|
interface SubscriptionData {
|
|
@@ -3063,7 +4313,16 @@ export declare namespace Checkout {
|
|
|
3063
4313
|
enabled: boolean;
|
|
3064
4314
|
}
|
|
3065
4315
|
}
|
|
4316
|
+
namespace AutomaticPassThroughFee {
|
|
4317
|
+
type CalculationBasis = 'total_after_tax' | 'total_before_tax' | OtherString;
|
|
4318
|
+
type Type = 'convenience_fee' | 'service_fee' | OtherString;
|
|
4319
|
+
}
|
|
4320
|
+
namespace AutomaticSurcharge {
|
|
4321
|
+
type CalculationBasis = 'total_after_tax' | 'total_before_tax' | OtherString;
|
|
4322
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
|
|
4323
|
+
}
|
|
3066
4324
|
namespace AutomaticTax {
|
|
4325
|
+
type AddressCollectionPrecision = 'full' | 'minimal';
|
|
3067
4326
|
interface Liability {
|
|
3068
4327
|
/**
|
|
3069
4328
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -3075,7 +4334,7 @@ export declare namespace Checkout {
|
|
|
3075
4334
|
type: Liability.Type;
|
|
3076
4335
|
}
|
|
3077
4336
|
namespace Liability {
|
|
3078
|
-
type Type = 'account' | 'self' | OtherString;
|
|
4337
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
3079
4338
|
}
|
|
3080
4339
|
}
|
|
3081
4340
|
namespace BrandingSettings {
|
|
@@ -3116,6 +4375,33 @@ export declare namespace Checkout {
|
|
|
3116
4375
|
type Type = 'file' | 'url' | OtherString;
|
|
3117
4376
|
}
|
|
3118
4377
|
}
|
|
4378
|
+
namespace CheckoutItem {
|
|
4379
|
+
type Type = 'rate_card_subscription_item' | 'pricing_plan_subscription_item';
|
|
4380
|
+
interface RateCardSubscriptionItem {
|
|
4381
|
+
rate_card: string;
|
|
4382
|
+
metadata?: MetadataParam;
|
|
4383
|
+
rate_card_version?: string;
|
|
4384
|
+
}
|
|
4385
|
+
interface PricingPlanSubscriptionItem {
|
|
4386
|
+
pricing_plan: string;
|
|
4387
|
+
pricing_plan_version?: string;
|
|
4388
|
+
metadata?: MetadataParam;
|
|
4389
|
+
component_configurations?: {
|
|
4390
|
+
[key: string]: PricingPlanSubscriptionItem.ComponentConfigurations;
|
|
4391
|
+
};
|
|
4392
|
+
}
|
|
4393
|
+
namespace PricingPlanSubscriptionItem {
|
|
4394
|
+
interface ComponentConfigurations {
|
|
4395
|
+
type: 'license_fee_component';
|
|
4396
|
+
license_fee_component?: ComponentConfigurations.LicenseFeeComponent;
|
|
4397
|
+
}
|
|
4398
|
+
namespace ComponentConfigurations {
|
|
4399
|
+
interface LicenseFeeComponent {
|
|
4400
|
+
quantity: number;
|
|
4401
|
+
}
|
|
4402
|
+
}
|
|
4403
|
+
}
|
|
4404
|
+
}
|
|
3119
4405
|
namespace ConsentCollection {
|
|
3120
4406
|
interface PaymentMethodReuseAgreement {
|
|
3121
4407
|
/**
|
|
@@ -3198,6 +4484,9 @@ export declare namespace Checkout {
|
|
|
3198
4484
|
}
|
|
3199
4485
|
}
|
|
3200
4486
|
}
|
|
4487
|
+
namespace CustomPaymentMethodOptions {
|
|
4488
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4489
|
+
}
|
|
3201
4490
|
namespace CustomText {
|
|
3202
4491
|
interface AfterSubmit {
|
|
3203
4492
|
/**
|
|
@@ -3224,6 +4513,37 @@ export declare namespace Checkout {
|
|
|
3224
4513
|
message: string;
|
|
3225
4514
|
}
|
|
3226
4515
|
}
|
|
4516
|
+
namespace Discount {
|
|
4517
|
+
interface CouponData {
|
|
4518
|
+
/**
|
|
4519
|
+
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
4520
|
+
*/
|
|
4521
|
+
amount_off?: number;
|
|
4522
|
+
/**
|
|
4523
|
+
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
4524
|
+
*/
|
|
4525
|
+
currency?: string;
|
|
4526
|
+
/**
|
|
4527
|
+
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
4528
|
+
*/
|
|
4529
|
+
duration?: CouponData.Duration;
|
|
4530
|
+
/**
|
|
4531
|
+
* 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`.
|
|
4532
|
+
*/
|
|
4533
|
+
metadata?: Emptyable<MetadataParam>;
|
|
4534
|
+
/**
|
|
4535
|
+
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
4536
|
+
*/
|
|
4537
|
+
name?: string;
|
|
4538
|
+
/**
|
|
4539
|
+
* 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).
|
|
4540
|
+
*/
|
|
4541
|
+
percent_off?: number;
|
|
4542
|
+
}
|
|
4543
|
+
namespace CouponData {
|
|
4544
|
+
type Duration = 'forever' | 'once' | 'repeating' | 'service_period' | OtherString;
|
|
4545
|
+
}
|
|
4546
|
+
}
|
|
3227
4547
|
namespace InvoiceCreation {
|
|
3228
4548
|
interface InvoiceData {
|
|
3229
4549
|
/**
|
|
@@ -3237,60 +4557,527 @@ export declare namespace Checkout {
|
|
|
3237
4557
|
/**
|
|
3238
4558
|
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
3239
4559
|
*/
|
|
3240
|
-
description?: string;
|
|
4560
|
+
description?: string;
|
|
4561
|
+
/**
|
|
4562
|
+
* Default footer to be displayed on invoices for this customer.
|
|
4563
|
+
*/
|
|
4564
|
+
footer?: string;
|
|
4565
|
+
/**
|
|
4566
|
+
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
4567
|
+
*/
|
|
4568
|
+
issuer?: InvoiceData.Issuer;
|
|
4569
|
+
/**
|
|
4570
|
+
* 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`.
|
|
4571
|
+
*/
|
|
4572
|
+
metadata?: MetadataParam;
|
|
4573
|
+
/**
|
|
4574
|
+
* Default options for invoice PDF rendering for this customer.
|
|
4575
|
+
*/
|
|
4576
|
+
rendering_options?: Emptyable<InvoiceData.RenderingOptions>;
|
|
4577
|
+
}
|
|
4578
|
+
namespace InvoiceData {
|
|
4579
|
+
interface CustomField {
|
|
4580
|
+
/**
|
|
4581
|
+
* The name of the custom field. This may be up to 40 characters.
|
|
4582
|
+
*/
|
|
4583
|
+
name: string;
|
|
4584
|
+
/**
|
|
4585
|
+
* The value of the custom field. This may be up to 140 characters.
|
|
4586
|
+
*/
|
|
4587
|
+
value: string;
|
|
4588
|
+
}
|
|
4589
|
+
interface Issuer {
|
|
4590
|
+
/**
|
|
4591
|
+
* The connected account being referenced when `type` is `account`.
|
|
4592
|
+
*/
|
|
4593
|
+
account?: string;
|
|
4594
|
+
/**
|
|
4595
|
+
* Type of the account referenced in the request.
|
|
4596
|
+
*/
|
|
4597
|
+
type: Issuer.Type;
|
|
4598
|
+
}
|
|
4599
|
+
interface RenderingOptions {
|
|
4600
|
+
/**
|
|
4601
|
+
* How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
|
|
4602
|
+
*/
|
|
4603
|
+
amount_tax_display?: Emptyable<RenderingOptions.AmountTaxDisplay>;
|
|
4604
|
+
/**
|
|
4605
|
+
* ID of the invoice rendering template to use for this invoice.
|
|
4606
|
+
*/
|
|
4607
|
+
template?: string;
|
|
4608
|
+
}
|
|
4609
|
+
namespace Issuer {
|
|
4610
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
4611
|
+
}
|
|
4612
|
+
namespace RenderingOptions {
|
|
4613
|
+
type AmountTaxDisplay = 'exclude_tax' | 'include_inclusive_tax' | OtherString;
|
|
4614
|
+
}
|
|
4615
|
+
}
|
|
4616
|
+
}
|
|
4617
|
+
namespace Item {
|
|
4618
|
+
interface MetronomeCommit {
|
|
4619
|
+
/**
|
|
4620
|
+
* The list of commits to create for this Metronome contract.
|
|
4621
|
+
*/
|
|
4622
|
+
commits: Array<MetronomeCommit.Commit>;
|
|
4623
|
+
/**
|
|
4624
|
+
* The Metronome contract ID to associate with this checkout item.
|
|
4625
|
+
*/
|
|
4626
|
+
metronome_contract: string;
|
|
4627
|
+
/**
|
|
4628
|
+
* The currency and tax behavior configuration for this commit purchase.
|
|
4629
|
+
*/
|
|
4630
|
+
price_configuration: MetronomeCommit.PriceConfiguration;
|
|
4631
|
+
}
|
|
4632
|
+
interface Subscription {
|
|
4633
|
+
/**
|
|
4634
|
+
* A past timestamp to backdate the subscription's start date to.
|
|
4635
|
+
*/
|
|
4636
|
+
backdate_start_date?: number;
|
|
4637
|
+
/**
|
|
4638
|
+
* Configures when the subscription schedule's billing cycle anchors to a specific day of the week or month.
|
|
4639
|
+
*/
|
|
4640
|
+
billing_cycle_anchor_config?: Subscription.BillingCycleAnchorConfig;
|
|
4641
|
+
/**
|
|
4642
|
+
* Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
|
4643
|
+
*/
|
|
4644
|
+
billing_mode?: Subscription.BillingMode;
|
|
4645
|
+
/**
|
|
4646
|
+
* The subscription's description, meant to be displayable to the customer.
|
|
4647
|
+
*/
|
|
4648
|
+
description?: string;
|
|
4649
|
+
/**
|
|
4650
|
+
* The list of items for the subscription.
|
|
4651
|
+
*/
|
|
4652
|
+
items: Array<Subscription.Item>;
|
|
4653
|
+
/**
|
|
4654
|
+
* 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`.
|
|
4655
|
+
*/
|
|
4656
|
+
metadata?: MetadataParam;
|
|
4657
|
+
/**
|
|
4658
|
+
* Specifies an interval for how often to bill for any pending invoice items.
|
|
4659
|
+
*/
|
|
4660
|
+
pending_invoice_item_interval?: Subscription.PendingInvoiceItemInterval;
|
|
3241
4661
|
/**
|
|
3242
|
-
*
|
|
4662
|
+
* Determines how to handle prorations resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
|
|
3243
4663
|
*/
|
|
3244
|
-
|
|
4664
|
+
proration_behavior?: Subscription.ProrationBehavior;
|
|
3245
4665
|
/**
|
|
3246
|
-
*
|
|
4666
|
+
* 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.
|
|
3247
4667
|
*/
|
|
3248
|
-
|
|
4668
|
+
trial_end?: number;
|
|
3249
4669
|
/**
|
|
3250
|
-
*
|
|
4670
|
+
* Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
3251
4671
|
*/
|
|
3252
|
-
|
|
4672
|
+
trial_period_days?: number;
|
|
3253
4673
|
/**
|
|
3254
|
-
*
|
|
4674
|
+
* Settings related to subscription trials.
|
|
3255
4675
|
*/
|
|
3256
|
-
|
|
4676
|
+
trial_settings?: Subscription.TrialSettings;
|
|
3257
4677
|
}
|
|
3258
|
-
|
|
3259
|
-
|
|
4678
|
+
type Type = 'metronome_commit' | 'subscription' | OtherString;
|
|
4679
|
+
namespace MetronomeCommit {
|
|
4680
|
+
interface Commit {
|
|
3260
4681
|
/**
|
|
3261
|
-
*
|
|
4682
|
+
* Sets the balance amount and release schedule. Mutually exclusive with `commit_options`.
|
|
4683
|
+
*/
|
|
4684
|
+
access_schedule?: Commit.AccessSchedule;
|
|
4685
|
+
/**
|
|
4686
|
+
* Metronome product tags this commit can be drawn down against. A product matches if it has at least one of the specified tags. Mutually exclusive with `specifiers`. If `applicable_metronome_products`, `applicable_metronome_product_tags`, and `specifiers` are all omitted, the commit applies to all products. See Metronome's [applicable_product_tags](https://docs.metronome.com/api-reference/contracts/edit-a-contract#body-add-commits-items-applicable-product-tags).
|
|
4687
|
+
*/
|
|
4688
|
+
applicable_metronome_product_tags?: Array<string>;
|
|
4689
|
+
/**
|
|
4690
|
+
* Metronome product IDs this commit can be drawn down against. Mutually exclusive with `specifiers`. If `applicable_metronome_products`, `applicable_metronome_product_tags`, and `specifiers` are all omitted, the commit applies to all products. See Metronome's [applicable_product_ids](https://docs.metronome.com/api-reference/contracts/edit-a-contract#body-add-commits-items-applicable-product-ids).
|
|
4691
|
+
*/
|
|
4692
|
+
applicable_metronome_products?: Array<string>;
|
|
4693
|
+
/**
|
|
4694
|
+
* Customer selects the balance amount to purchase. Mutually exclusive with `access_schedule`.
|
|
4695
|
+
*/
|
|
4696
|
+
commit_options?: Commit.CommitOptions;
|
|
4697
|
+
/**
|
|
4698
|
+
* The Metronome Custom Pricing Unit credit type ID for this commit, whose access amounts are credit counts. Omit it to price in fiat, where access amounts are in the smallest unit of `price_configuration[currency]`. Fiat credit type IDs are not accepted.
|
|
4699
|
+
*/
|
|
4700
|
+
credit_type_id?: string;
|
|
4701
|
+
/**
|
|
4702
|
+
* Key-value pairs forwarded to the Metronome commit's [custom_fields](https://docs.metronome.com/api-reference/contracts/edit-a-contract#body-add-commits-items-custom-fields).
|
|
4703
|
+
*/
|
|
4704
|
+
custom_fields?: {
|
|
4705
|
+
[key: string]: string;
|
|
4706
|
+
};
|
|
4707
|
+
/**
|
|
4708
|
+
* Free-form description. Forwarded to the Metronome commit's description.
|
|
4709
|
+
*/
|
|
4710
|
+
description?: string;
|
|
4711
|
+
/**
|
|
4712
|
+
* The Metronome product ID for this commit.
|
|
4713
|
+
*/
|
|
4714
|
+
metronome_product: string;
|
|
4715
|
+
/**
|
|
4716
|
+
* Display name for the commit. Surfaced on the Metronome commit's name.
|
|
3262
4717
|
*/
|
|
3263
4718
|
name: string;
|
|
3264
4719
|
/**
|
|
3265
|
-
*
|
|
4720
|
+
* Priority for applying the commit. Lower priority values apply first. Forwarded to Metronome as-is.
|
|
3266
4721
|
*/
|
|
3267
|
-
|
|
4722
|
+
priority?: Decimal;
|
|
4723
|
+
/**
|
|
4724
|
+
* Specifies which rates are used to draw down the commit. Accepts `commit_rate`, `list_rate`, `COMMIT_RATE`, or `LIST_RATE`.
|
|
4725
|
+
*/
|
|
4726
|
+
rate_type?: Commit.RateType;
|
|
4727
|
+
/**
|
|
4728
|
+
* Fraction of unused balance that rolls over on a Metronome contract transition. Must be between `0` and `1`. Forwarded to Metronome as-is.
|
|
4729
|
+
*/
|
|
4730
|
+
rollover_fraction?: Decimal;
|
|
4731
|
+
/**
|
|
4732
|
+
* Usage filters that determine what draws down the commit. If multiple specifiers are provided, a product only needs to match one. Mutually exclusive with `applicable_metronome_products` and `applicable_metronome_product_tags`. If `applicable_metronome_products`, `applicable_metronome_product_tags`, and `specifiers` are all omitted, the commit applies to all products. See Metronome's [specifiers](https://docs.metronome.com/api-reference/contracts/edit-a-contract#body-add-commits-items-specifiers).
|
|
4733
|
+
*/
|
|
4734
|
+
specifiers?: Array<Commit.Specifier>;
|
|
4735
|
+
/**
|
|
4736
|
+
* Tax details for this commit. If omitted, Stripe uses the tax code from the Stripe product linked to the Metronome commit product. If there is no linked Stripe product or the Stripe product has no tax code configured, the [preset tax rate on your account](https://docs.stripe.com/api/tax/settings/object#tax_settings_object-defaults-tax_code) will be used. If provided, `tax_code` is required.
|
|
4737
|
+
*/
|
|
4738
|
+
tax_details?: Commit.TaxDetails;
|
|
3268
4739
|
}
|
|
3269
|
-
interface
|
|
4740
|
+
interface PriceConfiguration {
|
|
3270
4741
|
/**
|
|
3271
|
-
* The
|
|
4742
|
+
* The currency for this commit purchase, as an ISO 4217 lowercase string (for example, `usd`).
|
|
3272
4743
|
*/
|
|
3273
|
-
|
|
4744
|
+
currency: string;
|
|
3274
4745
|
/**
|
|
3275
|
-
*
|
|
4746
|
+
* Specifies whether the price is considered inclusive or exclusive of taxes. When omitted and automatic tax is enabled, uses `tax_settings.defaults.tax_behavior`. If no default is set, the request returns an error.
|
|
3276
4747
|
*/
|
|
3277
|
-
|
|
4748
|
+
tax_behavior?: PriceConfiguration.TaxBehavior;
|
|
3278
4749
|
}
|
|
3279
|
-
|
|
4750
|
+
namespace Commit {
|
|
4751
|
+
interface AccessSchedule {
|
|
4752
|
+
/**
|
|
4753
|
+
* The fixed price the buyer pays, in minor currency units.
|
|
4754
|
+
*/
|
|
4755
|
+
price_amount: number;
|
|
4756
|
+
/**
|
|
4757
|
+
* When and how many credits become available.
|
|
4758
|
+
*/
|
|
4759
|
+
schedule_items: Array<AccessSchedule.ScheduleItem>;
|
|
4760
|
+
}
|
|
4761
|
+
interface CommitOptions {
|
|
4762
|
+
/**
|
|
4763
|
+
* Optionally let the buyer enter a custom access amount.
|
|
4764
|
+
*/
|
|
4765
|
+
custom_amount?: CommitOptions.CustomAmount;
|
|
4766
|
+
/**
|
|
4767
|
+
* Volume-based discount tiers.
|
|
4768
|
+
*/
|
|
4769
|
+
discount_tiers?: Array<CommitOptions.DiscountTier>;
|
|
4770
|
+
/**
|
|
4771
|
+
* When access for the purchased credits ends. Hour-aligned UTC timestamp.
|
|
4772
|
+
*/
|
|
4773
|
+
ending_before: string;
|
|
4774
|
+
/**
|
|
4775
|
+
* Access-amount presets for the buyer to choose from.
|
|
4776
|
+
*/
|
|
4777
|
+
options: Array<CommitOptions.Option>;
|
|
4778
|
+
/**
|
|
4779
|
+
* When access for the purchased credits starts. Hour-aligned UTC timestamp.
|
|
4780
|
+
*/
|
|
4781
|
+
starting_at: string;
|
|
4782
|
+
}
|
|
4783
|
+
type RateType = 'commit_rate' | 'list_rate' | OtherString;
|
|
4784
|
+
interface Specifier {
|
|
4785
|
+
/**
|
|
4786
|
+
* Key-value pairs for presentation group filters.
|
|
4787
|
+
*/
|
|
4788
|
+
presentation_group_values?: {
|
|
4789
|
+
[key: string]: string;
|
|
4790
|
+
};
|
|
4791
|
+
/**
|
|
4792
|
+
* Key-value pairs for pricing group filters.
|
|
4793
|
+
*/
|
|
4794
|
+
pricing_group_values?: {
|
|
4795
|
+
[key: string]: string;
|
|
4796
|
+
};
|
|
4797
|
+
/**
|
|
4798
|
+
* Metronome product ID to scope this specifier to.
|
|
4799
|
+
*/
|
|
4800
|
+
product_id?: string;
|
|
4801
|
+
/**
|
|
4802
|
+
* Metronome product tags to scope this specifier to. A product matches this filter only if it has all specified tags.
|
|
4803
|
+
*/
|
|
4804
|
+
product_tags?: Array<string>;
|
|
4805
|
+
}
|
|
4806
|
+
interface TaxDetails {
|
|
4807
|
+
/**
|
|
4808
|
+
* Stripe [tax code](https://docs.stripe.com/tax/tax-codes) for this commit (for example, `txcd_10103000`). If the linked Stripe Product has a tax code, this value must match it.
|
|
4809
|
+
*/
|
|
4810
|
+
tax_code: string;
|
|
4811
|
+
}
|
|
4812
|
+
namespace AccessSchedule {
|
|
4813
|
+
interface ScheduleItem {
|
|
4814
|
+
/**
|
|
4815
|
+
* The access amount in credit_type_id units.
|
|
4816
|
+
*/
|
|
4817
|
+
amount: Decimal;
|
|
4818
|
+
/**
|
|
4819
|
+
* Hour-aligned RFC 3339 timestamp in UTC at which access to the balance amount ends (exclusive).
|
|
4820
|
+
*/
|
|
4821
|
+
ending_before: string;
|
|
4822
|
+
/**
|
|
4823
|
+
* Hour-aligned RFC 3339 timestamp in UTC at which access to the balance amount starts (inclusive).
|
|
4824
|
+
*/
|
|
4825
|
+
starting_at: string;
|
|
4826
|
+
}
|
|
4827
|
+
}
|
|
4828
|
+
namespace CommitOptions {
|
|
4829
|
+
interface CustomAmount {
|
|
4830
|
+
/**
|
|
4831
|
+
* Must be `true` when `custom_amount` is present. Omit `custom_amount` to disable custom amounts.
|
|
4832
|
+
*/
|
|
4833
|
+
enabled: boolean;
|
|
4834
|
+
/**
|
|
4835
|
+
* Maximum `access_amount` the customer can enter. Defaults to `999999999999999` when omitted.
|
|
4836
|
+
*/
|
|
4837
|
+
maximum?: number;
|
|
4838
|
+
/**
|
|
4839
|
+
* Minimum `access_amount` the customer can enter. Defaults to `1` when omitted.
|
|
4840
|
+
*/
|
|
4841
|
+
minimum?: number;
|
|
4842
|
+
}
|
|
4843
|
+
interface DiscountTier {
|
|
4844
|
+
/**
|
|
4845
|
+
* Percentage discount applied to the full access_amount when it falls in this tier.
|
|
4846
|
+
*/
|
|
4847
|
+
discount_percentage: number;
|
|
4848
|
+
/**
|
|
4849
|
+
* Upper bound (inclusive) in credit_type_id units. Use `inf` to define an unbounded tier.
|
|
4850
|
+
*/
|
|
4851
|
+
up_to: number | 'inf';
|
|
4852
|
+
}
|
|
4853
|
+
interface Option {
|
|
4854
|
+
/**
|
|
4855
|
+
* The access amount for this option, in credit_type_id units.
|
|
4856
|
+
*/
|
|
4857
|
+
access_amount: number;
|
|
4858
|
+
/**
|
|
4859
|
+
* Whether this option is pre-selected in the Checkout UI. At most one option may be marked true.
|
|
4860
|
+
*/
|
|
4861
|
+
default_option?: boolean;
|
|
4862
|
+
}
|
|
4863
|
+
}
|
|
4864
|
+
}
|
|
4865
|
+
namespace PriceConfiguration {
|
|
4866
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | OtherString;
|
|
4867
|
+
}
|
|
4868
|
+
}
|
|
4869
|
+
namespace Subscription {
|
|
4870
|
+
interface BillingCycleAnchorConfig {
|
|
3280
4871
|
/**
|
|
3281
|
-
*
|
|
4872
|
+
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3282
4873
|
*/
|
|
3283
|
-
|
|
4874
|
+
day_of_month: number;
|
|
3284
4875
|
/**
|
|
3285
|
-
*
|
|
4876
|
+
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3286
4877
|
*/
|
|
3287
|
-
|
|
4878
|
+
hour?: number;
|
|
4879
|
+
/**
|
|
4880
|
+
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
4881
|
+
*/
|
|
4882
|
+
minute?: number;
|
|
4883
|
+
/**
|
|
4884
|
+
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
4885
|
+
*/
|
|
4886
|
+
month?: number;
|
|
4887
|
+
/**
|
|
4888
|
+
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
4889
|
+
*/
|
|
4890
|
+
second?: number;
|
|
3288
4891
|
}
|
|
3289
|
-
|
|
3290
|
-
|
|
4892
|
+
interface BillingMode {
|
|
4893
|
+
/**
|
|
4894
|
+
* Configure behavior for flexible billing mode.
|
|
4895
|
+
*/
|
|
4896
|
+
flexible?: BillingMode.Flexible;
|
|
4897
|
+
/**
|
|
4898
|
+
* Controls the calculation and orchestration of prorations and invoices for subscriptions. If no value is passed, the default is `flexible`.
|
|
4899
|
+
*/
|
|
4900
|
+
type: BillingMode.Type;
|
|
3291
4901
|
}
|
|
3292
|
-
|
|
3293
|
-
|
|
4902
|
+
interface Item {
|
|
4903
|
+
/**
|
|
4904
|
+
* When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
|
|
4905
|
+
*/
|
|
4906
|
+
adjustable_quantity?: Item.AdjustableQuantity;
|
|
4907
|
+
/**
|
|
4908
|
+
* The [Trial Offer](https://docs.stripe.com/api/product-catalog/trial-offer?api-version=2026-03-25.preview) to apply to this subscription item. One of `price`, `price_data` or `current_trial` is required.
|
|
4909
|
+
*/
|
|
4910
|
+
current_trial?: Item.CurrentTrial;
|
|
4911
|
+
/**
|
|
4912
|
+
* The ID of the [Price](https://docs.stripe.com/api/prices). One of `price`, `price_data` or `current_trial` is required.
|
|
4913
|
+
*/
|
|
4914
|
+
price?: string;
|
|
4915
|
+
/**
|
|
4916
|
+
* Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price`, `price_data` or `current_trial` is required.
|
|
4917
|
+
*/
|
|
4918
|
+
price_data?: Item.PriceData;
|
|
4919
|
+
/**
|
|
4920
|
+
* Quantity for this item.
|
|
4921
|
+
*/
|
|
4922
|
+
quantity?: number;
|
|
4923
|
+
}
|
|
4924
|
+
interface PendingInvoiceItemInterval {
|
|
4925
|
+
/**
|
|
4926
|
+
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
4927
|
+
*/
|
|
4928
|
+
interval: PendingInvoiceItemInterval.Interval;
|
|
4929
|
+
/**
|
|
4930
|
+
* 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).
|
|
4931
|
+
*/
|
|
4932
|
+
interval_count?: number;
|
|
4933
|
+
}
|
|
4934
|
+
type ProrationBehavior = 'create_prorations' | 'none' | OtherString;
|
|
4935
|
+
interface TrialSettings {
|
|
4936
|
+
/**
|
|
4937
|
+
* Defines how the subscription should behave when the user's free trial ends.
|
|
4938
|
+
*/
|
|
4939
|
+
end_behavior: TrialSettings.EndBehavior;
|
|
4940
|
+
}
|
|
4941
|
+
namespace BillingMode {
|
|
4942
|
+
interface Flexible {
|
|
4943
|
+
/**
|
|
4944
|
+
* Controls how invoices and invoice items display proration amounts and discount amounts.
|
|
4945
|
+
*/
|
|
4946
|
+
proration_discounts?: Flexible.ProrationDiscounts;
|
|
4947
|
+
}
|
|
4948
|
+
type Type = 'classic' | 'flexible' | OtherString;
|
|
4949
|
+
namespace Flexible {
|
|
4950
|
+
type ProrationDiscounts = 'included' | 'itemized' | OtherString;
|
|
4951
|
+
}
|
|
4952
|
+
}
|
|
4953
|
+
namespace Item {
|
|
4954
|
+
interface AdjustableQuantity {
|
|
4955
|
+
/**
|
|
4956
|
+
* Set to true if the quantity can be adjusted to any non-negative integer.
|
|
4957
|
+
*/
|
|
4958
|
+
enabled: boolean;
|
|
4959
|
+
/**
|
|
4960
|
+
* The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999999.
|
|
4961
|
+
*/
|
|
4962
|
+
maximum?: number;
|
|
4963
|
+
/**
|
|
4964
|
+
* The minimum quantity the customer must purchase for the Checkout Session. By default this value is 0.
|
|
4965
|
+
*/
|
|
4966
|
+
minimum?: number;
|
|
4967
|
+
}
|
|
4968
|
+
interface CurrentTrial {
|
|
4969
|
+
/**
|
|
4970
|
+
* The ID of the [Trial Offer](https://docs.stripe.com/api/product-catalog/trial-offer?api-version=2026-03-25.preview).
|
|
4971
|
+
*/
|
|
4972
|
+
trial_offer: string;
|
|
4973
|
+
}
|
|
4974
|
+
interface PriceData {
|
|
4975
|
+
/**
|
|
4976
|
+
* 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).
|
|
4977
|
+
*/
|
|
4978
|
+
currency: string;
|
|
4979
|
+
/**
|
|
4980
|
+
* 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.
|
|
4981
|
+
*/
|
|
4982
|
+
product?: string;
|
|
4983
|
+
/**
|
|
4984
|
+
* Data used to generate a new [Product](https://docs.stripe.com/api/products) object inline. One of `product` or `product_data` is required.
|
|
4985
|
+
*/
|
|
4986
|
+
product_data?: PriceData.ProductData;
|
|
4987
|
+
/**
|
|
4988
|
+
* The recurring components of a price such as `interval` and `interval_count`.
|
|
4989
|
+
*/
|
|
4990
|
+
recurring?: PriceData.Recurring;
|
|
4991
|
+
/**
|
|
4992
|
+
* 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.
|
|
4993
|
+
*/
|
|
4994
|
+
tax_behavior?: PriceData.TaxBehavior;
|
|
4995
|
+
/**
|
|
4996
|
+
* A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
|
|
4997
|
+
*/
|
|
4998
|
+
unit_amount?: number;
|
|
4999
|
+
/**
|
|
5000
|
+
* 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.
|
|
5001
|
+
*/
|
|
5002
|
+
unit_amount_decimal?: Decimal;
|
|
5003
|
+
}
|
|
5004
|
+
namespace PriceData {
|
|
5005
|
+
interface ProductData {
|
|
5006
|
+
/**
|
|
5007
|
+
* 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.
|
|
5008
|
+
*/
|
|
5009
|
+
description?: string;
|
|
5010
|
+
/**
|
|
5011
|
+
* A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
5012
|
+
*/
|
|
5013
|
+
images?: Array<string>;
|
|
5014
|
+
/**
|
|
5015
|
+
* 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`.
|
|
5016
|
+
*/
|
|
5017
|
+
metadata?: MetadataParam;
|
|
5018
|
+
/**
|
|
5019
|
+
* The product's name, meant to be displayable to the customer.
|
|
5020
|
+
*/
|
|
5021
|
+
name: string;
|
|
5022
|
+
/**
|
|
5023
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
5024
|
+
*/
|
|
5025
|
+
tax_code?: string;
|
|
5026
|
+
/**
|
|
5027
|
+
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
5028
|
+
*/
|
|
5029
|
+
tax_details?: ProductData.TaxDetails;
|
|
5030
|
+
/**
|
|
5031
|
+
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
5032
|
+
*/
|
|
5033
|
+
unit_label?: string;
|
|
5034
|
+
}
|
|
5035
|
+
interface Recurring {
|
|
5036
|
+
/**
|
|
5037
|
+
* Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
|
5038
|
+
*/
|
|
5039
|
+
interval: Recurring.Interval;
|
|
5040
|
+
/**
|
|
5041
|
+
* 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).
|
|
5042
|
+
*/
|
|
5043
|
+
interval_count?: number;
|
|
5044
|
+
}
|
|
5045
|
+
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
|
|
5046
|
+
namespace ProductData {
|
|
5047
|
+
interface TaxDetails {
|
|
5048
|
+
/**
|
|
5049
|
+
* 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.
|
|
5050
|
+
*/
|
|
5051
|
+
performance_location?: string;
|
|
5052
|
+
/**
|
|
5053
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
5054
|
+
*/
|
|
5055
|
+
tax_code?: Emptyable<string>;
|
|
5056
|
+
}
|
|
5057
|
+
}
|
|
5058
|
+
namespace Recurring {
|
|
5059
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
5060
|
+
}
|
|
5061
|
+
}
|
|
5062
|
+
}
|
|
5063
|
+
namespace PendingInvoiceItemInterval {
|
|
5064
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
5065
|
+
}
|
|
5066
|
+
namespace TrialSettings {
|
|
5067
|
+
interface EndBehavior {
|
|
5068
|
+
/**
|
|
5069
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
5070
|
+
*/
|
|
5071
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
5072
|
+
/**
|
|
5073
|
+
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
5074
|
+
*/
|
|
5075
|
+
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
5076
|
+
}
|
|
5077
|
+
namespace EndBehavior {
|
|
5078
|
+
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
5079
|
+
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
5080
|
+
}
|
|
3294
5081
|
}
|
|
3295
5082
|
}
|
|
3296
5083
|
}
|
|
@@ -3398,6 +5185,14 @@ export declare namespace Checkout {
|
|
|
3398
5185
|
}
|
|
3399
5186
|
}
|
|
3400
5187
|
}
|
|
5188
|
+
namespace MarketingAttribution {
|
|
5189
|
+
interface AdConversion {
|
|
5190
|
+
/**
|
|
5191
|
+
* Whether the customer consented to sending conversion data to an advertising platform.
|
|
5192
|
+
*/
|
|
5193
|
+
consent_collected: boolean;
|
|
5194
|
+
}
|
|
5195
|
+
}
|
|
3401
5196
|
namespace NameCollection {
|
|
3402
5197
|
interface Business {
|
|
3403
5198
|
/**
|
|
@@ -3608,6 +5403,7 @@ export declare namespace Checkout {
|
|
|
3608
5403
|
* Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
|
|
3609
5404
|
*/
|
|
3610
5405
|
target_date?: string;
|
|
5406
|
+
verification_method?: BacsDebit.VerificationMethod;
|
|
3611
5407
|
}
|
|
3612
5408
|
interface Bancontact {
|
|
3613
5409
|
/**
|
|
@@ -3627,6 +5423,12 @@ export declare namespace Checkout {
|
|
|
3627
5423
|
*/
|
|
3628
5424
|
capture_method?: 'manual';
|
|
3629
5425
|
}
|
|
5426
|
+
interface Bizum {
|
|
5427
|
+
/**
|
|
5428
|
+
* Additional fields for mandate creation.
|
|
5429
|
+
*/
|
|
5430
|
+
mandate_options?: Bizum.MandateOptions;
|
|
5431
|
+
}
|
|
3630
5432
|
interface Blik {
|
|
3631
5433
|
/**
|
|
3632
5434
|
* Additional fields for Mandate creation
|
|
@@ -3659,6 +5461,14 @@ export declare namespace Checkout {
|
|
|
3659
5461
|
* Installment options for card payments
|
|
3660
5462
|
*/
|
|
3661
5463
|
installments?: Card.Installments;
|
|
5464
|
+
/**
|
|
5465
|
+
* Configuration options for setting up an eMandate for cards issued in India.
|
|
5466
|
+
*/
|
|
5467
|
+
mandate_options?: Card.MandateOptions;
|
|
5468
|
+
/**
|
|
5469
|
+
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
5470
|
+
*/
|
|
5471
|
+
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
3662
5472
|
/**
|
|
3663
5473
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
3664
5474
|
*/
|
|
@@ -4025,6 +5835,10 @@ export declare namespace Checkout {
|
|
|
4025
5835
|
* 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.
|
|
4026
5836
|
*/
|
|
4027
5837
|
reference?: string;
|
|
5838
|
+
/**
|
|
5839
|
+
* 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.
|
|
5840
|
+
*/
|
|
5841
|
+
reference_id?: string;
|
|
4028
5842
|
/**
|
|
4029
5843
|
* The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
4030
5844
|
*/
|
|
@@ -4041,6 +5855,26 @@ export declare namespace Checkout {
|
|
|
4041
5855
|
* 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`.
|
|
4042
5856
|
*/
|
|
4043
5857
|
setup_future_usage?: Emptyable<Paypal.SetupFutureUsage>;
|
|
5858
|
+
/**
|
|
5859
|
+
* 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.
|
|
5860
|
+
*/
|
|
5861
|
+
subsellers?: Array<string>;
|
|
5862
|
+
}
|
|
5863
|
+
interface Paypay {
|
|
5864
|
+
/**
|
|
5865
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5866
|
+
*
|
|
5867
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
5868
|
+
*
|
|
5869
|
+
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
5870
|
+
*
|
|
5871
|
+
* 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).
|
|
5872
|
+
*/
|
|
5873
|
+
setup_future_usage?: Paypay.SetupFutureUsage;
|
|
5874
|
+
/**
|
|
5875
|
+
* The merchant's subscription identifier for this off-session charge.
|
|
5876
|
+
*/
|
|
5877
|
+
subscription_reference?: string;
|
|
4044
5878
|
}
|
|
4045
5879
|
interface Payto {
|
|
4046
5880
|
/**
|
|
@@ -4164,6 +5998,18 @@ export declare namespace Checkout {
|
|
|
4164
5998
|
*/
|
|
4165
5999
|
setup_future_usage?: 'none';
|
|
4166
6000
|
}
|
|
6001
|
+
interface StripeBalance {
|
|
6002
|
+
/**
|
|
6003
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
6004
|
+
*
|
|
6005
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
6006
|
+
*
|
|
6007
|
+
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
6008
|
+
*
|
|
6009
|
+
* 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).
|
|
6010
|
+
*/
|
|
6011
|
+
setup_future_usage?: StripeBalance.SetupFutureUsage;
|
|
6012
|
+
}
|
|
4167
6013
|
interface Sunbit {
|
|
4168
6014
|
/**
|
|
4169
6015
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -4280,7 +6126,7 @@ export declare namespace Checkout {
|
|
|
4280
6126
|
namespace MandateOptions {
|
|
4281
6127
|
type DefaultFor = 'invoice' | 'subscription' | OtherString;
|
|
4282
6128
|
type PaymentSchedule = 'combined' | 'interval' | 'sporadic' | OtherString;
|
|
4283
|
-
type TransactionType = 'business' | 'personal' | OtherString;
|
|
6129
|
+
type TransactionType = 'business' | 'buyer_choice' | 'personal' | OtherString;
|
|
4284
6130
|
}
|
|
4285
6131
|
}
|
|
4286
6132
|
namespace Alipay {
|
|
@@ -4292,35 +6138,83 @@ export declare namespace Checkout {
|
|
|
4292
6138
|
namespace BacsDebit {
|
|
4293
6139
|
interface MandateOptions {
|
|
4294
6140
|
/**
|
|
4295
|
-
* Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
|
6141
|
+
* Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
|
6142
|
+
*/
|
|
6143
|
+
reference_prefix?: Emptyable<string>;
|
|
6144
|
+
}
|
|
6145
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
6146
|
+
type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
|
|
6147
|
+
}
|
|
6148
|
+
namespace Bancontact {
|
|
6149
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
6150
|
+
}
|
|
6151
|
+
namespace Bizum {
|
|
6152
|
+
interface MandateOptions {
|
|
6153
|
+
}
|
|
6154
|
+
}
|
|
6155
|
+
namespace Blik {
|
|
6156
|
+
interface MandateOptions {
|
|
6157
|
+
/**
|
|
6158
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
6159
|
+
*/
|
|
6160
|
+
expires_at?: number;
|
|
6161
|
+
}
|
|
6162
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
6163
|
+
}
|
|
6164
|
+
namespace Boleto {
|
|
6165
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
6166
|
+
}
|
|
6167
|
+
namespace Card {
|
|
6168
|
+
interface Installments {
|
|
6169
|
+
/**
|
|
6170
|
+
* Setting to true enables installments for this Checkout Session.
|
|
6171
|
+
* Setting to false will prevent any installment plan from applying to a payment.
|
|
6172
|
+
*/
|
|
6173
|
+
enabled?: boolean;
|
|
6174
|
+
}
|
|
6175
|
+
interface MandateOptions {
|
|
6176
|
+
/**
|
|
6177
|
+
* Maximum or fixed amount for future payments, specified in the Checkout Session's integration currency.
|
|
6178
|
+
*/
|
|
6179
|
+
amount?: number;
|
|
6180
|
+
/**
|
|
6181
|
+
* One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
|
6182
|
+
*/
|
|
6183
|
+
amount_type?: MandateOptions.AmountType;
|
|
6184
|
+
/**
|
|
6185
|
+
* 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).
|
|
6186
|
+
*/
|
|
6187
|
+
currency?: string;
|
|
6188
|
+
/**
|
|
6189
|
+
* A description of the mandate or subscription that is meant to be displayed to the customer.
|
|
6190
|
+
*/
|
|
6191
|
+
description?: string;
|
|
6192
|
+
/**
|
|
6193
|
+
* End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
6194
|
+
*/
|
|
6195
|
+
end_date?: number;
|
|
6196
|
+
/**
|
|
6197
|
+
* Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
|
6198
|
+
*/
|
|
6199
|
+
interval?: MandateOptions.Interval;
|
|
6200
|
+
/**
|
|
6201
|
+
* The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
|
|
6202
|
+
*/
|
|
6203
|
+
interval_count?: number;
|
|
6204
|
+
/**
|
|
6205
|
+
* Unique identifier for the mandate or subscription.
|
|
4296
6206
|
*/
|
|
4297
|
-
|
|
4298
|
-
}
|
|
4299
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4300
|
-
}
|
|
4301
|
-
namespace Bancontact {
|
|
4302
|
-
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4303
|
-
}
|
|
4304
|
-
namespace Blik {
|
|
4305
|
-
interface MandateOptions {
|
|
6207
|
+
reference?: string;
|
|
4306
6208
|
/**
|
|
4307
|
-
*
|
|
6209
|
+
* Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
|
4308
6210
|
*/
|
|
4309
|
-
|
|
4310
|
-
}
|
|
4311
|
-
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4312
|
-
}
|
|
4313
|
-
namespace Boleto {
|
|
4314
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4315
|
-
}
|
|
4316
|
-
namespace Card {
|
|
4317
|
-
interface Installments {
|
|
6211
|
+
start_date?: number;
|
|
4318
6212
|
/**
|
|
4319
|
-
*
|
|
4320
|
-
* Setting to false will prevent any installment plan from applying to a payment.
|
|
6213
|
+
* Specifies the type of mandates supported. Possible values are `india`.
|
|
4321
6214
|
*/
|
|
4322
|
-
|
|
6215
|
+
supported_types?: Array<'india'>;
|
|
4323
6216
|
}
|
|
6217
|
+
type RequestDecrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
4324
6218
|
type RequestExtendedAuthorization = 'if_available' | 'never' | OtherString;
|
|
4325
6219
|
type RequestIncrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
4326
6220
|
type RequestMulticapture = 'if_available' | 'never' | OtherString;
|
|
@@ -4337,6 +6231,10 @@ export declare namespace Checkout {
|
|
|
4337
6231
|
funding_types_blocked?: Array<Restrictions.FundingTypesBlocked>;
|
|
4338
6232
|
}
|
|
4339
6233
|
type SetupFutureUsage = 'off_session' | 'on_session' | OtherString;
|
|
6234
|
+
namespace MandateOptions {
|
|
6235
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
6236
|
+
type Interval = 'day' | 'month' | 'sporadic' | 'week' | 'year' | OtherString;
|
|
6237
|
+
}
|
|
4340
6238
|
namespace Restrictions {
|
|
4341
6239
|
type BrandsBlocked = 'american_express' | 'discover_global_network' | 'mastercard' | 'visa' | OtherString;
|
|
4342
6240
|
type FundingTypesBlocked = 'credit' | 'debit' | 'prepaid' | OtherString;
|
|
@@ -4429,6 +6327,9 @@ export declare namespace Checkout {
|
|
|
4429
6327
|
type PreferredLocale = 'cs-CZ' | 'da-DK' | 'de-AT' | 'de-DE' | 'de-LU' | 'el-GR' | 'en-GB' | 'en-US' | 'es-ES' | 'fi-FI' | 'fr-BE' | 'fr-FR' | 'fr-LU' | 'hu-HU' | 'it-IT' | 'nl-BE' | 'nl-NL' | 'pl-PL' | 'pt-PT' | 'sk-SK' | 'sv-SE' | OtherString;
|
|
4430
6328
|
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4431
6329
|
}
|
|
6330
|
+
namespace Paypay {
|
|
6331
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
6332
|
+
}
|
|
4432
6333
|
namespace Payto {
|
|
4433
6334
|
interface MandateOptions {
|
|
4434
6335
|
/**
|
|
@@ -4522,6 +6423,9 @@ export declare namespace Checkout {
|
|
|
4522
6423
|
}
|
|
4523
6424
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4524
6425
|
}
|
|
6426
|
+
namespace StripeBalance {
|
|
6427
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
6428
|
+
}
|
|
4525
6429
|
namespace Twint {
|
|
4526
6430
|
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4527
6431
|
}
|
|
@@ -4564,7 +6468,7 @@ export declare namespace Checkout {
|
|
|
4564
6468
|
type VerificationMethod = 'automatic' | 'instant' | OtherString;
|
|
4565
6469
|
namespace FinancialConnections {
|
|
4566
6470
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
4567
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
6471
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
4568
6472
|
}
|
|
4569
6473
|
}
|
|
4570
6474
|
namespace WechatPay {
|
|
@@ -4572,8 +6476,71 @@ export declare namespace Checkout {
|
|
|
4572
6476
|
type SetupFutureUsage = 'none' | OtherString;
|
|
4573
6477
|
}
|
|
4574
6478
|
}
|
|
6479
|
+
namespace PaymentSettings {
|
|
6480
|
+
interface ApplicationFeeData {
|
|
6481
|
+
/**
|
|
6482
|
+
* The amount of the application fee, in the currency's smallest unit, to apply to the initial payment and transfer to the application owner's Stripe account. The application fee is capped at the total amount captured.
|
|
6483
|
+
*/
|
|
6484
|
+
initial_amount?: number;
|
|
6485
|
+
/**
|
|
6486
|
+
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of each payment total that will be transferred to the application owner's Stripe account.
|
|
6487
|
+
*/
|
|
6488
|
+
percentage_decimal?: Decimal;
|
|
6489
|
+
}
|
|
6490
|
+
type CaptureMethod = 'automatic' | 'automatic_async' | 'manual' | OtherString;
|
|
6491
|
+
type SetupFutureUsage = 'off_session' | 'on_session' | OtherString;
|
|
6492
|
+
interface TransferData {
|
|
6493
|
+
/**
|
|
6494
|
+
* If specified, successful charges will be attributed to the destination
|
|
6495
|
+
* account for tax reporting, and the funds from charges will be transferred
|
|
6496
|
+
* to the destination account. The ID of the resulting transfer will be
|
|
6497
|
+
* returned on the successful charge's `transfer` field.
|
|
6498
|
+
*/
|
|
6499
|
+
destination: string;
|
|
6500
|
+
/**
|
|
6501
|
+
* Configures how much of each payment is transferred to the destination account. If omitted, the entire amount is transferred.
|
|
6502
|
+
*/
|
|
6503
|
+
transfer_amount?: TransferData.TransferAmount;
|
|
6504
|
+
}
|
|
6505
|
+
namespace TransferData {
|
|
6506
|
+
interface TransferAmount {
|
|
6507
|
+
/**
|
|
6508
|
+
* The amount, in the currency's smallest unit, that will be transferred to the destination account when the initial payment succeeds.
|
|
6509
|
+
*/
|
|
6510
|
+
initial_amount?: number;
|
|
6511
|
+
/**
|
|
6512
|
+
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of each payment total that will be transferred to the destination account.
|
|
6513
|
+
*/
|
|
6514
|
+
percentage_decimal?: Decimal;
|
|
6515
|
+
}
|
|
6516
|
+
}
|
|
6517
|
+
}
|
|
4575
6518
|
namespace Permissions {
|
|
6519
|
+
interface Update {
|
|
6520
|
+
/**
|
|
6521
|
+
* Determines which entity is allowed to update the line items.
|
|
6522
|
+
*
|
|
6523
|
+
* 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.
|
|
6524
|
+
*
|
|
6525
|
+
* 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.
|
|
6526
|
+
*/
|
|
6527
|
+
line_items?: Update.LineItems;
|
|
6528
|
+
/**
|
|
6529
|
+
* Determines which entity is allowed to update the shipping details.
|
|
6530
|
+
*
|
|
6531
|
+
* 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.
|
|
6532
|
+
*
|
|
6533
|
+
* This parameter is only supported when `ui_mode=elements`.
|
|
6534
|
+
*/
|
|
6535
|
+
shipping_details?: Update.ShippingDetails;
|
|
6536
|
+
}
|
|
6537
|
+
type UpdateDiscounts = 'client_only' | 'server_only' | OtherString;
|
|
6538
|
+
type UpdateLineItems = 'client_only' | 'server_only' | OtherString;
|
|
4576
6539
|
type UpdateShippingDetails = 'client_only' | 'server_only' | OtherString;
|
|
6540
|
+
namespace Update {
|
|
6541
|
+
type LineItems = 'client_only' | 'server_only' | OtherString;
|
|
6542
|
+
type ShippingDetails = 'client_only' | 'server_only' | OtherString;
|
|
6543
|
+
}
|
|
4577
6544
|
}
|
|
4578
6545
|
namespace SavedPaymentMethodOptions {
|
|
4579
6546
|
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
@@ -4803,7 +6770,7 @@ export declare namespace Checkout {
|
|
|
4803
6770
|
type: Issuer.Type;
|
|
4804
6771
|
}
|
|
4805
6772
|
namespace Issuer {
|
|
4806
|
-
type Type = 'account' | 'self' | OtherString;
|
|
6773
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
4807
6774
|
}
|
|
4808
6775
|
}
|
|
4809
6776
|
namespace PendingInvoiceItemInterval {
|
|
@@ -4811,12 +6778,17 @@ export declare namespace Checkout {
|
|
|
4811
6778
|
}
|
|
4812
6779
|
namespace TrialSettings {
|
|
4813
6780
|
interface EndBehavior {
|
|
6781
|
+
/**
|
|
6782
|
+
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
6783
|
+
*/
|
|
6784
|
+
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
4814
6785
|
/**
|
|
4815
6786
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
4816
6787
|
*/
|
|
4817
6788
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
4818
6789
|
}
|
|
4819
6790
|
namespace EndBehavior {
|
|
6791
|
+
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
4820
6792
|
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
4821
6793
|
}
|
|
4822
6794
|
}
|
|
@@ -4847,14 +6819,26 @@ export declare namespace Checkout {
|
|
|
4847
6819
|
}
|
|
4848
6820
|
export declare namespace Checkout {
|
|
4849
6821
|
interface SessionUpdateParams {
|
|
6822
|
+
/**
|
|
6823
|
+
* Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
|
6824
|
+
*/
|
|
6825
|
+
automatic_tax?: SessionUpdateParams.AutomaticTax;
|
|
4850
6826
|
/**
|
|
4851
6827
|
* Information about the customer collected within the Checkout Session. Can only be set when updating `embedded_page` or `elements` sessions.
|
|
4852
6828
|
*/
|
|
4853
6829
|
collected_information?: SessionUpdateParams.CollectedInformation;
|
|
6830
|
+
/**
|
|
6831
|
+
* List of coupons and promotion codes attached to the Checkout Session.
|
|
6832
|
+
*/
|
|
6833
|
+
discounts?: Emptyable<Array<SessionUpdateParams.Discount>>;
|
|
4854
6834
|
/**
|
|
4855
6835
|
* Specifies which fields in the response should be expanded.
|
|
4856
6836
|
*/
|
|
4857
6837
|
expand?: Array<string>;
|
|
6838
|
+
/**
|
|
6839
|
+
* Generate a post-purchase Invoice for one-time payments.
|
|
6840
|
+
*/
|
|
6841
|
+
invoice_creation?: SessionUpdateParams.InvoiceCreation;
|
|
4858
6842
|
/**
|
|
4859
6843
|
* A list of items the customer is purchasing.
|
|
4860
6844
|
*
|
|
@@ -4885,14 +6869,40 @@ export declare namespace Checkout {
|
|
|
4885
6869
|
* The shipping rate options to apply to this Session. Up to a maximum of 5.
|
|
4886
6870
|
*/
|
|
4887
6871
|
shipping_options?: Emptyable<Array<SessionUpdateParams.ShippingOption>>;
|
|
6872
|
+
/**
|
|
6873
|
+
* A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
|
6874
|
+
*/
|
|
6875
|
+
subscription_data?: SessionUpdateParams.SubscriptionData;
|
|
4888
6876
|
}
|
|
4889
6877
|
namespace SessionUpdateParams {
|
|
6878
|
+
interface AutomaticTax {
|
|
6879
|
+
/**
|
|
6880
|
+
* 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.
|
|
6881
|
+
*/
|
|
6882
|
+
liability?: AutomaticTax.Liability;
|
|
6883
|
+
}
|
|
4890
6884
|
interface CollectedInformation {
|
|
4891
6885
|
/**
|
|
4892
6886
|
* The shipping details to apply to this Session.
|
|
4893
6887
|
*/
|
|
4894
6888
|
shipping_details?: CollectedInformation.ShippingDetails;
|
|
4895
6889
|
}
|
|
6890
|
+
interface Discount {
|
|
6891
|
+
/**
|
|
6892
|
+
* 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.
|
|
6893
|
+
*/
|
|
6894
|
+
coupon?: string;
|
|
6895
|
+
/**
|
|
6896
|
+
* 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.
|
|
6897
|
+
*/
|
|
6898
|
+
coupon_data?: Discount.CouponData;
|
|
6899
|
+
}
|
|
6900
|
+
interface InvoiceCreation {
|
|
6901
|
+
/**
|
|
6902
|
+
* Parameters passed when creating invoices for payment-mode Checkout Sessions.
|
|
6903
|
+
*/
|
|
6904
|
+
invoice_data?: InvoiceCreation.InvoiceData;
|
|
6905
|
+
}
|
|
4896
6906
|
interface LineItem {
|
|
4897
6907
|
/**
|
|
4898
6908
|
* When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
|
|
@@ -4932,6 +6942,10 @@ export declare namespace Checkout {
|
|
|
4932
6942
|
* 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`.
|
|
4933
6943
|
*/
|
|
4934
6944
|
metadata?: Emptyable<MetadataParam>;
|
|
6945
|
+
/**
|
|
6946
|
+
* Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails). Pass an empty string to clear a previously configured recipient.
|
|
6947
|
+
*/
|
|
6948
|
+
receipt_email?: Emptyable<string>;
|
|
4935
6949
|
/**
|
|
4936
6950
|
* Indicates that you intend to [make future payments](https://docs.stripe.com/payments/payment-intents#future-usage) with the payment method collected by this Checkout Session.
|
|
4937
6951
|
*
|
|
@@ -4971,6 +6985,43 @@ export declare namespace Checkout {
|
|
|
4971
6985
|
* Parameters to be passed to Shipping Rate creation for this shipping option.
|
|
4972
6986
|
*/
|
|
4973
6987
|
shipping_rate_data?: ShippingOption.ShippingRateData;
|
|
6988
|
+
/**
|
|
6989
|
+
* 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`.
|
|
6990
|
+
*/
|
|
6991
|
+
tax_rates?: Emptyable<Array<string>>;
|
|
6992
|
+
}
|
|
6993
|
+
interface SubscriptionData {
|
|
6994
|
+
/**
|
|
6995
|
+
* All invoices will be billed using the specified settings.
|
|
6996
|
+
*/
|
|
6997
|
+
invoice_settings?: SubscriptionData.InvoiceSettings;
|
|
6998
|
+
/**
|
|
6999
|
+
* 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.
|
|
7000
|
+
*/
|
|
7001
|
+
pending_invoice_item_interval?: Emptyable<SubscriptionData.PendingInvoiceItemInterval>;
|
|
7002
|
+
/**
|
|
7003
|
+
* 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.
|
|
7004
|
+
*/
|
|
7005
|
+
trial_end?: number;
|
|
7006
|
+
/**
|
|
7007
|
+
* Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
7008
|
+
*/
|
|
7009
|
+
trial_period_days?: Emptyable<number>;
|
|
7010
|
+
}
|
|
7011
|
+
namespace AutomaticTax {
|
|
7012
|
+
interface Liability {
|
|
7013
|
+
/**
|
|
7014
|
+
* The connected account being referenced when `type` is `account`.
|
|
7015
|
+
*/
|
|
7016
|
+
account?: string;
|
|
7017
|
+
/**
|
|
7018
|
+
* Type of the account referenced in the request.
|
|
7019
|
+
*/
|
|
7020
|
+
type: Liability.Type;
|
|
7021
|
+
}
|
|
7022
|
+
namespace Liability {
|
|
7023
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
7024
|
+
}
|
|
4974
7025
|
}
|
|
4975
7026
|
namespace CollectedInformation {
|
|
4976
7027
|
interface ShippingDetails {
|
|
@@ -5012,6 +7063,60 @@ export declare namespace Checkout {
|
|
|
5012
7063
|
}
|
|
5013
7064
|
}
|
|
5014
7065
|
}
|
|
7066
|
+
namespace Discount {
|
|
7067
|
+
interface CouponData {
|
|
7068
|
+
/**
|
|
7069
|
+
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
7070
|
+
*/
|
|
7071
|
+
amount_off?: number;
|
|
7072
|
+
/**
|
|
7073
|
+
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
7074
|
+
*/
|
|
7075
|
+
currency?: string;
|
|
7076
|
+
/**
|
|
7077
|
+
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
7078
|
+
*/
|
|
7079
|
+
duration?: CouponData.Duration;
|
|
7080
|
+
/**
|
|
7081
|
+
* 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`.
|
|
7082
|
+
*/
|
|
7083
|
+
metadata?: Emptyable<MetadataParam>;
|
|
7084
|
+
/**
|
|
7085
|
+
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
7086
|
+
*/
|
|
7087
|
+
name?: string;
|
|
7088
|
+
/**
|
|
7089
|
+
* 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).
|
|
7090
|
+
*/
|
|
7091
|
+
percent_off?: number;
|
|
7092
|
+
}
|
|
7093
|
+
namespace CouponData {
|
|
7094
|
+
type Duration = 'forever' | 'once' | 'repeating' | 'service_period' | OtherString;
|
|
7095
|
+
}
|
|
7096
|
+
}
|
|
7097
|
+
namespace InvoiceCreation {
|
|
7098
|
+
interface InvoiceData {
|
|
7099
|
+
/**
|
|
7100
|
+
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
7101
|
+
*/
|
|
7102
|
+
issuer?: InvoiceData.Issuer;
|
|
7103
|
+
}
|
|
7104
|
+
namespace InvoiceData {
|
|
7105
|
+
interface Issuer {
|
|
7106
|
+
/**
|
|
7107
|
+
* The connected account being referenced when `type` is `account`.
|
|
7108
|
+
*/
|
|
7109
|
+
account?: string;
|
|
7110
|
+
/**
|
|
7111
|
+
* Type of the account referenced in the request.
|
|
7112
|
+
*/
|
|
7113
|
+
type: Issuer.Type;
|
|
7114
|
+
}
|
|
7115
|
+
namespace Issuer {
|
|
7116
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
7117
|
+
}
|
|
7118
|
+
}
|
|
7119
|
+
}
|
|
5015
7120
|
namespace LineItem {
|
|
5016
7121
|
interface AdjustableQuantity {
|
|
5017
7122
|
/**
|
|
@@ -5223,6 +7328,42 @@ export declare namespace Checkout {
|
|
|
5223
7328
|
}
|
|
5224
7329
|
}
|
|
5225
7330
|
}
|
|
7331
|
+
namespace SubscriptionData {
|
|
7332
|
+
interface InvoiceSettings {
|
|
7333
|
+
/**
|
|
7334
|
+
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
7335
|
+
*/
|
|
7336
|
+
issuer?: InvoiceSettings.Issuer;
|
|
7337
|
+
}
|
|
7338
|
+
interface PendingInvoiceItemInterval {
|
|
7339
|
+
/**
|
|
7340
|
+
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
7341
|
+
*/
|
|
7342
|
+
interval: PendingInvoiceItemInterval.Interval;
|
|
7343
|
+
/**
|
|
7344
|
+
* 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).
|
|
7345
|
+
*/
|
|
7346
|
+
interval_count?: number;
|
|
7347
|
+
}
|
|
7348
|
+
namespace InvoiceSettings {
|
|
7349
|
+
interface Issuer {
|
|
7350
|
+
/**
|
|
7351
|
+
* The connected account being referenced when `type` is `account`.
|
|
7352
|
+
*/
|
|
7353
|
+
account?: string;
|
|
7354
|
+
/**
|
|
7355
|
+
* Type of the account referenced in the request.
|
|
7356
|
+
*/
|
|
7357
|
+
type: Issuer.Type;
|
|
7358
|
+
}
|
|
7359
|
+
namespace Issuer {
|
|
7360
|
+
type Type = 'account' | 'application' | 'self' | OtherString;
|
|
7361
|
+
}
|
|
7362
|
+
}
|
|
7363
|
+
namespace PendingInvoiceItemInterval {
|
|
7364
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
7365
|
+
}
|
|
7366
|
+
}
|
|
5226
7367
|
}
|
|
5227
7368
|
}
|
|
5228
7369
|
export declare namespace Checkout {
|
|
@@ -5274,6 +7415,73 @@ export declare namespace Checkout {
|
|
|
5274
7415
|
type Status = 'complete' | 'expired' | 'open' | OtherString;
|
|
5275
7416
|
}
|
|
5276
7417
|
}
|
|
7418
|
+
export declare namespace Checkout {
|
|
7419
|
+
interface SessionApproveParams {
|
|
7420
|
+
/**
|
|
7421
|
+
* The ID of the customer's attempt to pay to approve.
|
|
7422
|
+
*/
|
|
7423
|
+
attempt: string;
|
|
7424
|
+
/**
|
|
7425
|
+
* Specifies which fields in the response should be expanded.
|
|
7426
|
+
*/
|
|
7427
|
+
expand?: Array<string>;
|
|
7428
|
+
/**
|
|
7429
|
+
* A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.
|
|
7430
|
+
*/
|
|
7431
|
+
payment_intent_data?: SessionApproveParams.PaymentIntentData;
|
|
7432
|
+
/**
|
|
7433
|
+
* Payment method-specific configuration to apply to the Checkout Session during approval. Currently only supports `card` payment method options.
|
|
7434
|
+
*/
|
|
7435
|
+
payment_method_options?: SessionApproveParams.PaymentMethodOptions;
|
|
7436
|
+
/**
|
|
7437
|
+
* The URL to redirect your customer back to after they authenticate or cancel their payment on the
|
|
7438
|
+
* payment method's app or site. This parameter is allowed and required if and only if you did not
|
|
7439
|
+
* set the return URL during Checkout Session creation or in `checkout.confirm()` in Stripe.js.
|
|
7440
|
+
*/
|
|
7441
|
+
return_url?: string;
|
|
7442
|
+
/**
|
|
7443
|
+
* A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
|
7444
|
+
*/
|
|
7445
|
+
subscription_data?: SessionApproveParams.SubscriptionData;
|
|
7446
|
+
}
|
|
7447
|
+
namespace SessionApproveParams {
|
|
7448
|
+
interface PaymentIntentData {
|
|
7449
|
+
/**
|
|
7450
|
+
* 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).
|
|
7451
|
+
*/
|
|
7452
|
+
application_fee_amount?: number;
|
|
7453
|
+
}
|
|
7454
|
+
interface PaymentMethodOptions {
|
|
7455
|
+
/**
|
|
7456
|
+
* Card-specific payment method options. Use this to control 3D Secure behavior during approval.
|
|
7457
|
+
*/
|
|
7458
|
+
card?: PaymentMethodOptions.Card;
|
|
7459
|
+
}
|
|
7460
|
+
interface SubscriptionData {
|
|
7461
|
+
/**
|
|
7462
|
+
* 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).
|
|
7463
|
+
*/
|
|
7464
|
+
application_fee_percent?: number;
|
|
7465
|
+
}
|
|
7466
|
+
namespace PaymentMethodOptions {
|
|
7467
|
+
interface Card {
|
|
7468
|
+
/**
|
|
7469
|
+
* We recommend that you rely on our SCA Engine to automatically prompt your customers for
|
|
7470
|
+
* authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication).
|
|
7471
|
+
* However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this
|
|
7472
|
+
* option. When supplied during approval, this value overrides the 3D Secure preference of the
|
|
7473
|
+
* Checkout Session's underlying Intent. If omitted, Checkout does not modify the existing preference.
|
|
7474
|
+
* Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds)
|
|
7475
|
+
* for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
7476
|
+
*/
|
|
7477
|
+
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
7478
|
+
}
|
|
7479
|
+
namespace Card {
|
|
7480
|
+
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
|
|
7481
|
+
}
|
|
7482
|
+
}
|
|
7483
|
+
}
|
|
7484
|
+
}
|
|
5277
7485
|
export declare namespace Checkout {
|
|
5278
7486
|
interface SessionExpireParams {
|
|
5279
7487
|
/**
|