stripe 22.3.0 → 22.4.0-beta.1
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 +1798 -54
- package/README.md +42 -58
- package/VERSION +1 -1
- package/cjs/Error.d.ts +50 -0
- package/cjs/Error.js +125 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +150 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- package/cjs/Types.d.ts +4 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +1 -2
- package/cjs/apiVersion.js +2 -3
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -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 +262 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +827 -3
- package/cjs/resources/Accounts.js +14 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Balance.d.ts +67 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +84 -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 +32 -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/index.d.ts +3 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +101 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +17 -0
- package/cjs/resources/Charges.d.ts +3077 -70
- package/cjs/resources/Checkout/Sessions.d.ts +403 -4
- package/cjs/resources/ConfirmationTokens.d.ts +67 -1
- package/cjs/resources/Coupons.d.ts +53 -0
- package/cjs/resources/Coupons.js +13 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +68 -0
- package/cjs/resources/Customers.d.ts +20 -1
- package/cjs/resources/Customers.js +14 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +29 -0
- package/cjs/resources/Events.d.ts +547 -2
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +99 -0
- package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +156 -7
- package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
- package/cjs/resources/FinancialConnections/index.d.ts +21 -6
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +212 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/InvoiceItems.d.ts +85 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +40 -2
- package/cjs/resources/Invoices.d.ts +1388 -15
- package/cjs/resources/Invoices.js +41 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +13 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +15 -1
- package/cjs/resources/Issuing/Cards.d.ts +13 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -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 +13 -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/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/Transactions.d.ts +22 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +47 -22
- package/cjs/resources/Issuing/index.js +6 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +33 -1
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4693 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +82 -0
- package/cjs/resources/PaymentIntents.d.ts +13283 -2352
- package/cjs/resources/PaymentIntents.js +27 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +19 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +164 -3
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +82 -0
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +52 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +125 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +12 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +42 -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 +507 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1120 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +738 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +2266 -57
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +30 -0
- package/cjs/resources/Refunds.d.ts +11 -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 +16 -0
- package/cjs/resources/Reserve/Plans.js +11 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +17 -6
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +26 -1
- package/cjs/resources/SetupIntents.d.ts +343 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1105 -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 +306 -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 +143 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1152 -0
- package/cjs/resources/SubscriptionSchedules.js +6 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +571 -6
- package/cjs/resources/Subscriptions.js +145 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/cjs/resources/Tax/Calculations.d.ts +7 -3
- package/cjs/resources/Tax/Forms.d.ts +228 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Locations.d.ts +108 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +138 -2
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- package/cjs/resources/Tax/index.d.ts +27 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +15 -0
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +17 -1
- package/cjs/resources/Terminal/index.d.ts +5 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +3 -0
- package/cjs/resources/TestHelpers/index.js +6 -4
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +15 -0
- package/cjs/resources/Transfers.d.ts +8 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +71 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +280 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +947 -0
- package/cjs/resources/V2/Billing/Cadences.js +198 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +236 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +775 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/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/index.d.ts +45 -6
- package/cjs/resources/V2/Billing/index.js +8 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +10 -0
- package/cjs/resources/V2/Core/Accounts.d.ts +1565 -75
- package/cjs/resources/V2/Core/BatchJobs.d.ts +360 -0
- package/cjs/resources/V2/Core/BatchJobs.js +225 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +1151 -4
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +279 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +249 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +63 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
- package/cjs/resources/V2/Core/Vault/index.js +15 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
- package/cjs/resources/V2/Core/index.d.ts +19 -9
- package/cjs/resources/V2/Core/index.js +4 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +150 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +10 -0
- package/cjs/resources/V2/Data/index.js +13 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +2 -0
- package/cjs/resources/V2/EventMisc.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +162 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +119 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +20 -0
- package/cjs/resources/V2/Extend/index.js +15 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +210 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +13 -0
- package/cjs/resources/V2/Iam/index.js +13 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +131 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +240 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +44 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +211 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +250 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +208 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +394 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +296 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +336 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +239 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +157 -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/TransactionEntries.d.ts +161 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +192 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +104 -0
- package/cjs/resources/V2/MoneyManagement/index.js +39 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +27 -0
- package/cjs/resources/V2/index.js +14 -0
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +10 -0
- package/cjs/resources.js +146 -10
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +6536 -109
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +91 -26
- package/cjs/stripe.core.js +55 -32
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +50 -0
- package/esm/Error.js +109 -0
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +146 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- package/esm/Types.d.ts +4 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +1 -2
- package/esm/apiVersion.js +1 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -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 +262 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +827 -3
- package/esm/resources/Accounts.js +14 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Balance.d.ts +67 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +84 -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 +32 -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/index.d.ts +3 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +101 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +17 -0
- package/esm/resources/Charges.d.ts +3077 -70
- package/esm/resources/Checkout/Sessions.d.ts +403 -4
- package/esm/resources/ConfirmationTokens.d.ts +67 -1
- package/esm/resources/Coupons.d.ts +53 -0
- package/esm/resources/Coupons.js +13 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +68 -0
- package/esm/resources/Customers.d.ts +20 -1
- package/esm/resources/Customers.js +14 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +29 -0
- package/esm/resources/Events.d.ts +547 -2
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +99 -0
- package/esm/resources/FinancialConnections/Authorizations.js +11 -0
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +156 -7
- package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
- package/esm/resources/FinancialConnections/index.d.ts +21 -6
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +212 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/InvoiceItems.d.ts +85 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +40 -2
- package/esm/resources/Invoices.d.ts +1388 -15
- package/esm/resources/Invoices.js +41 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +13 -0
- package/esm/resources/Issuing/Cardholders.d.ts +15 -1
- package/esm/resources/Issuing/Cards.d.ts +13 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -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 +13 -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/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/Transactions.d.ts +22 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +47 -22
- package/esm/resources/Issuing/index.js +6 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +33 -1
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orders.d.ts +4693 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +82 -0
- package/esm/resources/PaymentIntents.d.ts +13283 -2352
- package/esm/resources/PaymentIntents.js +27 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +19 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +164 -3
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +82 -0
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +52 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +125 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +12 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +42 -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 +507 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1120 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +738 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +2266 -57
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +30 -0
- package/esm/resources/Refunds.d.ts +11 -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 +16 -0
- package/esm/resources/Reserve/Plans.js +9 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +17 -6
- package/esm/resources/Reserve/index.js +9 -0
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +26 -1
- package/esm/resources/SetupIntents.d.ts +343 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +1105 -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 +306 -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 +143 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1152 -0
- package/esm/resources/SubscriptionSchedules.js +6 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +571 -6
- package/esm/resources/Subscriptions.js +145 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/esm/resources/Tax/Calculations.d.ts +7 -3
- package/esm/resources/Tax/Forms.d.ts +228 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Locations.d.ts +108 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +138 -2
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- package/esm/resources/Tax/index.d.ts +27 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +15 -0
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +17 -1
- package/esm/resources/Terminal/index.d.ts +5 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +3 -0
- package/esm/resources/TestHelpers/index.js +2 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +15 -0
- package/esm/resources/Transfers.d.ts +8 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +71 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +280 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +947 -0
- package/esm/resources/V2/Billing/Cadences.js +194 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +236 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +775 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/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/index.d.ts +45 -6
- package/esm/resources/V2/Billing/index.js +8 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +10 -0
- package/esm/resources/V2/Core/Accounts.d.ts +1565 -75
- package/esm/resources/V2/Core/BatchJobs.d.ts +360 -0
- package/esm/resources/V2/Core/BatchJobs.js +221 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +1151 -4
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +279 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +249 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +59 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
- package/esm/resources/V2/Core/Vault/index.js +11 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -0
- package/esm/resources/V2/Core/index.d.ts +19 -9
- package/esm/resources/V2/Core/index.js +4 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +150 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +10 -0
- package/esm/resources/V2/Data/index.js +9 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +2 -0
- package/esm/resources/V2/EventMisc.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +162 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +119 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +20 -0
- package/esm/resources/V2/Extend/index.js +11 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +210 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +13 -0
- package/esm/resources/V2/Iam/index.js +9 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +131 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +240 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +40 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +211 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +250 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +208 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +394 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +296 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +336 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +239 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +157 -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/TransactionEntries.d.ts +161 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +192 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +104 -0
- package/esm/resources/V2/MoneyManagement/index.js +35 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/TestHelpers/index.js +9 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +27 -0
- package/esm/resources/V2/index.js +14 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +10 -0
- package/esm/resources.js +131 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +91 -26
- package/esm/stripe.core.js +25 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +93 -27
- package/esm/stripe.esm.node.js +25 -2
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -251,6 +251,10 @@ export interface Session {
|
|
|
251
251
|
* The ID of the original expired Checkout Session that triggered the recovery flow.
|
|
252
252
|
*/
|
|
253
253
|
recovered_from: string | null;
|
|
254
|
+
/**
|
|
255
|
+
* The redaction status of the Checkout Session. If the Session is not redacted, this field is null.
|
|
256
|
+
*/
|
|
257
|
+
redaction?: Session.Redaction | null;
|
|
254
258
|
/**
|
|
255
259
|
* This parameter applies to `ui_mode: embedded_page`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.
|
|
256
260
|
*/
|
|
@@ -384,14 +388,26 @@ export declare namespace Session {
|
|
|
384
388
|
* Customer's business name for this Checkout Session
|
|
385
389
|
*/
|
|
386
390
|
business_name: string | null;
|
|
391
|
+
/**
|
|
392
|
+
* Customer's email for this Checkout Session
|
|
393
|
+
*/
|
|
394
|
+
email?: string | null;
|
|
387
395
|
/**
|
|
388
396
|
* Customer's individual name for this Checkout Session
|
|
389
397
|
*/
|
|
390
398
|
individual_name: string | null;
|
|
399
|
+
/**
|
|
400
|
+
* Customer's phone number for this Checkout Session
|
|
401
|
+
*/
|
|
402
|
+
phone?: string | null;
|
|
391
403
|
/**
|
|
392
404
|
* Shipping information for this Checkout Session.
|
|
393
405
|
*/
|
|
394
406
|
shipping_details: CollectedInformation.ShippingDetails | null;
|
|
407
|
+
/**
|
|
408
|
+
* Customer's tax ids for this Checkout Session.
|
|
409
|
+
*/
|
|
410
|
+
tax_ids?: Array<CollectedInformation.TaxId> | null;
|
|
395
411
|
}
|
|
396
412
|
interface Consent {
|
|
397
413
|
/**
|
|
@@ -606,6 +622,18 @@ export declare namespace Session {
|
|
|
606
622
|
}
|
|
607
623
|
type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid';
|
|
608
624
|
interface Permissions {
|
|
625
|
+
/**
|
|
626
|
+
* Permissions for updating the Checkout Session.
|
|
627
|
+
*/
|
|
628
|
+
update?: Permissions.Update | null;
|
|
629
|
+
/**
|
|
630
|
+
* Determines which entity is allowed to update the line items.
|
|
631
|
+
*
|
|
632
|
+
* 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.
|
|
633
|
+
*
|
|
634
|
+
* 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.
|
|
635
|
+
*/
|
|
636
|
+
update_line_items?: Permissions.UpdateLineItems | null;
|
|
609
637
|
/**
|
|
610
638
|
* Determines which entity is allowed to update the shipping details.
|
|
611
639
|
*
|
|
@@ -631,6 +659,12 @@ export declare namespace Session {
|
|
|
631
659
|
*/
|
|
632
660
|
presentment_currency: string;
|
|
633
661
|
}
|
|
662
|
+
interface Redaction {
|
|
663
|
+
/**
|
|
664
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
665
|
+
*/
|
|
666
|
+
status: Redaction.Status;
|
|
667
|
+
}
|
|
634
668
|
type RedirectOnCompletion = 'always' | 'if_required' | 'never';
|
|
635
669
|
interface SavedPaymentMethodOptions {
|
|
636
670
|
/**
|
|
@@ -799,6 +833,19 @@ export declare namespace Session {
|
|
|
799
833
|
*/
|
|
800
834
|
name: string;
|
|
801
835
|
}
|
|
836
|
+
interface TaxId {
|
|
837
|
+
/**
|
|
838
|
+
* The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
|
839
|
+
*/
|
|
840
|
+
type: TaxId.Type;
|
|
841
|
+
/**
|
|
842
|
+
* The value of the tax ID.
|
|
843
|
+
*/
|
|
844
|
+
value: string | null;
|
|
845
|
+
}
|
|
846
|
+
namespace TaxId {
|
|
847
|
+
type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'gb_vat' | 'ge_vat' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'unknown' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin';
|
|
848
|
+
}
|
|
802
849
|
}
|
|
803
850
|
namespace Consent {
|
|
804
851
|
type Promotions = 'opt_in' | 'opt_out';
|
|
@@ -1205,6 +1252,10 @@ export declare namespace Session {
|
|
|
1205
1252
|
*/
|
|
1206
1253
|
capture_method?: 'manual';
|
|
1207
1254
|
installments?: Card.Installments;
|
|
1255
|
+
/**
|
|
1256
|
+
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1257
|
+
*/
|
|
1258
|
+
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
1208
1259
|
/**
|
|
1209
1260
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1210
1261
|
*/
|
|
@@ -1531,6 +1582,10 @@ export declare namespace Session {
|
|
|
1531
1582
|
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
1532
1583
|
*/
|
|
1533
1584
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
1585
|
+
/**
|
|
1586
|
+
* 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.
|
|
1587
|
+
*/
|
|
1588
|
+
subsellers?: Array<string>;
|
|
1534
1589
|
}
|
|
1535
1590
|
interface Payto {
|
|
1536
1591
|
mandate_options?: Payto.MandateOptions;
|
|
@@ -1771,6 +1826,7 @@ export declare namespace Session {
|
|
|
1771
1826
|
*/
|
|
1772
1827
|
enabled?: boolean;
|
|
1773
1828
|
}
|
|
1829
|
+
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
1774
1830
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
1775
1831
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
1776
1832
|
type RequestMulticapture = 'if_available' | 'never';
|
|
@@ -1956,6 +2012,7 @@ export declare namespace Session {
|
|
|
1956
2012
|
namespace UsBankAccount {
|
|
1957
2013
|
interface FinancialConnections {
|
|
1958
2014
|
filters?: FinancialConnections.Filters;
|
|
2015
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
1959
2016
|
/**
|
|
1960
2017
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
1961
2018
|
*/
|
|
@@ -1977,12 +2034,25 @@ export declare namespace Session {
|
|
|
1977
2034
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
1978
2035
|
*/
|
|
1979
2036
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2037
|
+
/**
|
|
2038
|
+
* The institution to use to filter for possible accounts to link.
|
|
2039
|
+
*/
|
|
2040
|
+
institution?: string;
|
|
2041
|
+
}
|
|
2042
|
+
interface ManualEntry {
|
|
2043
|
+
/**
|
|
2044
|
+
* Settings for configuring manual entry of account details.
|
|
2045
|
+
*/
|
|
2046
|
+
mode?: ManualEntry.Mode;
|
|
1980
2047
|
}
|
|
1981
2048
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
1982
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
2049
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
|
|
1983
2050
|
namespace Filters {
|
|
1984
2051
|
type AccountSubcategory = 'checking' | 'savings';
|
|
1985
2052
|
}
|
|
2053
|
+
namespace ManualEntry {
|
|
2054
|
+
type Mode = 'automatic' | 'custom';
|
|
2055
|
+
}
|
|
1986
2056
|
}
|
|
1987
2057
|
}
|
|
1988
2058
|
namespace WechatPay {
|
|
@@ -1990,7 +2060,33 @@ export declare namespace Session {
|
|
|
1990
2060
|
}
|
|
1991
2061
|
}
|
|
1992
2062
|
namespace Permissions {
|
|
2063
|
+
interface Update {
|
|
2064
|
+
/**
|
|
2065
|
+
* Determines which entity is allowed to update the line items.
|
|
2066
|
+
*
|
|
2067
|
+
* 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.
|
|
2068
|
+
*
|
|
2069
|
+
* 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.
|
|
2070
|
+
*/
|
|
2071
|
+
line_items?: Update.LineItems | null;
|
|
2072
|
+
/**
|
|
2073
|
+
* Determines which entity is allowed to update the shipping details.
|
|
2074
|
+
*
|
|
2075
|
+
* 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.
|
|
2076
|
+
*
|
|
2077
|
+
* When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
|
2078
|
+
*/
|
|
2079
|
+
shipping_details: Update.ShippingDetails | null;
|
|
2080
|
+
}
|
|
2081
|
+
type UpdateLineItems = 'client_only' | 'server_only';
|
|
1993
2082
|
type UpdateShippingDetails = 'client_only' | 'server_only';
|
|
2083
|
+
namespace Update {
|
|
2084
|
+
type LineItems = 'client_only' | 'server_only';
|
|
2085
|
+
type ShippingDetails = 'client_only' | 'server_only';
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
namespace Redaction {
|
|
2089
|
+
type Status = 'processing' | 'redacted' | 'validated';
|
|
1994
2090
|
}
|
|
1995
2091
|
namespace SavedPaymentMethodOptions {
|
|
1996
2092
|
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified';
|
|
@@ -2510,12 +2606,16 @@ export declare namespace Checkout {
|
|
|
2510
2606
|
* The ID of the coupon to apply to this Session.
|
|
2511
2607
|
*/
|
|
2512
2608
|
coupon?: string;
|
|
2609
|
+
/**
|
|
2610
|
+
* 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.
|
|
2611
|
+
*/
|
|
2612
|
+
coupon_data?: Discount.CouponData;
|
|
2513
2613
|
/**
|
|
2514
2614
|
* The ID of a promotion code to apply to this Session.
|
|
2515
2615
|
*/
|
|
2516
2616
|
promotion_code?: string;
|
|
2517
2617
|
}
|
|
2518
|
-
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
2618
|
+
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'shopeepay' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
2519
2619
|
interface InvoiceCreation {
|
|
2520
2620
|
/**
|
|
2521
2621
|
* Set to `true` to enable invoice creation.
|
|
@@ -2711,6 +2811,10 @@ export declare namespace Checkout {
|
|
|
2711
2811
|
* contains details about the Billie payment method options.
|
|
2712
2812
|
*/
|
|
2713
2813
|
billie?: PaymentMethodOptions.Billie;
|
|
2814
|
+
/**
|
|
2815
|
+
* contains details about the BLIK payment method options.
|
|
2816
|
+
*/
|
|
2817
|
+
blik?: PaymentMethodOptions.Blik;
|
|
2714
2818
|
/**
|
|
2715
2819
|
* contains details about the Boleto payment method options.
|
|
2716
2820
|
*/
|
|
@@ -2868,8 +2972,26 @@ export declare namespace Checkout {
|
|
|
2868
2972
|
*/
|
|
2869
2973
|
wechat_pay?: PaymentMethodOptions.WechatPay;
|
|
2870
2974
|
}
|
|
2871
|
-
type PaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
2975
|
+
type PaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'shopeepay' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
2872
2976
|
interface Permissions {
|
|
2977
|
+
/**
|
|
2978
|
+
* Permissions for updating the Checkout Session.
|
|
2979
|
+
*/
|
|
2980
|
+
update?: Permissions.Update;
|
|
2981
|
+
/**
|
|
2982
|
+
* Determines which entity is allowed to update the discounts (coupons or promotion codes) that apply to this session.
|
|
2983
|
+
*
|
|
2984
|
+
* 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.
|
|
2985
|
+
*/
|
|
2986
|
+
update_discounts?: Permissions.UpdateDiscounts;
|
|
2987
|
+
/**
|
|
2988
|
+
* Determines which entity is allowed to update the line items.
|
|
2989
|
+
*
|
|
2990
|
+
* 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.
|
|
2991
|
+
*
|
|
2992
|
+
* 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.
|
|
2993
|
+
*/
|
|
2994
|
+
update_line_items?: Permissions.UpdateLineItems;
|
|
2873
2995
|
/**
|
|
2874
2996
|
* Determines which entity is allowed to update the shipping details.
|
|
2875
2997
|
*
|
|
@@ -3192,6 +3314,37 @@ export declare namespace Checkout {
|
|
|
3192
3314
|
message: string;
|
|
3193
3315
|
}
|
|
3194
3316
|
}
|
|
3317
|
+
namespace Discount {
|
|
3318
|
+
interface CouponData {
|
|
3319
|
+
/**
|
|
3320
|
+
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
3321
|
+
*/
|
|
3322
|
+
amount_off?: number;
|
|
3323
|
+
/**
|
|
3324
|
+
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
3325
|
+
*/
|
|
3326
|
+
currency?: string;
|
|
3327
|
+
/**
|
|
3328
|
+
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
3329
|
+
*/
|
|
3330
|
+
duration?: CouponData.Duration;
|
|
3331
|
+
/**
|
|
3332
|
+
* 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`.
|
|
3333
|
+
*/
|
|
3334
|
+
metadata?: Emptyable<MetadataParam>;
|
|
3335
|
+
/**
|
|
3336
|
+
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
3337
|
+
*/
|
|
3338
|
+
name?: string;
|
|
3339
|
+
/**
|
|
3340
|
+
* 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).
|
|
3341
|
+
*/
|
|
3342
|
+
percent_off?: number;
|
|
3343
|
+
}
|
|
3344
|
+
namespace CouponData {
|
|
3345
|
+
type Duration = 'forever' | 'once' | 'repeating';
|
|
3346
|
+
}
|
|
3347
|
+
}
|
|
3195
3348
|
namespace InvoiceCreation {
|
|
3196
3349
|
interface InvoiceData {
|
|
3197
3350
|
/**
|
|
@@ -3329,6 +3482,10 @@ export declare namespace Checkout {
|
|
|
3329
3482
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
3330
3483
|
*/
|
|
3331
3484
|
tax_code?: string;
|
|
3485
|
+
/**
|
|
3486
|
+
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
3487
|
+
*/
|
|
3488
|
+
tax_details?: ProductData.TaxDetails;
|
|
3332
3489
|
/**
|
|
3333
3490
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
3334
3491
|
*/
|
|
@@ -3345,6 +3502,18 @@ export declare namespace Checkout {
|
|
|
3345
3502
|
interval_count?: number;
|
|
3346
3503
|
}
|
|
3347
3504
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
3505
|
+
namespace ProductData {
|
|
3506
|
+
interface TaxDetails {
|
|
3507
|
+
/**
|
|
3508
|
+
* 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.
|
|
3509
|
+
*/
|
|
3510
|
+
performance_location?: string;
|
|
3511
|
+
/**
|
|
3512
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
3513
|
+
*/
|
|
3514
|
+
tax_code?: Emptyable<string>;
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3348
3517
|
namespace Recurring {
|
|
3349
3518
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
3350
3519
|
}
|
|
@@ -3579,6 +3748,13 @@ export declare namespace Checkout {
|
|
|
3579
3748
|
*/
|
|
3580
3749
|
capture_method?: 'manual';
|
|
3581
3750
|
}
|
|
3751
|
+
interface Blik {
|
|
3752
|
+
/**
|
|
3753
|
+
* Additional fields for Mandate creation
|
|
3754
|
+
*/
|
|
3755
|
+
mandate_options?: Blik.MandateOptions;
|
|
3756
|
+
setup_future_usage?: Emptyable<Blik.SetupFutureUsage>;
|
|
3757
|
+
}
|
|
3582
3758
|
interface Boleto {
|
|
3583
3759
|
/**
|
|
3584
3760
|
* The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
|
@@ -3604,6 +3780,10 @@ export declare namespace Checkout {
|
|
|
3604
3780
|
* Installment options for card payments
|
|
3605
3781
|
*/
|
|
3606
3782
|
installments?: Card.Installments;
|
|
3783
|
+
/**
|
|
3784
|
+
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
3785
|
+
*/
|
|
3786
|
+
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
3607
3787
|
/**
|
|
3608
3788
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
3609
3789
|
*/
|
|
@@ -3960,6 +4140,10 @@ export declare namespace Checkout {
|
|
|
3960
4140
|
* A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
3961
4141
|
*/
|
|
3962
4142
|
reference?: string;
|
|
4143
|
+
/**
|
|
4144
|
+
* 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.
|
|
4145
|
+
*/
|
|
4146
|
+
reference_id?: string;
|
|
3963
4147
|
/**
|
|
3964
4148
|
* The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
3965
4149
|
*/
|
|
@@ -3976,6 +4160,10 @@ export declare namespace Checkout {
|
|
|
3976
4160
|
* If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3977
4161
|
*/
|
|
3978
4162
|
setup_future_usage?: Emptyable<Paypal.SetupFutureUsage>;
|
|
4163
|
+
/**
|
|
4164
|
+
* 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.
|
|
4165
|
+
*/
|
|
4166
|
+
subsellers?: Array<string>;
|
|
3979
4167
|
}
|
|
3980
4168
|
interface Payto {
|
|
3981
4169
|
/**
|
|
@@ -4214,6 +4402,15 @@ export declare namespace Checkout {
|
|
|
4214
4402
|
}
|
|
4215
4403
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4216
4404
|
}
|
|
4405
|
+
namespace Blik {
|
|
4406
|
+
interface MandateOptions {
|
|
4407
|
+
/**
|
|
4408
|
+
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
4409
|
+
*/
|
|
4410
|
+
expires_after?: number;
|
|
4411
|
+
}
|
|
4412
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4413
|
+
}
|
|
4217
4414
|
namespace Boleto {
|
|
4218
4415
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4219
4416
|
}
|
|
@@ -4225,6 +4422,7 @@ export declare namespace Checkout {
|
|
|
4225
4422
|
*/
|
|
4226
4423
|
enabled?: boolean;
|
|
4227
4424
|
}
|
|
4425
|
+
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
4228
4426
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
4229
4427
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
4230
4428
|
type RequestMulticapture = 'if_available' | 'never';
|
|
@@ -4463,7 +4661,7 @@ export declare namespace Checkout {
|
|
|
4463
4661
|
type VerificationMethod = 'automatic' | 'instant';
|
|
4464
4662
|
namespace FinancialConnections {
|
|
4465
4663
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
4466
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
4664
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
|
|
4467
4665
|
}
|
|
4468
4666
|
}
|
|
4469
4667
|
namespace WechatPay {
|
|
@@ -4471,7 +4669,31 @@ export declare namespace Checkout {
|
|
|
4471
4669
|
}
|
|
4472
4670
|
}
|
|
4473
4671
|
namespace Permissions {
|
|
4672
|
+
interface Update {
|
|
4673
|
+
/**
|
|
4674
|
+
* Determines which entity is allowed to update the line items.
|
|
4675
|
+
*
|
|
4676
|
+
* 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.
|
|
4677
|
+
*
|
|
4678
|
+
* 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.
|
|
4679
|
+
*/
|
|
4680
|
+
line_items?: Update.LineItems;
|
|
4681
|
+
/**
|
|
4682
|
+
* Determines which entity is allowed to update the shipping details.
|
|
4683
|
+
*
|
|
4684
|
+
* 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.
|
|
4685
|
+
*
|
|
4686
|
+
* When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
|
4687
|
+
*/
|
|
4688
|
+
shipping_details?: Update.ShippingDetails;
|
|
4689
|
+
}
|
|
4690
|
+
type UpdateDiscounts = 'client_only' | 'server_only';
|
|
4691
|
+
type UpdateLineItems = 'client_only' | 'server_only';
|
|
4474
4692
|
type UpdateShippingDetails = 'client_only' | 'server_only';
|
|
4693
|
+
namespace Update {
|
|
4694
|
+
type LineItems = 'client_only' | 'server_only';
|
|
4695
|
+
type ShippingDetails = 'client_only' | 'server_only';
|
|
4696
|
+
}
|
|
4475
4697
|
}
|
|
4476
4698
|
namespace SavedPaymentMethodOptions {
|
|
4477
4699
|
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified';
|
|
@@ -4719,14 +4941,26 @@ export declare namespace Checkout {
|
|
|
4719
4941
|
}
|
|
4720
4942
|
export declare namespace Checkout {
|
|
4721
4943
|
interface SessionUpdateParams {
|
|
4944
|
+
/**
|
|
4945
|
+
* Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
|
4946
|
+
*/
|
|
4947
|
+
automatic_tax?: SessionUpdateParams.AutomaticTax;
|
|
4722
4948
|
/**
|
|
4723
4949
|
* Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions.
|
|
4724
4950
|
*/
|
|
4725
4951
|
collected_information?: SessionUpdateParams.CollectedInformation;
|
|
4952
|
+
/**
|
|
4953
|
+
* List of coupons and promotion codes attached to the Checkout Session.
|
|
4954
|
+
*/
|
|
4955
|
+
discounts?: Emptyable<Array<SessionUpdateParams.Discount>>;
|
|
4726
4956
|
/**
|
|
4727
4957
|
* Specifies which fields in the response should be expanded.
|
|
4728
4958
|
*/
|
|
4729
4959
|
expand?: Array<string>;
|
|
4960
|
+
/**
|
|
4961
|
+
* Generate a post-purchase Invoice for one-time payments.
|
|
4962
|
+
*/
|
|
4963
|
+
invoice_creation?: SessionUpdateParams.InvoiceCreation;
|
|
4730
4964
|
/**
|
|
4731
4965
|
* A list of items the customer is purchasing.
|
|
4732
4966
|
*
|
|
@@ -4751,14 +4985,40 @@ export declare namespace Checkout {
|
|
|
4751
4985
|
* The shipping rate options to apply to this Session. Up to a maximum of 5.
|
|
4752
4986
|
*/
|
|
4753
4987
|
shipping_options?: Emptyable<Array<SessionUpdateParams.ShippingOption>>;
|
|
4988
|
+
/**
|
|
4989
|
+
* A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
|
4990
|
+
*/
|
|
4991
|
+
subscription_data?: SessionUpdateParams.SubscriptionData;
|
|
4754
4992
|
}
|
|
4755
4993
|
namespace SessionUpdateParams {
|
|
4994
|
+
interface AutomaticTax {
|
|
4995
|
+
/**
|
|
4996
|
+
* 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.
|
|
4997
|
+
*/
|
|
4998
|
+
liability?: AutomaticTax.Liability;
|
|
4999
|
+
}
|
|
4756
5000
|
interface CollectedInformation {
|
|
4757
5001
|
/**
|
|
4758
5002
|
* The shipping details to apply to this Session.
|
|
4759
5003
|
*/
|
|
4760
5004
|
shipping_details?: CollectedInformation.ShippingDetails;
|
|
4761
5005
|
}
|
|
5006
|
+
interface Discount {
|
|
5007
|
+
/**
|
|
5008
|
+
* 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.
|
|
5009
|
+
*/
|
|
5010
|
+
coupon?: string;
|
|
5011
|
+
/**
|
|
5012
|
+
* 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.
|
|
5013
|
+
*/
|
|
5014
|
+
coupon_data?: Discount.CouponData;
|
|
5015
|
+
}
|
|
5016
|
+
interface InvoiceCreation {
|
|
5017
|
+
/**
|
|
5018
|
+
* Parameters passed when creating invoices for payment-mode Checkout Sessions.
|
|
5019
|
+
*/
|
|
5020
|
+
invoice_data?: InvoiceCreation.InvoiceData;
|
|
5021
|
+
}
|
|
4762
5022
|
interface LineItem {
|
|
4763
5023
|
/**
|
|
4764
5024
|
* When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
|
|
@@ -4799,6 +5059,39 @@ export declare namespace Checkout {
|
|
|
4799
5059
|
*/
|
|
4800
5060
|
shipping_rate_data?: ShippingOption.ShippingRateData;
|
|
4801
5061
|
}
|
|
5062
|
+
interface SubscriptionData {
|
|
5063
|
+
/**
|
|
5064
|
+
* All invoices will be billed using the specified settings.
|
|
5065
|
+
*/
|
|
5066
|
+
invoice_settings?: SubscriptionData.InvoiceSettings;
|
|
5067
|
+
/**
|
|
5068
|
+
* 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.
|
|
5069
|
+
*/
|
|
5070
|
+
pending_invoice_item_interval?: Emptyable<SubscriptionData.PendingInvoiceItemInterval>;
|
|
5071
|
+
/**
|
|
5072
|
+
* 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.
|
|
5073
|
+
*/
|
|
5074
|
+
trial_end?: number;
|
|
5075
|
+
/**
|
|
5076
|
+
* Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
5077
|
+
*/
|
|
5078
|
+
trial_period_days?: Emptyable<number>;
|
|
5079
|
+
}
|
|
5080
|
+
namespace AutomaticTax {
|
|
5081
|
+
interface Liability {
|
|
5082
|
+
/**
|
|
5083
|
+
* The connected account being referenced when `type` is `account`.
|
|
5084
|
+
*/
|
|
5085
|
+
account?: string;
|
|
5086
|
+
/**
|
|
5087
|
+
* Type of the account referenced in the request.
|
|
5088
|
+
*/
|
|
5089
|
+
type: Liability.Type;
|
|
5090
|
+
}
|
|
5091
|
+
namespace Liability {
|
|
5092
|
+
type Type = 'account' | 'self';
|
|
5093
|
+
}
|
|
5094
|
+
}
|
|
4802
5095
|
namespace CollectedInformation {
|
|
4803
5096
|
interface ShippingDetails {
|
|
4804
5097
|
/**
|
|
@@ -4839,6 +5132,60 @@ export declare namespace Checkout {
|
|
|
4839
5132
|
}
|
|
4840
5133
|
}
|
|
4841
5134
|
}
|
|
5135
|
+
namespace Discount {
|
|
5136
|
+
interface CouponData {
|
|
5137
|
+
/**
|
|
5138
|
+
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
5139
|
+
*/
|
|
5140
|
+
amount_off?: number;
|
|
5141
|
+
/**
|
|
5142
|
+
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
5143
|
+
*/
|
|
5144
|
+
currency?: string;
|
|
5145
|
+
/**
|
|
5146
|
+
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
5147
|
+
*/
|
|
5148
|
+
duration?: CouponData.Duration;
|
|
5149
|
+
/**
|
|
5150
|
+
* 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`.
|
|
5151
|
+
*/
|
|
5152
|
+
metadata?: Emptyable<MetadataParam>;
|
|
5153
|
+
/**
|
|
5154
|
+
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
5155
|
+
*/
|
|
5156
|
+
name?: string;
|
|
5157
|
+
/**
|
|
5158
|
+
* 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).
|
|
5159
|
+
*/
|
|
5160
|
+
percent_off?: number;
|
|
5161
|
+
}
|
|
5162
|
+
namespace CouponData {
|
|
5163
|
+
type Duration = 'forever' | 'once' | 'repeating';
|
|
5164
|
+
}
|
|
5165
|
+
}
|
|
5166
|
+
namespace InvoiceCreation {
|
|
5167
|
+
interface InvoiceData {
|
|
5168
|
+
/**
|
|
5169
|
+
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
5170
|
+
*/
|
|
5171
|
+
issuer?: InvoiceData.Issuer;
|
|
5172
|
+
}
|
|
5173
|
+
namespace InvoiceData {
|
|
5174
|
+
interface Issuer {
|
|
5175
|
+
/**
|
|
5176
|
+
* The connected account being referenced when `type` is `account`.
|
|
5177
|
+
*/
|
|
5178
|
+
account?: string;
|
|
5179
|
+
/**
|
|
5180
|
+
* Type of the account referenced in the request.
|
|
5181
|
+
*/
|
|
5182
|
+
type: Issuer.Type;
|
|
5183
|
+
}
|
|
5184
|
+
namespace Issuer {
|
|
5185
|
+
type Type = 'account' | 'self';
|
|
5186
|
+
}
|
|
5187
|
+
}
|
|
5188
|
+
}
|
|
4842
5189
|
namespace LineItem {
|
|
4843
5190
|
interface AdjustableQuantity {
|
|
4844
5191
|
/**
|
|
@@ -4906,6 +5253,10 @@ export declare namespace Checkout {
|
|
|
4906
5253
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
4907
5254
|
*/
|
|
4908
5255
|
tax_code?: string;
|
|
5256
|
+
/**
|
|
5257
|
+
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
5258
|
+
*/
|
|
5259
|
+
tax_details?: ProductData.TaxDetails;
|
|
4909
5260
|
/**
|
|
4910
5261
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
4911
5262
|
*/
|
|
@@ -4922,6 +5273,18 @@ export declare namespace Checkout {
|
|
|
4922
5273
|
interval_count?: number;
|
|
4923
5274
|
}
|
|
4924
5275
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
5276
|
+
namespace ProductData {
|
|
5277
|
+
interface TaxDetails {
|
|
5278
|
+
/**
|
|
5279
|
+
* 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.
|
|
5280
|
+
*/
|
|
5281
|
+
performance_location?: string;
|
|
5282
|
+
/**
|
|
5283
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
5284
|
+
*/
|
|
5285
|
+
tax_code?: Emptyable<string>;
|
|
5286
|
+
}
|
|
5287
|
+
}
|
|
4925
5288
|
namespace Recurring {
|
|
4926
5289
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
4927
5290
|
}
|
|
@@ -5031,6 +5394,42 @@ export declare namespace Checkout {
|
|
|
5031
5394
|
}
|
|
5032
5395
|
}
|
|
5033
5396
|
}
|
|
5397
|
+
namespace SubscriptionData {
|
|
5398
|
+
interface InvoiceSettings {
|
|
5399
|
+
/**
|
|
5400
|
+
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
5401
|
+
*/
|
|
5402
|
+
issuer?: InvoiceSettings.Issuer;
|
|
5403
|
+
}
|
|
5404
|
+
interface PendingInvoiceItemInterval {
|
|
5405
|
+
/**
|
|
5406
|
+
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
5407
|
+
*/
|
|
5408
|
+
interval: PendingInvoiceItemInterval.Interval;
|
|
5409
|
+
/**
|
|
5410
|
+
* 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).
|
|
5411
|
+
*/
|
|
5412
|
+
interval_count?: number;
|
|
5413
|
+
}
|
|
5414
|
+
namespace InvoiceSettings {
|
|
5415
|
+
interface Issuer {
|
|
5416
|
+
/**
|
|
5417
|
+
* The connected account being referenced when `type` is `account`.
|
|
5418
|
+
*/
|
|
5419
|
+
account?: string;
|
|
5420
|
+
/**
|
|
5421
|
+
* Type of the account referenced in the request.
|
|
5422
|
+
*/
|
|
5423
|
+
type: Issuer.Type;
|
|
5424
|
+
}
|
|
5425
|
+
namespace Issuer {
|
|
5426
|
+
type Type = 'account' | 'self';
|
|
5427
|
+
}
|
|
5428
|
+
}
|
|
5429
|
+
namespace PendingInvoiceItemInterval {
|
|
5430
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
5431
|
+
}
|
|
5432
|
+
}
|
|
5034
5433
|
}
|
|
5035
5434
|
}
|
|
5036
5435
|
export declare namespace Checkout {
|