stripe 22.4.0-beta.1 → 22.4.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 +116 -1798
- package/OPENAPI_VERSION +1 -1
- package/README.md +58 -42
- package/VERSION +1 -1
- package/cjs/Error.d.ts +61 -57
- package/cjs/Error.js +13 -128
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +1 -1
- package/cjs/RequestSender.js +4 -9
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/Types.d.ts +72 -15
- package/cjs/Types.js.map +1 -1
- package/cjs/Webhooks.d.ts +2 -2
- package/cjs/apiVersion.d.ts +2 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/platform/NodePlatformFunctions.d.ts +3 -2
- package/cjs/platform/NodePlatformFunctions.js +46 -24
- package/cjs/platform/NodePlatformFunctions.js.map +1 -1
- package/cjs/platform/PlatformFunctions.d.ts +1 -1
- package/cjs/platform/PlatformFunctions.js +1 -1
- package/cjs/platform/PlatformFunctions.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +2 -1
- package/cjs/resources/AccountLinks.js.map +1 -1
- package/cjs/resources/AccountSessions.d.ts +32 -262
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +90 -883
- package/cjs/resources/Accounts.js +12 -16
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +2 -2
- package/cjs/resources/ApplicationFees.js.map +1 -1
- package/cjs/resources/Apps/Secrets.d.ts +6 -6
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BalanceSettings.d.ts +8 -8
- package/cjs/resources/BalanceTransactions.d.ts +3 -3
- package/cjs/resources/BankAccounts.d.ts +4 -4
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/Alerts.d.ts +3 -3
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +2 -1
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +4 -4
- package/cjs/resources/Billing/CreditGrants.d.ts +3 -3
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventAdjustments.d.ts +2 -1
- package/cjs/resources/Billing/MeterEventAdjustments.js.map +1 -1
- package/cjs/resources/Billing/Meters.d.ts +8 -8
- package/cjs/resources/Billing/index.d.ts +0 -3
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Configurations.d.ts +22 -22
- package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
- package/cjs/resources/BillingPortal/Sessions.d.ts +7 -6
- package/cjs/resources/BillingPortal/Sessions.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +8 -7
- package/cjs/resources/Cards.d.ts +3 -20
- package/cjs/resources/Charges.d.ts +99 -3106
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +192 -555
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Climate/Orders.d.ts +3 -3
- package/cjs/resources/Climate/Orders.js.map +1 -1
- package/cjs/resources/Climate/Suppliers.d.ts +2 -2
- package/cjs/resources/ConfirmationTokens.d.ts +21 -87
- package/cjs/resources/Coupons.d.ts +3 -56
- package/cjs/resources/Coupons.js +0 -13
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +4 -18
- package/cjs/resources/CreditNotes.d.ts +17 -17
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerBalanceTransactions.d.ts +2 -2
- package/cjs/resources/CustomerCashBalanceTransactions.d.ts +4 -3
- package/cjs/resources/CustomerSessions.d.ts +25 -92
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/Customers.d.ts +14 -33
- package/cjs/resources/Customers.js +0 -14
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +16 -41
- package/cjs/resources/Disputes.js +1 -1
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +55 -535
- 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/Files.d.ts +3 -3
- package/cjs/resources/Files.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +19 -84
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +4 -48
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +48 -122
- package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
- package/cjs/resources/FinancialConnections/Transactions.d.ts +2 -2
- package/cjs/resources/FinancialConnections/index.d.ts +9 -21
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/Forwarding/Requests.d.ts +3 -3
- package/cjs/resources/Forwarding/Requests.js.map +1 -1
- package/cjs/resources/FundingInstructions.d.ts +4 -4
- package/cjs/resources/Identity/VerificationReports.d.ts +17 -17
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +15 -15
- package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +0 -85
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +5 -43
- package/cjs/resources/InvoicePayments.d.ts +3 -3
- package/cjs/resources/Invoices.d.ts +96 -1465
- package/cjs/resources/Invoices.js +0 -41
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +19 -32
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +17 -31
- package/cjs/resources/Issuing/Cardholders.js.map +1 -1
- package/cjs/resources/Issuing/Cards.d.ts +38 -39
- package/cjs/resources/Issuing/Cards.js.map +1 -1
- package/cjs/resources/Issuing/Disputes.d.ts +22 -35
- package/cjs/resources/Issuing/Disputes.js.map +1 -1
- package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
- package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
- package/cjs/resources/Issuing/PhysicalBundles.d.ts +8 -8
- package/cjs/resources/Issuing/Tokens.d.ts +11 -11
- package/cjs/resources/Issuing/Transactions.d.ts +5 -27
- package/cjs/resources/Issuing/index.d.ts +22 -47
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +4 -31
- package/cjs/resources/Mandates.d.ts +15 -46
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/PaymentAttemptRecords.d.ts +30 -112
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
- package/cjs/resources/PaymentIntents.d.ts +6883 -17706
- package/cjs/resources/PaymentIntents.js +0 -27
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +112 -66
- package/cjs/resources/PaymentLinks.js.map +1 -1
- package/cjs/resources/PaymentMethodConfigurations.d.ts +237 -587
- package/cjs/resources/PaymentMethodDomains.d.ts +7 -7
- package/cjs/resources/PaymentMethods.d.ts +36 -197
- package/cjs/resources/PaymentMethods.js +1 -1
- package/cjs/resources/PaymentRecords.d.ts +52 -116
- package/cjs/resources/PaymentRecords.js +8 -0
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Payouts.d.ts +3 -3
- package/cjs/resources/Payouts.js.map +1 -1
- package/cjs/resources/Persons.d.ts +8 -8
- package/cjs/resources/Plans.d.ts +6 -22
- package/cjs/resources/Plans.js.map +1 -1
- package/cjs/resources/Prices.d.ts +6 -58
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Products.d.ts +0 -42
- package/cjs/resources/PromotionCodes.d.ts +2 -14
- package/cjs/resources/PromotionCodes.js +0 -27
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +212 -2355
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +22 -22
- package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +0 -30
- package/cjs/resources/Radar/ValueLists.d.ts +2 -2
- package/cjs/resources/Radar/ValueLists.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +18 -15
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reserve/Holds.d.ts +4 -56
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +4 -20
- package/cjs/resources/Reserve/Plans.js +0 -11
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +4 -44
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +6 -17
- package/cjs/resources/Reserve/index.js +0 -9
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +7 -32
- package/cjs/resources/SetupIntents.d.ts +144 -456
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/ShippingRates.d.ts +5 -5
- package/cjs/resources/ShippingRates.js.map +1 -1
- package/cjs/resources/Sources.d.ts +3 -31
- package/cjs/resources/Sources.js.map +1 -1
- package/cjs/resources/SubscriptionItems.d.ts +4 -147
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +147 -1181
- package/cjs/resources/SubscriptionSchedules.js +0 -6
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +76 -641
- package/cjs/resources/Subscriptions.js +0 -145
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/Associations.d.ts +2 -1
- package/cjs/resources/Tax/Associations.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -10
- package/cjs/resources/Tax/Calculations.d.ts +20 -24
- package/cjs/resources/Tax/Calculations.js.map +1 -1
- package/cjs/resources/Tax/Registrations.d.ts +169 -271
- package/cjs/resources/Tax/Settings.d.ts +4 -4
- package/cjs/resources/Tax/TransactionLineItems.d.ts +3 -3
- package/cjs/resources/Tax/Transactions.d.ts +12 -12
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +13 -27
- 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/TaxIds.d.ts +8 -8
- package/cjs/resources/TaxRates.d.ts +5 -5
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +4 -31
- package/cjs/resources/Terminal/Readers.d.ts +18 -34
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +0 -5
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +12 -89
- package/cjs/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
- package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
- package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
- package/cjs/resources/TestHelpers/TestClocks.d.ts +2 -2
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -23
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +0 -3
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +19 -24
- package/cjs/resources/Tokens.js.map +1 -1
- package/cjs/resources/Topups.d.ts +28 -0
- package/cjs/resources/Topups.js.map +1 -1
- package/cjs/resources/Transfers.d.ts +0 -8
- package/cjs/resources/Treasury/CreditReversals.d.ts +4 -4
- package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
- package/cjs/resources/Treasury/DebitReversals.d.ts +5 -5
- package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +37 -41
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +16 -49
- package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
- package/cjs/resources/Treasury/InboundTransfers.d.ts +6 -6
- package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +13 -21
- package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +10 -54
- package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +9 -31
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +7 -33
- package/cjs/resources/Treasury/TransactionEntries.d.ts +5 -5
- package/cjs/resources/Treasury/Transactions.d.ts +6 -6
- package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
- package/cjs/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
- 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 +4 -4
- package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
- package/cjs/resources/V2/Core/AccountLinks.d.ts +15 -14
- package/cjs/resources/V2/Core/AccountLinks.js.map +1 -1
- package/cjs/resources/V2/Core/AccountPersons.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +48 -17
- package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +7 -7
- package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +191 -1558
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/EventDestinations.d.ts +6 -6
- package/cjs/resources/V2/Core/Events.d.ts +10 -1157
- package/cjs/resources/V2/Core/index.d.ts +9 -19
- 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 +4 -4
- package/cjs/resources/WebhookEndpoints.js.map +1 -1
- package/cjs/resources.d.ts +0 -10
- package/cjs/resources.js +10 -146
- package/cjs/resources.js.map +1 -1
- package/cjs/shared.d.ts +5 -0
- package/cjs/stripe.cjs.node.d.ts +150 -6480
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +40 -94
- package/cjs/stripe.core.js +37 -59
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +0 -1
- package/cjs/utils.js +1 -17
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +61 -57
- package/esm/Error.js +12 -112
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +1 -1
- package/esm/RequestSender.js +5 -10
- package/esm/RequestSender.js.map +1 -1
- package/esm/Types.d.ts +72 -15
- package/esm/Types.js.map +1 -1
- package/esm/Webhooks.d.ts +2 -2
- package/esm/apiVersion.d.ts +2 -1
- package/esm/apiVersion.js +2 -1
- package/esm/apiVersion.js.map +1 -1
- package/esm/platform/NodePlatformFunctions.d.ts +3 -2
- package/esm/platform/NodePlatformFunctions.js +46 -24
- package/esm/platform/NodePlatformFunctions.js.map +1 -1
- package/esm/platform/PlatformFunctions.d.ts +1 -1
- package/esm/platform/PlatformFunctions.js +1 -1
- package/esm/platform/PlatformFunctions.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +2 -1
- package/esm/resources/AccountLinks.js.map +1 -1
- package/esm/resources/AccountSessions.d.ts +32 -262
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +90 -883
- package/esm/resources/Accounts.js +12 -16
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +2 -2
- package/esm/resources/ApplicationFees.js.map +1 -1
- package/esm/resources/Apps/Secrets.d.ts +6 -6
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BalanceSettings.d.ts +8 -8
- package/esm/resources/BalanceTransactions.d.ts +3 -3
- package/esm/resources/BankAccounts.d.ts +4 -4
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/Alerts.d.ts +3 -3
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +2 -1
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +4 -4
- package/esm/resources/Billing/CreditGrants.d.ts +3 -3
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventAdjustments.d.ts +2 -1
- package/esm/resources/Billing/MeterEventAdjustments.js.map +1 -1
- package/esm/resources/Billing/Meters.d.ts +8 -8
- package/esm/resources/Billing/index.d.ts +0 -3
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Configurations.d.ts +22 -22
- package/esm/resources/BillingPortal/Configurations.js.map +1 -1
- package/esm/resources/BillingPortal/Sessions.d.ts +7 -6
- package/esm/resources/BillingPortal/Sessions.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +8 -7
- package/esm/resources/Cards.d.ts +3 -20
- package/esm/resources/Charges.d.ts +99 -3106
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +192 -555
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Climate/Orders.d.ts +3 -3
- package/esm/resources/Climate/Orders.js.map +1 -1
- package/esm/resources/Climate/Suppliers.d.ts +2 -2
- package/esm/resources/ConfirmationTokens.d.ts +21 -87
- package/esm/resources/Coupons.d.ts +3 -56
- package/esm/resources/Coupons.js +0 -13
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +4 -18
- package/esm/resources/CreditNotes.d.ts +17 -17
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerBalanceTransactions.d.ts +2 -2
- package/esm/resources/CustomerCashBalanceTransactions.d.ts +4 -3
- package/esm/resources/CustomerSessions.d.ts +25 -92
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/Customers.d.ts +14 -33
- package/esm/resources/Customers.js +0 -14
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +16 -41
- package/esm/resources/Disputes.js +1 -1
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +55 -535
- 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/Files.d.ts +3 -3
- package/esm/resources/Files.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +19 -84
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +4 -48
- package/esm/resources/FinancialConnections/Authorizations.js +1 -9
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +48 -122
- package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
- package/esm/resources/FinancialConnections/Transactions.d.ts +2 -2
- package/esm/resources/FinancialConnections/index.d.ts +9 -21
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/Forwarding/Requests.d.ts +3 -3
- package/esm/resources/Forwarding/Requests.js.map +1 -1
- package/esm/resources/FundingInstructions.d.ts +4 -4
- package/esm/resources/Identity/VerificationReports.d.ts +17 -17
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +15 -15
- package/esm/resources/Identity/VerificationSessions.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +0 -85
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +5 -43
- package/esm/resources/InvoicePayments.d.ts +3 -3
- package/esm/resources/Invoices.d.ts +96 -1465
- package/esm/resources/Invoices.js +0 -41
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +19 -32
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +17 -31
- package/esm/resources/Issuing/Cardholders.js.map +1 -1
- package/esm/resources/Issuing/Cards.d.ts +38 -39
- package/esm/resources/Issuing/Cards.js.map +1 -1
- package/esm/resources/Issuing/Disputes.d.ts +22 -35
- package/esm/resources/Issuing/Disputes.js.map +1 -1
- package/esm/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
- package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
- package/esm/resources/Issuing/PhysicalBundles.d.ts +8 -8
- package/esm/resources/Issuing/Tokens.d.ts +11 -11
- package/esm/resources/Issuing/Transactions.d.ts +5 -27
- package/esm/resources/Issuing/index.d.ts +22 -47
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +4 -31
- package/esm/resources/Mandates.d.ts +15 -46
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/PaymentAttemptRecords.d.ts +30 -112
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
- package/esm/resources/PaymentIntents.d.ts +6883 -17706
- package/esm/resources/PaymentIntents.js +0 -27
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +112 -66
- package/esm/resources/PaymentLinks.js.map +1 -1
- package/esm/resources/PaymentMethodConfigurations.d.ts +237 -587
- package/esm/resources/PaymentMethodDomains.d.ts +7 -7
- package/esm/resources/PaymentMethods.d.ts +36 -197
- package/esm/resources/PaymentMethods.js +1 -1
- package/esm/resources/PaymentRecords.d.ts +52 -116
- package/esm/resources/PaymentRecords.js +8 -0
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Payouts.d.ts +3 -3
- package/esm/resources/Payouts.js.map +1 -1
- package/esm/resources/Persons.d.ts +8 -8
- package/esm/resources/Plans.d.ts +6 -22
- package/esm/resources/Plans.js.map +1 -1
- package/esm/resources/Prices.d.ts +6 -58
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Products.d.ts +0 -42
- package/esm/resources/PromotionCodes.d.ts +2 -14
- package/esm/resources/PromotionCodes.js +0 -27
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +212 -2355
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +22 -22
- package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +0 -30
- package/esm/resources/Radar/ValueLists.d.ts +2 -2
- package/esm/resources/Radar/ValueLists.js.map +1 -1
- package/esm/resources/Refunds.d.ts +18 -15
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reserve/Holds.d.ts +4 -56
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +4 -20
- package/esm/resources/Reserve/Plans.js +1 -9
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +4 -44
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +6 -17
- package/esm/resources/Reserve/index.js +0 -9
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +7 -32
- package/esm/resources/SetupIntents.d.ts +144 -456
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/ShippingRates.d.ts +5 -5
- package/esm/resources/ShippingRates.js.map +1 -1
- package/esm/resources/Sources.d.ts +3 -31
- package/esm/resources/Sources.js.map +1 -1
- package/esm/resources/SubscriptionItems.d.ts +4 -147
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +147 -1181
- package/esm/resources/SubscriptionSchedules.js +0 -6
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +76 -641
- package/esm/resources/Subscriptions.js +0 -145
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/Associations.d.ts +2 -1
- package/esm/resources/Tax/Associations.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +6 -10
- package/esm/resources/Tax/Calculations.d.ts +20 -24
- package/esm/resources/Tax/Calculations.js.map +1 -1
- package/esm/resources/Tax/Registrations.d.ts +169 -271
- package/esm/resources/Tax/Settings.d.ts +4 -4
- package/esm/resources/Tax/TransactionLineItems.d.ts +3 -3
- package/esm/resources/Tax/Transactions.d.ts +12 -12
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +13 -27
- 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/TaxIds.d.ts +8 -8
- package/esm/resources/TaxRates.d.ts +5 -5
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +4 -31
- package/esm/resources/Terminal/Readers.d.ts +18 -34
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +0 -5
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +12 -89
- package/esm/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
- package/esm/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
- package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
- package/esm/resources/TestHelpers/TestClocks.d.ts +2 -2
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -23
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +0 -3
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +19 -24
- package/esm/resources/Tokens.js.map +1 -1
- package/esm/resources/Topups.d.ts +28 -0
- package/esm/resources/Topups.js.map +1 -1
- package/esm/resources/Transfers.d.ts +0 -8
- package/esm/resources/Treasury/CreditReversals.d.ts +4 -4
- package/esm/resources/Treasury/CreditReversals.js.map +1 -1
- package/esm/resources/Treasury/DebitReversals.d.ts +5 -5
- package/esm/resources/Treasury/DebitReversals.js.map +1 -1
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +37 -41
- package/esm/resources/Treasury/FinancialAccounts.d.ts +16 -49
- package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
- package/esm/resources/Treasury/InboundTransfers.d.ts +6 -6
- package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +13 -21
- package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
- package/esm/resources/Treasury/OutboundTransfers.d.ts +10 -54
- package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
- package/esm/resources/Treasury/ReceivedCredits.d.ts +9 -31
- package/esm/resources/Treasury/ReceivedDebits.d.ts +7 -33
- package/esm/resources/Treasury/TransactionEntries.d.ts +5 -5
- package/esm/resources/Treasury/Transactions.d.ts +6 -6
- package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
- package/esm/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
- 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 +4 -4
- package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
- package/esm/resources/V2/Core/AccountLinks.d.ts +15 -14
- package/esm/resources/V2/Core/AccountLinks.js.map +1 -1
- package/esm/resources/V2/Core/AccountPersons.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +48 -17
- package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
- package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +7 -7
- package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
- package/esm/resources/V2/Core/Accounts.d.ts +191 -1558
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/EventDestinations.d.ts +6 -6
- package/esm/resources/V2/Core/Events.d.ts +10 -1157
- package/esm/resources/V2/Core/index.d.ts +9 -19
- 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 +4 -4
- package/esm/resources/WebhookEndpoints.js.map +1 -1
- package/esm/resources.d.ts +0 -10
- package/esm/resources.js +0 -131
- package/esm/resources.js.map +1 -1
- package/esm/shared.d.ts +5 -0
- package/esm/stripe.core.d.ts +40 -94
- package/esm/stripe.core.js +7 -29
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +41 -95
- package/esm/stripe.esm.node.js +2 -25
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +0 -1
- package/esm/utils.js +0 -15
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +0 -19
- package/cjs/StripeEventNotificationHandler.js +0 -150
- 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 -194
- 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 -101
- 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 -141
- 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/Institutions.d.ts +0 -99
- 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 -638
- 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 -93
- 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 -83
- 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 -35
- 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 -227
- 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 -125
- 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 -1120
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -738
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1105
- 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 -306
- 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 -228
- 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 -50
- 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 -71
- 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 -280
- 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 -947
- 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 -236
- 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 -775
- 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 -162
- 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 -360
- 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 -279
- 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 -249
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -63
- 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 -150
- 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 -162
- 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 -119
- 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 -210
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -13
- 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 -131
- 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 -240
- 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 -211
- 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 -250
- 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 -208
- 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 -394
- 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 -296
- 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 -336
- 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 -239
- 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 -92
- 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 -295
- 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 -157
- 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 -161
- 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 -192
- 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 -92
- 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 -143
- 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 -19
- package/esm/StripeEventNotificationHandler.js +0 -146
- 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 -194
- 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 -101
- 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 -141
- 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/Institutions.d.ts +0 -99
- 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 -638
- 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 -93
- 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 -83
- 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 -35
- 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 -227
- 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 -125
- 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 -1120
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -738
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1105
- 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 -306
- 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 -228
- 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 -50
- 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 -71
- 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 -280
- 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 -947
- 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 -236
- 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 -775
- 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 -162
- 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 -360
- 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 -279
- 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 -249
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -59
- 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 -150
- 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 -162
- 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 -119
- 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 -210
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -13
- 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 -131
- 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 -240
- 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 -211
- 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 -250
- 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 -208
- 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 -394
- 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 -296
- 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 -336
- 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 -239
- 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 -92
- 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 -295
- 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 -157
- 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 -161
- 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 -192
- 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 -92
- 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 -143
- 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
|
@@ -13,7 +13,7 @@ import { Coupon } from './../Coupons.js';
|
|
|
13
13
|
import { PromotionCode } from './../PromotionCodes.js';
|
|
14
14
|
import { ShippingRate } from './../ShippingRates.js';
|
|
15
15
|
import { TaxRate } from './../TaxRates.js';
|
|
16
|
-
import { MetadataParam, Emptyable, Address, Decimal, ShippingAddressParam, PaginationParams, RangeQueryParam, Metadata } from '../../shared.js';
|
|
16
|
+
import { MetadataParam, OtherString, Emptyable, Address, Decimal, ShippingAddressParam, PaginationParams, RangeQueryParam, Metadata } from '../../shared.js';
|
|
17
17
|
import { RequestOptions, ApiListPromise, Response, ApiList } from '../../lib.js';
|
|
18
18
|
export declare class SessionResource extends StripeResource {
|
|
19
19
|
/**
|
|
@@ -251,10 +251,6 @@ export interface Session {
|
|
|
251
251
|
* The ID of the original expired Checkout Session that triggered the recovery flow.
|
|
252
252
|
*/
|
|
253
253
|
recovered_from: string | null;
|
|
254
|
-
/**
|
|
255
|
-
* The redaction status of the Checkout Session. If the Session is not redacted, this field is null.
|
|
256
|
-
*/
|
|
257
|
-
redaction?: Session.Redaction | null;
|
|
258
254
|
/**
|
|
259
255
|
* This parameter applies to `ui_mode: embedded_page`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.
|
|
260
256
|
*/
|
|
@@ -352,7 +348,7 @@ export declare namespace Session {
|
|
|
352
348
|
*/
|
|
353
349
|
status: AutomaticTax.Status | null;
|
|
354
350
|
}
|
|
355
|
-
type BillingAddressCollection = 'auto' | 'required';
|
|
351
|
+
type BillingAddressCollection = 'auto' | 'required' | OtherString;
|
|
356
352
|
interface BrandingSettings {
|
|
357
353
|
/**
|
|
358
354
|
* A hex color value starting with `#` representing the background color for the Checkout Session.
|
|
@@ -388,26 +384,14 @@ export declare namespace Session {
|
|
|
388
384
|
* Customer's business name for this Checkout Session
|
|
389
385
|
*/
|
|
390
386
|
business_name: string | null;
|
|
391
|
-
/**
|
|
392
|
-
* Customer's email for this Checkout Session
|
|
393
|
-
*/
|
|
394
|
-
email?: string | null;
|
|
395
387
|
/**
|
|
396
388
|
* Customer's individual name for this Checkout Session
|
|
397
389
|
*/
|
|
398
390
|
individual_name: string | null;
|
|
399
|
-
/**
|
|
400
|
-
* Customer's phone number for this Checkout Session
|
|
401
|
-
*/
|
|
402
|
-
phone?: string | null;
|
|
403
391
|
/**
|
|
404
392
|
* Shipping information for this Checkout Session.
|
|
405
393
|
*/
|
|
406
394
|
shipping_details: CollectedInformation.ShippingDetails | null;
|
|
407
|
-
/**
|
|
408
|
-
* Customer's tax ids for this Checkout Session.
|
|
409
|
-
*/
|
|
410
|
-
tax_ids?: Array<CollectedInformation.TaxId> | null;
|
|
411
395
|
}
|
|
412
396
|
interface Consent {
|
|
413
397
|
/**
|
|
@@ -490,7 +474,7 @@ export declare namespace Session {
|
|
|
490
474
|
*/
|
|
491
475
|
terms_of_service_acceptance: CustomText.TermsOfServiceAcceptance | null;
|
|
492
476
|
}
|
|
493
|
-
type CustomerCreation = 'always' | 'if_required';
|
|
477
|
+
type CustomerCreation = 'always' | 'if_required' | OtherString;
|
|
494
478
|
interface CustomerDetails {
|
|
495
479
|
/**
|
|
496
480
|
* The customer's address after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022.
|
|
@@ -543,14 +527,14 @@ export declare namespace Session {
|
|
|
543
527
|
enabled: boolean;
|
|
544
528
|
invoice_data: InvoiceCreation.InvoiceData;
|
|
545
529
|
}
|
|
546
|
-
type Locale = 'auto' | 'bg' | 'cs' | 'da' | 'de' | 'el' | 'en' | 'en-GB' | 'es' | 'es-419' | 'et' | 'fi' | 'fil' | 'fr' | 'fr-CA' | 'hr' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lt' | 'lv' | 'ms' | 'mt' | 'nb' | 'nl' | 'pl' | 'pt' | 'pt-BR' | 'ro' | 'ru' | 'sk' | 'sl' | 'sv' | 'th' | 'tr' | 'vi' | 'zh' | 'zh-HK' | 'zh-TW';
|
|
530
|
+
type Locale = 'auto' | 'bg' | 'cs' | 'da' | 'de' | 'el' | 'en' | 'en-GB' | 'es' | 'es-419' | 'et' | 'fi' | 'fil' | 'fr' | 'fr-CA' | 'hr' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lt' | 'lv' | 'ms' | 'mt' | 'nb' | 'nl' | 'pl' | 'pt' | 'pt-BR' | 'ro' | 'ru' | 'sk' | 'sl' | 'sv' | 'th' | 'tr' | 'vi' | 'zh' | 'zh-HK' | 'zh-TW' | OtherString;
|
|
547
531
|
interface ManagedPayments {
|
|
548
532
|
/**
|
|
549
533
|
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
550
534
|
*/
|
|
551
535
|
enabled: boolean;
|
|
552
536
|
}
|
|
553
|
-
type Mode = 'payment' | 'setup' | 'subscription';
|
|
537
|
+
type Mode = 'payment' | 'setup' | 'subscription' | OtherString;
|
|
554
538
|
interface NameCollection {
|
|
555
539
|
business?: NameCollection.Business;
|
|
556
540
|
individual?: NameCollection.Individual;
|
|
@@ -560,8 +544,8 @@ export declare namespace Session {
|
|
|
560
544
|
price: string;
|
|
561
545
|
quantity: number;
|
|
562
546
|
}
|
|
563
|
-
type OriginContext = 'mobile_app' | 'web';
|
|
564
|
-
type PaymentMethodCollection = 'always' | 'if_required';
|
|
547
|
+
type OriginContext = 'mobile_app' | 'web' | OtherString;
|
|
548
|
+
type PaymentMethodCollection = 'always' | 'if_required' | OtherString;
|
|
565
549
|
interface PaymentMethodConfigurationDetails {
|
|
566
550
|
/**
|
|
567
551
|
* ID of the payment method configuration used.
|
|
@@ -620,20 +604,8 @@ export declare namespace Session {
|
|
|
620
604
|
us_bank_account?: PaymentMethodOptions.UsBankAccount;
|
|
621
605
|
wechat_pay?: PaymentMethodOptions.WechatPay;
|
|
622
606
|
}
|
|
623
|
-
type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid';
|
|
607
|
+
type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid' | OtherString;
|
|
624
608
|
interface Permissions {
|
|
625
|
-
/**
|
|
626
|
-
* Permissions for updating the Checkout Session.
|
|
627
|
-
*/
|
|
628
|
-
update?: Permissions.Update | null;
|
|
629
|
-
/**
|
|
630
|
-
* Determines which entity is allowed to update the line items.
|
|
631
|
-
*
|
|
632
|
-
* Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
633
|
-
*
|
|
634
|
-
* When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
635
|
-
*/
|
|
636
|
-
update_line_items?: Permissions.UpdateLineItems | null;
|
|
637
609
|
/**
|
|
638
610
|
* Determines which entity is allowed to update the shipping details.
|
|
639
611
|
*
|
|
@@ -659,13 +631,7 @@ export declare namespace Session {
|
|
|
659
631
|
*/
|
|
660
632
|
presentment_currency: string;
|
|
661
633
|
}
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* Indicates whether this object and its related objects have been redacted or not.
|
|
665
|
-
*/
|
|
666
|
-
status: Redaction.Status;
|
|
667
|
-
}
|
|
668
|
-
type RedirectOnCompletion = 'always' | 'if_required' | 'never';
|
|
634
|
+
type RedirectOnCompletion = 'always' | 'if_required' | 'never' | OtherString;
|
|
669
635
|
interface SavedPaymentMethodOptions {
|
|
670
636
|
/**
|
|
671
637
|
* Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with 'allow_redisplay: ‘always' are shown in Checkout.
|
|
@@ -720,7 +686,7 @@ export declare namespace Session {
|
|
|
720
686
|
shipping_rate: string | ShippingRate;
|
|
721
687
|
}
|
|
722
688
|
type Status = 'complete' | 'expired' | 'open';
|
|
723
|
-
type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe';
|
|
689
|
+
type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe' | OtherString;
|
|
724
690
|
interface TaxIdCollection {
|
|
725
691
|
/**
|
|
726
692
|
* Indicates whether tax ID collection is enabled for the session
|
|
@@ -746,7 +712,7 @@ export declare namespace Session {
|
|
|
746
712
|
amount_tax: number;
|
|
747
713
|
breakdown?: TotalDetails.Breakdown;
|
|
748
714
|
}
|
|
749
|
-
type UiMode = 'elements' | 'embedded_page' | 'form' | 'hosted_page';
|
|
715
|
+
type UiMode = 'elements' | 'embedded_page' | 'form' | 'hosted_page' | OtherString;
|
|
750
716
|
interface WalletOptions {
|
|
751
717
|
link?: WalletOptions.Link;
|
|
752
718
|
}
|
|
@@ -783,9 +749,9 @@ export declare namespace Session {
|
|
|
783
749
|
*/
|
|
784
750
|
type: Liability.Type;
|
|
785
751
|
}
|
|
786
|
-
type Status = 'complete' | 'failed' | 'requires_location_inputs';
|
|
752
|
+
type Status = 'complete' | 'failed' | 'requires_location_inputs' | OtherString;
|
|
787
753
|
namespace Liability {
|
|
788
|
-
type Type = 'account' | 'self';
|
|
754
|
+
type Type = 'account' | 'self' | OtherString;
|
|
789
755
|
}
|
|
790
756
|
}
|
|
791
757
|
namespace BrandingSettings {
|
|
@@ -833,19 +799,6 @@ export declare namespace Session {
|
|
|
833
799
|
*/
|
|
834
800
|
name: string;
|
|
835
801
|
}
|
|
836
|
-
interface TaxId {
|
|
837
|
-
/**
|
|
838
|
-
* The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
|
839
|
-
*/
|
|
840
|
-
type: TaxId.Type;
|
|
841
|
-
/**
|
|
842
|
-
* The value of the tax ID.
|
|
843
|
-
*/
|
|
844
|
-
value: string | null;
|
|
845
|
-
}
|
|
846
|
-
namespace TaxId {
|
|
847
|
-
type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'gb_vat' | 'ge_vat' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'unknown' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin';
|
|
848
|
-
}
|
|
849
802
|
}
|
|
850
803
|
namespace Consent {
|
|
851
804
|
type Promotions = 'opt_in' | 'opt_out';
|
|
@@ -869,7 +822,7 @@ export declare namespace Session {
|
|
|
869
822
|
type TaxExempt = 'exempt' | 'none' | 'reverse';
|
|
870
823
|
interface TaxId {
|
|
871
824
|
/**
|
|
872
|
-
* 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`
|
|
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`, `ic_nif`, or `unknown`
|
|
873
826
|
*/
|
|
874
827
|
type: TaxId.Type;
|
|
875
828
|
/**
|
|
@@ -878,7 +831,7 @@ export declare namespace Session {
|
|
|
878
831
|
value: string | null;
|
|
879
832
|
}
|
|
880
833
|
namespace TaxId {
|
|
881
|
-
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';
|
|
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' | 'ic_nif' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'unknown' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin';
|
|
882
835
|
}
|
|
883
836
|
}
|
|
884
837
|
namespace CustomField {
|
|
@@ -942,7 +895,7 @@ export declare namespace Session {
|
|
|
942
895
|
*/
|
|
943
896
|
value: string | null;
|
|
944
897
|
}
|
|
945
|
-
type Type = 'dropdown' | 'numeric' | 'text';
|
|
898
|
+
type Type = 'dropdown' | 'numeric' | 'text' | OtherString;
|
|
946
899
|
namespace Dropdown {
|
|
947
900
|
interface Option {
|
|
948
901
|
/**
|
|
@@ -1045,7 +998,7 @@ export declare namespace Session {
|
|
|
1045
998
|
template: string | null;
|
|
1046
999
|
}
|
|
1047
1000
|
namespace Issuer {
|
|
1048
|
-
type Type = 'account' | 'self';
|
|
1001
|
+
type Type = 'account' | 'self' | OtherString;
|
|
1049
1002
|
}
|
|
1050
1003
|
}
|
|
1051
1004
|
}
|
|
@@ -1252,10 +1205,6 @@ export declare namespace Session {
|
|
|
1252
1205
|
*/
|
|
1253
1206
|
capture_method?: 'manual';
|
|
1254
1207
|
installments?: Card.Installments;
|
|
1255
|
-
/**
|
|
1256
|
-
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1257
|
-
*/
|
|
1258
|
-
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
1259
1208
|
/**
|
|
1260
1209
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1261
1210
|
*/
|
|
@@ -1546,6 +1495,16 @@ export declare namespace Session {
|
|
|
1546
1495
|
* Controls when the funds will be captured from the customer's account.
|
|
1547
1496
|
*/
|
|
1548
1497
|
capture_method?: 'manual';
|
|
1498
|
+
/**
|
|
1499
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1500
|
+
*
|
|
1501
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1502
|
+
*
|
|
1503
|
+
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1504
|
+
*
|
|
1505
|
+
* 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).
|
|
1506
|
+
*/
|
|
1507
|
+
setup_future_usage?: 'none';
|
|
1549
1508
|
}
|
|
1550
1509
|
interface Paynow {
|
|
1551
1510
|
/**
|
|
@@ -1582,10 +1541,6 @@ export declare namespace Session {
|
|
|
1582
1541
|
* 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).
|
|
1583
1542
|
*/
|
|
1584
1543
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
1585
|
-
/**
|
|
1586
|
-
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
1587
|
-
*/
|
|
1588
|
-
subsellers?: Array<string>;
|
|
1589
1544
|
}
|
|
1590
1545
|
interface Payto {
|
|
1591
1546
|
mandate_options?: Payto.MandateOptions;
|
|
@@ -1642,6 +1597,16 @@ export declare namespace Session {
|
|
|
1642
1597
|
* Controls when the funds will be captured from the customer's account.
|
|
1643
1598
|
*/
|
|
1644
1599
|
capture_method?: 'manual';
|
|
1600
|
+
/**
|
|
1601
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1602
|
+
*
|
|
1603
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1604
|
+
*
|
|
1605
|
+
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1606
|
+
*
|
|
1607
|
+
* 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).
|
|
1608
|
+
*/
|
|
1609
|
+
setup_future_usage?: 'none';
|
|
1645
1610
|
}
|
|
1646
1611
|
interface Satispay {
|
|
1647
1612
|
/**
|
|
@@ -1773,7 +1738,7 @@ export declare namespace Session {
|
|
|
1773
1738
|
setup_future_usage?: 'none';
|
|
1774
1739
|
}
|
|
1775
1740
|
namespace AcssDebit {
|
|
1776
|
-
type Currency = 'cad' | 'usd';
|
|
1741
|
+
type Currency = 'cad' | 'usd' | OtherString;
|
|
1777
1742
|
interface MandateOptions {
|
|
1778
1743
|
/**
|
|
1779
1744
|
* A URL for custom mandate text
|
|
@@ -1796,16 +1761,16 @@ export declare namespace Session {
|
|
|
1796
1761
|
*/
|
|
1797
1762
|
transaction_type: MandateOptions.TransactionType | null;
|
|
1798
1763
|
}
|
|
1799
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
1800
|
-
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
1764
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
1765
|
+
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
|
|
1801
1766
|
namespace MandateOptions {
|
|
1802
|
-
type DefaultFor = 'invoice' | 'subscription';
|
|
1803
|
-
type PaymentSchedule = 'combined' | 'interval' | 'sporadic';
|
|
1804
|
-
type TransactionType = 'business' | 'personal';
|
|
1767
|
+
type DefaultFor = 'invoice' | 'subscription' | OtherString;
|
|
1768
|
+
type PaymentSchedule = 'combined' | 'interval' | 'sporadic' | OtherString;
|
|
1769
|
+
type TransactionType = 'business' | 'personal' | OtherString;
|
|
1805
1770
|
}
|
|
1806
1771
|
}
|
|
1807
1772
|
namespace AmazonPay {
|
|
1808
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
1773
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
1809
1774
|
}
|
|
1810
1775
|
namespace BacsDebit {
|
|
1811
1776
|
interface MandateOptions {
|
|
@@ -1814,10 +1779,10 @@ export declare namespace Session {
|
|
|
1814
1779
|
*/
|
|
1815
1780
|
reference_prefix?: string;
|
|
1816
1781
|
}
|
|
1817
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
1782
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
1818
1783
|
}
|
|
1819
1784
|
namespace Boleto {
|
|
1820
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
1785
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
1821
1786
|
}
|
|
1822
1787
|
namespace Card {
|
|
1823
1788
|
interface Installments {
|
|
@@ -1826,19 +1791,18 @@ export declare namespace Session {
|
|
|
1826
1791
|
*/
|
|
1827
1792
|
enabled?: boolean;
|
|
1828
1793
|
}
|
|
1829
|
-
type
|
|
1830
|
-
type
|
|
1831
|
-
type
|
|
1832
|
-
type
|
|
1833
|
-
type
|
|
1834
|
-
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
1794
|
+
type RequestExtendedAuthorization = 'if_available' | 'never' | OtherString;
|
|
1795
|
+
type RequestIncrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
1796
|
+
type RequestMulticapture = 'if_available' | 'never' | OtherString;
|
|
1797
|
+
type RequestOvercapture = 'if_available' | 'never' | OtherString;
|
|
1798
|
+
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
|
|
1835
1799
|
interface Restrictions {
|
|
1836
1800
|
/**
|
|
1837
1801
|
* The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.
|
|
1838
1802
|
*/
|
|
1839
1803
|
brands_blocked?: Array<Restrictions.BrandsBlocked>;
|
|
1840
1804
|
}
|
|
1841
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
1805
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
1842
1806
|
namespace Restrictions {
|
|
1843
1807
|
type BrandsBlocked = 'american_express' | 'discover_global_network' | 'mastercard' | 'visa';
|
|
1844
1808
|
}
|
|
@@ -1864,30 +1828,30 @@ export declare namespace Session {
|
|
|
1864
1828
|
*/
|
|
1865
1829
|
country: EuBankTransfer.Country;
|
|
1866
1830
|
}
|
|
1867
|
-
type RequestedAddressType = 'aba' | 'iban' | 'sepa' | 'sort_code' | 'spei' | 'swift' | 'zengin';
|
|
1868
|
-
type Type = 'eu_bank_transfer' | 'gb_bank_transfer' | 'jp_bank_transfer' | 'mx_bank_transfer' | 'us_bank_transfer';
|
|
1831
|
+
type RequestedAddressType = 'aba' | 'iban' | 'sepa' | 'sort_code' | 'spei' | 'swift' | 'zengin' | OtherString;
|
|
1832
|
+
type Type = 'eu_bank_transfer' | 'gb_bank_transfer' | 'jp_bank_transfer' | 'mx_bank_transfer' | 'us_bank_transfer' | OtherString;
|
|
1869
1833
|
namespace EuBankTransfer {
|
|
1870
1834
|
type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL';
|
|
1871
1835
|
}
|
|
1872
1836
|
}
|
|
1873
1837
|
}
|
|
1874
1838
|
namespace KakaoPay {
|
|
1875
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
1839
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
1876
1840
|
}
|
|
1877
1841
|
namespace Klarna {
|
|
1878
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
1842
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
1879
1843
|
}
|
|
1880
1844
|
namespace KrCard {
|
|
1881
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
1845
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
1882
1846
|
}
|
|
1883
1847
|
namespace Link {
|
|
1884
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
1848
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
1885
1849
|
}
|
|
1886
1850
|
namespace NaverPay {
|
|
1887
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
1851
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
1888
1852
|
}
|
|
1889
1853
|
namespace Paypal {
|
|
1890
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
1854
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
1891
1855
|
}
|
|
1892
1856
|
namespace Payto {
|
|
1893
1857
|
interface MandateOptions {
|
|
@@ -1920,15 +1884,15 @@ export declare namespace Session {
|
|
|
1920
1884
|
*/
|
|
1921
1885
|
start_date: string | null;
|
|
1922
1886
|
}
|
|
1923
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
1887
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
1924
1888
|
namespace MandateOptions {
|
|
1925
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1926
|
-
type PaymentSchedule = 'adhoc' | 'annual' | 'daily' | 'fortnightly' | 'monthly' | 'quarterly' | 'semi_annual' | 'weekly';
|
|
1927
|
-
type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility';
|
|
1889
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
1890
|
+
type PaymentSchedule = 'adhoc' | 'annual' | 'daily' | 'fortnightly' | 'monthly' | 'quarterly' | 'semi_annual' | 'weekly' | OtherString;
|
|
1891
|
+
type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility' | OtherString;
|
|
1928
1892
|
}
|
|
1929
1893
|
}
|
|
1930
1894
|
namespace Pix {
|
|
1931
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
1895
|
+
type AmountIncludesIof = 'always' | 'never' | OtherString;
|
|
1932
1896
|
interface MandateOptions {
|
|
1933
1897
|
/**
|
|
1934
1898
|
* Amount to be charged for future payments.
|
|
@@ -1963,11 +1927,11 @@ export declare namespace Session {
|
|
|
1963
1927
|
*/
|
|
1964
1928
|
start_date?: string;
|
|
1965
1929
|
}
|
|
1966
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
1930
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
1967
1931
|
namespace MandateOptions {
|
|
1968
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
1969
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1970
|
-
type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly';
|
|
1932
|
+
type AmountIncludesIof = 'always' | 'never' | OtherString;
|
|
1933
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
1934
|
+
type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly' | OtherString;
|
|
1971
1935
|
}
|
|
1972
1936
|
}
|
|
1973
1937
|
namespace RevolutPay {
|
|
@@ -1980,10 +1944,10 @@ export declare namespace Session {
|
|
|
1980
1944
|
*/
|
|
1981
1945
|
reference_prefix?: string;
|
|
1982
1946
|
}
|
|
1983
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
1947
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
1984
1948
|
}
|
|
1985
1949
|
namespace Twint {
|
|
1986
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
1950
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
1987
1951
|
}
|
|
1988
1952
|
namespace Upi {
|
|
1989
1953
|
interface MandateOptions {
|
|
@@ -2004,15 +1968,14 @@ export declare namespace Session {
|
|
|
2004
1968
|
*/
|
|
2005
1969
|
end_date: number | null;
|
|
2006
1970
|
}
|
|
2007
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
1971
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
2008
1972
|
namespace MandateOptions {
|
|
2009
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1973
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
2010
1974
|
}
|
|
2011
1975
|
}
|
|
2012
1976
|
namespace UsBankAccount {
|
|
2013
1977
|
interface FinancialConnections {
|
|
2014
1978
|
filters?: FinancialConnections.Filters;
|
|
2015
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
2016
1979
|
/**
|
|
2017
1980
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
2018
1981
|
*/
|
|
@@ -2026,32 +1989,19 @@ export declare namespace Session {
|
|
|
2026
1989
|
*/
|
|
2027
1990
|
return_url?: string;
|
|
2028
1991
|
}
|
|
2029
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
2030
|
-
type VerificationMethod = 'automatic' | 'instant';
|
|
1992
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
1993
|
+
type VerificationMethod = 'automatic' | 'instant' | OtherString;
|
|
2031
1994
|
namespace FinancialConnections {
|
|
2032
1995
|
interface Filters {
|
|
2033
1996
|
/**
|
|
2034
1997
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2035
1998
|
*/
|
|
2036
1999
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2037
|
-
/**
|
|
2038
|
-
* The institution to use to filter for possible accounts to link.
|
|
2039
|
-
*/
|
|
2040
|
-
institution?: string;
|
|
2041
|
-
}
|
|
2042
|
-
interface ManualEntry {
|
|
2043
|
-
/**
|
|
2044
|
-
* Settings for configuring manual entry of account details.
|
|
2045
|
-
*/
|
|
2046
|
-
mode?: ManualEntry.Mode;
|
|
2047
2000
|
}
|
|
2048
|
-
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
2049
|
-
type Prefetch = 'balances' | '
|
|
2001
|
+
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
2002
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2050
2003
|
namespace Filters {
|
|
2051
|
-
type AccountSubcategory = 'checking' | 'savings';
|
|
2052
|
-
}
|
|
2053
|
-
namespace ManualEntry {
|
|
2054
|
-
type Mode = 'automatic' | 'custom';
|
|
2004
|
+
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2055
2005
|
}
|
|
2056
2006
|
}
|
|
2057
2007
|
}
|
|
@@ -2060,41 +2010,15 @@ export declare namespace Session {
|
|
|
2060
2010
|
}
|
|
2061
2011
|
}
|
|
2062
2012
|
namespace Permissions {
|
|
2063
|
-
interface Update {
|
|
2064
|
-
/**
|
|
2065
|
-
* Determines which entity is allowed to update the line items.
|
|
2066
|
-
*
|
|
2067
|
-
* Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
2068
|
-
*
|
|
2069
|
-
* When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
2070
|
-
*/
|
|
2071
|
-
line_items?: Update.LineItems | null;
|
|
2072
|
-
/**
|
|
2073
|
-
* Determines which entity is allowed to update the shipping details.
|
|
2074
|
-
*
|
|
2075
|
-
* Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
2076
|
-
*
|
|
2077
|
-
* When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
|
2078
|
-
*/
|
|
2079
|
-
shipping_details: Update.ShippingDetails | null;
|
|
2080
|
-
}
|
|
2081
|
-
type UpdateLineItems = 'client_only' | 'server_only';
|
|
2082
2013
|
type UpdateShippingDetails = 'client_only' | 'server_only';
|
|
2083
|
-
namespace Update {
|
|
2084
|
-
type LineItems = 'client_only' | 'server_only';
|
|
2085
|
-
type ShippingDetails = 'client_only' | 'server_only';
|
|
2086
|
-
}
|
|
2087
|
-
}
|
|
2088
|
-
namespace Redaction {
|
|
2089
|
-
type Status = 'processing' | 'redacted' | 'validated';
|
|
2090
2014
|
}
|
|
2091
2015
|
namespace SavedPaymentMethodOptions {
|
|
2092
|
-
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified';
|
|
2093
|
-
type PaymentMethodRemove = 'disabled' | 'enabled';
|
|
2094
|
-
type PaymentMethodSave = 'disabled' | 'enabled';
|
|
2016
|
+
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
2017
|
+
type PaymentMethodRemove = 'disabled' | 'enabled' | OtherString;
|
|
2018
|
+
type PaymentMethodSave = 'disabled' | 'enabled' | OtherString;
|
|
2095
2019
|
}
|
|
2096
2020
|
namespace ShippingAddressCollection {
|
|
2097
|
-
type AllowedCountry = 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CV' | 'CW' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SZ' | 'TA' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'ZZ';
|
|
2021
|
+
type AllowedCountry = 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CV' | 'CW' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SZ' | 'TA' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'ZZ' | OtherString;
|
|
2098
2022
|
}
|
|
2099
2023
|
namespace ShippingCost {
|
|
2100
2024
|
interface Tax {
|
|
@@ -2118,11 +2042,11 @@ export declare namespace Session {
|
|
|
2118
2042
|
taxable_amount: number | null;
|
|
2119
2043
|
}
|
|
2120
2044
|
namespace Tax {
|
|
2121
|
-
type TaxabilityReason = 'customer_exempt' | 'not_collecting' | 'not_subject_to_tax' | 'not_supported' | 'portion_product_exempt' | 'portion_reduced_rated' | 'portion_standard_rated' | 'product_exempt' | 'product_exempt_holiday' | 'proportionally_rated' | 'reduced_rated' | 'reverse_charge' | 'standard_rated' | 'taxable_basis_reduced' | 'zero_rated';
|
|
2045
|
+
type TaxabilityReason = 'customer_exempt' | 'not_collecting' | 'not_subject_to_tax' | 'not_supported' | 'portion_product_exempt' | 'portion_reduced_rated' | 'portion_standard_rated' | 'product_exempt' | 'product_exempt_holiday' | 'proportionally_rated' | 'reduced_rated' | 'reverse_charge' | 'standard_rated' | 'taxable_basis_reduced' | 'zero_rated' | OtherString;
|
|
2122
2046
|
}
|
|
2123
2047
|
}
|
|
2124
2048
|
namespace TaxIdCollection {
|
|
2125
|
-
type Required = 'if_supported' | 'never';
|
|
2049
|
+
type Required = 'if_supported' | 'never' | OtherString;
|
|
2126
2050
|
}
|
|
2127
2051
|
namespace TotalDetails {
|
|
2128
2052
|
interface Breakdown {
|
|
@@ -2170,7 +2094,7 @@ export declare namespace Session {
|
|
|
2170
2094
|
taxable_amount: number | null;
|
|
2171
2095
|
}
|
|
2172
2096
|
namespace Tax {
|
|
2173
|
-
type TaxabilityReason = 'customer_exempt' | 'not_collecting' | 'not_subject_to_tax' | 'not_supported' | 'portion_product_exempt' | 'portion_reduced_rated' | 'portion_standard_rated' | 'product_exempt' | 'product_exempt_holiday' | 'proportionally_rated' | 'reduced_rated' | 'reverse_charge' | 'standard_rated' | 'taxable_basis_reduced' | 'zero_rated';
|
|
2097
|
+
type TaxabilityReason = 'customer_exempt' | 'not_collecting' | 'not_subject_to_tax' | 'not_supported' | 'portion_product_exempt' | 'portion_reduced_rated' | 'portion_standard_rated' | 'product_exempt' | 'product_exempt_holiday' | 'proportionally_rated' | 'reduced_rated' | 'reverse_charge' | 'standard_rated' | 'taxable_basis_reduced' | 'zero_rated' | OtherString;
|
|
2174
2098
|
}
|
|
2175
2099
|
}
|
|
2176
2100
|
}
|
|
@@ -2182,7 +2106,7 @@ export declare namespace Session {
|
|
|
2182
2106
|
display?: Link.Display;
|
|
2183
2107
|
}
|
|
2184
2108
|
namespace Link {
|
|
2185
|
-
type Display = 'auto' | 'never';
|
|
2109
|
+
type Display = 'auto' | 'never' | OtherString;
|
|
2186
2110
|
}
|
|
2187
2111
|
}
|
|
2188
2112
|
}
|
|
@@ -2488,7 +2412,7 @@ export declare namespace Checkout {
|
|
|
2488
2412
|
*/
|
|
2489
2413
|
liability?: AutomaticTax.Liability;
|
|
2490
2414
|
}
|
|
2491
|
-
type BillingAddressCollection = 'auto' | 'required';
|
|
2415
|
+
type BillingAddressCollection = 'auto' | 'required' | OtherString;
|
|
2492
2416
|
interface BrandingSettings {
|
|
2493
2417
|
/**
|
|
2494
2418
|
* A hex color value starting with `#` representing the background color for the Checkout Session.
|
|
@@ -2584,7 +2508,7 @@ export declare namespace Checkout {
|
|
|
2584
2508
|
*/
|
|
2585
2509
|
terms_of_service_acceptance?: Emptyable<CustomText.TermsOfServiceAcceptance>;
|
|
2586
2510
|
}
|
|
2587
|
-
type CustomerCreation = 'always' | 'if_required';
|
|
2511
|
+
type CustomerCreation = 'always' | 'if_required' | OtherString;
|
|
2588
2512
|
interface CustomerUpdate {
|
|
2589
2513
|
/**
|
|
2590
2514
|
* Describes whether Checkout saves the billing address onto `customer.address`.
|
|
@@ -2606,16 +2530,12 @@ export declare namespace Checkout {
|
|
|
2606
2530
|
* The ID of the coupon to apply to this Session.
|
|
2607
2531
|
*/
|
|
2608
2532
|
coupon?: string;
|
|
2609
|
-
/**
|
|
2610
|
-
* Data used to generate a new [Coupon](https://docs.stripe.com/api/coupon) object inline. One of `coupon` or `coupon_data` is required when updating discounts.
|
|
2611
|
-
*/
|
|
2612
|
-
coupon_data?: Discount.CouponData;
|
|
2613
2533
|
/**
|
|
2614
2534
|
* The ID of a promotion code to apply to this Session.
|
|
2615
2535
|
*/
|
|
2616
2536
|
promotion_code?: string;
|
|
2617
2537
|
}
|
|
2618
|
-
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | '
|
|
2538
|
+
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
2619
2539
|
interface InvoiceCreation {
|
|
2620
2540
|
/**
|
|
2621
2541
|
* Set to `true` to enable invoice creation.
|
|
@@ -2631,10 +2551,6 @@ export declare namespace Checkout {
|
|
|
2631
2551
|
* When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
|
|
2632
2552
|
*/
|
|
2633
2553
|
adjustable_quantity?: LineItem.AdjustableQuantity;
|
|
2634
|
-
/**
|
|
2635
|
-
* The [tax rates](https://docs.stripe.com/api/tax_rates) that will be applied to this line item depending on the customer's billing/shipping address. We currently support the following countries: US, GB, AU, and all countries in the EU. You can't set this parameter if `ui_mode` is `custom`.
|
|
2636
|
-
*/
|
|
2637
|
-
dynamic_tax_rates?: Array<string>;
|
|
2638
2554
|
/**
|
|
2639
2555
|
* 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`.
|
|
2640
2556
|
*/
|
|
@@ -2656,14 +2572,14 @@ export declare namespace Checkout {
|
|
|
2656
2572
|
*/
|
|
2657
2573
|
tax_rates?: Array<string>;
|
|
2658
2574
|
}
|
|
2659
|
-
type Locale = 'auto' | 'bg' | 'cs' | 'da' | 'de' | 'el' | 'en' | 'en-GB' | 'es' | 'es-419' | 'et' | 'fi' | 'fil' | 'fr' | 'fr-CA' | 'hr' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lt' | 'lv' | 'ms' | 'mt' | 'nb' | 'nl' | 'pl' | 'pt' | 'pt-BR' | 'ro' | 'ru' | 'sk' | 'sl' | 'sv' | 'th' | 'tr' | 'vi' | 'zh' | 'zh-HK' | 'zh-TW';
|
|
2575
|
+
type Locale = 'auto' | 'bg' | 'cs' | 'da' | 'de' | 'el' | 'en' | 'en-GB' | 'es' | 'es-419' | 'et' | 'fi' | 'fil' | 'fr' | 'fr-CA' | 'hr' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lt' | 'lv' | 'ms' | 'mt' | 'nb' | 'nl' | 'pl' | 'pt' | 'pt-BR' | 'ro' | 'ru' | 'sk' | 'sl' | 'sv' | 'th' | 'tr' | 'vi' | 'zh' | 'zh-HK' | 'zh-TW' | OtherString;
|
|
2660
2576
|
interface ManagedPayments {
|
|
2661
2577
|
/**
|
|
2662
2578
|
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
2663
2579
|
*/
|
|
2664
2580
|
enabled?: boolean;
|
|
2665
2581
|
}
|
|
2666
|
-
type Mode = 'payment' | 'setup' | 'subscription';
|
|
2582
|
+
type Mode = 'payment' | 'setup' | 'subscription' | OtherString;
|
|
2667
2583
|
interface NameCollection {
|
|
2668
2584
|
/**
|
|
2669
2585
|
* Controls settings applied for collecting the customer's business name on the session.
|
|
@@ -2688,7 +2604,7 @@ export declare namespace Checkout {
|
|
|
2688
2604
|
*/
|
|
2689
2605
|
quantity: number;
|
|
2690
2606
|
}
|
|
2691
|
-
type OriginContext = 'mobile_app' | 'web';
|
|
2607
|
+
type OriginContext = 'mobile_app' | 'web' | OtherString;
|
|
2692
2608
|
interface PaymentIntentData {
|
|
2693
2609
|
/**
|
|
2694
2610
|
* The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
@@ -2763,7 +2679,7 @@ export declare namespace Checkout {
|
|
|
2763
2679
|
*/
|
|
2764
2680
|
transfer_group?: string;
|
|
2765
2681
|
}
|
|
2766
|
-
type PaymentMethodCollection = 'always' | 'if_required';
|
|
2682
|
+
type PaymentMethodCollection = 'always' | 'if_required' | OtherString;
|
|
2767
2683
|
interface PaymentMethodData {
|
|
2768
2684
|
/**
|
|
2769
2685
|
* Allow redisplay will be set on the payment method on confirmation and indicates whether this payment method can be shown again to the customer in a checkout flow. Only set this field if you wish to override the allow_redisplay value determined by Checkout.
|
|
@@ -2811,10 +2727,6 @@ export declare namespace Checkout {
|
|
|
2811
2727
|
* contains details about the Billie payment method options.
|
|
2812
2728
|
*/
|
|
2813
2729
|
billie?: PaymentMethodOptions.Billie;
|
|
2814
|
-
/**
|
|
2815
|
-
* contains details about the BLIK payment method options.
|
|
2816
|
-
*/
|
|
2817
|
-
blik?: PaymentMethodOptions.Blik;
|
|
2818
2730
|
/**
|
|
2819
2731
|
* contains details about the Boleto payment method options.
|
|
2820
2732
|
*/
|
|
@@ -2972,26 +2884,8 @@ export declare namespace Checkout {
|
|
|
2972
2884
|
*/
|
|
2973
2885
|
wechat_pay?: PaymentMethodOptions.WechatPay;
|
|
2974
2886
|
}
|
|
2975
|
-
type PaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | '
|
|
2887
|
+
type PaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
2976
2888
|
interface Permissions {
|
|
2977
|
-
/**
|
|
2978
|
-
* Permissions for updating the Checkout Session.
|
|
2979
|
-
*/
|
|
2980
|
-
update?: Permissions.Update;
|
|
2981
|
-
/**
|
|
2982
|
-
* Determines which entity is allowed to update the discounts (coupons or promotion codes) that apply to this session.
|
|
2983
|
-
*
|
|
2984
|
-
* Default is `client_only`. Stripe Checkout client will automatically handle discount updates. If set to `server_only`, only your server is allowed to update discounts.
|
|
2985
|
-
*/
|
|
2986
|
-
update_discounts?: Permissions.UpdateDiscounts;
|
|
2987
|
-
/**
|
|
2988
|
-
* Determines which entity is allowed to update the line items.
|
|
2989
|
-
*
|
|
2990
|
-
* Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
2991
|
-
*
|
|
2992
|
-
* When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
2993
|
-
*/
|
|
2994
|
-
update_line_items?: Permissions.UpdateLineItems;
|
|
2995
2889
|
/**
|
|
2996
2890
|
* Determines which entity is allowed to update the shipping details.
|
|
2997
2891
|
*
|
|
@@ -3009,7 +2903,7 @@ export declare namespace Checkout {
|
|
|
3009
2903
|
*/
|
|
3010
2904
|
enabled: boolean;
|
|
3011
2905
|
}
|
|
3012
|
-
type RedirectOnCompletion = 'always' | 'if_required' | 'never';
|
|
2906
|
+
type RedirectOnCompletion = 'always' | 'if_required' | 'never' | OtherString;
|
|
3013
2907
|
interface SavedPaymentMethodOptions {
|
|
3014
2908
|
/**
|
|
3015
2909
|
* Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with 'allow_redisplay: ‘always' are shown in Checkout.
|
|
@@ -3055,14 +2949,14 @@ export declare namespace Checkout {
|
|
|
3055
2949
|
*/
|
|
3056
2950
|
shipping_rate_data?: ShippingOption.ShippingRateData;
|
|
3057
2951
|
}
|
|
3058
|
-
type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe';
|
|
2952
|
+
type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe' | OtherString;
|
|
3059
2953
|
interface SubscriptionData {
|
|
3060
2954
|
/**
|
|
3061
2955
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. To use an application fee percent, the request must be made on behalf of another account, using the `Stripe-Account` header or an OAuth key. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
|
|
3062
2956
|
*/
|
|
3063
2957
|
application_fee_percent?: number;
|
|
3064
2958
|
/**
|
|
3065
|
-
* A future timestamp to anchor the subscription's billing cycle for new subscriptions.
|
|
2959
|
+
* A future timestamp to anchor the subscription's billing cycle for new subscriptions.
|
|
3066
2960
|
*/
|
|
3067
2961
|
billing_cycle_anchor?: number;
|
|
3068
2962
|
/**
|
|
@@ -3132,7 +3026,7 @@ export declare namespace Checkout {
|
|
|
3132
3026
|
*/
|
|
3133
3027
|
required?: TaxIdCollection.Required;
|
|
3134
3028
|
}
|
|
3135
|
-
type UiMode = 'elements' | 'embedded_page' | 'form' | 'hosted_page';
|
|
3029
|
+
type UiMode = 'elements' | 'embedded_page' | 'form' | 'hosted_page' | OtherString;
|
|
3136
3030
|
interface WalletOptions {
|
|
3137
3031
|
/**
|
|
3138
3032
|
* contains details about the Link wallet options (Link is also known as Onelink in the UK).
|
|
@@ -3165,12 +3059,12 @@ export declare namespace Checkout {
|
|
|
3165
3059
|
type: Liability.Type;
|
|
3166
3060
|
}
|
|
3167
3061
|
namespace Liability {
|
|
3168
|
-
type Type = 'account' | 'self';
|
|
3062
|
+
type Type = 'account' | 'self' | OtherString;
|
|
3169
3063
|
}
|
|
3170
3064
|
}
|
|
3171
3065
|
namespace BrandingSettings {
|
|
3172
|
-
type BorderStyle = 'pill' | 'rectangular' | 'rounded';
|
|
3173
|
-
type FontFamily = 'be_vietnam_pro' | 'bitter' | 'chakra_petch' | 'default' | 'hahmlet' | 'inconsolata' | 'inter' | 'lato' | 'lora' | 'm_plus_1_code' | 'montserrat' | 'noto_sans' | 'noto_sans_jp' | 'noto_serif' | 'nunito' | 'open_sans' | 'pridi' | 'pt_sans' | 'pt_serif' | 'raleway' | 'roboto' | 'roboto_slab' | 'source_sans_pro' | 'titillium_web' | 'ubuntu_mono' | 'zen_maru_gothic';
|
|
3066
|
+
type BorderStyle = 'pill' | 'rectangular' | 'rounded' | OtherString;
|
|
3067
|
+
type FontFamily = 'be_vietnam_pro' | 'bitter' | 'chakra_petch' | 'default' | 'hahmlet' | 'inconsolata' | 'inter' | 'lato' | 'lora' | 'm_plus_1_code' | 'montserrat' | 'noto_sans' | 'noto_sans_jp' | 'noto_serif' | 'nunito' | 'open_sans' | 'pridi' | 'pt_sans' | 'pt_serif' | 'raleway' | 'roboto' | 'roboto_slab' | 'source_sans_pro' | 'titillium_web' | 'ubuntu_mono' | 'zen_maru_gothic' | OtherString;
|
|
3174
3068
|
interface Icon {
|
|
3175
3069
|
/**
|
|
3176
3070
|
* The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise.
|
|
@@ -3200,10 +3094,10 @@ export declare namespace Checkout {
|
|
|
3200
3094
|
url?: string;
|
|
3201
3095
|
}
|
|
3202
3096
|
namespace Icon {
|
|
3203
|
-
type Type = 'file' | 'url';
|
|
3097
|
+
type Type = 'file' | 'url' | OtherString;
|
|
3204
3098
|
}
|
|
3205
3099
|
namespace Logo {
|
|
3206
|
-
type Type = 'file' | 'url';
|
|
3100
|
+
type Type = 'file' | 'url' | OtherString;
|
|
3207
3101
|
}
|
|
3208
3102
|
}
|
|
3209
3103
|
namespace ConsentCollection {
|
|
@@ -3214,16 +3108,16 @@ export declare namespace Checkout {
|
|
|
3214
3108
|
*/
|
|
3215
3109
|
position: PaymentMethodReuseAgreement.Position;
|
|
3216
3110
|
}
|
|
3217
|
-
type Promotions = 'auto' | 'none';
|
|
3218
|
-
type TermsOfService = 'none' | 'required';
|
|
3111
|
+
type Promotions = 'auto' | 'none' | OtherString;
|
|
3112
|
+
type TermsOfService = 'none' | 'required' | OtherString;
|
|
3219
3113
|
namespace PaymentMethodReuseAgreement {
|
|
3220
|
-
type Position = 'auto' | 'hidden';
|
|
3114
|
+
type Position = 'auto' | 'hidden' | OtherString;
|
|
3221
3115
|
}
|
|
3222
3116
|
}
|
|
3223
3117
|
namespace CustomerUpdate {
|
|
3224
|
-
type Address = 'auto' | 'never';
|
|
3225
|
-
type Name = 'auto' | 'never';
|
|
3226
|
-
type Shipping = 'auto' | 'never';
|
|
3118
|
+
type Address = 'auto' | 'never' | OtherString;
|
|
3119
|
+
type Name = 'auto' | 'never' | OtherString;
|
|
3120
|
+
type Shipping = 'auto' | 'never' | OtherString;
|
|
3227
3121
|
}
|
|
3228
3122
|
namespace CustomField {
|
|
3229
3123
|
interface Dropdown {
|
|
@@ -3274,7 +3168,7 @@ export declare namespace Checkout {
|
|
|
3274
3168
|
*/
|
|
3275
3169
|
minimum_length?: number;
|
|
3276
3170
|
}
|
|
3277
|
-
type Type = 'dropdown' | 'numeric' | 'text';
|
|
3171
|
+
type Type = 'dropdown' | 'numeric' | 'text' | OtherString;
|
|
3278
3172
|
namespace Dropdown {
|
|
3279
3173
|
interface Option {
|
|
3280
3174
|
/**
|
|
@@ -3314,37 +3208,6 @@ export declare namespace Checkout {
|
|
|
3314
3208
|
message: string;
|
|
3315
3209
|
}
|
|
3316
3210
|
}
|
|
3317
|
-
namespace Discount {
|
|
3318
|
-
interface CouponData {
|
|
3319
|
-
/**
|
|
3320
|
-
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
3321
|
-
*/
|
|
3322
|
-
amount_off?: number;
|
|
3323
|
-
/**
|
|
3324
|
-
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
3325
|
-
*/
|
|
3326
|
-
currency?: string;
|
|
3327
|
-
/**
|
|
3328
|
-
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
3329
|
-
*/
|
|
3330
|
-
duration?: CouponData.Duration;
|
|
3331
|
-
/**
|
|
3332
|
-
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
3333
|
-
*/
|
|
3334
|
-
metadata?: Emptyable<MetadataParam>;
|
|
3335
|
-
/**
|
|
3336
|
-
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
3337
|
-
*/
|
|
3338
|
-
name?: string;
|
|
3339
|
-
/**
|
|
3340
|
-
* A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed).
|
|
3341
|
-
*/
|
|
3342
|
-
percent_off?: number;
|
|
3343
|
-
}
|
|
3344
|
-
namespace CouponData {
|
|
3345
|
-
type Duration = 'forever' | 'once' | 'repeating';
|
|
3346
|
-
}
|
|
3347
|
-
}
|
|
3348
3211
|
namespace InvoiceCreation {
|
|
3349
3212
|
interface InvoiceData {
|
|
3350
3213
|
/**
|
|
@@ -3408,7 +3271,7 @@ export declare namespace Checkout {
|
|
|
3408
3271
|
template?: string;
|
|
3409
3272
|
}
|
|
3410
3273
|
namespace Issuer {
|
|
3411
|
-
type Type = 'account' | 'self';
|
|
3274
|
+
type Type = 'account' | 'self' | OtherString;
|
|
3412
3275
|
}
|
|
3413
3276
|
namespace RenderingOptions {
|
|
3414
3277
|
type AmountTaxDisplay = 'exclude_tax' | 'include_inclusive_tax';
|
|
@@ -3482,10 +3345,6 @@ export declare namespace Checkout {
|
|
|
3482
3345
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
3483
3346
|
*/
|
|
3484
3347
|
tax_code?: string;
|
|
3485
|
-
/**
|
|
3486
|
-
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
3487
|
-
*/
|
|
3488
|
-
tax_details?: ProductData.TaxDetails;
|
|
3489
3348
|
/**
|
|
3490
3349
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
3491
3350
|
*/
|
|
@@ -3502,18 +3361,6 @@ export declare namespace Checkout {
|
|
|
3502
3361
|
interval_count?: number;
|
|
3503
3362
|
}
|
|
3504
3363
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
3505
|
-
namespace ProductData {
|
|
3506
|
-
interface TaxDetails {
|
|
3507
|
-
/**
|
|
3508
|
-
* A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
3509
|
-
*/
|
|
3510
|
-
performance_location?: string;
|
|
3511
|
-
/**
|
|
3512
|
-
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
3513
|
-
*/
|
|
3514
|
-
tax_code?: Emptyable<string>;
|
|
3515
|
-
}
|
|
3516
|
-
}
|
|
3517
3364
|
namespace Recurring {
|
|
3518
3365
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
3519
3366
|
}
|
|
@@ -3558,8 +3405,8 @@ export declare namespace Checkout {
|
|
|
3558
3405
|
}
|
|
3559
3406
|
}
|
|
3560
3407
|
namespace PaymentIntentData {
|
|
3561
|
-
type CaptureMethod = 'automatic' | 'automatic_async' | 'manual';
|
|
3562
|
-
type SetupFutureUsage = 'off_session' | 'on_session';
|
|
3408
|
+
type CaptureMethod = 'automatic' | 'automatic_async' | 'manual' | OtherString;
|
|
3409
|
+
type SetupFutureUsage = 'off_session' | 'on_session' | OtherString;
|
|
3563
3410
|
interface Shipping {
|
|
3564
3411
|
/**
|
|
3565
3412
|
* Shipping address.
|
|
@@ -3597,7 +3444,7 @@ export declare namespace Checkout {
|
|
|
3597
3444
|
}
|
|
3598
3445
|
}
|
|
3599
3446
|
namespace PaymentMethodData {
|
|
3600
|
-
type AllowRedisplay = 'always' | 'limited' | 'unspecified';
|
|
3447
|
+
type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
3601
3448
|
}
|
|
3602
3449
|
namespace PaymentMethodOptions {
|
|
3603
3450
|
interface AcssDebit {
|
|
@@ -3748,13 +3595,6 @@ export declare namespace Checkout {
|
|
|
3748
3595
|
*/
|
|
3749
3596
|
capture_method?: 'manual';
|
|
3750
3597
|
}
|
|
3751
|
-
interface Blik {
|
|
3752
|
-
/**
|
|
3753
|
-
* Additional fields for Mandate creation
|
|
3754
|
-
*/
|
|
3755
|
-
mandate_options?: Blik.MandateOptions;
|
|
3756
|
-
setup_future_usage?: Emptyable<Blik.SetupFutureUsage>;
|
|
3757
|
-
}
|
|
3758
3598
|
interface Boleto {
|
|
3759
3599
|
/**
|
|
3760
3600
|
* 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.
|
|
@@ -3780,10 +3620,6 @@ export declare namespace Checkout {
|
|
|
3780
3620
|
* Installment options for card payments
|
|
3781
3621
|
*/
|
|
3782
3622
|
installments?: Card.Installments;
|
|
3783
|
-
/**
|
|
3784
|
-
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
3785
|
-
*/
|
|
3786
|
-
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
3787
3623
|
/**
|
|
3788
3624
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
3789
3625
|
*/
|
|
@@ -4114,6 +3950,16 @@ export declare namespace Checkout {
|
|
|
4114
3950
|
* Controls when the funds will be captured from the customer's account.
|
|
4115
3951
|
*/
|
|
4116
3952
|
capture_method?: 'manual';
|
|
3953
|
+
/**
|
|
3954
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3955
|
+
*
|
|
3956
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3957
|
+
*
|
|
3958
|
+
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3959
|
+
*
|
|
3960
|
+
* 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).
|
|
3961
|
+
*/
|
|
3962
|
+
setup_future_usage?: 'none';
|
|
4117
3963
|
}
|
|
4118
3964
|
interface Paynow {
|
|
4119
3965
|
/**
|
|
@@ -4140,10 +3986,6 @@ export declare namespace Checkout {
|
|
|
4140
3986
|
* 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.
|
|
4141
3987
|
*/
|
|
4142
3988
|
reference?: string;
|
|
4143
|
-
/**
|
|
4144
|
-
* A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
4145
|
-
*/
|
|
4146
|
-
reference_id?: string;
|
|
4147
3989
|
/**
|
|
4148
3990
|
* The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
4149
3991
|
*/
|
|
@@ -4160,10 +4002,6 @@ export declare namespace Checkout {
|
|
|
4160
4002
|
* 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`.
|
|
4161
4003
|
*/
|
|
4162
4004
|
setup_future_usage?: Emptyable<Paypal.SetupFutureUsage>;
|
|
4163
|
-
/**
|
|
4164
|
-
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
4165
|
-
*/
|
|
4166
|
-
subsellers?: Array<string>;
|
|
4167
4005
|
}
|
|
4168
4006
|
interface Payto {
|
|
4169
4007
|
/**
|
|
@@ -4226,6 +4064,16 @@ export declare namespace Checkout {
|
|
|
4226
4064
|
* Controls when the funds will be captured from the customer's account.
|
|
4227
4065
|
*/
|
|
4228
4066
|
capture_method?: 'manual';
|
|
4067
|
+
/**
|
|
4068
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4069
|
+
*
|
|
4070
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
4071
|
+
*
|
|
4072
|
+
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
4073
|
+
*
|
|
4074
|
+
* 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).
|
|
4075
|
+
*/
|
|
4076
|
+
setup_future_usage?: 'none';
|
|
4229
4077
|
}
|
|
4230
4078
|
interface Satispay {
|
|
4231
4079
|
/**
|
|
@@ -4357,7 +4205,7 @@ export declare namespace Checkout {
|
|
|
4357
4205
|
setup_future_usage?: 'none';
|
|
4358
4206
|
}
|
|
4359
4207
|
namespace AcssDebit {
|
|
4360
|
-
type Currency = 'cad' | 'usd';
|
|
4208
|
+
type Currency = 'cad' | 'usd' | OtherString;
|
|
4361
4209
|
interface MandateOptions {
|
|
4362
4210
|
/**
|
|
4363
4211
|
* A URL for custom mandate text to render during confirmation step.
|
|
@@ -4382,16 +4230,16 @@ export declare namespace Checkout {
|
|
|
4382
4230
|
*/
|
|
4383
4231
|
transaction_type?: MandateOptions.TransactionType;
|
|
4384
4232
|
}
|
|
4385
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4386
|
-
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
4233
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4234
|
+
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
|
|
4387
4235
|
namespace MandateOptions {
|
|
4388
|
-
type DefaultFor = 'invoice' | 'subscription';
|
|
4389
|
-
type PaymentSchedule = 'combined' | 'interval' | 'sporadic';
|
|
4390
|
-
type TransactionType = 'business' | 'personal';
|
|
4236
|
+
type DefaultFor = 'invoice' | 'subscription' | OtherString;
|
|
4237
|
+
type PaymentSchedule = 'combined' | 'interval' | 'sporadic' | OtherString;
|
|
4238
|
+
type TransactionType = 'business' | 'personal' | OtherString;
|
|
4391
4239
|
}
|
|
4392
4240
|
}
|
|
4393
4241
|
namespace AmazonPay {
|
|
4394
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
4242
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4395
4243
|
}
|
|
4396
4244
|
namespace BacsDebit {
|
|
4397
4245
|
interface MandateOptions {
|
|
@@ -4400,19 +4248,10 @@ export declare namespace Checkout {
|
|
|
4400
4248
|
*/
|
|
4401
4249
|
reference_prefix?: Emptyable<string>;
|
|
4402
4250
|
}
|
|
4403
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4404
|
-
}
|
|
4405
|
-
namespace Blik {
|
|
4406
|
-
interface MandateOptions {
|
|
4407
|
-
/**
|
|
4408
|
-
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
4409
|
-
*/
|
|
4410
|
-
expires_after?: number;
|
|
4411
|
-
}
|
|
4412
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4251
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4413
4252
|
}
|
|
4414
4253
|
namespace Boleto {
|
|
4415
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4254
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4416
4255
|
}
|
|
4417
4256
|
namespace Card {
|
|
4418
4257
|
interface Installments {
|
|
@@ -4422,25 +4261,24 @@ export declare namespace Checkout {
|
|
|
4422
4261
|
*/
|
|
4423
4262
|
enabled?: boolean;
|
|
4424
4263
|
}
|
|
4425
|
-
type
|
|
4426
|
-
type
|
|
4427
|
-
type
|
|
4428
|
-
type
|
|
4429
|
-
type
|
|
4430
|
-
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
4264
|
+
type RequestExtendedAuthorization = 'if_available' | 'never' | OtherString;
|
|
4265
|
+
type RequestIncrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
4266
|
+
type RequestMulticapture = 'if_available' | 'never' | OtherString;
|
|
4267
|
+
type RequestOvercapture = 'if_available' | 'never' | OtherString;
|
|
4268
|
+
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
|
|
4431
4269
|
interface Restrictions {
|
|
4432
4270
|
/**
|
|
4433
4271
|
* The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.
|
|
4434
4272
|
*/
|
|
4435
4273
|
brands_blocked?: Array<Restrictions.BrandsBlocked>;
|
|
4436
4274
|
}
|
|
4437
|
-
type SetupFutureUsage = 'off_session' | 'on_session';
|
|
4275
|
+
type SetupFutureUsage = 'off_session' | 'on_session' | OtherString;
|
|
4438
4276
|
namespace Restrictions {
|
|
4439
|
-
type BrandsBlocked = 'american_express' | 'discover_global_network' | 'mastercard' | 'visa';
|
|
4277
|
+
type BrandsBlocked = 'american_express' | 'discover_global_network' | 'mastercard' | 'visa' | OtherString;
|
|
4440
4278
|
}
|
|
4441
4279
|
}
|
|
4442
4280
|
namespace Cashapp {
|
|
4443
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4281
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4444
4282
|
}
|
|
4445
4283
|
namespace CustomerBalance {
|
|
4446
4284
|
interface BankTransfer {
|
|
@@ -4466,15 +4304,15 @@ export declare namespace Checkout {
|
|
|
4466
4304
|
*/
|
|
4467
4305
|
country: string;
|
|
4468
4306
|
}
|
|
4469
|
-
type RequestedAddressType = 'aba' | 'iban' | 'sepa' | 'sort_code' | 'spei' | 'swift' | 'zengin';
|
|
4470
|
-
type Type = 'eu_bank_transfer' | 'gb_bank_transfer' | 'jp_bank_transfer' | 'mx_bank_transfer' | 'us_bank_transfer';
|
|
4307
|
+
type RequestedAddressType = 'aba' | 'iban' | 'sepa' | 'sort_code' | 'spei' | 'swift' | 'zengin' | OtherString;
|
|
4308
|
+
type Type = 'eu_bank_transfer' | 'gb_bank_transfer' | 'jp_bank_transfer' | 'mx_bank_transfer' | 'us_bank_transfer' | OtherString;
|
|
4471
4309
|
}
|
|
4472
4310
|
}
|
|
4473
4311
|
namespace DemoPay {
|
|
4474
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
4312
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4475
4313
|
}
|
|
4476
4314
|
namespace KakaoPay {
|
|
4477
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
4315
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4478
4316
|
}
|
|
4479
4317
|
namespace Klarna {
|
|
4480
4318
|
interface Subscription {
|
|
@@ -4500,7 +4338,7 @@ export declare namespace Checkout {
|
|
|
4500
4338
|
reference: string;
|
|
4501
4339
|
}
|
|
4502
4340
|
namespace Subscription {
|
|
4503
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
4341
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
4504
4342
|
interface NextBilling {
|
|
4505
4343
|
/**
|
|
4506
4344
|
* The amount of the next charge for the subscription.
|
|
@@ -4514,17 +4352,17 @@ export declare namespace Checkout {
|
|
|
4514
4352
|
}
|
|
4515
4353
|
}
|
|
4516
4354
|
namespace KrCard {
|
|
4517
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
4355
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4518
4356
|
}
|
|
4519
4357
|
namespace Link {
|
|
4520
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
4358
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4521
4359
|
}
|
|
4522
4360
|
namespace NaverPay {
|
|
4523
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
4361
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4524
4362
|
}
|
|
4525
4363
|
namespace Paypal {
|
|
4526
|
-
type PreferredLocale = 'cs-CZ' | 'da-DK' | 'de-AT' | 'de-DE' | 'de-LU' | 'el-GR' | 'en-GB' | 'en-US' | 'es-ES' | 'fi-FI' | 'fr-BE' | 'fr-FR' | 'fr-LU' | 'hu-HU' | 'it-IT' | 'nl-BE' | 'nl-NL' | 'pl-PL' | 'pt-PT' | 'sk-SK' | 'sv-SE';
|
|
4527
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
4364
|
+
type PreferredLocale = 'cs-CZ' | 'da-DK' | 'de-AT' | 'de-DE' | 'de-LU' | 'el-GR' | 'en-GB' | 'en-US' | 'es-ES' | 'fi-FI' | 'fr-BE' | 'fr-FR' | 'fr-LU' | 'hu-HU' | 'it-IT' | 'nl-BE' | 'nl-NL' | 'pl-PL' | 'pt-PT' | 'sk-SK' | 'sv-SE' | OtherString;
|
|
4365
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4528
4366
|
}
|
|
4529
4367
|
namespace Payto {
|
|
4530
4368
|
interface MandateOptions {
|
|
@@ -4557,15 +4395,15 @@ export declare namespace Checkout {
|
|
|
4557
4395
|
*/
|
|
4558
4396
|
start_date?: Emptyable<string>;
|
|
4559
4397
|
}
|
|
4560
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
4398
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4561
4399
|
namespace MandateOptions {
|
|
4562
|
-
type AmountType = 'fixed' | 'maximum';
|
|
4563
|
-
type PaymentSchedule = 'adhoc' | 'annual' | 'daily' | 'fortnightly' | 'monthly' | 'quarterly' | 'semi_annual' | 'weekly';
|
|
4564
|
-
type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility';
|
|
4400
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
4401
|
+
type PaymentSchedule = 'adhoc' | 'annual' | 'daily' | 'fortnightly' | 'monthly' | 'quarterly' | 'semi_annual' | 'weekly' | OtherString;
|
|
4402
|
+
type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility' | OtherString;
|
|
4565
4403
|
}
|
|
4566
4404
|
}
|
|
4567
4405
|
namespace Pix {
|
|
4568
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
4406
|
+
type AmountIncludesIof = 'always' | 'never' | OtherString;
|
|
4569
4407
|
interface MandateOptions {
|
|
4570
4408
|
/**
|
|
4571
4409
|
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
@@ -4600,11 +4438,11 @@ export declare namespace Checkout {
|
|
|
4600
4438
|
*/
|
|
4601
4439
|
start_date?: string;
|
|
4602
4440
|
}
|
|
4603
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
4441
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4604
4442
|
namespace MandateOptions {
|
|
4605
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
4606
|
-
type AmountType = 'fixed' | 'maximum';
|
|
4607
|
-
type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly';
|
|
4443
|
+
type AmountIncludesIof = 'always' | 'never' | OtherString;
|
|
4444
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
4445
|
+
type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly' | OtherString;
|
|
4608
4446
|
}
|
|
4609
4447
|
}
|
|
4610
4448
|
namespace RevolutPay {
|
|
@@ -4617,10 +4455,10 @@ export declare namespace Checkout {
|
|
|
4617
4455
|
*/
|
|
4618
4456
|
reference_prefix?: Emptyable<string>;
|
|
4619
4457
|
}
|
|
4620
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4458
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4621
4459
|
}
|
|
4622
4460
|
namespace Twint {
|
|
4623
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
4461
|
+
type SetupFutureUsage = 'none' | 'off_session' | OtherString;
|
|
4624
4462
|
}
|
|
4625
4463
|
namespace Upi {
|
|
4626
4464
|
interface MandateOptions {
|
|
@@ -4641,9 +4479,9 @@ export declare namespace Checkout {
|
|
|
4641
4479
|
*/
|
|
4642
4480
|
end_date?: number;
|
|
4643
4481
|
}
|
|
4644
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4482
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4645
4483
|
namespace MandateOptions {
|
|
4646
|
-
type AmountType = 'fixed' | 'maximum';
|
|
4484
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
4647
4485
|
}
|
|
4648
4486
|
}
|
|
4649
4487
|
namespace UsBankAccount {
|
|
@@ -4657,11 +4495,11 @@ export declare namespace Checkout {
|
|
|
4657
4495
|
*/
|
|
4658
4496
|
prefetch?: Array<FinancialConnections.Prefetch>;
|
|
4659
4497
|
}
|
|
4660
|
-
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
4661
|
-
type VerificationMethod = 'automatic' | 'instant';
|
|
4498
|
+
type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
|
|
4499
|
+
type VerificationMethod = 'automatic' | 'instant' | OtherString;
|
|
4662
4500
|
namespace FinancialConnections {
|
|
4663
4501
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
4664
|
-
type Prefetch = 'balances' | '
|
|
4502
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
4665
4503
|
}
|
|
4666
4504
|
}
|
|
4667
4505
|
namespace WechatPay {
|
|
@@ -4669,39 +4507,15 @@ export declare namespace Checkout {
|
|
|
4669
4507
|
}
|
|
4670
4508
|
}
|
|
4671
4509
|
namespace Permissions {
|
|
4672
|
-
|
|
4673
|
-
/**
|
|
4674
|
-
* Determines which entity is allowed to update the line items.
|
|
4675
|
-
*
|
|
4676
|
-
* Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
4677
|
-
*
|
|
4678
|
-
* When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
4679
|
-
*/
|
|
4680
|
-
line_items?: Update.LineItems;
|
|
4681
|
-
/**
|
|
4682
|
-
* Determines which entity is allowed to update the shipping details.
|
|
4683
|
-
*
|
|
4684
|
-
* Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
4685
|
-
*
|
|
4686
|
-
* When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
|
4687
|
-
*/
|
|
4688
|
-
shipping_details?: Update.ShippingDetails;
|
|
4689
|
-
}
|
|
4690
|
-
type UpdateDiscounts = 'client_only' | 'server_only';
|
|
4691
|
-
type UpdateLineItems = 'client_only' | 'server_only';
|
|
4692
|
-
type UpdateShippingDetails = 'client_only' | 'server_only';
|
|
4693
|
-
namespace Update {
|
|
4694
|
-
type LineItems = 'client_only' | 'server_only';
|
|
4695
|
-
type ShippingDetails = 'client_only' | 'server_only';
|
|
4696
|
-
}
|
|
4510
|
+
type UpdateShippingDetails = 'client_only' | 'server_only' | OtherString;
|
|
4697
4511
|
}
|
|
4698
4512
|
namespace SavedPaymentMethodOptions {
|
|
4699
|
-
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified';
|
|
4700
|
-
type PaymentMethodRemove = 'disabled' | 'enabled';
|
|
4701
|
-
type PaymentMethodSave = 'disabled' | 'enabled';
|
|
4513
|
+
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
4514
|
+
type PaymentMethodRemove = 'disabled' | 'enabled' | OtherString;
|
|
4515
|
+
type PaymentMethodSave = 'disabled' | 'enabled' | OtherString;
|
|
4702
4516
|
}
|
|
4703
4517
|
namespace ShippingAddressCollection {
|
|
4704
|
-
type AllowedCountry = 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CV' | 'CW' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SZ' | 'TA' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'ZZ';
|
|
4518
|
+
type AllowedCountry = 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CV' | 'CW' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SZ' | 'TA' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'ZZ' | OtherString;
|
|
4705
4519
|
}
|
|
4706
4520
|
namespace ShippingOption {
|
|
4707
4521
|
interface ShippingRateData {
|
|
@@ -4784,10 +4598,10 @@ export declare namespace Checkout {
|
|
|
4784
4598
|
value: number;
|
|
4785
4599
|
}
|
|
4786
4600
|
namespace Maximum {
|
|
4787
|
-
type Unit = 'business_day' | 'day' | 'hour' | 'month' | 'week';
|
|
4601
|
+
type Unit = 'business_day' | 'day' | 'hour' | 'month' | 'week' | OtherString;
|
|
4788
4602
|
}
|
|
4789
4603
|
namespace Minimum {
|
|
4790
|
-
type Unit = 'business_day' | 'day' | 'hour' | 'month' | 'week';
|
|
4604
|
+
type Unit = 'business_day' | 'day' | 'hour' | 'month' | 'week' | OtherString;
|
|
4791
4605
|
}
|
|
4792
4606
|
}
|
|
4793
4607
|
namespace FixedAmount {
|
|
@@ -4856,7 +4670,7 @@ export declare namespace Checkout {
|
|
|
4856
4670
|
*/
|
|
4857
4671
|
interval_count?: number;
|
|
4858
4672
|
}
|
|
4859
|
-
type ProrationBehavior = 'create_prorations' | 'none';
|
|
4673
|
+
type ProrationBehavior = 'create_prorations' | 'none' | OtherString;
|
|
4860
4674
|
interface TransferData {
|
|
4861
4675
|
/**
|
|
4862
4676
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
|
@@ -4880,7 +4694,7 @@ export declare namespace Checkout {
|
|
|
4880
4694
|
*/
|
|
4881
4695
|
proration_discounts?: Flexible.ProrationDiscounts;
|
|
4882
4696
|
}
|
|
4883
|
-
type Type = 'classic' | 'flexible';
|
|
4697
|
+
type Type = 'classic' | 'flexible' | OtherString;
|
|
4884
4698
|
namespace Flexible {
|
|
4885
4699
|
type ProrationDiscounts = 'included' | 'itemized';
|
|
4886
4700
|
}
|
|
@@ -4897,7 +4711,7 @@ export declare namespace Checkout {
|
|
|
4897
4711
|
type: Issuer.Type;
|
|
4898
4712
|
}
|
|
4899
4713
|
namespace Issuer {
|
|
4900
|
-
type Type = 'account' | 'self';
|
|
4714
|
+
type Type = 'account' | 'self' | OtherString;
|
|
4901
4715
|
}
|
|
4902
4716
|
}
|
|
4903
4717
|
namespace PendingInvoiceItemInterval {
|
|
@@ -4911,12 +4725,12 @@ export declare namespace Checkout {
|
|
|
4911
4725
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
4912
4726
|
}
|
|
4913
4727
|
namespace EndBehavior {
|
|
4914
|
-
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
|
|
4728
|
+
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
4915
4729
|
}
|
|
4916
4730
|
}
|
|
4917
4731
|
}
|
|
4918
4732
|
namespace TaxIdCollection {
|
|
4919
|
-
type Required = 'if_supported' | 'never';
|
|
4733
|
+
type Required = 'if_supported' | 'never' | OtherString;
|
|
4920
4734
|
}
|
|
4921
4735
|
namespace WalletOptions {
|
|
4922
4736
|
interface Link {
|
|
@@ -4926,7 +4740,7 @@ export declare namespace Checkout {
|
|
|
4926
4740
|
display?: Link.Display;
|
|
4927
4741
|
}
|
|
4928
4742
|
namespace Link {
|
|
4929
|
-
type Display = 'auto' | 'never';
|
|
4743
|
+
type Display = 'auto' | 'never' | OtherString;
|
|
4930
4744
|
}
|
|
4931
4745
|
}
|
|
4932
4746
|
}
|
|
@@ -4941,26 +4755,14 @@ export declare namespace Checkout {
|
|
|
4941
4755
|
}
|
|
4942
4756
|
export declare namespace Checkout {
|
|
4943
4757
|
interface SessionUpdateParams {
|
|
4944
|
-
/**
|
|
4945
|
-
* Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
|
4946
|
-
*/
|
|
4947
|
-
automatic_tax?: SessionUpdateParams.AutomaticTax;
|
|
4948
4758
|
/**
|
|
4949
4759
|
* Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions.
|
|
4950
4760
|
*/
|
|
4951
4761
|
collected_information?: SessionUpdateParams.CollectedInformation;
|
|
4952
|
-
/**
|
|
4953
|
-
* List of coupons and promotion codes attached to the Checkout Session.
|
|
4954
|
-
*/
|
|
4955
|
-
discounts?: Emptyable<Array<SessionUpdateParams.Discount>>;
|
|
4956
4762
|
/**
|
|
4957
4763
|
* Specifies which fields in the response should be expanded.
|
|
4958
4764
|
*/
|
|
4959
4765
|
expand?: Array<string>;
|
|
4960
|
-
/**
|
|
4961
|
-
* Generate a post-purchase Invoice for one-time payments.
|
|
4962
|
-
*/
|
|
4963
|
-
invoice_creation?: SessionUpdateParams.InvoiceCreation;
|
|
4964
4766
|
/**
|
|
4965
4767
|
* A list of items the customer is purchasing.
|
|
4966
4768
|
*
|
|
@@ -4985,40 +4787,14 @@ export declare namespace Checkout {
|
|
|
4985
4787
|
* The shipping rate options to apply to this Session. Up to a maximum of 5.
|
|
4986
4788
|
*/
|
|
4987
4789
|
shipping_options?: Emptyable<Array<SessionUpdateParams.ShippingOption>>;
|
|
4988
|
-
/**
|
|
4989
|
-
* A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
|
4990
|
-
*/
|
|
4991
|
-
subscription_data?: SessionUpdateParams.SubscriptionData;
|
|
4992
4790
|
}
|
|
4993
4791
|
namespace SessionUpdateParams {
|
|
4994
|
-
interface AutomaticTax {
|
|
4995
|
-
/**
|
|
4996
|
-
* The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
|
4997
|
-
*/
|
|
4998
|
-
liability?: AutomaticTax.Liability;
|
|
4999
|
-
}
|
|
5000
4792
|
interface CollectedInformation {
|
|
5001
4793
|
/**
|
|
5002
4794
|
* The shipping details to apply to this Session.
|
|
5003
4795
|
*/
|
|
5004
4796
|
shipping_details?: CollectedInformation.ShippingDetails;
|
|
5005
4797
|
}
|
|
5006
|
-
interface Discount {
|
|
5007
|
-
/**
|
|
5008
|
-
* The ID of the [Coupon](https://docs.stripe.com/api/coupons) to apply to this Session. One of `coupon` or `coupon_data` is required when updating discounts.
|
|
5009
|
-
*/
|
|
5010
|
-
coupon?: string;
|
|
5011
|
-
/**
|
|
5012
|
-
* Data used to generate a new [Coupon](https://docs.stripe.com/api/coupon) object inline. One of `coupon` or `coupon_data` is required when updating discounts.
|
|
5013
|
-
*/
|
|
5014
|
-
coupon_data?: Discount.CouponData;
|
|
5015
|
-
}
|
|
5016
|
-
interface InvoiceCreation {
|
|
5017
|
-
/**
|
|
5018
|
-
* Parameters passed when creating invoices for payment-mode Checkout Sessions.
|
|
5019
|
-
*/
|
|
5020
|
-
invoice_data?: InvoiceCreation.InvoiceData;
|
|
5021
|
-
}
|
|
5022
4798
|
interface LineItem {
|
|
5023
4799
|
/**
|
|
5024
4800
|
* When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
|
|
@@ -5059,39 +4835,6 @@ export declare namespace Checkout {
|
|
|
5059
4835
|
*/
|
|
5060
4836
|
shipping_rate_data?: ShippingOption.ShippingRateData;
|
|
5061
4837
|
}
|
|
5062
|
-
interface SubscriptionData {
|
|
5063
|
-
/**
|
|
5064
|
-
* All invoices will be billed using the specified settings.
|
|
5065
|
-
*/
|
|
5066
|
-
invoice_settings?: SubscriptionData.InvoiceSettings;
|
|
5067
|
-
/**
|
|
5068
|
-
* Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api#create_invoice) for the given subscription at the specified interval.
|
|
5069
|
-
*/
|
|
5070
|
-
pending_invoice_item_interval?: Emptyable<SubscriptionData.PendingInvoiceItemInterval>;
|
|
5071
|
-
/**
|
|
5072
|
-
* Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. Has to be at least 48 hours in the future.
|
|
5073
|
-
*/
|
|
5074
|
-
trial_end?: number;
|
|
5075
|
-
/**
|
|
5076
|
-
* Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
5077
|
-
*/
|
|
5078
|
-
trial_period_days?: Emptyable<number>;
|
|
5079
|
-
}
|
|
5080
|
-
namespace AutomaticTax {
|
|
5081
|
-
interface Liability {
|
|
5082
|
-
/**
|
|
5083
|
-
* The connected account being referenced when `type` is `account`.
|
|
5084
|
-
*/
|
|
5085
|
-
account?: string;
|
|
5086
|
-
/**
|
|
5087
|
-
* Type of the account referenced in the request.
|
|
5088
|
-
*/
|
|
5089
|
-
type: Liability.Type;
|
|
5090
|
-
}
|
|
5091
|
-
namespace Liability {
|
|
5092
|
-
type Type = 'account' | 'self';
|
|
5093
|
-
}
|
|
5094
|
-
}
|
|
5095
4838
|
namespace CollectedInformation {
|
|
5096
4839
|
interface ShippingDetails {
|
|
5097
4840
|
/**
|
|
@@ -5132,60 +4875,6 @@ export declare namespace Checkout {
|
|
|
5132
4875
|
}
|
|
5133
4876
|
}
|
|
5134
4877
|
}
|
|
5135
|
-
namespace Discount {
|
|
5136
|
-
interface CouponData {
|
|
5137
|
-
/**
|
|
5138
|
-
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
5139
|
-
*/
|
|
5140
|
-
amount_off?: number;
|
|
5141
|
-
/**
|
|
5142
|
-
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
5143
|
-
*/
|
|
5144
|
-
currency?: string;
|
|
5145
|
-
/**
|
|
5146
|
-
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
5147
|
-
*/
|
|
5148
|
-
duration?: CouponData.Duration;
|
|
5149
|
-
/**
|
|
5150
|
-
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
5151
|
-
*/
|
|
5152
|
-
metadata?: Emptyable<MetadataParam>;
|
|
5153
|
-
/**
|
|
5154
|
-
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
5155
|
-
*/
|
|
5156
|
-
name?: string;
|
|
5157
|
-
/**
|
|
5158
|
-
* A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed).
|
|
5159
|
-
*/
|
|
5160
|
-
percent_off?: number;
|
|
5161
|
-
}
|
|
5162
|
-
namespace CouponData {
|
|
5163
|
-
type Duration = 'forever' | 'once' | 'repeating';
|
|
5164
|
-
}
|
|
5165
|
-
}
|
|
5166
|
-
namespace InvoiceCreation {
|
|
5167
|
-
interface InvoiceData {
|
|
5168
|
-
/**
|
|
5169
|
-
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
5170
|
-
*/
|
|
5171
|
-
issuer?: InvoiceData.Issuer;
|
|
5172
|
-
}
|
|
5173
|
-
namespace InvoiceData {
|
|
5174
|
-
interface Issuer {
|
|
5175
|
-
/**
|
|
5176
|
-
* The connected account being referenced when `type` is `account`.
|
|
5177
|
-
*/
|
|
5178
|
-
account?: string;
|
|
5179
|
-
/**
|
|
5180
|
-
* Type of the account referenced in the request.
|
|
5181
|
-
*/
|
|
5182
|
-
type: Issuer.Type;
|
|
5183
|
-
}
|
|
5184
|
-
namespace Issuer {
|
|
5185
|
-
type Type = 'account' | 'self';
|
|
5186
|
-
}
|
|
5187
|
-
}
|
|
5188
|
-
}
|
|
5189
4878
|
namespace LineItem {
|
|
5190
4879
|
interface AdjustableQuantity {
|
|
5191
4880
|
/**
|
|
@@ -5253,10 +4942,6 @@ export declare namespace Checkout {
|
|
|
5253
4942
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
5254
4943
|
*/
|
|
5255
4944
|
tax_code?: string;
|
|
5256
|
-
/**
|
|
5257
|
-
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
5258
|
-
*/
|
|
5259
|
-
tax_details?: ProductData.TaxDetails;
|
|
5260
4945
|
/**
|
|
5261
4946
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
5262
4947
|
*/
|
|
@@ -5273,18 +4958,6 @@ export declare namespace Checkout {
|
|
|
5273
4958
|
interval_count?: number;
|
|
5274
4959
|
}
|
|
5275
4960
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
5276
|
-
namespace ProductData {
|
|
5277
|
-
interface TaxDetails {
|
|
5278
|
-
/**
|
|
5279
|
-
* A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
5280
|
-
*/
|
|
5281
|
-
performance_location?: string;
|
|
5282
|
-
/**
|
|
5283
|
-
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
5284
|
-
*/
|
|
5285
|
-
tax_code?: Emptyable<string>;
|
|
5286
|
-
}
|
|
5287
|
-
}
|
|
5288
4961
|
namespace Recurring {
|
|
5289
4962
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
5290
4963
|
}
|
|
@@ -5371,10 +5044,10 @@ export declare namespace Checkout {
|
|
|
5371
5044
|
value: number;
|
|
5372
5045
|
}
|
|
5373
5046
|
namespace Maximum {
|
|
5374
|
-
type Unit = 'business_day' | 'day' | 'hour' | 'month' | 'week';
|
|
5047
|
+
type Unit = 'business_day' | 'day' | 'hour' | 'month' | 'week' | OtherString;
|
|
5375
5048
|
}
|
|
5376
5049
|
namespace Minimum {
|
|
5377
|
-
type Unit = 'business_day' | 'day' | 'hour' | 'month' | 'week';
|
|
5050
|
+
type Unit = 'business_day' | 'day' | 'hour' | 'month' | 'week' | OtherString;
|
|
5378
5051
|
}
|
|
5379
5052
|
}
|
|
5380
5053
|
namespace FixedAmount {
|
|
@@ -5394,42 +5067,6 @@ export declare namespace Checkout {
|
|
|
5394
5067
|
}
|
|
5395
5068
|
}
|
|
5396
5069
|
}
|
|
5397
|
-
namespace SubscriptionData {
|
|
5398
|
-
interface InvoiceSettings {
|
|
5399
|
-
/**
|
|
5400
|
-
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
5401
|
-
*/
|
|
5402
|
-
issuer?: InvoiceSettings.Issuer;
|
|
5403
|
-
}
|
|
5404
|
-
interface PendingInvoiceItemInterval {
|
|
5405
|
-
/**
|
|
5406
|
-
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
5407
|
-
*/
|
|
5408
|
-
interval: PendingInvoiceItemInterval.Interval;
|
|
5409
|
-
/**
|
|
5410
|
-
* The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
|
|
5411
|
-
*/
|
|
5412
|
-
interval_count?: number;
|
|
5413
|
-
}
|
|
5414
|
-
namespace InvoiceSettings {
|
|
5415
|
-
interface Issuer {
|
|
5416
|
-
/**
|
|
5417
|
-
* The connected account being referenced when `type` is `account`.
|
|
5418
|
-
*/
|
|
5419
|
-
account?: string;
|
|
5420
|
-
/**
|
|
5421
|
-
* Type of the account referenced in the request.
|
|
5422
|
-
*/
|
|
5423
|
-
type: Issuer.Type;
|
|
5424
|
-
}
|
|
5425
|
-
namespace Issuer {
|
|
5426
|
-
type Type = 'account' | 'self';
|
|
5427
|
-
}
|
|
5428
|
-
}
|
|
5429
|
-
namespace PendingInvoiceItemInterval {
|
|
5430
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
5431
|
-
}
|
|
5432
|
-
}
|
|
5433
5070
|
}
|
|
5434
5071
|
}
|
|
5435
5072
|
export declare namespace Checkout {
|