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
|
@@ -20,7 +20,7 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
20
20
|
/**
|
|
21
21
|
* Cancels a customer's subscription immediately. The customer won't be charged again for the subscription. After it's canceled, the subscription is largely immutable. You can still update its [metadata](https://docs.stripe.com/metadata) and cancellation_details.
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* Pending invoice items are included on a final invoice if you generate one. Otherwise, they remain pending and can be billed on another invoice for the customer. To prevent billing, manually [delete](https://docs.stripe.com/api/invoiceitems/delete) them. If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed if invoice_now and prorate are both set to false.
|
|
24
24
|
*
|
|
25
25
|
* By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.
|
|
26
26
|
*/
|
|
@@ -90,18 +90,6 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
90
90
|
* Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. Resume is only available for subscriptions that use charge_automatically collection. If Stripe doesn't generate a resumption invoice, the subscription becomes active immediately. When a resumption invoice is generated, Stripe finalizes it immediately. If the invoice is paid or marked uncollectible, the subscription becomes active. If the invoice is manually voided, the subscription stays paused. If there is no payment attempt within 23 hours, Stripe voids the invoice and the subscription stays paused. Learn more about [resuming subscriptions](https://docs.stripe.com/docs/billing/subscriptions/pause#resume-subscriptions).
|
|
91
91
|
*/
|
|
92
92
|
resume(id: string, params?: SubscriptionResumeParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
93
|
-
serializeBatchCancel(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
|
|
94
|
-
apiVersion?: string;
|
|
95
|
-
stripeContext?: string;
|
|
96
|
-
}): string;
|
|
97
|
-
serializeBatchUpdate(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
|
|
98
|
-
apiVersion?: string;
|
|
99
|
-
stripeContext?: string;
|
|
100
|
-
}): string;
|
|
101
|
-
serializeBatchMigrate(subscription: string, params?: Record<string, unknown>, options?: {
|
|
102
|
-
apiVersion?: string;
|
|
103
|
-
stripeContext?: string;
|
|
104
|
-
}): string;
|
|
105
93
|
}
|
|
106
94
|
export interface Subscription {
|
|
107
95
|
/**
|
|
@@ -210,10 +198,6 @@ export interface Subscription {
|
|
|
210
198
|
* List of subscription items, each with an attached price.
|
|
211
199
|
*/
|
|
212
200
|
items: ApiList<SubscriptionItem>;
|
|
213
|
-
/**
|
|
214
|
-
* Details of the most recent price migration that failed for the subscription.
|
|
215
|
-
*/
|
|
216
|
-
last_price_migration_error?: Subscription.LastPriceMigrationError | null;
|
|
217
201
|
/**
|
|
218
202
|
* The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
|
|
219
203
|
*/
|
|
@@ -258,10 +242,6 @@ export interface Subscription {
|
|
|
258
242
|
* If specified, [pending updates](https://docs.stripe.com/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid.
|
|
259
243
|
*/
|
|
260
244
|
pending_update: Subscription.PendingUpdate | null;
|
|
261
|
-
/**
|
|
262
|
-
* Time period and invoice for a Subscription billed in advance.
|
|
263
|
-
*/
|
|
264
|
-
prebilling?: Subscription.Prebilling | null;
|
|
265
245
|
presentment_details?: Subscription.PresentmentDetails;
|
|
266
246
|
/**
|
|
267
247
|
* The schedule attached to the subscription
|
|
@@ -278,7 +258,7 @@ export interface Subscription {
|
|
|
278
258
|
*
|
|
279
259
|
* A subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over.
|
|
280
260
|
*
|
|
281
|
-
* A subscription can
|
|
261
|
+
* A subscription can enter a `paused` status in several ways, including [when a trial ends without a payment method](https://docs.stripe.com/billing/subscriptions/trials/free-trials#create-free-trials-without-payment) or when you pause it using the [pause endpoint](https://docs.stripe.com/api/subscriptions/pause). A `paused` subscription doesn't advance to a new billing period or generate invoices until it resumes. The `paused` status is different from [pausing collection](https://docs.stripe.com/billing/subscriptions/pause-payment), which still generates invoices and leaves the subscription's status unchanged.
|
|
282
262
|
*
|
|
283
263
|
* If subscription `collection_method=charge_automatically`, it becomes `past_due` when payment is required but cannot be paid (due to failed payment or awaiting additional user actions). Once Stripe has exhausted all payment retry attempts, the subscription will become `canceled` or `unpaid` (depending on your subscriptions settings).
|
|
284
264
|
*
|
|
@@ -423,20 +403,6 @@ export declare namespace Subscription {
|
|
|
423
403
|
footer: string | null;
|
|
424
404
|
issuer: InvoiceSettings.Issuer;
|
|
425
405
|
}
|
|
426
|
-
interface LastPriceMigrationError {
|
|
427
|
-
/**
|
|
428
|
-
* The time at which the price migration encountered an error.
|
|
429
|
-
*/
|
|
430
|
-
errored_at: number;
|
|
431
|
-
/**
|
|
432
|
-
* The involved price pairs in each failed transition.
|
|
433
|
-
*/
|
|
434
|
-
failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
|
|
435
|
-
/**
|
|
436
|
-
* The type of error encountered by the price migration.
|
|
437
|
-
*/
|
|
438
|
-
type: 'price_uniqueness_violation';
|
|
439
|
-
}
|
|
440
406
|
interface ManagedPayments {
|
|
441
407
|
/**
|
|
442
408
|
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
@@ -502,10 +468,6 @@ export declare namespace Subscription {
|
|
|
502
468
|
* 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.
|
|
503
469
|
*/
|
|
504
470
|
metadata: Metadata | null;
|
|
505
|
-
/**
|
|
506
|
-
* The number of iterations of prebilling to apply.
|
|
507
|
-
*/
|
|
508
|
-
prebilling_iterations?: number | null;
|
|
509
471
|
/**
|
|
510
472
|
* List of subscription items, each with an attached plan, that will be set if the update is applied.
|
|
511
473
|
*/
|
|
@@ -519,24 +481,6 @@ export declare namespace Subscription {
|
|
|
519
481
|
*/
|
|
520
482
|
trial_from_plan: boolean | null;
|
|
521
483
|
}
|
|
522
|
-
interface Prebilling {
|
|
523
|
-
/**
|
|
524
|
-
* ID of the prebilling invoice.
|
|
525
|
-
*/
|
|
526
|
-
invoice: string | Invoice;
|
|
527
|
-
/**
|
|
528
|
-
* The end of the last period for which the invoice pre-bills.
|
|
529
|
-
*/
|
|
530
|
-
period_end: number;
|
|
531
|
-
/**
|
|
532
|
-
* The start of the first period for which the invoice pre-bills.
|
|
533
|
-
*/
|
|
534
|
-
period_start: number;
|
|
535
|
-
/**
|
|
536
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
537
|
-
*/
|
|
538
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
539
|
-
}
|
|
540
484
|
interface PresentmentDetails {
|
|
541
485
|
/**
|
|
542
486
|
* Currency used for customer payments.
|
|
@@ -668,18 +612,6 @@ export declare namespace Subscription {
|
|
|
668
612
|
type Type = 'account' | 'self' | OtherString;
|
|
669
613
|
}
|
|
670
614
|
}
|
|
671
|
-
namespace LastPriceMigrationError {
|
|
672
|
-
interface FailedTransition {
|
|
673
|
-
/**
|
|
674
|
-
* The original price to be migrated.
|
|
675
|
-
*/
|
|
676
|
-
source_price: string;
|
|
677
|
-
/**
|
|
678
|
-
* The intended resulting price of the migration.
|
|
679
|
-
*/
|
|
680
|
-
target_price: string;
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
615
|
namespace PauseCollection {
|
|
684
616
|
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
685
617
|
}
|
|
@@ -709,10 +641,6 @@ export declare namespace Subscription {
|
|
|
709
641
|
* This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
|
|
710
642
|
*/
|
|
711
643
|
customer_balance: PaymentMethodOptions.CustomerBalance | null;
|
|
712
|
-
/**
|
|
713
|
-
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
|
714
|
-
*/
|
|
715
|
-
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
|
|
716
644
|
/**
|
|
717
645
|
* This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
|
718
646
|
*/
|
|
@@ -738,7 +666,7 @@ export declare namespace Subscription {
|
|
|
738
666
|
*/
|
|
739
667
|
us_bank_account: PaymentMethodOptions.UsBankAccount | null;
|
|
740
668
|
}
|
|
741
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | '
|
|
669
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
742
670
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
743
671
|
namespace PaymentMethodOptions {
|
|
744
672
|
interface AcssDebit {
|
|
@@ -778,8 +706,6 @@ export declare namespace Subscription {
|
|
|
778
706
|
*/
|
|
779
707
|
funding_type: 'bank_transfer' | null;
|
|
780
708
|
}
|
|
781
|
-
interface IdBankTransfer {
|
|
782
|
-
}
|
|
783
709
|
interface Konbini {
|
|
784
710
|
}
|
|
785
711
|
interface Payto {
|
|
@@ -787,7 +713,7 @@ export declare namespace Subscription {
|
|
|
787
713
|
}
|
|
788
714
|
interface Pix {
|
|
789
715
|
/**
|
|
790
|
-
* The number of seconds (between
|
|
716
|
+
* The number of seconds after PaymentIntent confirmation when the Pix expires (between 60 and 1209600, inclusive). If unspecified, defaults to 14400 seconds (4 hours).
|
|
791
717
|
*/
|
|
792
718
|
expires_after_seconds?: number;
|
|
793
719
|
mandate_options?: Pix.MandateOptions;
|
|
@@ -978,13 +904,9 @@ export declare namespace Subscription {
|
|
|
978
904
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
979
905
|
*/
|
|
980
906
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
981
|
-
/**
|
|
982
|
-
* The institution to use to filter for possible accounts to link.
|
|
983
|
-
*/
|
|
984
|
-
institution?: string;
|
|
985
907
|
}
|
|
986
908
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
987
|
-
type Prefetch = 'balances' | '
|
|
909
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
988
910
|
namespace Filters {
|
|
989
911
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
990
912
|
}
|
|
@@ -995,9 +917,6 @@ export declare namespace Subscription {
|
|
|
995
917
|
namespace PendingInvoiceItemInterval {
|
|
996
918
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
997
919
|
}
|
|
998
|
-
namespace Prebilling {
|
|
999
|
-
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
1000
|
-
}
|
|
1001
920
|
namespace StatusDetails {
|
|
1002
921
|
interface Paused {
|
|
1003
922
|
/**
|
|
@@ -1164,10 +1083,6 @@ export interface SubscriptionCreateParams {
|
|
|
1164
1083
|
* 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/invoices/create) for the given subscription at the specified interval.
|
|
1165
1084
|
*/
|
|
1166
1085
|
pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
|
|
1167
|
-
/**
|
|
1168
|
-
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
1169
|
-
*/
|
|
1170
|
-
prebilling?: SubscriptionCreateParams.Prebilling;
|
|
1171
1086
|
/**
|
|
1172
1087
|
* Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
|
|
1173
1088
|
*/
|
|
@@ -1305,10 +1220,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1305
1220
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1306
1221
|
*/
|
|
1307
1222
|
discount?: string;
|
|
1308
|
-
/**
|
|
1309
|
-
* Details to determine how long the discount should be applied for.
|
|
1310
|
-
*/
|
|
1311
|
-
discount_end?: Discount.DiscountEnd;
|
|
1312
1223
|
/**
|
|
1313
1224
|
* ID of the promotion code to create a new discount for.
|
|
1314
1225
|
*/
|
|
@@ -1373,10 +1284,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1373
1284
|
* A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
|
|
1374
1285
|
*/
|
|
1375
1286
|
tax_rates?: Emptyable<Array<string>>;
|
|
1376
|
-
/**
|
|
1377
|
-
* Define options to configure the trial on the subscription item.
|
|
1378
|
-
*/
|
|
1379
|
-
trial?: Item.Trial;
|
|
1380
1287
|
}
|
|
1381
1288
|
type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete' | OtherString;
|
|
1382
1289
|
interface PaymentSettings {
|
|
@@ -1403,16 +1310,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1403
1310
|
*/
|
|
1404
1311
|
interval_count?: number;
|
|
1405
1312
|
}
|
|
1406
|
-
interface Prebilling {
|
|
1407
|
-
/**
|
|
1408
|
-
* This is used to determine the number of billing cycles to prebill.
|
|
1409
|
-
*/
|
|
1410
|
-
iterations: number;
|
|
1411
|
-
/**
|
|
1412
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
1413
|
-
*/
|
|
1414
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
1415
|
-
}
|
|
1416
1313
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
1417
1314
|
interface TransferData {
|
|
1418
1315
|
/**
|
|
@@ -1440,10 +1337,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1440
1337
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1441
1338
|
*/
|
|
1442
1339
|
discount?: string;
|
|
1443
|
-
/**
|
|
1444
|
-
* Details to determine how long the discount should be applied for.
|
|
1445
|
-
*/
|
|
1446
|
-
discount_end?: Discount.DiscountEnd;
|
|
1447
1340
|
/**
|
|
1448
1341
|
* ID of the promotion code to create a new discount for.
|
|
1449
1342
|
*/
|
|
@@ -1481,38 +1374,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1481
1374
|
*/
|
|
1482
1375
|
unit_amount_decimal?: Decimal;
|
|
1483
1376
|
}
|
|
1484
|
-
namespace Discount {
|
|
1485
|
-
interface DiscountEnd {
|
|
1486
|
-
/**
|
|
1487
|
-
* Time span for the redeemed discount.
|
|
1488
|
-
*/
|
|
1489
|
-
duration?: DiscountEnd.Duration;
|
|
1490
|
-
/**
|
|
1491
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1492
|
-
*/
|
|
1493
|
-
timestamp?: number;
|
|
1494
|
-
/**
|
|
1495
|
-
* The type of calculation made to determine when the discount ends.
|
|
1496
|
-
*/
|
|
1497
|
-
type: DiscountEnd.Type;
|
|
1498
|
-
}
|
|
1499
|
-
namespace DiscountEnd {
|
|
1500
|
-
interface Duration {
|
|
1501
|
-
/**
|
|
1502
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1503
|
-
*/
|
|
1504
|
-
interval: Duration.Interval;
|
|
1505
|
-
/**
|
|
1506
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1507
|
-
*/
|
|
1508
|
-
interval_count: number;
|
|
1509
|
-
}
|
|
1510
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1511
|
-
namespace Duration {
|
|
1512
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1513
|
-
}
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
1377
|
namespace Period {
|
|
1517
1378
|
interface End {
|
|
1518
1379
|
/**
|
|
@@ -1614,38 +1475,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1614
1475
|
}
|
|
1615
1476
|
}
|
|
1616
1477
|
}
|
|
1617
|
-
namespace Discount {
|
|
1618
|
-
interface DiscountEnd {
|
|
1619
|
-
/**
|
|
1620
|
-
* Time span for the redeemed discount.
|
|
1621
|
-
*/
|
|
1622
|
-
duration?: DiscountEnd.Duration;
|
|
1623
|
-
/**
|
|
1624
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1625
|
-
*/
|
|
1626
|
-
timestamp?: number;
|
|
1627
|
-
/**
|
|
1628
|
-
* The type of calculation made to determine when the discount ends.
|
|
1629
|
-
*/
|
|
1630
|
-
type: DiscountEnd.Type;
|
|
1631
|
-
}
|
|
1632
|
-
namespace DiscountEnd {
|
|
1633
|
-
interface Duration {
|
|
1634
|
-
/**
|
|
1635
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1636
|
-
*/
|
|
1637
|
-
interval: Duration.Interval;
|
|
1638
|
-
/**
|
|
1639
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1640
|
-
*/
|
|
1641
|
-
interval_count: number;
|
|
1642
|
-
}
|
|
1643
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1644
|
-
namespace Duration {
|
|
1645
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1646
|
-
}
|
|
1647
|
-
}
|
|
1648
|
-
}
|
|
1649
1478
|
namespace InvoiceSettings {
|
|
1650
1479
|
interface CustomField {
|
|
1651
1480
|
/**
|
|
@@ -1679,10 +1508,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1679
1508
|
usage_gte: number;
|
|
1680
1509
|
}
|
|
1681
1510
|
interface CurrentTrial {
|
|
1682
|
-
/**
|
|
1683
|
-
* Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
|
|
1684
|
-
*/
|
|
1685
|
-
trial_end?: number;
|
|
1686
1511
|
/**
|
|
1687
1512
|
* The ID of the trial offer to apply to the subscription item.
|
|
1688
1513
|
*/
|
|
@@ -1697,10 +1522,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1697
1522
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1698
1523
|
*/
|
|
1699
1524
|
discount?: string;
|
|
1700
|
-
/**
|
|
1701
|
-
* Details to determine how long the discount should be applied for.
|
|
1702
|
-
*/
|
|
1703
|
-
discount_end?: Discount.DiscountEnd;
|
|
1704
1525
|
/**
|
|
1705
1526
|
* ID of the promotion code to create a new discount for.
|
|
1706
1527
|
*/
|
|
@@ -1732,48 +1553,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1732
1553
|
*/
|
|
1733
1554
|
unit_amount_decimal?: Decimal;
|
|
1734
1555
|
}
|
|
1735
|
-
interface Trial {
|
|
1736
|
-
/**
|
|
1737
|
-
* List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
|
|
1738
|
-
*/
|
|
1739
|
-
converts_to?: Array<string>;
|
|
1740
|
-
/**
|
|
1741
|
-
* Determines the type of trial for this item.
|
|
1742
|
-
*/
|
|
1743
|
-
type: Trial.Type;
|
|
1744
|
-
}
|
|
1745
|
-
namespace Discount {
|
|
1746
|
-
interface DiscountEnd {
|
|
1747
|
-
/**
|
|
1748
|
-
* Time span for the redeemed discount.
|
|
1749
|
-
*/
|
|
1750
|
-
duration?: DiscountEnd.Duration;
|
|
1751
|
-
/**
|
|
1752
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1753
|
-
*/
|
|
1754
|
-
timestamp?: number;
|
|
1755
|
-
/**
|
|
1756
|
-
* The type of calculation made to determine when the discount ends.
|
|
1757
|
-
*/
|
|
1758
|
-
type: DiscountEnd.Type;
|
|
1759
|
-
}
|
|
1760
|
-
namespace DiscountEnd {
|
|
1761
|
-
interface Duration {
|
|
1762
|
-
/**
|
|
1763
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1764
|
-
*/
|
|
1765
|
-
interval: Duration.Interval;
|
|
1766
|
-
/**
|
|
1767
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1768
|
-
*/
|
|
1769
|
-
interval_count: number;
|
|
1770
|
-
}
|
|
1771
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1772
|
-
namespace Duration {
|
|
1773
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1774
|
-
}
|
|
1775
|
-
}
|
|
1776
|
-
}
|
|
1777
1556
|
namespace PriceData {
|
|
1778
1557
|
interface Recurring {
|
|
1779
1558
|
/**
|
|
@@ -1790,9 +1569,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1790
1569
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1791
1570
|
}
|
|
1792
1571
|
}
|
|
1793
|
-
namespace Trial {
|
|
1794
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
1795
|
-
}
|
|
1796
1572
|
}
|
|
1797
1573
|
namespace PaymentSettings {
|
|
1798
1574
|
interface PaymentMethodOptions {
|
|
@@ -1820,10 +1596,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1820
1596
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1821
1597
|
*/
|
|
1822
1598
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
1823
|
-
/**
|
|
1824
|
-
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1825
|
-
*/
|
|
1826
|
-
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
1827
1599
|
/**
|
|
1828
1600
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
1829
1601
|
*/
|
|
@@ -1849,7 +1621,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1849
1621
|
*/
|
|
1850
1622
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
1851
1623
|
}
|
|
1852
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | '
|
|
1624
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
1853
1625
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
1854
1626
|
namespace PaymentMethodOptions {
|
|
1855
1627
|
interface AcssDebit {
|
|
@@ -1904,8 +1676,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1904
1676
|
*/
|
|
1905
1677
|
funding_type?: string;
|
|
1906
1678
|
}
|
|
1907
|
-
interface IdBankTransfer {
|
|
1908
|
-
}
|
|
1909
1679
|
interface Konbini {
|
|
1910
1680
|
}
|
|
1911
1681
|
interface Payto {
|
|
@@ -1916,7 +1686,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1916
1686
|
}
|
|
1917
1687
|
interface Pix {
|
|
1918
1688
|
/**
|
|
1919
|
-
* The number of seconds (between
|
|
1689
|
+
* The number of seconds after PaymentIntent confirmation when the Pix expires (between 60 and 1209600, inclusive). If unspecified, defaults to 14400 seconds (4 hours).
|
|
1920
1690
|
*/
|
|
1921
1691
|
expires_after_seconds?: number;
|
|
1922
1692
|
/**
|
|
@@ -2117,13 +1887,9 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2117
1887
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2118
1888
|
*/
|
|
2119
1889
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2120
|
-
/**
|
|
2121
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
2122
|
-
*/
|
|
2123
|
-
institution?: string;
|
|
2124
1890
|
}
|
|
2125
1891
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
2126
|
-
type Prefetch = 'balances' | '
|
|
1892
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2127
1893
|
namespace Filters {
|
|
2128
1894
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2129
1895
|
}
|
|
@@ -2134,9 +1900,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2134
1900
|
namespace PendingInvoiceItemInterval {
|
|
2135
1901
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2136
1902
|
}
|
|
2137
|
-
namespace Prebilling {
|
|
2138
|
-
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
2139
|
-
}
|
|
2140
1903
|
namespace TrialSettings {
|
|
2141
1904
|
interface EndBehavior {
|
|
2142
1905
|
/**
|
|
@@ -2206,7 +1969,7 @@ export interface SubscriptionUpdateParams {
|
|
|
2206
1969
|
*/
|
|
2207
1970
|
days_until_due?: number;
|
|
2208
1971
|
/**
|
|
2209
|
-
* ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://docs.stripe.com/api/customers/object#customer_object-default_source).
|
|
1972
|
+
* ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://docs.stripe.com/api/customers/object#customer_object-default_source). For subscriptions created by Checkout Sessions with Managed Payments enabled, you can't update this field directly through the API. Customers can update it through the Customer Portal.
|
|
2210
1973
|
*/
|
|
2211
1974
|
default_payment_method?: string;
|
|
2212
1975
|
/**
|
|
@@ -2265,10 +2028,6 @@ export interface SubscriptionUpdateParams {
|
|
|
2265
2028
|
* 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/invoices/create) for the given subscription at the specified interval.
|
|
2266
2029
|
*/
|
|
2267
2030
|
pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
|
|
2268
|
-
/**
|
|
2269
|
-
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
2270
|
-
*/
|
|
2271
|
-
prebilling?: SubscriptionUpdateParams.Prebilling;
|
|
2272
2031
|
/**
|
|
2273
2032
|
* Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
|
|
2274
2033
|
*/
|
|
@@ -2394,10 +2153,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2394
2153
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2395
2154
|
*/
|
|
2396
2155
|
discount?: string;
|
|
2397
|
-
/**
|
|
2398
|
-
* Details to determine how long the discount should be applied for.
|
|
2399
|
-
*/
|
|
2400
|
-
discount_end?: Discount.DiscountEnd;
|
|
2401
2156
|
/**
|
|
2402
2157
|
* ID of the promotion code to create a new discount for.
|
|
2403
2158
|
*/
|
|
@@ -2510,16 +2265,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2510
2265
|
*/
|
|
2511
2266
|
interval_count?: number;
|
|
2512
2267
|
}
|
|
2513
|
-
interface Prebilling {
|
|
2514
|
-
/**
|
|
2515
|
-
* This is used to determine the number of billing cycles to prebill.
|
|
2516
|
-
*/
|
|
2517
|
-
iterations: number;
|
|
2518
|
-
/**
|
|
2519
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
2520
|
-
*/
|
|
2521
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
2522
|
-
}
|
|
2523
2268
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2524
2269
|
interface TransferData {
|
|
2525
2270
|
/**
|
|
@@ -2547,10 +2292,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2547
2292
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2548
2293
|
*/
|
|
2549
2294
|
discount?: string;
|
|
2550
|
-
/**
|
|
2551
|
-
* Details to determine how long the discount should be applied for.
|
|
2552
|
-
*/
|
|
2553
|
-
discount_end?: Discount.DiscountEnd;
|
|
2554
2295
|
/**
|
|
2555
2296
|
* ID of the promotion code to create a new discount for.
|
|
2556
2297
|
*/
|
|
@@ -2588,38 +2329,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2588
2329
|
*/
|
|
2589
2330
|
unit_amount_decimal?: Decimal;
|
|
2590
2331
|
}
|
|
2591
|
-
namespace Discount {
|
|
2592
|
-
interface DiscountEnd {
|
|
2593
|
-
/**
|
|
2594
|
-
* Time span for the redeemed discount.
|
|
2595
|
-
*/
|
|
2596
|
-
duration?: DiscountEnd.Duration;
|
|
2597
|
-
/**
|
|
2598
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2599
|
-
*/
|
|
2600
|
-
timestamp?: number;
|
|
2601
|
-
/**
|
|
2602
|
-
* The type of calculation made to determine when the discount ends.
|
|
2603
|
-
*/
|
|
2604
|
-
type: DiscountEnd.Type;
|
|
2605
|
-
}
|
|
2606
|
-
namespace DiscountEnd {
|
|
2607
|
-
interface Duration {
|
|
2608
|
-
/**
|
|
2609
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2610
|
-
*/
|
|
2611
|
-
interval: Duration.Interval;
|
|
2612
|
-
/**
|
|
2613
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2614
|
-
*/
|
|
2615
|
-
interval_count: number;
|
|
2616
|
-
}
|
|
2617
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2618
|
-
namespace Duration {
|
|
2619
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2620
|
-
}
|
|
2621
|
-
}
|
|
2622
|
-
}
|
|
2623
2332
|
namespace Period {
|
|
2624
2333
|
interface End {
|
|
2625
2334
|
/**
|
|
@@ -2715,38 +2424,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2715
2424
|
namespace CancellationDetails {
|
|
2716
2425
|
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused' | OtherString;
|
|
2717
2426
|
}
|
|
2718
|
-
namespace Discount {
|
|
2719
|
-
interface DiscountEnd {
|
|
2720
|
-
/**
|
|
2721
|
-
* Time span for the redeemed discount.
|
|
2722
|
-
*/
|
|
2723
|
-
duration?: DiscountEnd.Duration;
|
|
2724
|
-
/**
|
|
2725
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2726
|
-
*/
|
|
2727
|
-
timestamp?: number;
|
|
2728
|
-
/**
|
|
2729
|
-
* The type of calculation made to determine when the discount ends.
|
|
2730
|
-
*/
|
|
2731
|
-
type: DiscountEnd.Type;
|
|
2732
|
-
}
|
|
2733
|
-
namespace DiscountEnd {
|
|
2734
|
-
interface Duration {
|
|
2735
|
-
/**
|
|
2736
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2737
|
-
*/
|
|
2738
|
-
interval: Duration.Interval;
|
|
2739
|
-
/**
|
|
2740
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2741
|
-
*/
|
|
2742
|
-
interval_count: number;
|
|
2743
|
-
}
|
|
2744
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2745
|
-
namespace Duration {
|
|
2746
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2747
|
-
}
|
|
2748
|
-
}
|
|
2749
|
-
}
|
|
2750
2427
|
namespace InvoiceSettings {
|
|
2751
2428
|
interface CustomField {
|
|
2752
2429
|
/**
|
|
@@ -2780,10 +2457,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2780
2457
|
usage_gte: number;
|
|
2781
2458
|
}
|
|
2782
2459
|
interface CurrentTrial {
|
|
2783
|
-
/**
|
|
2784
|
-
* Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
|
|
2785
|
-
*/
|
|
2786
|
-
trial_end?: number;
|
|
2787
2460
|
/**
|
|
2788
2461
|
* The ID of the trial offer to apply to the subscription item.
|
|
2789
2462
|
*/
|
|
@@ -2798,10 +2471,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2798
2471
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2799
2472
|
*/
|
|
2800
2473
|
discount?: string;
|
|
2801
|
-
/**
|
|
2802
|
-
* Details to determine how long the discount should be applied for.
|
|
2803
|
-
*/
|
|
2804
|
-
discount_end?: Discount.DiscountEnd;
|
|
2805
2474
|
/**
|
|
2806
2475
|
* ID of the promotion code to create a new discount for.
|
|
2807
2476
|
*/
|
|
@@ -2833,38 +2502,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2833
2502
|
*/
|
|
2834
2503
|
unit_amount_decimal?: Decimal;
|
|
2835
2504
|
}
|
|
2836
|
-
namespace Discount {
|
|
2837
|
-
interface DiscountEnd {
|
|
2838
|
-
/**
|
|
2839
|
-
* Time span for the redeemed discount.
|
|
2840
|
-
*/
|
|
2841
|
-
duration?: DiscountEnd.Duration;
|
|
2842
|
-
/**
|
|
2843
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2844
|
-
*/
|
|
2845
|
-
timestamp?: number;
|
|
2846
|
-
/**
|
|
2847
|
-
* The type of calculation made to determine when the discount ends.
|
|
2848
|
-
*/
|
|
2849
|
-
type: DiscountEnd.Type;
|
|
2850
|
-
}
|
|
2851
|
-
namespace DiscountEnd {
|
|
2852
|
-
interface Duration {
|
|
2853
|
-
/**
|
|
2854
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2855
|
-
*/
|
|
2856
|
-
interval: Duration.Interval;
|
|
2857
|
-
/**
|
|
2858
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2859
|
-
*/
|
|
2860
|
-
interval_count: number;
|
|
2861
|
-
}
|
|
2862
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2863
|
-
namespace Duration {
|
|
2864
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2865
|
-
}
|
|
2866
|
-
}
|
|
2867
|
-
}
|
|
2868
2505
|
namespace PriceData {
|
|
2869
2506
|
interface Recurring {
|
|
2870
2507
|
/**
|
|
@@ -2911,10 +2548,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2911
2548
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2912
2549
|
*/
|
|
2913
2550
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
2914
|
-
/**
|
|
2915
|
-
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2916
|
-
*/
|
|
2917
|
-
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
2918
2551
|
/**
|
|
2919
2552
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
2920
2553
|
*/
|
|
@@ -2940,7 +2573,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2940
2573
|
*/
|
|
2941
2574
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
2942
2575
|
}
|
|
2943
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | '
|
|
2576
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
2944
2577
|
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
2945
2578
|
namespace PaymentMethodOptions {
|
|
2946
2579
|
interface AcssDebit {
|
|
@@ -2995,8 +2628,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2995
2628
|
*/
|
|
2996
2629
|
funding_type?: string;
|
|
2997
2630
|
}
|
|
2998
|
-
interface IdBankTransfer {
|
|
2999
|
-
}
|
|
3000
2631
|
interface Konbini {
|
|
3001
2632
|
}
|
|
3002
2633
|
interface Payto {
|
|
@@ -3007,7 +2638,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
3007
2638
|
}
|
|
3008
2639
|
interface Pix {
|
|
3009
2640
|
/**
|
|
3010
|
-
* The number of seconds (between
|
|
2641
|
+
* The number of seconds after PaymentIntent confirmation when the Pix expires (between 60 and 1209600, inclusive). If unspecified, defaults to 14400 seconds (4 hours).
|
|
3011
2642
|
*/
|
|
3012
2643
|
expires_after_seconds?: number;
|
|
3013
2644
|
/**
|
|
@@ -3208,13 +2839,9 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
3208
2839
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3209
2840
|
*/
|
|
3210
2841
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3211
|
-
/**
|
|
3212
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
3213
|
-
*/
|
|
3214
|
-
institution?: string;
|
|
3215
2842
|
}
|
|
3216
2843
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
3217
|
-
type Prefetch = 'balances' | '
|
|
2844
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
3218
2845
|
namespace Filters {
|
|
3219
2846
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
3220
2847
|
}
|
|
@@ -3225,9 +2852,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
3225
2852
|
namespace PendingInvoiceItemInterval {
|
|
3226
2853
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3227
2854
|
}
|
|
3228
|
-
namespace Prebilling {
|
|
3229
|
-
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
3230
|
-
}
|
|
3231
2855
|
namespace TrialSettings {
|
|
3232
2856
|
interface EndBehavior {
|
|
3233
2857
|
/**
|
|
@@ -3482,9 +3106,3 @@ export interface SubscriptionSearchParams {
|
|
|
3482
3106
|
*/
|
|
3483
3107
|
page?: string;
|
|
3484
3108
|
}
|
|
3485
|
-
export interface SubscriptionSerializeBatchCancelParams {
|
|
3486
|
-
}
|
|
3487
|
-
export interface SubscriptionSerializeBatchMigrateParams {
|
|
3488
|
-
}
|
|
3489
|
-
export interface SubscriptionSerializeBatchUpdateParams {
|
|
3490
|
-
}
|