stripe 23.1.0-beta.2 → 23.1.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 +4850 -1831
- package/OPENAPI_VERSION +1 -1
- package/README.md +58 -42
- package/VERSION +1 -1
- package/cjs/Error.d.ts +6 -6
- package/cjs/Error.js +17 -17
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +60 -46
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +2 -4
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +57 -211
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +58 -626
- package/cjs/resources/Accounts.js +0 -14
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Apps/Installs.d.ts +6 -6
- package/cjs/resources/Apps/Installs.js +3 -3
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- 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 +120 -0
- package/cjs/resources/BillingPortal/Sessions.d.ts +22 -2
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +3 -17
- package/cjs/resources/Charges.d.ts +73 -3077
- package/cjs/resources/Checkout/Sessions.d.ts +40 -360
- package/cjs/resources/ConfirmationTokens.d.ts +1 -64
- package/cjs/resources/Coupons.d.ts +0 -53
- package/cjs/resources/Coupons.js +0 -13
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -1
- package/cjs/resources/CustomerCashBalanceTransactions.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +5 -24
- package/cjs/resources/Customers.js +0 -14
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +8 -19
- package/cjs/resources/Events.d.ts +95 -548
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +5 -70
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +1 -46
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +9 -124
- 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/InvoiceItems.d.ts +1 -86
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/Invoices.d.ts +142 -1230
- package/cjs/resources/Invoices.js +0 -41
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +0 -13
- package/cjs/resources/Issuing/Cardholders.d.ts +1 -19
- package/cjs/resources/Issuing/Cards.d.ts +12 -13
- package/cjs/resources/Issuing/Disputes.d.ts +0 -13
- package/cjs/resources/Issuing/Transactions.d.ts +0 -22
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- 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 +2 -29
- package/cjs/resources/Mandates.d.ts +2 -33
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/PaymentAttemptRecords.d.ts +1 -80
- package/cjs/resources/PaymentIntents.d.ts +6191 -17059
- package/cjs/resources/PaymentIntents.js +0 -27
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +81 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -280
- package/cjs/resources/PaymentMethods.d.ts +3 -155
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +1 -80
- package/cjs/resources/Payouts.d.ts +1 -1
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Prices.d.ts +0 -36
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +0 -27
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +150 -2359
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +1 -31
- package/cjs/resources/Radar/index.d.ts +16 -21
- package/cjs/resources/Radar/index.js +0 -2
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +18 -5
- package/cjs/resources/Reserve/Holds.d.ts +1 -53
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +1 -41
- package/cjs/resources/Reserve/Plans.js +0 -19
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +1 -41
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +6 -18
- package/cjs/resources/Reserve/index.js +0 -9
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +1 -26
- package/cjs/resources/SetupIntents.d.ts +14 -328
- package/cjs/resources/SourceMandateNotifications.d.ts +1 -3
- package/cjs/resources/Sources.d.ts +1 -29
- package/cjs/resources/SubscriptionItems.d.ts +7 -112
- package/cjs/resources/SubscriptionSchedules.d.ts +7 -1159
- package/cjs/resources/SubscriptionSchedules.js +0 -6
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +12 -394
- package/cjs/resources/Subscriptions.js +1 -43
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +1 -1
- package/cjs/resources/Tax/Calculations.d.ts +6 -6
- package/cjs/resources/Tax/Registrations.d.ts +90 -28
- package/cjs/resources/Tax/Transactions.d.ts +3 -3
- package/cjs/resources/Tax/index.d.ts +17 -24
- package/cjs/resources/Tax/index.js +0 -2
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxIds.d.ts +4 -4
- package/cjs/resources/TaxRates.d.ts +3 -3
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/Readers.d.ts +4 -20
- 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 +1 -72
- package/cjs/resources/TestHelpers/Customers.d.ts +1 -1
- package/cjs/resources/TestHelpers/Customers.js +1 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +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 +6 -15
- package/cjs/resources/Transfers.d.ts +0 -8
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -9
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +6 -22
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/Treasury/TransactionEntries.d.ts +14 -0
- package/cjs/resources/Treasury/Transactions.d.ts +14 -0
- 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/Core/AccountPersons.d.ts +9 -9
- package/cjs/resources/V2/Core/AccountTokens.d.ts +21 -31
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +9 -9
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +19 -19
- package/cjs/resources/V2/Core/Accounts.d.ts +440 -1286
- package/cjs/resources/V2/Core/EventDestinations.d.ts +1 -1
- package/cjs/resources/V2/Core/Events.d.ts +872 -923
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +6 -146
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +4 -15
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +19 -20
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +8 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +2 -2
- package/cjs/resources/V2/Core/index.d.ts +9 -24
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +13 -12
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +25 -141
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +2 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +15 -37
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +9 -13
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +156 -93
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +2 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +3 -77
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +730 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +67 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +6 -43
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +5 -12
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +7 -118
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +155 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +1 -15
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -7
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +24 -18
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +87 -26
- package/cjs/resources/V2/MoneyManagement/Transactions.js +12 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +43 -48
- package/cjs/resources/V2/MoneyManagement/index.js +4 -6
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +3 -18
- package/cjs/resources/V2/index.js +4 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +0 -9
- package/cjs/resources.js +15 -115
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +671 -6308
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +28 -57
- package/cjs/stripe.core.js +36 -53
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +6 -6
- package/esm/Error.js +14 -14
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +60 -46
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +2 -4
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +57 -211
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +58 -626
- package/esm/resources/Accounts.js +0 -14
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Apps/Installs.d.ts +6 -6
- package/esm/resources/Apps/Installs.js +3 -3
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- 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 +120 -0
- package/esm/resources/BillingPortal/Sessions.d.ts +22 -2
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +3 -17
- package/esm/resources/Charges.d.ts +73 -3077
- package/esm/resources/Checkout/Sessions.d.ts +40 -360
- package/esm/resources/ConfirmationTokens.d.ts +1 -64
- package/esm/resources/Coupons.d.ts +0 -53
- package/esm/resources/Coupons.js +0 -13
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -1
- package/esm/resources/CustomerCashBalanceTransactions.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +5 -24
- package/esm/resources/Customers.js +0 -14
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +8 -19
- package/esm/resources/Events.d.ts +95 -548
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +5 -70
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +1 -46
- package/esm/resources/FinancialConnections/Authorizations.js +1 -9
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +9 -124
- 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/InvoiceItems.d.ts +1 -86
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/Invoices.d.ts +142 -1230
- package/esm/resources/Invoices.js +0 -41
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +0 -13
- package/esm/resources/Issuing/Cardholders.d.ts +1 -19
- package/esm/resources/Issuing/Cards.d.ts +12 -13
- package/esm/resources/Issuing/Disputes.d.ts +0 -13
- package/esm/resources/Issuing/Transactions.d.ts +0 -22
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- 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 +2 -29
- package/esm/resources/Mandates.d.ts +2 -33
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/PaymentAttemptRecords.d.ts +1 -80
- package/esm/resources/PaymentIntents.d.ts +6191 -17059
- package/esm/resources/PaymentIntents.js +0 -27
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +81 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +0 -280
- package/esm/resources/PaymentMethods.d.ts +3 -155
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +1 -80
- package/esm/resources/Payouts.d.ts +1 -1
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Prices.d.ts +0 -36
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +0 -27
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +150 -2359
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +1 -31
- package/esm/resources/Radar/index.d.ts +16 -21
- package/esm/resources/Radar/index.js +0 -2
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +18 -5
- package/esm/resources/Reserve/Holds.d.ts +1 -53
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +1 -41
- package/esm/resources/Reserve/Plans.js +1 -17
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +1 -41
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +6 -18
- package/esm/resources/Reserve/index.js +0 -9
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +1 -26
- package/esm/resources/SetupIntents.d.ts +14 -328
- package/esm/resources/SourceMandateNotifications.d.ts +1 -3
- package/esm/resources/Sources.d.ts +1 -29
- package/esm/resources/SubscriptionItems.d.ts +7 -112
- package/esm/resources/SubscriptionSchedules.d.ts +7 -1159
- package/esm/resources/SubscriptionSchedules.js +0 -6
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +12 -394
- package/esm/resources/Subscriptions.js +1 -43
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +1 -1
- package/esm/resources/Tax/Calculations.d.ts +6 -6
- package/esm/resources/Tax/Registrations.d.ts +90 -28
- package/esm/resources/Tax/Transactions.d.ts +3 -3
- package/esm/resources/Tax/index.d.ts +17 -24
- package/esm/resources/Tax/index.js +0 -2
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxIds.d.ts +4 -4
- package/esm/resources/TaxRates.d.ts +3 -3
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/Readers.d.ts +4 -20
- 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 +1 -72
- package/esm/resources/TestHelpers/Customers.d.ts +1 -1
- package/esm/resources/TestHelpers/Customers.js +1 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +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 +6 -15
- package/esm/resources/Transfers.d.ts +0 -8
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/esm/resources/Treasury/OutboundPayments.d.ts +0 -9
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/ReceivedCredits.d.ts +6 -22
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/Treasury/TransactionEntries.d.ts +14 -0
- package/esm/resources/Treasury/Transactions.d.ts +14 -0
- 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/Core/AccountPersons.d.ts +9 -9
- package/esm/resources/V2/Core/AccountTokens.d.ts +21 -31
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +9 -9
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +19 -19
- package/esm/resources/V2/Core/Accounts.d.ts +440 -1286
- package/esm/resources/V2/Core/EventDestinations.d.ts +1 -1
- package/esm/resources/V2/Core/Events.d.ts +872 -923
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +6 -146
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +4 -15
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +19 -20
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +8 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +2 -2
- package/esm/resources/V2/Core/index.d.ts +9 -24
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +13 -12
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +25 -141
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +2 -17
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +15 -37
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +9 -13
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +156 -93
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +2 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +3 -77
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +730 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js +63 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +6 -43
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +5 -12
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +7 -118
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +155 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +1 -15
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -7
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +24 -18
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +87 -26
- package/esm/resources/V2/MoneyManagement/Transactions.js +12 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +43 -48
- package/esm/resources/V2/MoneyManagement/index.js +4 -6
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/TestHelpers/index.js +9 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +3 -18
- package/esm/resources/V2/index.js +2 -12
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +0 -9
- package/esm/resources.js +7 -102
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +28 -57
- package/esm/stripe.core.js +2 -19
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +28 -57
- package/esm/stripe.esm.node.js +2 -19
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -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 -85
- 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 -102
- 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 -216
- 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 -4696
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
- 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/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 -1170
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -924
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/Radar/BillingEvaluations.d.ts +0 -374
- package/cjs/resources/Radar/BillingEvaluations.js +0 -15
- package/cjs/resources/Radar/BillingEvaluations.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -418
- 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 -330
- 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/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 -72
- 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 -281
- 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 -958
- 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 -238
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +0 -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/ApprovalRequests.d.ts +0 -378
- package/cjs/resources/V2/Core/ApprovalRequests.js +0 -39
- package/cjs/resources/V2/Core/ApprovalRequests.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/Data/Reporting/QueryRuns.d.ts +0 -152
- 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 -163
- 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 -120
- 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/Iam/ActivityLogs.d.ts +0 -377
- 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/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -243
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -339
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -163
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.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/Signals/AccountActivities.d.ts +0 -424
- package/cjs/resources/V2/Signals/AccountActivities.js +0 -27
- package/cjs/resources/V2/Signals/AccountActivities.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
- package/cjs/resources/V2/Signals/AccountEvaluations.js +0 -59
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -196
- package/cjs/resources/V2/Signals/AccountSignals.js +0 -66
- package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/cjs/resources/V2/Signals/index.d.ts +0 -26
- package/cjs/resources/V2/Signals/index.js +0 -17
- package/cjs/resources/V2/Signals/index.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 -85
- 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 -102
- 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 -216
- 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 -4696
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
- 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/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 -1170
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -924
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/Radar/BillingEvaluations.d.ts +0 -374
- package/esm/resources/Radar/BillingEvaluations.js +0 -11
- package/esm/resources/Radar/BillingEvaluations.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -418
- 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 -330
- 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/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 -72
- 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 -281
- 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 -958
- 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 -238
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +0 -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/ApprovalRequests.d.ts +0 -378
- package/esm/resources/V2/Core/ApprovalRequests.js +0 -35
- package/esm/resources/V2/Core/ApprovalRequests.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/Data/Reporting/QueryRuns.d.ts +0 -152
- 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 -163
- 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 -120
- 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/Iam/ActivityLogs.d.ts +0 -377
- 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/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -243
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -339
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -163
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.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/Signals/AccountActivities.d.ts +0 -424
- package/esm/resources/V2/Signals/AccountActivities.js +0 -23
- package/esm/resources/V2/Signals/AccountActivities.js.map +0 -1
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
- package/esm/resources/V2/Signals/AccountEvaluations.js +0 -55
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +0 -1
- package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -196
- package/esm/resources/V2/Signals/AccountSignals.js +0 -62
- package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/esm/resources/V2/Signals/index.d.ts +0 -26
- package/esm/resources/V2/Signals/index.js +0 -13
- package/esm/resources/V2/Signals/index.js.map +0 -1
|
@@ -222,7 +222,7 @@ export interface Session {
|
|
|
222
222
|
*/
|
|
223
223
|
payment_link: string | PaymentLink | null;
|
|
224
224
|
/**
|
|
225
|
-
* Configure whether a Checkout Session should collect a payment method
|
|
225
|
+
* Configure whether a Checkout Session should collect a payment method. Can only be set in `subscription` mode. Defaults to `always`.
|
|
226
226
|
*/
|
|
227
227
|
payment_method_collection: Session.PaymentMethodCollection | null;
|
|
228
228
|
/**
|
|
@@ -255,10 +255,6 @@ export interface Session {
|
|
|
255
255
|
* The ID of the original expired Checkout Session that triggered the recovery flow.
|
|
256
256
|
*/
|
|
257
257
|
recovered_from: string | null;
|
|
258
|
-
/**
|
|
259
|
-
* The redaction status of the Checkout Session. If the Session is not redacted, this field is null.
|
|
260
|
-
*/
|
|
261
|
-
redaction?: Session.Redaction | null;
|
|
262
258
|
/**
|
|
263
259
|
* This parameter applies to `ui_mode: embedded_page`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.
|
|
264
260
|
*/
|
|
@@ -392,26 +388,14 @@ export declare namespace Session {
|
|
|
392
388
|
* Customer's business name for this Checkout Session
|
|
393
389
|
*/
|
|
394
390
|
business_name: string | null;
|
|
395
|
-
/**
|
|
396
|
-
* Customer's email for this Checkout Session
|
|
397
|
-
*/
|
|
398
|
-
email?: string | null;
|
|
399
391
|
/**
|
|
400
392
|
* Customer's individual name for this Checkout Session
|
|
401
393
|
*/
|
|
402
394
|
individual_name: string | null;
|
|
403
|
-
/**
|
|
404
|
-
* Customer's phone number for this Checkout Session
|
|
405
|
-
*/
|
|
406
|
-
phone?: string | null;
|
|
407
395
|
/**
|
|
408
396
|
* Shipping information for this Checkout Session.
|
|
409
397
|
*/
|
|
410
398
|
shipping_details: CollectedInformation.ShippingDetails | null;
|
|
411
|
-
/**
|
|
412
|
-
* Customer's tax id for this Checkout Session.
|
|
413
|
-
*/
|
|
414
|
-
tax_id?: CollectedInformation.TaxId | null;
|
|
415
399
|
}
|
|
416
400
|
interface Consent {
|
|
417
401
|
/**
|
|
@@ -547,7 +531,7 @@ export declare namespace Session {
|
|
|
547
531
|
enabled: boolean;
|
|
548
532
|
invoice_data: InvoiceCreation.InvoiceData;
|
|
549
533
|
}
|
|
550
|
-
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;
|
|
534
|
+
type Locale = 'auto' | 'bg' | 'cs' | 'da' | 'de' | 'el' | 'en' | 'en-GB' | 'es' | 'es-419' | 'et' | 'fi' | 'fil' | 'fr' | 'fr-CA' | 'hi-IN' | 'hr' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lt' | 'lv' | 'ms' | 'mt' | 'nb' | 'nl' | 'pl' | 'pt' | 'pt-BR' | 'ro' | 'ru' | 'sk' | 'sl' | 'sv' | 'th' | 'tr' | 'vi' | 'zh' | 'zh-HK' | 'zh-TW' | OtherString;
|
|
551
535
|
interface ManagedPayments {
|
|
552
536
|
/**
|
|
553
537
|
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
@@ -627,18 +611,6 @@ export declare namespace Session {
|
|
|
627
611
|
}
|
|
628
612
|
type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid' | OtherString;
|
|
629
613
|
interface Permissions {
|
|
630
|
-
/**
|
|
631
|
-
* Permissions for updating the Checkout Session.
|
|
632
|
-
*/
|
|
633
|
-
update?: Permissions.Update | null;
|
|
634
|
-
/**
|
|
635
|
-
* Determines which entity is allowed to update the line items.
|
|
636
|
-
*
|
|
637
|
-
* 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.
|
|
638
|
-
*
|
|
639
|
-
* 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.
|
|
640
|
-
*/
|
|
641
|
-
update_line_items?: Permissions.UpdateLineItems | null;
|
|
642
614
|
/**
|
|
643
615
|
* Determines which entity is allowed to update the shipping details.
|
|
644
616
|
*
|
|
@@ -664,12 +636,6 @@ export declare namespace Session {
|
|
|
664
636
|
*/
|
|
665
637
|
presentment_currency: string;
|
|
666
638
|
}
|
|
667
|
-
interface Redaction {
|
|
668
|
-
/**
|
|
669
|
-
* Indicates whether this object and its related objects have been redacted or not.
|
|
670
|
-
*/
|
|
671
|
-
status: Redaction.Status;
|
|
672
|
-
}
|
|
673
639
|
type RedirectOnCompletion = 'always' | 'if_required' | 'never' | OtherString;
|
|
674
640
|
interface SavedPaymentMethodOptions {
|
|
675
641
|
/**
|
|
@@ -838,19 +804,6 @@ export declare namespace Session {
|
|
|
838
804
|
*/
|
|
839
805
|
name: string;
|
|
840
806
|
}
|
|
841
|
-
interface TaxId {
|
|
842
|
-
/**
|
|
843
|
-
* 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`
|
|
844
|
-
*/
|
|
845
|
-
type: TaxId.Type;
|
|
846
|
-
/**
|
|
847
|
-
* The value of the tax ID.
|
|
848
|
-
*/
|
|
849
|
-
value: string | null;
|
|
850
|
-
}
|
|
851
|
-
namespace TaxId {
|
|
852
|
-
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' | OtherString;
|
|
853
|
-
}
|
|
854
807
|
}
|
|
855
808
|
namespace Consent {
|
|
856
809
|
type Promotions = 'opt_in' | 'opt_out' | OtherString;
|
|
@@ -874,7 +827,7 @@ export declare namespace Session {
|
|
|
874
827
|
type TaxExempt = 'exempt' | 'none' | 'reverse' | OtherString;
|
|
875
828
|
interface TaxId {
|
|
876
829
|
/**
|
|
877
|
-
* 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`
|
|
830
|
+
* The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `au_acn`, `nz_bn`, `pt_nif`, `cz_dic`, `fr_siret`, `fr_siren`, `fr_spi`, `sm_coe`, `tt_vat`, `tt_bir`, `mu_vat`, `mz_nuit`, `au_wpn`, `md_cf`, `is_kt`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, `ic_nif`, `gh_tin`, `bw_vat`, `ci_vat`, or `unknown`
|
|
878
831
|
*/
|
|
879
832
|
type: TaxId.Type;
|
|
880
833
|
/**
|
|
@@ -883,7 +836,7 @@ export declare namespace Session {
|
|
|
883
836
|
value: string | null;
|
|
884
837
|
}
|
|
885
838
|
namespace TaxId {
|
|
886
|
-
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' | OtherString;
|
|
839
|
+
type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_acn' | 'au_arn' | 'au_wpn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'bw_vat' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'ci_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'cz_dic' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'fr_siren' | 'fr_siret' | 'fr_spi' | 'gb_vat' | 'ge_vat' | 'gh_tin' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'ic_nif' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_kt' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_cf' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mu_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'mz_nuit' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_bn' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'pt_nif' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sm_coe' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tt_bir' | 'tt_vat' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'unknown' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin' | OtherString;
|
|
887
840
|
}
|
|
888
841
|
}
|
|
889
842
|
namespace CustomField {
|
|
@@ -1257,10 +1210,6 @@ export declare namespace Session {
|
|
|
1257
1210
|
*/
|
|
1258
1211
|
capture_method?: 'manual';
|
|
1259
1212
|
installments?: Card.Installments;
|
|
1260
|
-
/**
|
|
1261
|
-
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1262
|
-
*/
|
|
1263
|
-
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
1264
1213
|
/**
|
|
1265
1214
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1266
1215
|
*/
|
|
@@ -1597,10 +1546,6 @@ export declare namespace Session {
|
|
|
1597
1546
|
* 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).
|
|
1598
1547
|
*/
|
|
1599
1548
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
1600
|
-
/**
|
|
1601
|
-
* 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.
|
|
1602
|
-
*/
|
|
1603
|
-
subsellers?: Array<string>;
|
|
1604
1549
|
}
|
|
1605
1550
|
interface Payto {
|
|
1606
1551
|
mandate_options?: Payto.MandateOptions;
|
|
@@ -1863,7 +1808,6 @@ export declare namespace Session {
|
|
|
1863
1808
|
*/
|
|
1864
1809
|
enabled?: boolean;
|
|
1865
1810
|
}
|
|
1866
|
-
type RequestDecrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
1867
1811
|
type RequestExtendedAuthorization = 'if_available' | 'never' | OtherString;
|
|
1868
1812
|
type RequestIncrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
1869
1813
|
type RequestMulticapture = 'if_available' | 'never' | OtherString;
|
|
@@ -2054,7 +1998,6 @@ export declare namespace Session {
|
|
|
2054
1998
|
namespace UsBankAccount {
|
|
2055
1999
|
interface FinancialConnections {
|
|
2056
2000
|
filters?: FinancialConnections.Filters;
|
|
2057
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
2058
2001
|
/**
|
|
2059
2002
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
2060
2003
|
*/
|
|
@@ -2076,25 +2019,12 @@ export declare namespace Session {
|
|
|
2076
2019
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2077
2020
|
*/
|
|
2078
2021
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2079
|
-
/**
|
|
2080
|
-
* The institution to use to filter for possible accounts to link.
|
|
2081
|
-
*/
|
|
2082
|
-
institution?: string;
|
|
2083
|
-
}
|
|
2084
|
-
interface ManualEntry {
|
|
2085
|
-
/**
|
|
2086
|
-
* Settings for configuring manual entry of account details.
|
|
2087
|
-
*/
|
|
2088
|
-
mode?: ManualEntry.Mode;
|
|
2089
2022
|
}
|
|
2090
2023
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
2091
|
-
type Prefetch = 'balances' | '
|
|
2024
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2092
2025
|
namespace Filters {
|
|
2093
2026
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2094
2027
|
}
|
|
2095
|
-
namespace ManualEntry {
|
|
2096
|
-
type Mode = 'automatic' | 'custom' | OtherString;
|
|
2097
|
-
}
|
|
2098
2028
|
}
|
|
2099
2029
|
}
|
|
2100
2030
|
namespace WechatPay {
|
|
@@ -2103,33 +2033,7 @@ export declare namespace Session {
|
|
|
2103
2033
|
}
|
|
2104
2034
|
}
|
|
2105
2035
|
namespace Permissions {
|
|
2106
|
-
interface Update {
|
|
2107
|
-
/**
|
|
2108
|
-
* Determines which entity is allowed to update the line items.
|
|
2109
|
-
*
|
|
2110
|
-
* 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.
|
|
2111
|
-
*
|
|
2112
|
-
* 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.
|
|
2113
|
-
*/
|
|
2114
|
-
line_items?: Update.LineItems | null;
|
|
2115
|
-
/**
|
|
2116
|
-
* Determines which entity is allowed to update the shipping details.
|
|
2117
|
-
*
|
|
2118
|
-
* 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.
|
|
2119
|
-
*
|
|
2120
|
-
* This parameter is only supported when `ui_mode=elements`.
|
|
2121
|
-
*/
|
|
2122
|
-
shipping_details: Update.ShippingDetails | null;
|
|
2123
|
-
}
|
|
2124
|
-
type UpdateLineItems = 'client_only' | 'server_only' | OtherString;
|
|
2125
2036
|
type UpdateShippingDetails = 'client_only' | 'server_only' | OtherString;
|
|
2126
|
-
namespace Update {
|
|
2127
|
-
type LineItems = 'client_only' | 'server_only' | OtherString;
|
|
2128
|
-
type ShippingDetails = 'client_only' | 'server_only' | OtherString;
|
|
2129
|
-
}
|
|
2130
|
-
}
|
|
2131
|
-
namespace Redaction {
|
|
2132
|
-
type Status = 'processing' | 'redacted' | 'validated' | OtherString;
|
|
2133
2037
|
}
|
|
2134
2038
|
namespace SavedPaymentMethodOptions {
|
|
2135
2039
|
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
@@ -2278,7 +2182,7 @@ export declare namespace Checkout {
|
|
|
2278
2182
|
*/
|
|
2279
2183
|
consent_collection?: SessionCreateParams.ConsentCollection;
|
|
2280
2184
|
/**
|
|
2281
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Required in `setup` mode when `
|
|
2185
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Required in `setup` mode when `allowed_payment_method_types` is not set.
|
|
2282
2186
|
*/
|
|
2283
2187
|
currency?: string;
|
|
2284
2188
|
/**
|
|
@@ -2513,7 +2417,7 @@ export declare namespace Checkout {
|
|
|
2513
2417
|
*/
|
|
2514
2418
|
recovery?: AfterExpiration.Recovery;
|
|
2515
2419
|
}
|
|
2516
|
-
type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | '
|
|
2420
|
+
type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
2517
2421
|
interface AutomaticTax {
|
|
2518
2422
|
/**
|
|
2519
2423
|
* Set to `true` to [calculate tax automatically](https://docs.stripe.com/tax) using the customer's location.
|
|
@@ -2644,16 +2548,12 @@ export declare namespace Checkout {
|
|
|
2644
2548
|
* The ID of the coupon to apply to this Session.
|
|
2645
2549
|
*/
|
|
2646
2550
|
coupon?: string;
|
|
2647
|
-
/**
|
|
2648
|
-
* 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.
|
|
2649
|
-
*/
|
|
2650
|
-
coupon_data?: Discount.CouponData;
|
|
2651
2551
|
/**
|
|
2652
2552
|
* The ID of a promotion code to apply to this Session.
|
|
2653
2553
|
*/
|
|
2654
2554
|
promotion_code?: string;
|
|
2655
2555
|
}
|
|
2656
|
-
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' | '
|
|
2556
|
+
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
2657
2557
|
interface InvoiceCreation {
|
|
2658
2558
|
/**
|
|
2659
2559
|
* Set to `true` to enable invoice creation.
|
|
@@ -2678,7 +2578,7 @@ export declare namespace Checkout {
|
|
|
2678
2578
|
*/
|
|
2679
2579
|
price?: string;
|
|
2680
2580
|
/**
|
|
2681
|
-
* Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
|
|
2581
|
+
* Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline, for [dynamic pricing](https://docs.stripe.com/products-prices/how-products-and-prices-work#inline-pricing) when the amount isn't known ahead of time. One of `price` or `price_data` is required when creating a new line item.
|
|
2682
2582
|
*/
|
|
2683
2583
|
price_data?: LineItem.PriceData;
|
|
2684
2584
|
/**
|
|
@@ -2690,7 +2590,7 @@ export declare namespace Checkout {
|
|
|
2690
2590
|
*/
|
|
2691
2591
|
tax_rates?: Array<string>;
|
|
2692
2592
|
}
|
|
2693
|
-
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;
|
|
2593
|
+
type Locale = 'auto' | 'bg' | 'cs' | 'da' | 'de' | 'el' | 'en' | 'en-GB' | 'es' | 'es-419' | 'et' | 'fi' | 'fil' | 'fr' | 'fr-CA' | 'hi-IN' | 'hr' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lt' | 'lv' | 'ms' | 'mt' | 'nb' | 'nl' | 'pl' | 'pt' | 'pt-BR' | 'ro' | 'ru' | 'sk' | 'sl' | 'sv' | 'th' | 'tr' | 'vi' | 'zh' | 'zh-HK' | 'zh-TW' | OtherString;
|
|
2694
2594
|
interface ManagedPayments {
|
|
2695
2595
|
/**
|
|
2696
2596
|
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
@@ -3002,24 +2902,6 @@ export declare namespace Checkout {
|
|
|
3002
2902
|
wechat_pay?: PaymentMethodOptions.WechatPay;
|
|
3003
2903
|
}
|
|
3004
2904
|
interface Permissions {
|
|
3005
|
-
/**
|
|
3006
|
-
* Permissions for updating the Checkout Session.
|
|
3007
|
-
*/
|
|
3008
|
-
update?: Permissions.Update;
|
|
3009
|
-
/**
|
|
3010
|
-
* Determines which entity is allowed to update the discounts (coupons or promotion codes) that apply to this session.
|
|
3011
|
-
*
|
|
3012
|
-
* 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.
|
|
3013
|
-
*/
|
|
3014
|
-
update_discounts?: Permissions.UpdateDiscounts;
|
|
3015
|
-
/**
|
|
3016
|
-
* Determines which entity is allowed to update the line items.
|
|
3017
|
-
*
|
|
3018
|
-
* 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.
|
|
3019
|
-
*
|
|
3020
|
-
* 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.
|
|
3021
|
-
*/
|
|
3022
|
-
update_line_items?: Permissions.UpdateLineItems;
|
|
3023
2905
|
/**
|
|
3024
2906
|
* Determines which entity is allowed to update the shipping details.
|
|
3025
2907
|
*
|
|
@@ -3342,37 +3224,6 @@ export declare namespace Checkout {
|
|
|
3342
3224
|
message: string;
|
|
3343
3225
|
}
|
|
3344
3226
|
}
|
|
3345
|
-
namespace Discount {
|
|
3346
|
-
interface CouponData {
|
|
3347
|
-
/**
|
|
3348
|
-
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
3349
|
-
*/
|
|
3350
|
-
amount_off?: number;
|
|
3351
|
-
/**
|
|
3352
|
-
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
3353
|
-
*/
|
|
3354
|
-
currency?: string;
|
|
3355
|
-
/**
|
|
3356
|
-
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
3357
|
-
*/
|
|
3358
|
-
duration?: CouponData.Duration;
|
|
3359
|
-
/**
|
|
3360
|
-
* 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`.
|
|
3361
|
-
*/
|
|
3362
|
-
metadata?: Emptyable<MetadataParam>;
|
|
3363
|
-
/**
|
|
3364
|
-
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
3365
|
-
*/
|
|
3366
|
-
name?: string;
|
|
3367
|
-
/**
|
|
3368
|
-
* 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).
|
|
3369
|
-
*/
|
|
3370
|
-
percent_off?: number;
|
|
3371
|
-
}
|
|
3372
|
-
namespace CouponData {
|
|
3373
|
-
type Duration = 'forever' | 'once' | 'repeating' | OtherString;
|
|
3374
|
-
}
|
|
3375
|
-
}
|
|
3376
3227
|
namespace InvoiceCreation {
|
|
3377
3228
|
interface InvoiceData {
|
|
3378
3229
|
/**
|
|
@@ -3808,10 +3659,6 @@ export declare namespace Checkout {
|
|
|
3808
3659
|
* Installment options for card payments
|
|
3809
3660
|
*/
|
|
3810
3661
|
installments?: Card.Installments;
|
|
3811
|
-
/**
|
|
3812
|
-
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
3813
|
-
*/
|
|
3814
|
-
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
3815
3662
|
/**
|
|
3816
3663
|
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
3817
3664
|
*/
|
|
@@ -4178,10 +4025,6 @@ export declare namespace Checkout {
|
|
|
4178
4025
|
* 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.
|
|
4179
4026
|
*/
|
|
4180
4027
|
reference?: string;
|
|
4181
|
-
/**
|
|
4182
|
-
* 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.
|
|
4183
|
-
*/
|
|
4184
|
-
reference_id?: string;
|
|
4185
4028
|
/**
|
|
4186
4029
|
* The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
4187
4030
|
*/
|
|
@@ -4198,10 +4041,6 @@ export declare namespace Checkout {
|
|
|
4198
4041
|
* 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`.
|
|
4199
4042
|
*/
|
|
4200
4043
|
setup_future_usage?: Emptyable<Paypal.SetupFutureUsage>;
|
|
4201
|
-
/**
|
|
4202
|
-
* 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.
|
|
4203
|
-
*/
|
|
4204
|
-
subsellers?: Array<string>;
|
|
4205
4044
|
}
|
|
4206
4045
|
interface Payto {
|
|
4207
4046
|
/**
|
|
@@ -4225,7 +4064,7 @@ export declare namespace Checkout {
|
|
|
4225
4064
|
*/
|
|
4226
4065
|
amount_includes_iof?: Pix.AmountIncludesIof;
|
|
4227
4066
|
/**
|
|
4228
|
-
* The number of seconds (between
|
|
4067
|
+
* The number of seconds after PaymentIntent confirmation when the Pix expires (between 60 and 1209600, inclusive). If unspecified, defaults to 14400 seconds (4 hours).
|
|
4229
4068
|
*/
|
|
4230
4069
|
expires_after_seconds?: number;
|
|
4231
4070
|
/**
|
|
@@ -4482,7 +4321,6 @@ export declare namespace Checkout {
|
|
|
4482
4321
|
*/
|
|
4483
4322
|
enabled?: boolean;
|
|
4484
4323
|
}
|
|
4485
|
-
type RequestDecrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
4486
4324
|
type RequestExtendedAuthorization = 'if_available' | 'never' | OtherString;
|
|
4487
4325
|
type RequestIncrementalAuthorization = 'if_available' | 'never' | OtherString;
|
|
4488
4326
|
type RequestMulticapture = 'if_available' | 'never' | OtherString;
|
|
@@ -4726,7 +4564,7 @@ export declare namespace Checkout {
|
|
|
4726
4564
|
type VerificationMethod = 'automatic' | 'instant' | OtherString;
|
|
4727
4565
|
namespace FinancialConnections {
|
|
4728
4566
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
4729
|
-
type Prefetch = 'balances' | '
|
|
4567
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
4730
4568
|
}
|
|
4731
4569
|
}
|
|
4732
4570
|
namespace WechatPay {
|
|
@@ -4735,31 +4573,7 @@ export declare namespace Checkout {
|
|
|
4735
4573
|
}
|
|
4736
4574
|
}
|
|
4737
4575
|
namespace Permissions {
|
|
4738
|
-
interface Update {
|
|
4739
|
-
/**
|
|
4740
|
-
* Determines which entity is allowed to update the line items.
|
|
4741
|
-
*
|
|
4742
|
-
* 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.
|
|
4743
|
-
*
|
|
4744
|
-
* 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.
|
|
4745
|
-
*/
|
|
4746
|
-
line_items?: Update.LineItems;
|
|
4747
|
-
/**
|
|
4748
|
-
* Determines which entity is allowed to update the shipping details.
|
|
4749
|
-
*
|
|
4750
|
-
* 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.
|
|
4751
|
-
*
|
|
4752
|
-
* This parameter is only supported when `ui_mode=elements`.
|
|
4753
|
-
*/
|
|
4754
|
-
shipping_details?: Update.ShippingDetails;
|
|
4755
|
-
}
|
|
4756
|
-
type UpdateDiscounts = 'client_only' | 'server_only' | OtherString;
|
|
4757
|
-
type UpdateLineItems = 'client_only' | 'server_only' | OtherString;
|
|
4758
4576
|
type UpdateShippingDetails = 'client_only' | 'server_only' | OtherString;
|
|
4759
|
-
namespace Update {
|
|
4760
|
-
type LineItems = 'client_only' | 'server_only' | OtherString;
|
|
4761
|
-
type ShippingDetails = 'client_only' | 'server_only' | OtherString;
|
|
4762
|
-
}
|
|
4763
4577
|
}
|
|
4764
4578
|
namespace SavedPaymentMethodOptions {
|
|
4765
4579
|
type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
@@ -4907,6 +4721,22 @@ export declare namespace Checkout {
|
|
|
4907
4721
|
type: BillingMode.Type;
|
|
4908
4722
|
}
|
|
4909
4723
|
interface InvoiceSettings {
|
|
4724
|
+
/**
|
|
4725
|
+
* The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
|
|
4726
|
+
*/
|
|
4727
|
+
account_tax_ids?: Emptyable<Array<string>>;
|
|
4728
|
+
/**
|
|
4729
|
+
* A list of up to 4 custom fields to be displayed on the invoice.
|
|
4730
|
+
*/
|
|
4731
|
+
custom_fields?: Emptyable<Array<InvoiceSettings.CustomField>>;
|
|
4732
|
+
/**
|
|
4733
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
4734
|
+
*/
|
|
4735
|
+
description?: string;
|
|
4736
|
+
/**
|
|
4737
|
+
* Footer to be displayed on the invoice.
|
|
4738
|
+
*/
|
|
4739
|
+
footer?: string;
|
|
4910
4740
|
/**
|
|
4911
4741
|
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
4912
4742
|
*/
|
|
@@ -4952,6 +4782,16 @@ export declare namespace Checkout {
|
|
|
4952
4782
|
}
|
|
4953
4783
|
}
|
|
4954
4784
|
namespace InvoiceSettings {
|
|
4785
|
+
interface CustomField {
|
|
4786
|
+
/**
|
|
4787
|
+
* The name of the custom field. This may be up to 40 characters.
|
|
4788
|
+
*/
|
|
4789
|
+
name: string;
|
|
4790
|
+
/**
|
|
4791
|
+
* The value of the custom field. This may be up to 140 characters.
|
|
4792
|
+
*/
|
|
4793
|
+
value: string;
|
|
4794
|
+
}
|
|
4955
4795
|
interface Issuer {
|
|
4956
4796
|
/**
|
|
4957
4797
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -5007,26 +4847,14 @@ export declare namespace Checkout {
|
|
|
5007
4847
|
}
|
|
5008
4848
|
export declare namespace Checkout {
|
|
5009
4849
|
interface SessionUpdateParams {
|
|
5010
|
-
/**
|
|
5011
|
-
* Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
|
5012
|
-
*/
|
|
5013
|
-
automatic_tax?: SessionUpdateParams.AutomaticTax;
|
|
5014
4850
|
/**
|
|
5015
4851
|
* Information about the customer collected within the Checkout Session. Can only be set when updating `embedded_page` or `elements` sessions.
|
|
5016
4852
|
*/
|
|
5017
4853
|
collected_information?: SessionUpdateParams.CollectedInformation;
|
|
5018
|
-
/**
|
|
5019
|
-
* List of coupons and promotion codes attached to the Checkout Session.
|
|
5020
|
-
*/
|
|
5021
|
-
discounts?: Emptyable<Array<SessionUpdateParams.Discount>>;
|
|
5022
4854
|
/**
|
|
5023
4855
|
* Specifies which fields in the response should be expanded.
|
|
5024
4856
|
*/
|
|
5025
4857
|
expand?: Array<string>;
|
|
5026
|
-
/**
|
|
5027
|
-
* Generate a post-purchase Invoice for one-time payments.
|
|
5028
|
-
*/
|
|
5029
|
-
invoice_creation?: SessionUpdateParams.InvoiceCreation;
|
|
5030
4858
|
/**
|
|
5031
4859
|
* A list of items the customer is purchasing.
|
|
5032
4860
|
*
|
|
@@ -5057,40 +4885,14 @@ export declare namespace Checkout {
|
|
|
5057
4885
|
* The shipping rate options to apply to this Session. Up to a maximum of 5.
|
|
5058
4886
|
*/
|
|
5059
4887
|
shipping_options?: Emptyable<Array<SessionUpdateParams.ShippingOption>>;
|
|
5060
|
-
/**
|
|
5061
|
-
* A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.
|
|
5062
|
-
*/
|
|
5063
|
-
subscription_data?: SessionUpdateParams.SubscriptionData;
|
|
5064
4888
|
}
|
|
5065
4889
|
namespace SessionUpdateParams {
|
|
5066
|
-
interface AutomaticTax {
|
|
5067
|
-
/**
|
|
5068
|
-
* 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.
|
|
5069
|
-
*/
|
|
5070
|
-
liability?: AutomaticTax.Liability;
|
|
5071
|
-
}
|
|
5072
4890
|
interface CollectedInformation {
|
|
5073
4891
|
/**
|
|
5074
4892
|
* The shipping details to apply to this Session.
|
|
5075
4893
|
*/
|
|
5076
4894
|
shipping_details?: CollectedInformation.ShippingDetails;
|
|
5077
4895
|
}
|
|
5078
|
-
interface Discount {
|
|
5079
|
-
/**
|
|
5080
|
-
* 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.
|
|
5081
|
-
*/
|
|
5082
|
-
coupon?: string;
|
|
5083
|
-
/**
|
|
5084
|
-
* 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.
|
|
5085
|
-
*/
|
|
5086
|
-
coupon_data?: Discount.CouponData;
|
|
5087
|
-
}
|
|
5088
|
-
interface InvoiceCreation {
|
|
5089
|
-
/**
|
|
5090
|
-
* Parameters passed when creating invoices for payment-mode Checkout Sessions.
|
|
5091
|
-
*/
|
|
5092
|
-
invoice_data?: InvoiceCreation.InvoiceData;
|
|
5093
|
-
}
|
|
5094
4896
|
interface LineItem {
|
|
5095
4897
|
/**
|
|
5096
4898
|
* When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.
|
|
@@ -5109,7 +4911,7 @@ export declare namespace Checkout {
|
|
|
5109
4911
|
*/
|
|
5110
4912
|
price?: string;
|
|
5111
4913
|
/**
|
|
5112
|
-
* Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required when creating a new line item.
|
|
4914
|
+
* Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline, for [dynamic pricing](https://docs.stripe.com/products-prices/how-products-and-prices-work#inline-pricing) when the amount isn't known ahead of time. One of `price` or `price_data` is required when creating a new line item.
|
|
5113
4915
|
*/
|
|
5114
4916
|
price_data?: LineItem.PriceData;
|
|
5115
4917
|
/**
|
|
@@ -5143,6 +4945,7 @@ export declare namespace Checkout {
|
|
|
5143
4945
|
*
|
|
5144
4946
|
* When processing card payments, Checkout also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.
|
|
5145
4947
|
*
|
|
4948
|
+
* You must wrap any Checkout Session update that mutates `setup_future_usage` in [`runServerUpdate`](https://docs.stripe.com/js/custom_checkout/run_server_update) and await it before continuing with the payment.
|
|
5146
4949
|
* Pass an empty string to remove a previously supplied configuration.
|
|
5147
4950
|
*/
|
|
5148
4951
|
setup_future_usage?: Emptyable<PaymentIntentData.SetupFutureUsage>;
|
|
@@ -5169,39 +4972,6 @@ export declare namespace Checkout {
|
|
|
5169
4972
|
*/
|
|
5170
4973
|
shipping_rate_data?: ShippingOption.ShippingRateData;
|
|
5171
4974
|
}
|
|
5172
|
-
interface SubscriptionData {
|
|
5173
|
-
/**
|
|
5174
|
-
* All invoices will be billed using the specified settings.
|
|
5175
|
-
*/
|
|
5176
|
-
invoice_settings?: SubscriptionData.InvoiceSettings;
|
|
5177
|
-
/**
|
|
5178
|
-
* 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.
|
|
5179
|
-
*/
|
|
5180
|
-
pending_invoice_item_interval?: Emptyable<SubscriptionData.PendingInvoiceItemInterval>;
|
|
5181
|
-
/**
|
|
5182
|
-
* 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.
|
|
5183
|
-
*/
|
|
5184
|
-
trial_end?: number;
|
|
5185
|
-
/**
|
|
5186
|
-
* Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
5187
|
-
*/
|
|
5188
|
-
trial_period_days?: Emptyable<number>;
|
|
5189
|
-
}
|
|
5190
|
-
namespace AutomaticTax {
|
|
5191
|
-
interface Liability {
|
|
5192
|
-
/**
|
|
5193
|
-
* The connected account being referenced when `type` is `account`.
|
|
5194
|
-
*/
|
|
5195
|
-
account?: string;
|
|
5196
|
-
/**
|
|
5197
|
-
* Type of the account referenced in the request.
|
|
5198
|
-
*/
|
|
5199
|
-
type: Liability.Type;
|
|
5200
|
-
}
|
|
5201
|
-
namespace Liability {
|
|
5202
|
-
type Type = 'account' | 'self' | OtherString;
|
|
5203
|
-
}
|
|
5204
|
-
}
|
|
5205
4975
|
namespace CollectedInformation {
|
|
5206
4976
|
interface ShippingDetails {
|
|
5207
4977
|
/**
|
|
@@ -5242,60 +5012,6 @@ export declare namespace Checkout {
|
|
|
5242
5012
|
}
|
|
5243
5013
|
}
|
|
5244
5014
|
}
|
|
5245
|
-
namespace Discount {
|
|
5246
|
-
interface CouponData {
|
|
5247
|
-
/**
|
|
5248
|
-
* A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
|
|
5249
|
-
*/
|
|
5250
|
-
amount_off?: number;
|
|
5251
|
-
/**
|
|
5252
|
-
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
|
|
5253
|
-
*/
|
|
5254
|
-
currency?: string;
|
|
5255
|
-
/**
|
|
5256
|
-
* Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
|
5257
|
-
*/
|
|
5258
|
-
duration?: CouponData.Duration;
|
|
5259
|
-
/**
|
|
5260
|
-
* 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`.
|
|
5261
|
-
*/
|
|
5262
|
-
metadata?: Emptyable<MetadataParam>;
|
|
5263
|
-
/**
|
|
5264
|
-
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
|
|
5265
|
-
*/
|
|
5266
|
-
name?: string;
|
|
5267
|
-
/**
|
|
5268
|
-
* 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).
|
|
5269
|
-
*/
|
|
5270
|
-
percent_off?: number;
|
|
5271
|
-
}
|
|
5272
|
-
namespace CouponData {
|
|
5273
|
-
type Duration = 'forever' | 'once' | 'repeating' | OtherString;
|
|
5274
|
-
}
|
|
5275
|
-
}
|
|
5276
|
-
namespace InvoiceCreation {
|
|
5277
|
-
interface InvoiceData {
|
|
5278
|
-
/**
|
|
5279
|
-
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
5280
|
-
*/
|
|
5281
|
-
issuer?: InvoiceData.Issuer;
|
|
5282
|
-
}
|
|
5283
|
-
namespace InvoiceData {
|
|
5284
|
-
interface Issuer {
|
|
5285
|
-
/**
|
|
5286
|
-
* The connected account being referenced when `type` is `account`.
|
|
5287
|
-
*/
|
|
5288
|
-
account?: string;
|
|
5289
|
-
/**
|
|
5290
|
-
* Type of the account referenced in the request.
|
|
5291
|
-
*/
|
|
5292
|
-
type: Issuer.Type;
|
|
5293
|
-
}
|
|
5294
|
-
namespace Issuer {
|
|
5295
|
-
type Type = 'account' | 'self' | OtherString;
|
|
5296
|
-
}
|
|
5297
|
-
}
|
|
5298
|
-
}
|
|
5299
5015
|
namespace LineItem {
|
|
5300
5016
|
interface AdjustableQuantity {
|
|
5301
5017
|
/**
|
|
@@ -5507,42 +5223,6 @@ export declare namespace Checkout {
|
|
|
5507
5223
|
}
|
|
5508
5224
|
}
|
|
5509
5225
|
}
|
|
5510
|
-
namespace SubscriptionData {
|
|
5511
|
-
interface InvoiceSettings {
|
|
5512
|
-
/**
|
|
5513
|
-
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
5514
|
-
*/
|
|
5515
|
-
issuer?: InvoiceSettings.Issuer;
|
|
5516
|
-
}
|
|
5517
|
-
interface PendingInvoiceItemInterval {
|
|
5518
|
-
/**
|
|
5519
|
-
* Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
5520
|
-
*/
|
|
5521
|
-
interval: PendingInvoiceItemInterval.Interval;
|
|
5522
|
-
/**
|
|
5523
|
-
* 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).
|
|
5524
|
-
*/
|
|
5525
|
-
interval_count?: number;
|
|
5526
|
-
}
|
|
5527
|
-
namespace InvoiceSettings {
|
|
5528
|
-
interface Issuer {
|
|
5529
|
-
/**
|
|
5530
|
-
* The connected account being referenced when `type` is `account`.
|
|
5531
|
-
*/
|
|
5532
|
-
account?: string;
|
|
5533
|
-
/**
|
|
5534
|
-
* Type of the account referenced in the request.
|
|
5535
|
-
*/
|
|
5536
|
-
type: Issuer.Type;
|
|
5537
|
-
}
|
|
5538
|
-
namespace Issuer {
|
|
5539
|
-
type Type = 'account' | 'self' | OtherString;
|
|
5540
|
-
}
|
|
5541
|
-
}
|
|
5542
|
-
namespace PendingInvoiceItemInterval {
|
|
5543
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
5544
|
-
}
|
|
5545
|
-
}
|
|
5546
5226
|
}
|
|
5547
5227
|
}
|
|
5548
5228
|
export declare namespace Checkout {
|