stripe 22.2.0-beta.3 → 22.2.0
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 +84 -1730
- package/OPENAPI_VERSION +1 -1
- package/README.md +65 -57
- package/VERSION +1 -1
- package/cjs/Error.d.ts +0 -50
- package/cjs/Error.js +1 -125
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +1 -0
- package/cjs/RequestSender.js +10 -2
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/Types.d.ts +2 -4
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/lib.d.ts +48 -3
- package/cjs/net/FetchHttpClient.js.map +1 -1
- package/cjs/net/HttpClient.js.map +1 -1
- package/cjs/platform/NodePlatformFunctions.d.ts +6 -0
- package/cjs/platform/NodePlatformFunctions.js +17 -0
- package/cjs/platform/NodePlatformFunctions.js.map +1 -1
- package/cjs/platform/PlatformFunctions.d.ts +13 -0
- package/cjs/platform/PlatformFunctions.js +21 -0
- package/cjs/platform/PlatformFunctions.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +0 -262
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +45 -819
- package/cjs/resources/Accounts.js +0 -15
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Apps/index.d.ts +4 -4
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BalanceSettings.d.ts +86 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/index.d.ts +24 -27
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/index.d.ts +5 -5
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +0 -4
- package/cjs/resources/Charges.d.ts +92 -3064
- package/cjs/resources/Checkout/Sessions.d.ts +51 -414
- package/cjs/resources/Checkout/index.d.ts +6 -6
- package/cjs/resources/Climate/index.d.ts +9 -9
- package/cjs/resources/ConfirmationTokens.d.ts +7 -67
- package/cjs/resources/Coupons.d.ts +0 -47
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -7
- package/cjs/resources/CreditNotes.js +0 -14
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +1 -7
- package/cjs/resources/Customers.js +0 -15
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Discounts.d.ts +4 -4
- package/cjs/resources/Disputes.d.ts +0 -29
- package/cjs/resources/Entitlements/index.d.ts +6 -6
- package/cjs/resources/Events.d.ts +2 -547
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -74
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +7 -155
- package/cjs/resources/FinancialConnections/index.d.ts +13 -28
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/Forwarding/index.d.ts +3 -3
- package/cjs/resources/Identity/index.d.ts +8 -8
- package/cjs/resources/InvoiceItems.d.ts +28 -85
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/Invoices.d.ts +26 -1348
- package/cjs/resources/Invoices.js +0 -70
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +1 -2
- package/cjs/resources/Issuing/Disputes.d.ts +1 -1
- package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/cjs/resources/Issuing/Transactions.d.ts +0 -9
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +35 -60
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +2 -29
- package/cjs/resources/Mandates.d.ts +4 -33
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/OAuth.d.ts +7 -8
- package/cjs/resources/PaymentAttemptRecords.d.ts +23 -92
- package/cjs/resources/PaymentIntents.d.ts +6510 -17236
- package/cjs/resources/PaymentIntents.js +3 -28
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +88 -20
- package/cjs/resources/PaymentMethodConfigurations.d.ts +93 -299
- package/cjs/resources/PaymentMethods.d.ts +22 -152
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +23 -92
- package/cjs/resources/Payouts.d.ts +1 -1
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Plans.d.ts +0 -16
- package/cjs/resources/Prices.d.ts +0 -52
- package/cjs/resources/Products.d.ts +0 -42
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +0 -28
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +160 -2369
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
- package/cjs/resources/Radar/index.d.ts +12 -12
- package/cjs/resources/Refunds.d.ts +3 -11
- package/cjs/resources/Reporting/index.d.ts +5 -5
- package/cjs/resources/Reserve/Holds.d.ts +1 -53
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +0 -16
- package/cjs/resources/Reserve/Plans.js +0 -11
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +1 -41
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +3 -14
- package/cjs/resources/Reserve/index.js +2 -10
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +3 -25
- package/cjs/resources/SetupIntents.d.ts +77 -336
- package/cjs/resources/Sigma/index.d.ts +2 -2
- package/cjs/resources/Sources.d.ts +1 -16
- package/cjs/resources/SubscriptionItems.d.ts +4 -165
- package/cjs/resources/SubscriptionSchedules.d.ts +16 -1174
- package/cjs/resources/SubscriptionSchedules.js +0 -48
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +32 -490
- package/cjs/resources/Subscriptions.js +2 -31
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -6
- package/cjs/resources/Tax/Calculations.d.ts +3 -7
- package/cjs/resources/Tax/Registrations.d.ts +2 -138
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- package/cjs/resources/Tax/index.d.ts +17 -31
- package/cjs/resources/Tax/index.js +0 -4
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +0 -15
- package/cjs/resources/Terminal/Configurations.d.ts +108 -27
- package/cjs/resources/Terminal/Readers.d.ts +143 -19
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +25 -30
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
- package/cjs/resources/TestHelpers/TestClocks.d.ts +4 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +5 -8
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Transfers.d.ts +0 -8
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/Treasury/index.d.ts +33 -33
- package/cjs/resources/V2/Billing/index.d.ts +6 -45
- package/cjs/resources/V2/Billing/index.js +0 -8
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +32 -14
- package/cjs/resources/V2/Core/AccountTokens.js +5 -1
- package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +233 -1171
- package/cjs/resources/V2/Core/Accounts.js +1 -1
- package/cjs/resources/V2/Core/EventDestinations.d.ts +2 -2
- package/cjs/resources/V2/Core/Events.d.ts +8 -1126
- package/cjs/resources/V2/Core/Events.js +2 -1
- package/cjs/resources/V2/Core/Events.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +19 -29
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/index.d.ts +0 -27
- package/cjs/resources/V2/index.js +0 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +0 -10
- package/cjs/resources.js +10 -146
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +29 -69
- package/cjs/stripe.core.js +44 -61
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +0 -2
- package/cjs/utils.js +1 -16
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +0 -50
- package/esm/Error.js +0 -109
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +1 -0
- package/esm/RequestSender.js +11 -3
- package/esm/RequestSender.js.map +1 -1
- package/esm/Types.d.ts +2 -4
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -1
- package/esm/apiVersion.js +2 -1
- package/esm/apiVersion.js.map +1 -1
- package/esm/lib.d.ts +48 -3
- package/esm/net/FetchHttpClient.js.map +1 -1
- package/esm/net/HttpClient.js.map +1 -1
- package/esm/platform/NodePlatformFunctions.d.ts +6 -0
- package/esm/platform/NodePlatformFunctions.js +17 -0
- package/esm/platform/NodePlatformFunctions.js.map +1 -1
- package/esm/platform/PlatformFunctions.d.ts +13 -0
- package/esm/platform/PlatformFunctions.js +21 -0
- package/esm/platform/PlatformFunctions.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +0 -262
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +45 -819
- package/esm/resources/Accounts.js +0 -15
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Apps/index.d.ts +4 -4
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BalanceSettings.d.ts +86 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/index.d.ts +24 -27
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/index.d.ts +5 -5
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +0 -4
- package/esm/resources/Charges.d.ts +92 -3064
- package/esm/resources/Checkout/Sessions.d.ts +51 -414
- package/esm/resources/Checkout/index.d.ts +6 -6
- package/esm/resources/Climate/index.d.ts +9 -9
- package/esm/resources/ConfirmationTokens.d.ts +7 -67
- package/esm/resources/Coupons.d.ts +0 -47
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -7
- package/esm/resources/CreditNotes.js +0 -14
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +1 -7
- package/esm/resources/Customers.js +0 -15
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Discounts.d.ts +4 -4
- package/esm/resources/Disputes.d.ts +0 -29
- package/esm/resources/Entitlements/index.d.ts +6 -6
- package/esm/resources/Events.d.ts +2 -547
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +4 -74
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +7 -155
- package/esm/resources/FinancialConnections/index.d.ts +13 -28
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/Forwarding/index.d.ts +3 -3
- package/esm/resources/Identity/index.d.ts +8 -8
- package/esm/resources/InvoiceItems.d.ts +28 -85
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/Invoices.d.ts +26 -1348
- package/esm/resources/Invoices.js +0 -70
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +1 -2
- package/esm/resources/Issuing/Disputes.d.ts +1 -1
- package/esm/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/esm/resources/Issuing/Transactions.d.ts +0 -9
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +35 -60
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +2 -29
- package/esm/resources/Mandates.d.ts +4 -33
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/OAuth.d.ts +7 -8
- package/esm/resources/PaymentAttemptRecords.d.ts +23 -92
- package/esm/resources/PaymentIntents.d.ts +6510 -17236
- package/esm/resources/PaymentIntents.js +3 -28
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +88 -20
- package/esm/resources/PaymentMethodConfigurations.d.ts +93 -299
- package/esm/resources/PaymentMethods.d.ts +22 -152
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +23 -92
- package/esm/resources/Payouts.d.ts +1 -1
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Plans.d.ts +0 -16
- package/esm/resources/Prices.d.ts +0 -52
- package/esm/resources/Products.d.ts +0 -42
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +0 -28
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +160 -2369
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
- package/esm/resources/Radar/index.d.ts +12 -12
- package/esm/resources/Refunds.d.ts +3 -11
- package/esm/resources/Reporting/index.d.ts +5 -5
- package/esm/resources/Reserve/Holds.d.ts +1 -53
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +0 -16
- package/esm/resources/Reserve/Plans.js +1 -9
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +1 -41
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +3 -14
- package/esm/resources/Reserve/index.js +2 -10
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +3 -25
- package/esm/resources/SetupIntents.d.ts +77 -336
- package/esm/resources/Sigma/index.d.ts +2 -2
- package/esm/resources/Sources.d.ts +1 -16
- package/esm/resources/SubscriptionItems.d.ts +4 -165
- package/esm/resources/SubscriptionSchedules.d.ts +16 -1174
- package/esm/resources/SubscriptionSchedules.js +0 -48
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +32 -490
- package/esm/resources/Subscriptions.js +2 -31
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +2 -6
- package/esm/resources/Tax/Calculations.d.ts +3 -7
- package/esm/resources/Tax/Registrations.d.ts +2 -138
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- package/esm/resources/Tax/index.d.ts +17 -31
- package/esm/resources/Tax/index.js +0 -4
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +0 -15
- package/esm/resources/Terminal/Configurations.d.ts +108 -27
- package/esm/resources/Terminal/Readers.d.ts +143 -19
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +25 -30
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
- package/esm/resources/TestHelpers/TestClocks.d.ts +4 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +5 -8
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Transfers.d.ts +0 -8
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/Treasury/index.d.ts +33 -33
- package/esm/resources/V2/Billing/index.d.ts +6 -45
- package/esm/resources/V2/Billing/index.js +0 -8
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +32 -14
- package/esm/resources/V2/Core/AccountTokens.js +5 -1
- package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +233 -1171
- package/esm/resources/V2/Core/Accounts.js +1 -1
- package/esm/resources/V2/Core/EventDestinations.d.ts +2 -2
- package/esm/resources/V2/Core/Events.d.ts +8 -1126
- package/esm/resources/V2/Core/Events.js +2 -1
- package/esm/resources/V2/Core/Events.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +19 -29
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/index.d.ts +0 -27
- package/esm/resources/V2/index.js +0 -14
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +0 -10
- package/esm/resources.js +0 -131
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +29 -69
- package/esm/stripe.core.js +15 -32
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +29 -70
- package/esm/stripe.esm.node.js +15 -32
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +0 -2
- package/esm/utils.js +0 -13
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +0 -22
- package/cjs/StripeEventNotificationHandler.js +0 -147
- package/cjs/StripeEventNotificationHandler.js.map +0 -1
- package/cjs/resources/AccountNotices.d.ts +0 -140
- package/cjs/resources/AccountNotices.js +0 -29
- package/cjs/resources/AccountNotices.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
- package/cjs/resources/Billing/Analytics/index.js +0 -13
- package/cjs/resources/Billing/Analytics/index.js.map +0 -1
- package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
- package/cjs/resources/Capital/FinancingOffers.js +0 -30
- package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
- package/cjs/resources/Capital/FinancingSummary.js +0 -15
- package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
- package/cjs/resources/Capital/FinancingTransactions.js +0 -24
- package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
- package/cjs/resources/Capital/index.d.ts +0 -25
- package/cjs/resources/Capital/index.js +0 -17
- package/cjs/resources/Capital/index.js.map +0 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
- package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
- package/cjs/resources/FinancialConnections/Institutions.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
- package/cjs/resources/FxQuotes.d.ts +0 -212
- package/cjs/resources/FxQuotes.js +0 -29
- package/cjs/resources/FxQuotes.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/cjs/resources/Issuing/Settlements.d.ts +0 -85
- package/cjs/resources/Issuing/Settlements.js +0 -4
- package/cjs/resources/Issuing/Settlements.js.map +0 -1
- package/cjs/resources/Margins.d.ts +0 -115
- package/cjs/resources/Margins.js +0 -35
- package/cjs/resources/Margins.js.map +0 -1
- package/cjs/resources/Orders.d.ts +0 -4693
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
- package/cjs/resources/Privacy/RedactionJobs.js +0 -73
- package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
- package/cjs/resources/Privacy/index.d.ts +0 -22
- package/cjs/resources/Privacy/index.js +0 -13
- package/cjs/resources/Privacy/index.js.map +0 -1
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
- package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/cjs/resources/ProductCatalog/index.d.ts +0 -12
- package/cjs/resources/ProductCatalog/index.js +0 -13
- package/cjs/resources/ProductCatalog/index.js.map +0 -1
- package/cjs/resources/QuoteLines.d.ts +0 -507
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1116
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
- package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
- package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/index.d.ts +0 -19
- package/cjs/resources/SharedPayment/index.js +0 -15
- package/cjs/resources/SharedPayment/index.js.map +0 -1
- package/cjs/resources/Tax/Forms.d.ts +0 -230
- package/cjs/resources/Tax/Forms.js +0 -32
- package/cjs/resources/Tax/Forms.js.map +0 -1
- package/cjs/resources/Tax/Locations.d.ts +0 -108
- package/cjs/resources/Tax/Locations.js +0 -33
- package/cjs/resources/Tax/Locations.js.map +0 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
- package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
- package/cjs/resources/V2/Billing/BillSettings.js +0 -41
- package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
- package/cjs/resources/V2/Billing/Cadences.js +0 -198
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
- package/cjs/resources/V2/Billing/Profiles.js +0 -35
- package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
- package/cjs/resources/V2/Core/BatchJobs.js +0 -225
- package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
- package/cjs/resources/V2/Core/Vault/index.js +0 -15
- package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Data/index.d.ts +0 -10
- package/cjs/resources/V2/Data/index.js +0 -13
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +0 -2
- package/cjs/resources/V2/EventMisc.js.map +0 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
- package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
- package/cjs/resources/V2/Extend/Workflows.js +0 -30
- package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
- package/cjs/resources/V2/Extend/index.d.ts +0 -20
- package/cjs/resources/V2/Extend/index.js +0 -15
- package/cjs/resources/V2/Extend/index.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -204
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -17
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -12
- package/cjs/resources/V2/Iam/index.js +0 -13
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/cjs/resources/V2/MoneyManagement/index.js +0 -39
- package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
- package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/cjs/resources/V2/Network/index.d.ts +0 -13
- package/cjs/resources/V2/Network/index.js +0 -13
- package/cjs/resources/V2/Network/index.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
- package/esm/StripeEventNotificationHandler.d.ts +0 -22
- package/esm/StripeEventNotificationHandler.js +0 -143
- package/esm/StripeEventNotificationHandler.js.map +0 -1
- package/esm/resources/AccountNotices.d.ts +0 -140
- package/esm/resources/AccountNotices.js +0 -25
- package/esm/resources/AccountNotices.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/esm/resources/Billing/Analytics/index.d.ts +0 -15
- package/esm/resources/Billing/Analytics/index.js +0 -9
- package/esm/resources/Billing/Analytics/index.js.map +0 -1
- package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
- package/esm/resources/Capital/FinancingOffers.js +0 -26
- package/esm/resources/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
- package/esm/resources/Capital/FinancingSummary.js +0 -11
- package/esm/resources/Capital/FinancingSummary.js.map +0 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
- package/esm/resources/Capital/FinancingTransactions.js +0 -20
- package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
- package/esm/resources/Capital/index.d.ts +0 -25
- package/esm/resources/Capital/index.js +0 -13
- package/esm/resources/Capital/index.js.map +0 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
- package/esm/resources/FinancialConnections/Authorizations.js +0 -11
- package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
- package/esm/resources/FinancialConnections/Institutions.js +0 -19
- package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
- package/esm/resources/FxQuotes.d.ts +0 -212
- package/esm/resources/FxQuotes.js +0 -25
- package/esm/resources/FxQuotes.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/esm/resources/Issuing/Settlements.d.ts +0 -85
- package/esm/resources/Issuing/Settlements.js +0 -3
- package/esm/resources/Issuing/Settlements.js.map +0 -1
- package/esm/resources/Margins.d.ts +0 -115
- package/esm/resources/Margins.js +0 -31
- package/esm/resources/Margins.js.map +0 -1
- package/esm/resources/Orders.d.ts +0 -4693
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
- package/esm/resources/Privacy/RedactionJobs.js +0 -69
- package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
- package/esm/resources/Privacy/index.d.ts +0 -22
- package/esm/resources/Privacy/index.js +0 -9
- package/esm/resources/Privacy/index.js.map +0 -1
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
- package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
- package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/esm/resources/ProductCatalog/index.d.ts +0 -12
- package/esm/resources/ProductCatalog/index.js +0 -9
- package/esm/resources/ProductCatalog/index.js.map +0 -1
- package/esm/resources/QuoteLines.d.ts +0 -507
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1116
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
- package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
- package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
- package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
- package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/index.d.ts +0 -19
- package/esm/resources/SharedPayment/index.js +0 -11
- package/esm/resources/SharedPayment/index.js.map +0 -1
- package/esm/resources/Tax/Forms.d.ts +0 -230
- package/esm/resources/Tax/Forms.js +0 -28
- package/esm/resources/Tax/Forms.js.map +0 -1
- package/esm/resources/Tax/Locations.d.ts +0 -108
- package/esm/resources/Tax/Locations.js +0 -29
- package/esm/resources/Tax/Locations.js.map +0 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
- package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
- package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
- package/esm/resources/V2/Billing/BillSettings.js +0 -37
- package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
- package/esm/resources/V2/Billing/Cadences.js +0 -194
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
- package/esm/resources/V2/Billing/Profiles.js +0 -31
- package/esm/resources/V2/Billing/Profiles.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
- package/esm/resources/V2/Core/BatchJobs.js +0 -221
- package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
- package/esm/resources/V2/Core/Vault/index.js +0 -11
- package/esm/resources/V2/Core/Vault/index.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/esm/resources/V2/Data/Reporting/index.js +0 -9
- package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Data/index.d.ts +0 -10
- package/esm/resources/V2/Data/index.js +0 -9
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +0 -2
- package/esm/resources/V2/EventMisc.js.map +0 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
- package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
- package/esm/resources/V2/Extend/Workflows.js +0 -26
- package/esm/resources/V2/Extend/Workflows.js.map +0 -1
- package/esm/resources/V2/Extend/index.d.ts +0 -20
- package/esm/resources/V2/Extend/index.js +0 -11
- package/esm/resources/V2/Extend/index.js.map +0 -1
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -204
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -13
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -12
- package/esm/resources/V2/Iam/index.js +0 -9
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/esm/resources/V2/MoneyManagement/index.js +0 -35
- package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
- package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
- package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/esm/resources/V2/Network/index.d.ts +0 -13
- package/esm/resources/V2/Network/index.js +0 -9
- package/esm/resources/V2/Network/index.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/TestHelpers/index.js +0 -9
- package/esm/resources/V2/TestHelpers/index.js.map +0 -1
|
@@ -90,8 +90,8 @@ export interface Session {
|
|
|
90
90
|
*/
|
|
91
91
|
client_reference_id: string | null;
|
|
92
92
|
/**
|
|
93
|
-
* The client secret of your Checkout Session. Applies to Checkout Sessions with `ui_mode:
|
|
94
|
-
* For `ui_mode:
|
|
93
|
+
* The client secret of your Checkout Session. Applies to Checkout Sessions with `ui_mode: embedded_page` or `ui_mode: elements`. For `ui_mode: embedded_page`, the client secret is to be used when initializing Stripe.js embedded checkout.
|
|
94
|
+
* For `ui_mode: elements`, use the client secret with [initCheckout](https://docs.stripe.com/js/custom_checkout/init) on your front end.
|
|
95
95
|
*/
|
|
96
96
|
client_secret: string | null;
|
|
97
97
|
/**
|
|
@@ -251,11 +251,11 @@ export interface Session {
|
|
|
251
251
|
*/
|
|
252
252
|
recovered_from: string | null;
|
|
253
253
|
/**
|
|
254
|
-
* This parameter applies to `ui_mode:
|
|
254
|
+
* 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`.
|
|
255
255
|
*/
|
|
256
256
|
redirect_on_completion?: Checkout.Session.RedirectOnCompletion;
|
|
257
257
|
/**
|
|
258
|
-
* Applies to Checkout Sessions with `ui_mode:
|
|
258
|
+
* Applies to Checkout Sessions with `ui_mode: embedded_page` or `ui_mode: elements`. The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site.
|
|
259
259
|
*/
|
|
260
260
|
return_url?: string;
|
|
261
261
|
/**
|
|
@@ -307,7 +307,7 @@ export interface Session {
|
|
|
307
307
|
*/
|
|
308
308
|
ui_mode: Checkout.Session.UiMode | null;
|
|
309
309
|
/**
|
|
310
|
-
* The URL to the Checkout Session. Applies to Checkout Sessions with `ui_mode:
|
|
310
|
+
* The URL to the Checkout Session. Applies to Checkout Sessions with `ui_mode: hosted_page`. Redirect customers to this URL to take them to Checkout. If you're using [Custom Domains](https://docs.stripe.com/payments/checkout/custom-domains), the URL will use your subdomain. Otherwise, it'll use `checkout.stripe.com.`
|
|
311
311
|
* This value is only present when the session is active.
|
|
312
312
|
*/
|
|
313
313
|
url: string | null;
|
|
@@ -384,26 +384,14 @@ export declare namespace Checkout {
|
|
|
384
384
|
* Customer's business name for this Checkout Session
|
|
385
385
|
*/
|
|
386
386
|
business_name: string | null;
|
|
387
|
-
/**
|
|
388
|
-
* Customer's email for this Checkout Session
|
|
389
|
-
*/
|
|
390
|
-
email?: string | null;
|
|
391
387
|
/**
|
|
392
388
|
* Customer's individual name for this Checkout Session
|
|
393
389
|
*/
|
|
394
390
|
individual_name: string | null;
|
|
395
|
-
/**
|
|
396
|
-
* Customer's phone number for this Checkout Session
|
|
397
|
-
*/
|
|
398
|
-
phone?: string | null;
|
|
399
391
|
/**
|
|
400
392
|
* Shipping information for this Checkout Session.
|
|
401
393
|
*/
|
|
402
394
|
shipping_details: CollectedInformation.ShippingDetails | null;
|
|
403
|
-
/**
|
|
404
|
-
* Customer's tax ids for this Checkout Session.
|
|
405
|
-
*/
|
|
406
|
-
tax_ids?: Array<CollectedInformation.TaxId> | null;
|
|
407
395
|
}
|
|
408
396
|
interface Consent {
|
|
409
397
|
/**
|
|
@@ -424,7 +412,7 @@ export declare namespace Checkout {
|
|
|
424
412
|
/**
|
|
425
413
|
* If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout
|
|
426
414
|
* Session will determine whether to display an option to opt into promotional communication
|
|
427
|
-
* from the merchant depending on the customer's locale. Only available to US merchants.
|
|
415
|
+
* from the merchant depending on the customer's locale. Only available to US merchants and US customers.
|
|
428
416
|
*/
|
|
429
417
|
promotions: ConsentCollection.Promotions | null;
|
|
430
418
|
/**
|
|
@@ -606,6 +594,7 @@ export declare namespace Checkout {
|
|
|
606
594
|
revolut_pay?: PaymentMethodOptions.RevolutPay;
|
|
607
595
|
samsung_pay?: PaymentMethodOptions.SamsungPay;
|
|
608
596
|
satispay?: PaymentMethodOptions.Satispay;
|
|
597
|
+
scalapay?: PaymentMethodOptions.Scalapay;
|
|
609
598
|
sepa_debit?: PaymentMethodOptions.SepaDebit;
|
|
610
599
|
sofort?: PaymentMethodOptions.Sofort;
|
|
611
600
|
swish?: PaymentMethodOptions.Swish;
|
|
@@ -615,18 +604,6 @@ export declare namespace Checkout {
|
|
|
615
604
|
}
|
|
616
605
|
type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid';
|
|
617
606
|
interface Permissions {
|
|
618
|
-
/**
|
|
619
|
-
* Permissions for updating the Checkout Session.
|
|
620
|
-
*/
|
|
621
|
-
update?: Permissions.Update | null;
|
|
622
|
-
/**
|
|
623
|
-
* Determines which entity is allowed to update the line items.
|
|
624
|
-
*
|
|
625
|
-
* 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.
|
|
626
|
-
*
|
|
627
|
-
* 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.
|
|
628
|
-
*/
|
|
629
|
-
update_line_items?: Permissions.UpdateLineItems | null;
|
|
630
607
|
/**
|
|
631
608
|
* Determines which entity is allowed to update the shipping details.
|
|
632
609
|
*
|
|
@@ -820,19 +797,6 @@ export declare namespace Checkout {
|
|
|
820
797
|
*/
|
|
821
798
|
name: string;
|
|
822
799
|
}
|
|
823
|
-
interface TaxId {
|
|
824
|
-
/**
|
|
825
|
-
* 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`
|
|
826
|
-
*/
|
|
827
|
-
type: TaxId.Type;
|
|
828
|
-
/**
|
|
829
|
-
* The value of the tax ID.
|
|
830
|
-
*/
|
|
831
|
-
value: string | null;
|
|
832
|
-
}
|
|
833
|
-
namespace TaxId {
|
|
834
|
-
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';
|
|
835
|
-
}
|
|
836
800
|
}
|
|
837
801
|
namespace Consent {
|
|
838
802
|
type Promotions = 'opt_in' | 'opt_out';
|
|
@@ -1239,10 +1203,6 @@ export declare namespace Checkout {
|
|
|
1239
1203
|
*/
|
|
1240
1204
|
capture_method?: 'manual';
|
|
1241
1205
|
installments?: Card.Installments;
|
|
1242
|
-
/**
|
|
1243
|
-
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1244
|
-
*/
|
|
1245
|
-
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
1246
1206
|
/**
|
|
1247
1207
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1248
1208
|
*/
|
|
@@ -1569,10 +1529,6 @@ export declare namespace Checkout {
|
|
|
1569
1529
|
* 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).
|
|
1570
1530
|
*/
|
|
1571
1531
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
1572
|
-
/**
|
|
1573
|
-
* 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.
|
|
1574
|
-
*/
|
|
1575
|
-
subsellers?: Array<string>;
|
|
1576
1532
|
}
|
|
1577
1533
|
interface Payto {
|
|
1578
1534
|
mandate_options?: Payto.MandateOptions;
|
|
@@ -1636,6 +1592,12 @@ export declare namespace Checkout {
|
|
|
1636
1592
|
*/
|
|
1637
1593
|
capture_method?: 'manual';
|
|
1638
1594
|
}
|
|
1595
|
+
interface Scalapay {
|
|
1596
|
+
/**
|
|
1597
|
+
* Controls when the funds will be captured from the customer's account.
|
|
1598
|
+
*/
|
|
1599
|
+
capture_method?: 'manual';
|
|
1600
|
+
}
|
|
1639
1601
|
interface SepaDebit {
|
|
1640
1602
|
mandate_options?: SepaDebit.MandateOptions;
|
|
1641
1603
|
/**
|
|
@@ -1681,7 +1643,7 @@ export declare namespace Checkout {
|
|
|
1681
1643
|
*
|
|
1682
1644
|
* 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).
|
|
1683
1645
|
*/
|
|
1684
|
-
setup_future_usage?:
|
|
1646
|
+
setup_future_usage?: Twint.SetupFutureUsage;
|
|
1685
1647
|
}
|
|
1686
1648
|
interface Upi {
|
|
1687
1649
|
mandate_options?: Upi.MandateOptions;
|
|
@@ -1771,7 +1733,6 @@ export declare namespace Checkout {
|
|
|
1771
1733
|
*/
|
|
1772
1734
|
enabled?: boolean;
|
|
1773
1735
|
}
|
|
1774
|
-
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
1775
1736
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
1776
1737
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
1777
1738
|
type RequestMulticapture = 'if_available' | 'never';
|
|
@@ -1779,7 +1740,7 @@ export declare namespace Checkout {
|
|
|
1779
1740
|
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
1780
1741
|
interface Restrictions {
|
|
1781
1742
|
/**
|
|
1782
|
-
*
|
|
1743
|
+
* The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.
|
|
1783
1744
|
*/
|
|
1784
1745
|
brands_blocked?: Array<Restrictions.BrandsBlocked>;
|
|
1785
1746
|
}
|
|
@@ -1927,6 +1888,9 @@ export declare namespace Checkout {
|
|
|
1927
1888
|
}
|
|
1928
1889
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
1929
1890
|
}
|
|
1891
|
+
namespace Twint {
|
|
1892
|
+
type SetupFutureUsage = 'none' | 'off_session';
|
|
1893
|
+
}
|
|
1930
1894
|
namespace Upi {
|
|
1931
1895
|
interface MandateOptions {
|
|
1932
1896
|
/**
|
|
@@ -1954,7 +1918,6 @@ export declare namespace Checkout {
|
|
|
1954
1918
|
namespace UsBankAccount {
|
|
1955
1919
|
interface FinancialConnections {
|
|
1956
1920
|
filters?: FinancialConnections.Filters;
|
|
1957
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
1958
1921
|
/**
|
|
1959
1922
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
1960
1923
|
*/
|
|
@@ -1976,53 +1939,17 @@ export declare namespace Checkout {
|
|
|
1976
1939
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
1977
1940
|
*/
|
|
1978
1941
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1979
|
-
/**
|
|
1980
|
-
* The institution to use to filter for possible accounts to link.
|
|
1981
|
-
*/
|
|
1982
|
-
institution?: string;
|
|
1983
|
-
}
|
|
1984
|
-
interface ManualEntry {
|
|
1985
|
-
/**
|
|
1986
|
-
* Settings for configuring manual entry of account details.
|
|
1987
|
-
*/
|
|
1988
|
-
mode?: ManualEntry.Mode;
|
|
1989
1942
|
}
|
|
1990
1943
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
1991
|
-
type Prefetch = 'balances' | '
|
|
1944
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
1992
1945
|
namespace Filters {
|
|
1993
1946
|
type AccountSubcategory = 'checking' | 'savings';
|
|
1994
1947
|
}
|
|
1995
|
-
namespace ManualEntry {
|
|
1996
|
-
type Mode = 'automatic' | 'custom';
|
|
1997
|
-
}
|
|
1998
1948
|
}
|
|
1999
1949
|
}
|
|
2000
1950
|
}
|
|
2001
1951
|
namespace Permissions {
|
|
2002
|
-
interface Update {
|
|
2003
|
-
/**
|
|
2004
|
-
* Determines which entity is allowed to update the line items.
|
|
2005
|
-
*
|
|
2006
|
-
* 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.
|
|
2007
|
-
*
|
|
2008
|
-
* 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.
|
|
2009
|
-
*/
|
|
2010
|
-
line_items?: Update.LineItems | null;
|
|
2011
|
-
/**
|
|
2012
|
-
* Determines which entity is allowed to update the shipping details.
|
|
2013
|
-
*
|
|
2014
|
-
* 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.
|
|
2015
|
-
*
|
|
2016
|
-
* 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.
|
|
2017
|
-
*/
|
|
2018
|
-
shipping_details: Update.ShippingDetails | null;
|
|
2019
|
-
}
|
|
2020
|
-
type UpdateLineItems = 'client_only' | 'server_only';
|
|
2021
1952
|
type UpdateShippingDetails = 'client_only' | 'server_only';
|
|
2022
|
-
namespace Update {
|
|
2023
|
-
type LineItems = 'client_only' | 'server_only';
|
|
2024
|
-
type ShippingDetails = 'client_only' | 'server_only';
|
|
2025
|
-
}
|
|
2026
1953
|
}
|
|
2027
1954
|
namespace SavedPaymentMethodOptions {
|
|
2028
1955
|
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified';
|
|
@@ -2130,7 +2057,7 @@ export declare namespace Checkout {
|
|
|
2130
2057
|
*/
|
|
2131
2058
|
adaptive_pricing?: SessionCreateParams.AdaptivePricing;
|
|
2132
2059
|
/**
|
|
2133
|
-
* Configure actions after a Checkout Session has expired. You can't set this parameter if `ui_mode` is `
|
|
2060
|
+
* Configure actions after a Checkout Session has expired. You can't set this parameter if `ui_mode` is `elements`.
|
|
2134
2061
|
*/
|
|
2135
2062
|
after_expiration?: SessionCreateParams.AfterExpiration;
|
|
2136
2063
|
/**
|
|
@@ -2146,11 +2073,11 @@ export declare namespace Checkout {
|
|
|
2146
2073
|
*/
|
|
2147
2074
|
billing_address_collection?: SessionCreateParams.BillingAddressCollection;
|
|
2148
2075
|
/**
|
|
2149
|
-
* The branding settings for the Checkout Session. This parameter is not allowed if ui_mode is `
|
|
2076
|
+
* The branding settings for the Checkout Session. This parameter is not allowed if ui_mode is `elements`.
|
|
2150
2077
|
*/
|
|
2151
2078
|
branding_settings?: SessionCreateParams.BrandingSettings;
|
|
2152
2079
|
/**
|
|
2153
|
-
* 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 `
|
|
2080
|
+
* 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`.
|
|
2154
2081
|
*/
|
|
2155
2082
|
cancel_url?: string;
|
|
2156
2083
|
/**
|
|
@@ -2288,7 +2215,7 @@ export declare namespace Checkout {
|
|
|
2288
2215
|
*/
|
|
2289
2216
|
optional_items?: Array<SessionCreateParams.OptionalItem>;
|
|
2290
2217
|
/**
|
|
2291
|
-
* Where the user is coming from. This informs the optimizations that are applied to the session. You can't set this parameter if `ui_mode` is `
|
|
2218
|
+
* Where the user is coming from. This informs the optimizations that are applied to the session. You can't set this parameter if `ui_mode` is `elements`.
|
|
2292
2219
|
*/
|
|
2293
2220
|
origin_context?: SessionCreateParams.OriginContext;
|
|
2294
2221
|
/**
|
|
@@ -2344,12 +2271,12 @@ export declare namespace Checkout {
|
|
|
2344
2271
|
*/
|
|
2345
2272
|
phone_number_collection?: SessionCreateParams.PhoneNumberCollection;
|
|
2346
2273
|
/**
|
|
2347
|
-
* This parameter applies to `ui_mode:
|
|
2274
|
+
* 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`.
|
|
2348
2275
|
*/
|
|
2349
2276
|
redirect_on_completion?: SessionCreateParams.RedirectOnCompletion;
|
|
2350
2277
|
/**
|
|
2351
2278
|
* The URL to redirect your customer back to after they authenticate or cancel their payment on the
|
|
2352
|
-
* payment method's app or site. This parameter is required if `ui_mode` is `
|
|
2279
|
+
* payment method's app or site. This parameter is required if `ui_mode` is `embedded_page` or `elements`
|
|
2353
2280
|
* and redirect-based payment methods are enabled on the session.
|
|
2354
2281
|
*/
|
|
2355
2282
|
return_url?: string;
|
|
@@ -2374,7 +2301,7 @@ export declare namespace Checkout {
|
|
|
2374
2301
|
* to customize relevant text on the page, such as the submit button.
|
|
2375
2302
|
* `submit_type` can only be specified on Checkout Sessions in
|
|
2376
2303
|
* `payment` or `subscription` mode. If blank or `auto`, `pay` is used.
|
|
2377
|
-
* You can't set this parameter if `ui_mode` is `
|
|
2304
|
+
* You can't set this parameter if `ui_mode` is `elements`.
|
|
2378
2305
|
*/
|
|
2379
2306
|
submit_type?: SessionCreateParams.SubmitType;
|
|
2380
2307
|
/**
|
|
@@ -2384,7 +2311,7 @@ export declare namespace Checkout {
|
|
|
2384
2311
|
/**
|
|
2385
2312
|
* The URL to which Stripe should send customers when payment or setup
|
|
2386
2313
|
* is complete.
|
|
2387
|
-
* This parameter is not allowed if ui_mode is `
|
|
2314
|
+
* This parameter is not allowed if ui_mode is `embedded_page` or `elements`. If you'd like to use
|
|
2388
2315
|
* information from the successful Checkout Session on your page, read the
|
|
2389
2316
|
* guide on [customizing your success page](https://docs.stripe.com/payments/checkout/custom-success-page).
|
|
2390
2317
|
*/
|
|
@@ -2394,7 +2321,7 @@ export declare namespace Checkout {
|
|
|
2394
2321
|
*/
|
|
2395
2322
|
tax_id_collection?: SessionCreateParams.TaxIdCollection;
|
|
2396
2323
|
/**
|
|
2397
|
-
* The UI mode of the Session. Defaults to `
|
|
2324
|
+
* The UI mode of the Session. Defaults to `hosted_page`.
|
|
2398
2325
|
*/
|
|
2399
2326
|
ui_mode?: SessionCreateParams.UiMode;
|
|
2400
2327
|
/**
|
|
@@ -2466,7 +2393,7 @@ export declare namespace Checkout {
|
|
|
2466
2393
|
/**
|
|
2467
2394
|
* If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout
|
|
2468
2395
|
* Session will determine whether to display an option to opt into promotional communication
|
|
2469
|
-
* from the merchant depending on the customer's locale. Only available to US merchants.
|
|
2396
|
+
* from the merchant depending on the customer's locale. Only available to US merchants and US customers.
|
|
2470
2397
|
*/
|
|
2471
2398
|
promotions?: ConsentCollection.Promotions;
|
|
2472
2399
|
/**
|
|
@@ -2545,16 +2472,12 @@ export declare namespace Checkout {
|
|
|
2545
2472
|
* The ID of the coupon to apply to this Session.
|
|
2546
2473
|
*/
|
|
2547
2474
|
coupon?: string;
|
|
2548
|
-
/**
|
|
2549
|
-
* 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.
|
|
2550
|
-
*/
|
|
2551
|
-
coupon_data?: Discount.CouponData;
|
|
2552
2475
|
/**
|
|
2553
2476
|
* The ID of a promotion code to apply to this Session.
|
|
2554
2477
|
*/
|
|
2555
2478
|
promotion_code?: string;
|
|
2556
2479
|
}
|
|
2557
|
-
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | '
|
|
2480
|
+
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';
|
|
2558
2481
|
interface InvoiceCreation {
|
|
2559
2482
|
/**
|
|
2560
2483
|
* Set to `true` to enable invoice creation.
|
|
@@ -2711,7 +2634,7 @@ export declare namespace Checkout {
|
|
|
2711
2634
|
}
|
|
2712
2635
|
interface PaymentMethodOptions {
|
|
2713
2636
|
/**
|
|
2714
|
-
* contains details about the ACSS Debit payment method options. You can't set this parameter if `ui_mode` is `
|
|
2637
|
+
* contains details about the ACSS Debit payment method options. You can't set this parameter if `ui_mode` is `elements`.
|
|
2715
2638
|
*/
|
|
2716
2639
|
acss_debit?: PaymentMethodOptions.AcssDebit;
|
|
2717
2640
|
/**
|
|
@@ -2750,10 +2673,6 @@ export declare namespace Checkout {
|
|
|
2750
2673
|
* contains details about the Billie payment method options.
|
|
2751
2674
|
*/
|
|
2752
2675
|
billie?: PaymentMethodOptions.Billie;
|
|
2753
|
-
/**
|
|
2754
|
-
* contains details about the BLIK payment method options.
|
|
2755
|
-
*/
|
|
2756
|
-
blik?: PaymentMethodOptions.Blik;
|
|
2757
2676
|
/**
|
|
2758
2677
|
* contains details about the Boleto payment method options.
|
|
2759
2678
|
*/
|
|
@@ -2815,7 +2734,7 @@ export declare namespace Checkout {
|
|
|
2815
2734
|
*/
|
|
2816
2735
|
kr_card?: PaymentMethodOptions.KrCard;
|
|
2817
2736
|
/**
|
|
2818
|
-
* contains details about the Link payment method options.
|
|
2737
|
+
* contains details about the Link payment method options (Link is also known as Onelink in the UK).
|
|
2819
2738
|
*/
|
|
2820
2739
|
link?: PaymentMethodOptions.Link;
|
|
2821
2740
|
/**
|
|
@@ -2874,6 +2793,10 @@ export declare namespace Checkout {
|
|
|
2874
2793
|
* contains details about the Satispay payment method options.
|
|
2875
2794
|
*/
|
|
2876
2795
|
satispay?: PaymentMethodOptions.Satispay;
|
|
2796
|
+
/**
|
|
2797
|
+
* contains details about the Scalapay payment method options.
|
|
2798
|
+
*/
|
|
2799
|
+
scalapay?: PaymentMethodOptions.Scalapay;
|
|
2877
2800
|
/**
|
|
2878
2801
|
* contains details about the Sepa Debit payment method options.
|
|
2879
2802
|
*/
|
|
@@ -2903,26 +2826,8 @@ export declare namespace Checkout {
|
|
|
2903
2826
|
*/
|
|
2904
2827
|
wechat_pay?: PaymentMethodOptions.WechatPay;
|
|
2905
2828
|
}
|
|
2906
|
-
type PaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | '
|
|
2829
|
+
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';
|
|
2907
2830
|
interface Permissions {
|
|
2908
|
-
/**
|
|
2909
|
-
* Permissions for updating the Checkout Session.
|
|
2910
|
-
*/
|
|
2911
|
-
update?: Permissions.Update;
|
|
2912
|
-
/**
|
|
2913
|
-
* Determines which entity is allowed to update the discounts (coupons or promotion codes) that apply to this session.
|
|
2914
|
-
*
|
|
2915
|
-
* 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.
|
|
2916
|
-
*/
|
|
2917
|
-
update_discounts?: Permissions.UpdateDiscounts;
|
|
2918
|
-
/**
|
|
2919
|
-
* Determines which entity is allowed to update the line items.
|
|
2920
|
-
*
|
|
2921
|
-
* 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.
|
|
2922
|
-
*
|
|
2923
|
-
* 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.
|
|
2924
|
-
*/
|
|
2925
|
-
update_line_items?: Permissions.UpdateLineItems;
|
|
2926
2831
|
/**
|
|
2927
2832
|
* Determines which entity is allowed to update the shipping details.
|
|
2928
2833
|
*
|
|
@@ -2993,7 +2898,7 @@ export declare namespace Checkout {
|
|
|
2993
2898
|
*/
|
|
2994
2899
|
application_fee_percent?: number;
|
|
2995
2900
|
/**
|
|
2996
|
-
* A future timestamp to anchor the subscription's billing cycle for new subscriptions. You can't set this parameter if `ui_mode` is `
|
|
2901
|
+
* A future timestamp to anchor the subscription's billing cycle for new subscriptions. You can't set this parameter if `ui_mode` is `elements`.
|
|
2997
2902
|
*/
|
|
2998
2903
|
billing_cycle_anchor?: number;
|
|
2999
2904
|
/**
|
|
@@ -3062,7 +2967,7 @@ export declare namespace Checkout {
|
|
|
3062
2967
|
type UiMode = 'elements' | 'embedded_page' | 'form' | 'hosted_page';
|
|
3063
2968
|
interface WalletOptions {
|
|
3064
2969
|
/**
|
|
3065
|
-
* contains details about the Link wallet options.
|
|
2970
|
+
* contains details about the Link wallet options (Link is also known as Onelink in the UK).
|
|
3066
2971
|
*/
|
|
3067
2972
|
link?: WalletOptions.Link;
|
|
3068
2973
|
}
|
|
@@ -3241,37 +3146,6 @@ export declare namespace Checkout {
|
|
|
3241
3146
|
message: string;
|
|
3242
3147
|
}
|
|
3243
3148
|
}
|
|
3244
|
-
namespace Discount {
|
|
3245
|
-
interface CouponData {
|
|
3246
|
-
/**
|
|
3247
|
-
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
3248
|
-
*/
|
|
3249
|
-
amount_off?: number;
|
|
3250
|
-
/**
|
|
3251
|
-
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
3252
|
-
*/
|
|
3253
|
-
currency?: string;
|
|
3254
|
-
/**
|
|
3255
|
-
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
3256
|
-
*/
|
|
3257
|
-
duration?: CouponData.Duration;
|
|
3258
|
-
/**
|
|
3259
|
-
* 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`.
|
|
3260
|
-
*/
|
|
3261
|
-
metadata?: Emptyable<MetadataParam>;
|
|
3262
|
-
/**
|
|
3263
|
-
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
3264
|
-
*/
|
|
3265
|
-
name?: string;
|
|
3266
|
-
/**
|
|
3267
|
-
* 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).
|
|
3268
|
-
*/
|
|
3269
|
-
percent_off?: number;
|
|
3270
|
-
}
|
|
3271
|
-
namespace CouponData {
|
|
3272
|
-
type Duration = 'forever' | 'once' | 'repeating';
|
|
3273
|
-
}
|
|
3274
|
-
}
|
|
3275
3149
|
namespace InvoiceCreation {
|
|
3276
3150
|
interface InvoiceData {
|
|
3277
3151
|
/**
|
|
@@ -3409,10 +3283,6 @@ export declare namespace Checkout {
|
|
|
3409
3283
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
3410
3284
|
*/
|
|
3411
3285
|
tax_code?: string;
|
|
3412
|
-
/**
|
|
3413
|
-
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
3414
|
-
*/
|
|
3415
|
-
tax_details?: ProductData.TaxDetails;
|
|
3416
3286
|
/**
|
|
3417
3287
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
3418
3288
|
*/
|
|
@@ -3429,18 +3299,6 @@ export declare namespace Checkout {
|
|
|
3429
3299
|
interval_count?: number;
|
|
3430
3300
|
}
|
|
3431
3301
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
3432
|
-
namespace ProductData {
|
|
3433
|
-
interface TaxDetails {
|
|
3434
|
-
/**
|
|
3435
|
-
* 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.
|
|
3436
|
-
*/
|
|
3437
|
-
performance_location?: string;
|
|
3438
|
-
/**
|
|
3439
|
-
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
3440
|
-
*/
|
|
3441
|
-
tax_code?: Emptyable<string>;
|
|
3442
|
-
}
|
|
3443
|
-
}
|
|
3444
3302
|
namespace Recurring {
|
|
3445
3303
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
3446
3304
|
}
|
|
@@ -3675,13 +3533,6 @@ export declare namespace Checkout {
|
|
|
3675
3533
|
*/
|
|
3676
3534
|
capture_method?: 'manual';
|
|
3677
3535
|
}
|
|
3678
|
-
interface Blik {
|
|
3679
|
-
/**
|
|
3680
|
-
* Additional fields for Mandate creation
|
|
3681
|
-
*/
|
|
3682
|
-
mandate_options?: Blik.MandateOptions;
|
|
3683
|
-
setup_future_usage?: Emptyable<Blik.SetupFutureUsage>;
|
|
3684
|
-
}
|
|
3685
3536
|
interface Boleto {
|
|
3686
3537
|
/**
|
|
3687
3538
|
* 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.
|
|
@@ -3707,10 +3558,6 @@ export declare namespace Checkout {
|
|
|
3707
3558
|
* Installment options for card payments
|
|
3708
3559
|
*/
|
|
3709
3560
|
installments?: Card.Installments;
|
|
3710
|
-
/**
|
|
3711
|
-
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
3712
|
-
*/
|
|
3713
|
-
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
3714
3561
|
/**
|
|
3715
3562
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
3716
3563
|
*/
|
|
@@ -4067,10 +3914,6 @@ export declare namespace Checkout {
|
|
|
4067
3914
|
* 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.
|
|
4068
3915
|
*/
|
|
4069
3916
|
reference?: string;
|
|
4070
|
-
/**
|
|
4071
|
-
* 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.
|
|
4072
|
-
*/
|
|
4073
|
-
reference_id?: string;
|
|
4074
3917
|
/**
|
|
4075
3918
|
* The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
4076
3919
|
*/
|
|
@@ -4087,10 +3930,6 @@ export declare namespace Checkout {
|
|
|
4087
3930
|
* 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`.
|
|
4088
3931
|
*/
|
|
4089
3932
|
setup_future_usage?: Emptyable<Paypal.SetupFutureUsage>;
|
|
4090
|
-
/**
|
|
4091
|
-
* 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.
|
|
4092
|
-
*/
|
|
4093
|
-
subsellers?: Array<string>;
|
|
4094
3933
|
}
|
|
4095
3934
|
interface Payto {
|
|
4096
3935
|
/**
|
|
@@ -4160,6 +3999,12 @@ export declare namespace Checkout {
|
|
|
4160
3999
|
*/
|
|
4161
4000
|
capture_method?: 'manual';
|
|
4162
4001
|
}
|
|
4002
|
+
interface Scalapay {
|
|
4003
|
+
/**
|
|
4004
|
+
* Controls when the funds will be captured from the customer's account.
|
|
4005
|
+
*/
|
|
4006
|
+
capture_method?: 'manual';
|
|
4007
|
+
}
|
|
4163
4008
|
interface SepaDebit {
|
|
4164
4009
|
/**
|
|
4165
4010
|
* Additional fields for Mandate creation
|
|
@@ -4208,7 +4053,7 @@ export declare namespace Checkout {
|
|
|
4208
4053
|
*
|
|
4209
4054
|
* 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).
|
|
4210
4055
|
*/
|
|
4211
|
-
setup_future_usage?:
|
|
4056
|
+
setup_future_usage?: Twint.SetupFutureUsage;
|
|
4212
4057
|
}
|
|
4213
4058
|
interface Upi {
|
|
4214
4059
|
/**
|
|
@@ -4307,15 +4152,6 @@ export declare namespace Checkout {
|
|
|
4307
4152
|
}
|
|
4308
4153
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4309
4154
|
}
|
|
4310
|
-
namespace Blik {
|
|
4311
|
-
interface MandateOptions {
|
|
4312
|
-
/**
|
|
4313
|
-
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
4314
|
-
*/
|
|
4315
|
-
expires_after?: number;
|
|
4316
|
-
}
|
|
4317
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4318
|
-
}
|
|
4319
4155
|
namespace Boleto {
|
|
4320
4156
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4321
4157
|
}
|
|
@@ -4327,7 +4163,6 @@ export declare namespace Checkout {
|
|
|
4327
4163
|
*/
|
|
4328
4164
|
enabled?: boolean;
|
|
4329
4165
|
}
|
|
4330
|
-
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
4331
4166
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
4332
4167
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
4333
4168
|
type RequestMulticapture = 'if_available' | 'never';
|
|
@@ -4335,7 +4170,7 @@ export declare namespace Checkout {
|
|
|
4335
4170
|
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
4336
4171
|
interface Restrictions {
|
|
4337
4172
|
/**
|
|
4338
|
-
*
|
|
4173
|
+
* The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.
|
|
4339
4174
|
*/
|
|
4340
4175
|
brands_blocked?: Array<Restrictions.BrandsBlocked>;
|
|
4341
4176
|
}
|
|
@@ -4524,6 +4359,9 @@ export declare namespace Checkout {
|
|
|
4524
4359
|
}
|
|
4525
4360
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4526
4361
|
}
|
|
4362
|
+
namespace Twint {
|
|
4363
|
+
type SetupFutureUsage = 'none' | 'off_session';
|
|
4364
|
+
}
|
|
4527
4365
|
namespace Upi {
|
|
4528
4366
|
interface MandateOptions {
|
|
4529
4367
|
/**
|
|
@@ -4563,7 +4401,7 @@ export declare namespace Checkout {
|
|
|
4563
4401
|
type VerificationMethod = 'automatic' | 'instant';
|
|
4564
4402
|
namespace FinancialConnections {
|
|
4565
4403
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
4566
|
-
type Prefetch = 'balances' | '
|
|
4404
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
4567
4405
|
}
|
|
4568
4406
|
}
|
|
4569
4407
|
namespace WechatPay {
|
|
@@ -4571,31 +4409,7 @@ export declare namespace Checkout {
|
|
|
4571
4409
|
}
|
|
4572
4410
|
}
|
|
4573
4411
|
namespace Permissions {
|
|
4574
|
-
interface Update {
|
|
4575
|
-
/**
|
|
4576
|
-
* Determines which entity is allowed to update the line items.
|
|
4577
|
-
*
|
|
4578
|
-
* 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.
|
|
4579
|
-
*
|
|
4580
|
-
* 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.
|
|
4581
|
-
*/
|
|
4582
|
-
line_items?: Update.LineItems;
|
|
4583
|
-
/**
|
|
4584
|
-
* Determines which entity is allowed to update the shipping details.
|
|
4585
|
-
*
|
|
4586
|
-
* 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.
|
|
4587
|
-
*
|
|
4588
|
-
* 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.
|
|
4589
|
-
*/
|
|
4590
|
-
shipping_details?: Update.ShippingDetails;
|
|
4591
|
-
}
|
|
4592
|
-
type UpdateDiscounts = 'client_only' | 'server_only';
|
|
4593
|
-
type UpdateLineItems = 'client_only' | 'server_only';
|
|
4594
4412
|
type UpdateShippingDetails = 'client_only' | 'server_only';
|
|
4595
|
-
namespace Update {
|
|
4596
|
-
type LineItems = 'client_only' | 'server_only';
|
|
4597
|
-
type ShippingDetails = 'client_only' | 'server_only';
|
|
4598
|
-
}
|
|
4599
4413
|
}
|
|
4600
4414
|
namespace SavedPaymentMethodOptions {
|
|
4601
4415
|
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified';
|
|
@@ -4821,26 +4635,14 @@ export declare namespace Checkout {
|
|
|
4821
4635
|
}
|
|
4822
4636
|
export declare namespace Checkout {
|
|
4823
4637
|
interface SessionUpdateParams {
|
|
4824
|
-
/**
|
|
4825
|
-
* Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
|
4826
|
-
*/
|
|
4827
|
-
automatic_tax?: SessionUpdateParams.AutomaticTax;
|
|
4828
4638
|
/**
|
|
4829
4639
|
* Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions.
|
|
4830
4640
|
*/
|
|
4831
4641
|
collected_information?: SessionUpdateParams.CollectedInformation;
|
|
4832
|
-
/**
|
|
4833
|
-
* List of coupons and promotion codes attached to the Checkout Session.
|
|
4834
|
-
*/
|
|
4835
|
-
discounts?: Emptyable<Array<SessionUpdateParams.Discount>>;
|
|
4836
4642
|
/**
|
|
4837
4643
|
* Specifies which fields in the response should be expanded.
|
|
4838
4644
|
*/
|
|
4839
4645
|
expand?: Array<string>;
|
|
4840
|
-
/**
|
|
4841
|
-
* Generate a post-purchase Invoice for one-time payments.
|
|
4842
|
-
*/
|
|
4843
|
-
invoice_creation?: SessionUpdateParams.InvoiceCreation;
|
|
4844
4646
|
/**
|
|
4845
4647
|
* A list of items the customer is purchasing.
|
|
4846
4648
|
*
|
|
@@ -4865,40 +4667,14 @@ export declare namespace Checkout {
|
|
|
4865
4667
|
* The shipping rate options to apply to this Session. Up to a maximum of 5.
|
|
4866
4668
|
*/
|
|
4867
4669
|
shipping_options?: Emptyable<Array<SessionUpdateParams.ShippingOption>>;
|
|
4868
|
-
/**
|
|
4869
|
-
* A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
|
4870
|
-
*/
|
|
4871
|
-
subscription_data?: SessionUpdateParams.SubscriptionData;
|
|
4872
4670
|
}
|
|
4873
4671
|
namespace SessionUpdateParams {
|
|
4874
|
-
interface AutomaticTax {
|
|
4875
|
-
/**
|
|
4876
|
-
* 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.
|
|
4877
|
-
*/
|
|
4878
|
-
liability?: AutomaticTax.Liability;
|
|
4879
|
-
}
|
|
4880
4672
|
interface CollectedInformation {
|
|
4881
4673
|
/**
|
|
4882
4674
|
* The shipping details to apply to this Session.
|
|
4883
4675
|
*/
|
|
4884
4676
|
shipping_details?: CollectedInformation.ShippingDetails;
|
|
4885
4677
|
}
|
|
4886
|
-
interface Discount {
|
|
4887
|
-
/**
|
|
4888
|
-
* 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.
|
|
4889
|
-
*/
|
|
4890
|
-
coupon?: string;
|
|
4891
|
-
/**
|
|
4892
|
-
* 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.
|
|
4893
|
-
*/
|
|
4894
|
-
coupon_data?: Discount.CouponData;
|
|
4895
|
-
}
|
|
4896
|
-
interface InvoiceCreation {
|
|
4897
|
-
/**
|
|
4898
|
-
* Parameters passed when creating invoices for payment-mode Checkout Sessions.
|
|
4899
|
-
*/
|
|
4900
|
-
invoice_data?: InvoiceCreation.InvoiceData;
|
|
4901
|
-
}
|
|
4902
4678
|
interface LineItem {
|
|
4903
4679
|
/**
|
|
4904
4680
|
* When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
|
|
@@ -4939,39 +4715,6 @@ export declare namespace Checkout {
|
|
|
4939
4715
|
*/
|
|
4940
4716
|
shipping_rate_data?: ShippingOption.ShippingRateData;
|
|
4941
4717
|
}
|
|
4942
|
-
interface SubscriptionData {
|
|
4943
|
-
/**
|
|
4944
|
-
* All invoices will be billed using the specified settings.
|
|
4945
|
-
*/
|
|
4946
|
-
invoice_settings?: SubscriptionData.InvoiceSettings;
|
|
4947
|
-
/**
|
|
4948
|
-
* 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.
|
|
4949
|
-
*/
|
|
4950
|
-
pending_invoice_item_interval?: Emptyable<SubscriptionData.PendingInvoiceItemInterval>;
|
|
4951
|
-
/**
|
|
4952
|
-
* 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.
|
|
4953
|
-
*/
|
|
4954
|
-
trial_end?: number;
|
|
4955
|
-
/**
|
|
4956
|
-
* Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
4957
|
-
*/
|
|
4958
|
-
trial_period_days?: Emptyable<number>;
|
|
4959
|
-
}
|
|
4960
|
-
namespace AutomaticTax {
|
|
4961
|
-
interface Liability {
|
|
4962
|
-
/**
|
|
4963
|
-
* The connected account being referenced when `type` is `account`.
|
|
4964
|
-
*/
|
|
4965
|
-
account?: string;
|
|
4966
|
-
/**
|
|
4967
|
-
* Type of the account referenced in the request.
|
|
4968
|
-
*/
|
|
4969
|
-
type: Liability.Type;
|
|
4970
|
-
}
|
|
4971
|
-
namespace Liability {
|
|
4972
|
-
type Type = 'account' | 'self';
|
|
4973
|
-
}
|
|
4974
|
-
}
|
|
4975
4718
|
namespace CollectedInformation {
|
|
4976
4719
|
interface ShippingDetails {
|
|
4977
4720
|
/**
|
|
@@ -5012,60 +4755,6 @@ export declare namespace Checkout {
|
|
|
5012
4755
|
}
|
|
5013
4756
|
}
|
|
5014
4757
|
}
|
|
5015
|
-
namespace Discount {
|
|
5016
|
-
interface CouponData {
|
|
5017
|
-
/**
|
|
5018
|
-
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
5019
|
-
*/
|
|
5020
|
-
amount_off?: number;
|
|
5021
|
-
/**
|
|
5022
|
-
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
5023
|
-
*/
|
|
5024
|
-
currency?: string;
|
|
5025
|
-
/**
|
|
5026
|
-
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
5027
|
-
*/
|
|
5028
|
-
duration?: CouponData.Duration;
|
|
5029
|
-
/**
|
|
5030
|
-
* 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`.
|
|
5031
|
-
*/
|
|
5032
|
-
metadata?: Emptyable<MetadataParam>;
|
|
5033
|
-
/**
|
|
5034
|
-
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
5035
|
-
*/
|
|
5036
|
-
name?: string;
|
|
5037
|
-
/**
|
|
5038
|
-
* 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).
|
|
5039
|
-
*/
|
|
5040
|
-
percent_off?: number;
|
|
5041
|
-
}
|
|
5042
|
-
namespace CouponData {
|
|
5043
|
-
type Duration = 'forever' | 'once' | 'repeating';
|
|
5044
|
-
}
|
|
5045
|
-
}
|
|
5046
|
-
namespace InvoiceCreation {
|
|
5047
|
-
interface InvoiceData {
|
|
5048
|
-
/**
|
|
5049
|
-
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
5050
|
-
*/
|
|
5051
|
-
issuer?: InvoiceData.Issuer;
|
|
5052
|
-
}
|
|
5053
|
-
namespace InvoiceData {
|
|
5054
|
-
interface Issuer {
|
|
5055
|
-
/**
|
|
5056
|
-
* The connected account being referenced when `type` is `account`.
|
|
5057
|
-
*/
|
|
5058
|
-
account?: string;
|
|
5059
|
-
/**
|
|
5060
|
-
* Type of the account referenced in the request.
|
|
5061
|
-
*/
|
|
5062
|
-
type: Issuer.Type;
|
|
5063
|
-
}
|
|
5064
|
-
namespace Issuer {
|
|
5065
|
-
type Type = 'account' | 'self';
|
|
5066
|
-
}
|
|
5067
|
-
}
|
|
5068
|
-
}
|
|
5069
4758
|
namespace LineItem {
|
|
5070
4759
|
interface AdjustableQuantity {
|
|
5071
4760
|
/**
|
|
@@ -5133,10 +4822,6 @@ export declare namespace Checkout {
|
|
|
5133
4822
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
5134
4823
|
*/
|
|
5135
4824
|
tax_code?: string;
|
|
5136
|
-
/**
|
|
5137
|
-
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
5138
|
-
*/
|
|
5139
|
-
tax_details?: ProductData.TaxDetails;
|
|
5140
4825
|
/**
|
|
5141
4826
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
5142
4827
|
*/
|
|
@@ -5153,18 +4838,6 @@ export declare namespace Checkout {
|
|
|
5153
4838
|
interval_count?: number;
|
|
5154
4839
|
}
|
|
5155
4840
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
5156
|
-
namespace ProductData {
|
|
5157
|
-
interface TaxDetails {
|
|
5158
|
-
/**
|
|
5159
|
-
* 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.
|
|
5160
|
-
*/
|
|
5161
|
-
performance_location?: string;
|
|
5162
|
-
/**
|
|
5163
|
-
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
5164
|
-
*/
|
|
5165
|
-
tax_code?: Emptyable<string>;
|
|
5166
|
-
}
|
|
5167
|
-
}
|
|
5168
4841
|
namespace Recurring {
|
|
5169
4842
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
5170
4843
|
}
|
|
@@ -5274,42 +4947,6 @@ export declare namespace Checkout {
|
|
|
5274
4947
|
}
|
|
5275
4948
|
}
|
|
5276
4949
|
}
|
|
5277
|
-
namespace SubscriptionData {
|
|
5278
|
-
interface InvoiceSettings {
|
|
5279
|
-
/**
|
|
5280
|
-
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
5281
|
-
*/
|
|
5282
|
-
issuer?: InvoiceSettings.Issuer;
|
|
5283
|
-
}
|
|
5284
|
-
interface PendingInvoiceItemInterval {
|
|
5285
|
-
/**
|
|
5286
|
-
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
5287
|
-
*/
|
|
5288
|
-
interval: PendingInvoiceItemInterval.Interval;
|
|
5289
|
-
/**
|
|
5290
|
-
* 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).
|
|
5291
|
-
*/
|
|
5292
|
-
interval_count?: number;
|
|
5293
|
-
}
|
|
5294
|
-
namespace InvoiceSettings {
|
|
5295
|
-
interface Issuer {
|
|
5296
|
-
/**
|
|
5297
|
-
* The connected account being referenced when `type` is `account`.
|
|
5298
|
-
*/
|
|
5299
|
-
account?: string;
|
|
5300
|
-
/**
|
|
5301
|
-
* Type of the account referenced in the request.
|
|
5302
|
-
*/
|
|
5303
|
-
type: Issuer.Type;
|
|
5304
|
-
}
|
|
5305
|
-
namespace Issuer {
|
|
5306
|
-
type Type = 'account' | 'self';
|
|
5307
|
-
}
|
|
5308
|
-
}
|
|
5309
|
-
namespace PendingInvoiceItemInterval {
|
|
5310
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
5311
|
-
}
|
|
5312
|
-
}
|
|
5313
4950
|
}
|
|
5314
4951
|
}
|
|
5315
4952
|
export declare namespace Checkout {
|