stripe 22.4.0-beta.1 → 22.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +116 -1798
- package/OPENAPI_VERSION +1 -1
- package/README.md +58 -42
- package/VERSION +1 -1
- package/cjs/Error.d.ts +61 -57
- package/cjs/Error.js +13 -128
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +1 -1
- package/cjs/RequestSender.js +4 -9
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/Types.d.ts +72 -15
- package/cjs/Types.js.map +1 -1
- package/cjs/Webhooks.d.ts +2 -2
- package/cjs/apiVersion.d.ts +2 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/platform/NodePlatformFunctions.d.ts +3 -2
- package/cjs/platform/NodePlatformFunctions.js +46 -24
- package/cjs/platform/NodePlatformFunctions.js.map +1 -1
- package/cjs/platform/PlatformFunctions.d.ts +1 -1
- package/cjs/platform/PlatformFunctions.js +1 -1
- package/cjs/platform/PlatformFunctions.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +2 -1
- package/cjs/resources/AccountLinks.js.map +1 -1
- package/cjs/resources/AccountSessions.d.ts +32 -262
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +90 -883
- package/cjs/resources/Accounts.js +12 -16
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +2 -2
- package/cjs/resources/ApplicationFees.js.map +1 -1
- package/cjs/resources/Apps/Secrets.d.ts +6 -6
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BalanceSettings.d.ts +8 -8
- package/cjs/resources/BalanceTransactions.d.ts +3 -3
- package/cjs/resources/BankAccounts.d.ts +4 -4
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/Alerts.d.ts +3 -3
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +2 -1
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +4 -4
- package/cjs/resources/Billing/CreditGrants.d.ts +3 -3
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventAdjustments.d.ts +2 -1
- package/cjs/resources/Billing/MeterEventAdjustments.js.map +1 -1
- package/cjs/resources/Billing/Meters.d.ts +8 -8
- package/cjs/resources/Billing/index.d.ts +0 -3
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Configurations.d.ts +22 -22
- package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
- package/cjs/resources/BillingPortal/Sessions.d.ts +7 -6
- package/cjs/resources/BillingPortal/Sessions.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +8 -7
- package/cjs/resources/Cards.d.ts +3 -20
- package/cjs/resources/Charges.d.ts +99 -3106
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +192 -555
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Climate/Orders.d.ts +3 -3
- package/cjs/resources/Climate/Orders.js.map +1 -1
- package/cjs/resources/Climate/Suppliers.d.ts +2 -2
- package/cjs/resources/ConfirmationTokens.d.ts +21 -87
- package/cjs/resources/Coupons.d.ts +3 -56
- package/cjs/resources/Coupons.js +0 -13
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +4 -18
- package/cjs/resources/CreditNotes.d.ts +17 -17
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerBalanceTransactions.d.ts +2 -2
- package/cjs/resources/CustomerCashBalanceTransactions.d.ts +4 -3
- package/cjs/resources/CustomerSessions.d.ts +25 -92
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/Customers.d.ts +14 -33
- package/cjs/resources/Customers.js +0 -14
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +16 -41
- package/cjs/resources/Disputes.js +1 -1
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +55 -535
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/Files.d.ts +3 -3
- package/cjs/resources/Files.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +19 -84
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +4 -48
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +48 -122
- package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
- package/cjs/resources/FinancialConnections/Transactions.d.ts +2 -2
- package/cjs/resources/FinancialConnections/index.d.ts +9 -21
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/Forwarding/Requests.d.ts +3 -3
- package/cjs/resources/Forwarding/Requests.js.map +1 -1
- package/cjs/resources/FundingInstructions.d.ts +4 -4
- package/cjs/resources/Identity/VerificationReports.d.ts +17 -17
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +15 -15
- package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +0 -85
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +5 -43
- package/cjs/resources/InvoicePayments.d.ts +3 -3
- package/cjs/resources/Invoices.d.ts +96 -1465
- package/cjs/resources/Invoices.js +0 -41
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +19 -32
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +17 -31
- package/cjs/resources/Issuing/Cardholders.js.map +1 -1
- package/cjs/resources/Issuing/Cards.d.ts +38 -39
- package/cjs/resources/Issuing/Cards.js.map +1 -1
- package/cjs/resources/Issuing/Disputes.d.ts +22 -35
- package/cjs/resources/Issuing/Disputes.js.map +1 -1
- package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
- package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
- package/cjs/resources/Issuing/PhysicalBundles.d.ts +8 -8
- package/cjs/resources/Issuing/Tokens.d.ts +11 -11
- package/cjs/resources/Issuing/Transactions.d.ts +5 -27
- package/cjs/resources/Issuing/index.d.ts +22 -47
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +4 -31
- package/cjs/resources/Mandates.d.ts +15 -46
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/PaymentAttemptRecords.d.ts +30 -112
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
- package/cjs/resources/PaymentIntents.d.ts +6883 -17706
- package/cjs/resources/PaymentIntents.js +0 -27
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +112 -66
- package/cjs/resources/PaymentLinks.js.map +1 -1
- package/cjs/resources/PaymentMethodConfigurations.d.ts +237 -587
- package/cjs/resources/PaymentMethodDomains.d.ts +7 -7
- package/cjs/resources/PaymentMethods.d.ts +36 -197
- package/cjs/resources/PaymentMethods.js +1 -1
- package/cjs/resources/PaymentRecords.d.ts +52 -116
- package/cjs/resources/PaymentRecords.js +8 -0
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Payouts.d.ts +3 -3
- package/cjs/resources/Payouts.js.map +1 -1
- package/cjs/resources/Persons.d.ts +8 -8
- package/cjs/resources/Plans.d.ts +6 -22
- package/cjs/resources/Plans.js.map +1 -1
- package/cjs/resources/Prices.d.ts +6 -58
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Products.d.ts +0 -42
- package/cjs/resources/PromotionCodes.d.ts +2 -14
- package/cjs/resources/PromotionCodes.js +0 -27
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +212 -2355
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +22 -22
- package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +0 -30
- package/cjs/resources/Radar/ValueLists.d.ts +2 -2
- package/cjs/resources/Radar/ValueLists.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +18 -15
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reserve/Holds.d.ts +4 -56
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +4 -20
- package/cjs/resources/Reserve/Plans.js +0 -11
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +4 -44
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +6 -17
- package/cjs/resources/Reserve/index.js +0 -9
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +7 -32
- package/cjs/resources/SetupIntents.d.ts +144 -456
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/ShippingRates.d.ts +5 -5
- package/cjs/resources/ShippingRates.js.map +1 -1
- package/cjs/resources/Sources.d.ts +3 -31
- package/cjs/resources/Sources.js.map +1 -1
- package/cjs/resources/SubscriptionItems.d.ts +4 -147
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +147 -1181
- package/cjs/resources/SubscriptionSchedules.js +0 -6
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +76 -641
- package/cjs/resources/Subscriptions.js +0 -145
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/Associations.d.ts +2 -1
- package/cjs/resources/Tax/Associations.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -10
- package/cjs/resources/Tax/Calculations.d.ts +20 -24
- package/cjs/resources/Tax/Calculations.js.map +1 -1
- package/cjs/resources/Tax/Registrations.d.ts +169 -271
- package/cjs/resources/Tax/Settings.d.ts +4 -4
- package/cjs/resources/Tax/TransactionLineItems.d.ts +3 -3
- package/cjs/resources/Tax/Transactions.d.ts +12 -12
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +13 -27
- package/cjs/resources/Tax/index.js +0 -4
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +0 -15
- package/cjs/resources/TaxIds.d.ts +8 -8
- package/cjs/resources/TaxRates.d.ts +5 -5
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +4 -31
- package/cjs/resources/Terminal/Readers.d.ts +18 -34
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +0 -5
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +12 -89
- package/cjs/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
- package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
- package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
- package/cjs/resources/TestHelpers/TestClocks.d.ts +2 -2
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -23
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +0 -3
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +19 -24
- package/cjs/resources/Tokens.js.map +1 -1
- package/cjs/resources/Topups.d.ts +28 -0
- package/cjs/resources/Topups.js.map +1 -1
- package/cjs/resources/Transfers.d.ts +0 -8
- package/cjs/resources/Treasury/CreditReversals.d.ts +4 -4
- package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
- package/cjs/resources/Treasury/DebitReversals.d.ts +5 -5
- package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +37 -41
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +16 -49
- package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
- package/cjs/resources/Treasury/InboundTransfers.d.ts +6 -6
- package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +13 -21
- package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +10 -54
- package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +9 -31
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +7 -33
- package/cjs/resources/Treasury/TransactionEntries.d.ts +5 -5
- package/cjs/resources/Treasury/Transactions.d.ts +6 -6
- package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
- package/cjs/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
- package/cjs/resources/V2/Billing/index.d.ts +6 -45
- package/cjs/resources/V2/Billing/index.js +0 -8
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +4 -4
- package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
- package/cjs/resources/V2/Core/AccountLinks.d.ts +15 -14
- package/cjs/resources/V2/Core/AccountLinks.js.map +1 -1
- package/cjs/resources/V2/Core/AccountPersons.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +48 -17
- package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +7 -7
- package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +191 -1558
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/EventDestinations.d.ts +6 -6
- package/cjs/resources/V2/Core/Events.d.ts +10 -1157
- package/cjs/resources/V2/Core/index.d.ts +9 -19
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/index.d.ts +0 -27
- package/cjs/resources/V2/index.js +0 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +4 -4
- package/cjs/resources/WebhookEndpoints.js.map +1 -1
- package/cjs/resources.d.ts +0 -10
- package/cjs/resources.js +10 -146
- package/cjs/resources.js.map +1 -1
- package/cjs/shared.d.ts +5 -0
- package/cjs/stripe.cjs.node.d.ts +150 -6480
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +40 -94
- package/cjs/stripe.core.js +37 -59
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +0 -1
- package/cjs/utils.js +1 -17
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +61 -57
- package/esm/Error.js +12 -112
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +1 -1
- package/esm/RequestSender.js +5 -10
- package/esm/RequestSender.js.map +1 -1
- package/esm/Types.d.ts +72 -15
- package/esm/Types.js.map +1 -1
- package/esm/Webhooks.d.ts +2 -2
- package/esm/apiVersion.d.ts +2 -1
- package/esm/apiVersion.js +2 -1
- package/esm/apiVersion.js.map +1 -1
- package/esm/platform/NodePlatformFunctions.d.ts +3 -2
- package/esm/platform/NodePlatformFunctions.js +46 -24
- package/esm/platform/NodePlatformFunctions.js.map +1 -1
- package/esm/platform/PlatformFunctions.d.ts +1 -1
- package/esm/platform/PlatformFunctions.js +1 -1
- package/esm/platform/PlatformFunctions.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +2 -1
- package/esm/resources/AccountLinks.js.map +1 -1
- package/esm/resources/AccountSessions.d.ts +32 -262
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +90 -883
- package/esm/resources/Accounts.js +12 -16
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +2 -2
- package/esm/resources/ApplicationFees.js.map +1 -1
- package/esm/resources/Apps/Secrets.d.ts +6 -6
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BalanceSettings.d.ts +8 -8
- package/esm/resources/BalanceTransactions.d.ts +3 -3
- package/esm/resources/BankAccounts.d.ts +4 -4
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/Alerts.d.ts +3 -3
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +2 -1
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +4 -4
- package/esm/resources/Billing/CreditGrants.d.ts +3 -3
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventAdjustments.d.ts +2 -1
- package/esm/resources/Billing/MeterEventAdjustments.js.map +1 -1
- package/esm/resources/Billing/Meters.d.ts +8 -8
- package/esm/resources/Billing/index.d.ts +0 -3
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Configurations.d.ts +22 -22
- package/esm/resources/BillingPortal/Configurations.js.map +1 -1
- package/esm/resources/BillingPortal/Sessions.d.ts +7 -6
- package/esm/resources/BillingPortal/Sessions.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +8 -7
- package/esm/resources/Cards.d.ts +3 -20
- package/esm/resources/Charges.d.ts +99 -3106
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +192 -555
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Climate/Orders.d.ts +3 -3
- package/esm/resources/Climate/Orders.js.map +1 -1
- package/esm/resources/Climate/Suppliers.d.ts +2 -2
- package/esm/resources/ConfirmationTokens.d.ts +21 -87
- package/esm/resources/Coupons.d.ts +3 -56
- package/esm/resources/Coupons.js +0 -13
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +4 -18
- package/esm/resources/CreditNotes.d.ts +17 -17
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerBalanceTransactions.d.ts +2 -2
- package/esm/resources/CustomerCashBalanceTransactions.d.ts +4 -3
- package/esm/resources/CustomerSessions.d.ts +25 -92
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/Customers.d.ts +14 -33
- package/esm/resources/Customers.js +0 -14
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +16 -41
- package/esm/resources/Disputes.js +1 -1
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +55 -535
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/Files.d.ts +3 -3
- package/esm/resources/Files.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +19 -84
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +4 -48
- package/esm/resources/FinancialConnections/Authorizations.js +1 -9
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +48 -122
- package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
- package/esm/resources/FinancialConnections/Transactions.d.ts +2 -2
- package/esm/resources/FinancialConnections/index.d.ts +9 -21
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/Forwarding/Requests.d.ts +3 -3
- package/esm/resources/Forwarding/Requests.js.map +1 -1
- package/esm/resources/FundingInstructions.d.ts +4 -4
- package/esm/resources/Identity/VerificationReports.d.ts +17 -17
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +15 -15
- package/esm/resources/Identity/VerificationSessions.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +0 -85
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +5 -43
- package/esm/resources/InvoicePayments.d.ts +3 -3
- package/esm/resources/Invoices.d.ts +96 -1465
- package/esm/resources/Invoices.js +0 -41
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +19 -32
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +17 -31
- package/esm/resources/Issuing/Cardholders.js.map +1 -1
- package/esm/resources/Issuing/Cards.d.ts +38 -39
- package/esm/resources/Issuing/Cards.js.map +1 -1
- package/esm/resources/Issuing/Disputes.d.ts +22 -35
- package/esm/resources/Issuing/Disputes.js.map +1 -1
- package/esm/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
- package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
- package/esm/resources/Issuing/PhysicalBundles.d.ts +8 -8
- package/esm/resources/Issuing/Tokens.d.ts +11 -11
- package/esm/resources/Issuing/Transactions.d.ts +5 -27
- package/esm/resources/Issuing/index.d.ts +22 -47
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +4 -31
- package/esm/resources/Mandates.d.ts +15 -46
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/PaymentAttemptRecords.d.ts +30 -112
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
- package/esm/resources/PaymentIntents.d.ts +6883 -17706
- package/esm/resources/PaymentIntents.js +0 -27
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +112 -66
- package/esm/resources/PaymentLinks.js.map +1 -1
- package/esm/resources/PaymentMethodConfigurations.d.ts +237 -587
- package/esm/resources/PaymentMethodDomains.d.ts +7 -7
- package/esm/resources/PaymentMethods.d.ts +36 -197
- package/esm/resources/PaymentMethods.js +1 -1
- package/esm/resources/PaymentRecords.d.ts +52 -116
- package/esm/resources/PaymentRecords.js +8 -0
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Payouts.d.ts +3 -3
- package/esm/resources/Payouts.js.map +1 -1
- package/esm/resources/Persons.d.ts +8 -8
- package/esm/resources/Plans.d.ts +6 -22
- package/esm/resources/Plans.js.map +1 -1
- package/esm/resources/Prices.d.ts +6 -58
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Products.d.ts +0 -42
- package/esm/resources/PromotionCodes.d.ts +2 -14
- package/esm/resources/PromotionCodes.js +0 -27
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +212 -2355
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +22 -22
- package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +0 -30
- package/esm/resources/Radar/ValueLists.d.ts +2 -2
- package/esm/resources/Radar/ValueLists.js.map +1 -1
- package/esm/resources/Refunds.d.ts +18 -15
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reserve/Holds.d.ts +4 -56
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +4 -20
- package/esm/resources/Reserve/Plans.js +1 -9
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +4 -44
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +6 -17
- package/esm/resources/Reserve/index.js +0 -9
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +7 -32
- package/esm/resources/SetupIntents.d.ts +144 -456
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/ShippingRates.d.ts +5 -5
- package/esm/resources/ShippingRates.js.map +1 -1
- package/esm/resources/Sources.d.ts +3 -31
- package/esm/resources/Sources.js.map +1 -1
- package/esm/resources/SubscriptionItems.d.ts +4 -147
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +147 -1181
- package/esm/resources/SubscriptionSchedules.js +0 -6
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +76 -641
- package/esm/resources/Subscriptions.js +0 -145
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/Associations.d.ts +2 -1
- package/esm/resources/Tax/Associations.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +6 -10
- package/esm/resources/Tax/Calculations.d.ts +20 -24
- package/esm/resources/Tax/Calculations.js.map +1 -1
- package/esm/resources/Tax/Registrations.d.ts +169 -271
- package/esm/resources/Tax/Settings.d.ts +4 -4
- package/esm/resources/Tax/TransactionLineItems.d.ts +3 -3
- package/esm/resources/Tax/Transactions.d.ts +12 -12
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +13 -27
- package/esm/resources/Tax/index.js +0 -4
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +0 -15
- package/esm/resources/TaxIds.d.ts +8 -8
- package/esm/resources/TaxRates.d.ts +5 -5
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +4 -31
- package/esm/resources/Terminal/Readers.d.ts +18 -34
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +0 -5
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +12 -89
- package/esm/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
- package/esm/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
- package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
- package/esm/resources/TestHelpers/TestClocks.d.ts +2 -2
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -23
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +0 -3
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +19 -24
- package/esm/resources/Tokens.js.map +1 -1
- package/esm/resources/Topups.d.ts +28 -0
- package/esm/resources/Topups.js.map +1 -1
- package/esm/resources/Transfers.d.ts +0 -8
- package/esm/resources/Treasury/CreditReversals.d.ts +4 -4
- package/esm/resources/Treasury/CreditReversals.js.map +1 -1
- package/esm/resources/Treasury/DebitReversals.d.ts +5 -5
- package/esm/resources/Treasury/DebitReversals.js.map +1 -1
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +37 -41
- package/esm/resources/Treasury/FinancialAccounts.d.ts +16 -49
- package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
- package/esm/resources/Treasury/InboundTransfers.d.ts +6 -6
- package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +13 -21
- package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
- package/esm/resources/Treasury/OutboundTransfers.d.ts +10 -54
- package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
- package/esm/resources/Treasury/ReceivedCredits.d.ts +9 -31
- package/esm/resources/Treasury/ReceivedDebits.d.ts +7 -33
- package/esm/resources/Treasury/TransactionEntries.d.ts +5 -5
- package/esm/resources/Treasury/Transactions.d.ts +6 -6
- package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
- package/esm/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
- package/esm/resources/V2/Billing/index.d.ts +6 -45
- package/esm/resources/V2/Billing/index.js +0 -8
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +4 -4
- package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
- package/esm/resources/V2/Core/AccountLinks.d.ts +15 -14
- package/esm/resources/V2/Core/AccountLinks.js.map +1 -1
- package/esm/resources/V2/Core/AccountPersons.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +48 -17
- package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
- package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +7 -7
- package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
- package/esm/resources/V2/Core/Accounts.d.ts +191 -1558
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/EventDestinations.d.ts +6 -6
- package/esm/resources/V2/Core/Events.d.ts +10 -1157
- package/esm/resources/V2/Core/index.d.ts +9 -19
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/index.d.ts +0 -27
- package/esm/resources/V2/index.js +0 -14
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +4 -4
- package/esm/resources/WebhookEndpoints.js.map +1 -1
- package/esm/resources.d.ts +0 -10
- package/esm/resources.js +0 -131
- package/esm/resources.js.map +1 -1
- package/esm/shared.d.ts +5 -0
- package/esm/stripe.core.d.ts +40 -94
- package/esm/stripe.core.js +7 -29
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +41 -95
- package/esm/stripe.esm.node.js +2 -25
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +0 -1
- package/esm/utils.js +0 -15
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +0 -19
- package/cjs/StripeEventNotificationHandler.js +0 -150
- package/cjs/StripeEventNotificationHandler.js.map +0 -1
- package/cjs/resources/AccountNotices.d.ts +0 -140
- package/cjs/resources/AccountNotices.js +0 -29
- package/cjs/resources/AccountNotices.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
- package/cjs/resources/Billing/Analytics/index.js +0 -13
- package/cjs/resources/Billing/Analytics/index.js.map +0 -1
- package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
- package/cjs/resources/Capital/FinancingOffers.js +0 -30
- package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +0 -101
- package/cjs/resources/Capital/FinancingSummary.js +0 -15
- package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
- package/cjs/resources/Capital/FinancingTransactions.js +0 -24
- package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
- package/cjs/resources/Capital/index.d.ts +0 -25
- package/cjs/resources/Capital/index.js +0 -17
- package/cjs/resources/Capital/index.js.map +0 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -99
- package/cjs/resources/FinancialConnections/Institutions.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
- package/cjs/resources/FxQuotes.d.ts +0 -212
- package/cjs/resources/FxQuotes.js +0 -29
- package/cjs/resources/FxQuotes.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/cjs/resources/Issuing/Settlements.d.ts +0 -83
- package/cjs/resources/Issuing/Settlements.js +0 -4
- package/cjs/resources/Issuing/Settlements.js.map +0 -1
- package/cjs/resources/Margins.d.ts +0 -115
- package/cjs/resources/Margins.js +0 -35
- package/cjs/resources/Margins.js.map +0 -1
- package/cjs/resources/Orders.d.ts +0 -4693
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -35
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
- package/cjs/resources/Privacy/RedactionJobs.js +0 -73
- package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
- package/cjs/resources/Privacy/index.d.ts +0 -22
- package/cjs/resources/Privacy/index.js +0 -13
- package/cjs/resources/Privacy/index.js.map +0 -1
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -125
- package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/cjs/resources/ProductCatalog/index.d.ts +0 -12
- package/cjs/resources/ProductCatalog/index.js +0 -13
- package/cjs/resources/ProductCatalog/index.js.map +0 -1
- package/cjs/resources/QuoteLines.d.ts +0 -507
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1120
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -738
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1105
- package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -306
- package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/index.d.ts +0 -19
- package/cjs/resources/SharedPayment/index.js +0 -15
- package/cjs/resources/SharedPayment/index.js.map +0 -1
- package/cjs/resources/Tax/Forms.d.ts +0 -228
- package/cjs/resources/Tax/Forms.js +0 -32
- package/cjs/resources/Tax/Forms.js.map +0 -1
- package/cjs/resources/Tax/Locations.d.ts +0 -108
- package/cjs/resources/Tax/Locations.js +0 -33
- package/cjs/resources/Tax/Locations.js.map +0 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -50
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -71
- package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -280
- package/cjs/resources/V2/Billing/BillSettings.js +0 -41
- package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +0 -947
- package/cjs/resources/V2/Billing/Cadences.js +0 -198
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -236
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -775
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +0 -162
- package/cjs/resources/V2/Billing/Profiles.js +0 -35
- package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
- package/cjs/resources/V2/Core/BatchJobs.js +0 -225
- package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -279
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -249
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -63
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
- package/cjs/resources/V2/Core/Vault/index.js +0 -15
- package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -150
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Data/index.d.ts +0 -10
- package/cjs/resources/V2/Data/index.js +0 -13
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +0 -2
- package/cjs/resources/V2/EventMisc.js.map +0 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -162
- package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +0 -119
- package/cjs/resources/V2/Extend/Workflows.js +0 -30
- package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
- package/cjs/resources/V2/Extend/index.d.ts +0 -20
- package/cjs/resources/V2/Extend/index.js +0 -15
- package/cjs/resources/V2/Extend/index.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -210
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -13
- package/cjs/resources/V2/Iam/index.js +0 -13
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -131
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -240
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -211
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -250
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -208
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -394
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -296
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -336
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -239
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -295
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -157
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -161
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -192
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/cjs/resources/V2/MoneyManagement/index.js +0 -39
- package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -92
- package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/cjs/resources/V2/Network/index.d.ts +0 -13
- package/cjs/resources/V2/Network/index.js +0 -13
- package/cjs/resources/V2/Network/index.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
- package/esm/StripeEventNotificationHandler.d.ts +0 -19
- package/esm/StripeEventNotificationHandler.js +0 -146
- package/esm/StripeEventNotificationHandler.js.map +0 -1
- package/esm/resources/AccountNotices.d.ts +0 -140
- package/esm/resources/AccountNotices.js +0 -25
- package/esm/resources/AccountNotices.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/esm/resources/Billing/Analytics/index.d.ts +0 -15
- package/esm/resources/Billing/Analytics/index.js +0 -9
- package/esm/resources/Billing/Analytics/index.js.map +0 -1
- package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
- package/esm/resources/Capital/FinancingOffers.js +0 -26
- package/esm/resources/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +0 -101
- package/esm/resources/Capital/FinancingSummary.js +0 -11
- package/esm/resources/Capital/FinancingSummary.js.map +0 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
- package/esm/resources/Capital/FinancingTransactions.js +0 -20
- package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
- package/esm/resources/Capital/index.d.ts +0 -25
- package/esm/resources/Capital/index.js +0 -13
- package/esm/resources/Capital/index.js.map +0 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +0 -99
- package/esm/resources/FinancialConnections/Institutions.js +0 -19
- package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
- package/esm/resources/FxQuotes.d.ts +0 -212
- package/esm/resources/FxQuotes.js +0 -25
- package/esm/resources/FxQuotes.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/esm/resources/Issuing/Settlements.d.ts +0 -83
- package/esm/resources/Issuing/Settlements.js +0 -3
- package/esm/resources/Issuing/Settlements.js.map +0 -1
- package/esm/resources/Margins.d.ts +0 -115
- package/esm/resources/Margins.js +0 -31
- package/esm/resources/Margins.js.map +0 -1
- package/esm/resources/Orders.d.ts +0 -4693
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -35
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
- package/esm/resources/Privacy/RedactionJobs.js +0 -69
- package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
- package/esm/resources/Privacy/index.d.ts +0 -22
- package/esm/resources/Privacy/index.js +0 -9
- package/esm/resources/Privacy/index.js.map +0 -1
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -125
- package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
- package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/esm/resources/ProductCatalog/index.d.ts +0 -12
- package/esm/resources/ProductCatalog/index.js +0 -9
- package/esm/resources/ProductCatalog/index.js.map +0 -1
- package/esm/resources/QuoteLines.d.ts +0 -507
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1120
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -738
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1105
- package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
- package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -306
- package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
- package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/index.d.ts +0 -19
- package/esm/resources/SharedPayment/index.js +0 -11
- package/esm/resources/SharedPayment/index.js.map +0 -1
- package/esm/resources/Tax/Forms.d.ts +0 -228
- package/esm/resources/Tax/Forms.js +0 -28
- package/esm/resources/Tax/Forms.js.map +0 -1
- package/esm/resources/Tax/Locations.d.ts +0 -108
- package/esm/resources/Tax/Locations.js +0 -29
- package/esm/resources/Tax/Locations.js.map +0 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -50
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
- package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -71
- package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +0 -280
- package/esm/resources/V2/Billing/BillSettings.js +0 -37
- package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +0 -947
- package/esm/resources/V2/Billing/Cadences.js +0 -194
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -236
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -775
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +0 -162
- package/esm/resources/V2/Billing/Profiles.js +0 -31
- package/esm/resources/V2/Billing/Profiles.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
- package/esm/resources/V2/Core/BatchJobs.js +0 -221
- package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -279
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -249
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -59
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
- package/esm/resources/V2/Core/Vault/index.js +0 -11
- package/esm/resources/V2/Core/Vault/index.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -150
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/esm/resources/V2/Data/Reporting/index.js +0 -9
- package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Data/index.d.ts +0 -10
- package/esm/resources/V2/Data/index.js +0 -9
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +0 -2
- package/esm/resources/V2/EventMisc.js.map +0 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -162
- package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +0 -119
- package/esm/resources/V2/Extend/Workflows.js +0 -26
- package/esm/resources/V2/Extend/Workflows.js.map +0 -1
- package/esm/resources/V2/Extend/index.d.ts +0 -20
- package/esm/resources/V2/Extend/index.js +0 -11
- package/esm/resources/V2/Extend/index.js.map +0 -1
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -210
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -13
- package/esm/resources/V2/Iam/index.js +0 -9
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -131
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -240
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -211
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -250
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -208
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -394
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -296
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -336
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -239
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -295
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -157
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -161
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -192
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/esm/resources/V2/MoneyManagement/index.js +0 -35
- package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -92
- package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
- package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/esm/resources/V2/Network/index.d.ts +0 -13
- package/esm/resources/V2/Network/index.js +0 -9
- package/esm/resources/V2/Network/index.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/TestHelpers/index.js +0 -9
- package/esm/resources/V2/TestHelpers/index.js.map +0 -1
|
@@ -13,7 +13,7 @@ import { SubscriptionSchedule } from './SubscriptionSchedules.js';
|
|
|
13
13
|
import { Price } from './Prices.js';
|
|
14
14
|
import { TaxId, DeletedTaxId } from './TaxIds.js';
|
|
15
15
|
import * as TestHelpers from './TestHelpers/index.js';
|
|
16
|
-
import { Emptyable, MetadataParam, Decimal, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
|
|
16
|
+
import { Emptyable, MetadataParam, OtherString, Decimal, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
|
|
17
17
|
import { RequestOptions, Response, ApiListPromise, ApiList, ApiSearchResultPromise } from '../lib.js';
|
|
18
18
|
export declare class SubscriptionResource extends StripeResource {
|
|
19
19
|
/**
|
|
@@ -81,26 +81,10 @@ export declare class SubscriptionResource extends StripeResource {
|
|
|
81
81
|
* Upgrade the billing_mode of an existing subscription.
|
|
82
82
|
*/
|
|
83
83
|
migrate(id: string, params: SubscriptionMigrateParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
84
|
-
/**
|
|
85
|
-
* Pauses a subscription by transitioning it to the paused status. A paused subscription does not generate invoices and will not advance to new billing periods. The subscription can be resumed later using the resume endpoint. Cannot pause subscriptions with attached schedules.
|
|
86
|
-
*/
|
|
87
|
-
pause(id: string, params?: SubscriptionPauseParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
88
84
|
/**
|
|
89
85
|
* 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).
|
|
90
86
|
*/
|
|
91
87
|
resume(id: string, params?: SubscriptionResumeParams, options?: RequestOptions): Promise<Response<Subscription>>;
|
|
92
|
-
serializeBatchCancel(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
|
|
93
|
-
apiVersion?: string;
|
|
94
|
-
stripeContext?: string;
|
|
95
|
-
}): string;
|
|
96
|
-
serializeBatchUpdate(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
|
|
97
|
-
apiVersion?: string;
|
|
98
|
-
stripeContext?: string;
|
|
99
|
-
}): string;
|
|
100
|
-
serializeBatchMigrate(subscription: string, params?: Record<string, unknown>, options?: {
|
|
101
|
-
apiVersion?: string;
|
|
102
|
-
stripeContext?: string;
|
|
103
|
-
}): string;
|
|
104
88
|
}
|
|
105
89
|
export interface Subscription {
|
|
106
90
|
/**
|
|
@@ -209,10 +193,6 @@ export interface Subscription {
|
|
|
209
193
|
* List of subscription items, each with an attached price.
|
|
210
194
|
*/
|
|
211
195
|
items: ApiList<SubscriptionItem>;
|
|
212
|
-
/**
|
|
213
|
-
* Details of the most recent price migration that failed for the subscription.
|
|
214
|
-
*/
|
|
215
|
-
last_price_migration_error?: Subscription.LastPriceMigrationError | null;
|
|
216
196
|
/**
|
|
217
197
|
* The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
|
|
218
198
|
*/
|
|
@@ -257,10 +237,6 @@ export interface Subscription {
|
|
|
257
237
|
* 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.
|
|
258
238
|
*/
|
|
259
239
|
pending_update: Subscription.PendingUpdate | null;
|
|
260
|
-
/**
|
|
261
|
-
* Time period and invoice for a Subscription billed in advance.
|
|
262
|
-
*/
|
|
263
|
-
prebilling?: Subscription.Prebilling | null;
|
|
264
240
|
presentment_details?: Subscription.PresentmentDetails;
|
|
265
241
|
/**
|
|
266
242
|
* The schedule attached to the subscription
|
|
@@ -284,10 +260,6 @@ export interface Subscription {
|
|
|
284
260
|
* If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.
|
|
285
261
|
*/
|
|
286
262
|
status: Subscription.Status;
|
|
287
|
-
/**
|
|
288
|
-
* Describes changes to the subscription's status.
|
|
289
|
-
*/
|
|
290
|
-
status_details?: Subscription.StatusDetails;
|
|
291
263
|
/**
|
|
292
264
|
* ID of the test clock this subscription belongs to.
|
|
293
265
|
*/
|
|
@@ -418,20 +390,6 @@ export declare namespace Subscription {
|
|
|
418
390
|
footer: string | null;
|
|
419
391
|
issuer: InvoiceSettings.Issuer;
|
|
420
392
|
}
|
|
421
|
-
interface LastPriceMigrationError {
|
|
422
|
-
/**
|
|
423
|
-
* The time at which the price migration encountered an error.
|
|
424
|
-
*/
|
|
425
|
-
errored_at: number;
|
|
426
|
-
/**
|
|
427
|
-
* The involved price pairs in each failed transition.
|
|
428
|
-
*/
|
|
429
|
-
failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
|
|
430
|
-
/**
|
|
431
|
-
* The type of error encountered by the price migration.
|
|
432
|
-
*/
|
|
433
|
-
type: 'price_uniqueness_violation';
|
|
434
|
-
}
|
|
435
393
|
interface ManagedPayments {
|
|
436
394
|
/**
|
|
437
395
|
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
@@ -493,10 +451,6 @@ export declare namespace Subscription {
|
|
|
493
451
|
* 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.
|
|
494
452
|
*/
|
|
495
453
|
metadata: Metadata | null;
|
|
496
|
-
/**
|
|
497
|
-
* The number of iterations of prebilling to apply.
|
|
498
|
-
*/
|
|
499
|
-
prebilling_iterations?: number | null;
|
|
500
454
|
/**
|
|
501
455
|
* List of subscription items, each with an attached plan, that will be set if the update is applied.
|
|
502
456
|
*/
|
|
@@ -510,37 +464,13 @@ export declare namespace Subscription {
|
|
|
510
464
|
*/
|
|
511
465
|
trial_from_plan: boolean | null;
|
|
512
466
|
}
|
|
513
|
-
interface Prebilling {
|
|
514
|
-
/**
|
|
515
|
-
* ID of the prebilling invoice.
|
|
516
|
-
*/
|
|
517
|
-
invoice: string | Invoice;
|
|
518
|
-
/**
|
|
519
|
-
* The end of the last period for which the invoice pre-bills.
|
|
520
|
-
*/
|
|
521
|
-
period_end: number;
|
|
522
|
-
/**
|
|
523
|
-
* The start of the first period for which the invoice pre-bills.
|
|
524
|
-
*/
|
|
525
|
-
period_start: number;
|
|
526
|
-
/**
|
|
527
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
528
|
-
*/
|
|
529
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
530
|
-
}
|
|
531
467
|
interface PresentmentDetails {
|
|
532
468
|
/**
|
|
533
469
|
* Currency used for customer payments.
|
|
534
470
|
*/
|
|
535
471
|
presentment_currency: string;
|
|
536
472
|
}
|
|
537
|
-
type Status = 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
|
|
538
|
-
interface StatusDetails {
|
|
539
|
-
/**
|
|
540
|
-
* Indicates when and why the subscription transitioned to the paused status.
|
|
541
|
-
*/
|
|
542
|
-
paused: StatusDetails.Paused;
|
|
543
|
-
}
|
|
473
|
+
type Status = 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
|
|
544
474
|
interface TransferData {
|
|
545
475
|
/**
|
|
546
476
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
|
@@ -569,7 +499,7 @@ export declare namespace Subscription {
|
|
|
569
499
|
type: Liability.Type;
|
|
570
500
|
}
|
|
571
501
|
namespace Liability {
|
|
572
|
-
type Type = 'account' | 'self';
|
|
502
|
+
type Type = 'account' | 'self' | OtherString;
|
|
573
503
|
}
|
|
574
504
|
}
|
|
575
505
|
namespace BillingMode {
|
|
@@ -579,7 +509,7 @@ export declare namespace Subscription {
|
|
|
579
509
|
*/
|
|
580
510
|
proration_discounts?: Flexible.ProrationDiscounts;
|
|
581
511
|
}
|
|
582
|
-
type Type = 'classic' | 'flexible';
|
|
512
|
+
type Type = 'classic' | 'flexible' | OtherString;
|
|
583
513
|
namespace Flexible {
|
|
584
514
|
type ProrationDiscounts = 'included' | 'itemized';
|
|
585
515
|
}
|
|
@@ -624,15 +554,15 @@ export declare namespace Subscription {
|
|
|
624
554
|
*/
|
|
625
555
|
interval_count: number | null;
|
|
626
556
|
}
|
|
627
|
-
type Type = 'duration' | 'timestamp';
|
|
557
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
628
558
|
namespace Duration {
|
|
629
559
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
630
560
|
}
|
|
631
561
|
}
|
|
632
562
|
}
|
|
633
563
|
namespace CancellationDetails {
|
|
634
|
-
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
|
|
635
|
-
type Reason = 'canceled_by_retention_policy' | 'cancellation_requested' | 'payment_disputed' | 'payment_failed';
|
|
564
|
+
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused' | OtherString;
|
|
565
|
+
type Reason = 'canceled_by_retention_policy' | 'cancellation_requested' | 'payment_disputed' | 'payment_failed' | OtherString;
|
|
636
566
|
}
|
|
637
567
|
namespace InvoiceSettings {
|
|
638
568
|
interface CustomField {
|
|
@@ -656,19 +586,7 @@ export declare namespace Subscription {
|
|
|
656
586
|
type: Issuer.Type;
|
|
657
587
|
}
|
|
658
588
|
namespace Issuer {
|
|
659
|
-
type Type = 'account' | 'self';
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
namespace LastPriceMigrationError {
|
|
663
|
-
interface FailedTransition {
|
|
664
|
-
/**
|
|
665
|
-
* The original price to be migrated.
|
|
666
|
-
*/
|
|
667
|
-
source_price: string;
|
|
668
|
-
/**
|
|
669
|
-
* The intended resulting price of the migration.
|
|
670
|
-
*/
|
|
671
|
-
target_price: string;
|
|
589
|
+
type Type = 'account' | 'self' | OtherString;
|
|
672
590
|
}
|
|
673
591
|
}
|
|
674
592
|
namespace PauseCollection {
|
|
@@ -684,10 +602,6 @@ export declare namespace Subscription {
|
|
|
684
602
|
* This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
|
|
685
603
|
*/
|
|
686
604
|
bancontact: PaymentMethodOptions.Bancontact | null;
|
|
687
|
-
/**
|
|
688
|
-
* This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
|
|
689
|
-
*/
|
|
690
|
-
blik?: PaymentMethodOptions.Blik | null;
|
|
691
605
|
/**
|
|
692
606
|
* This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
|
|
693
607
|
*/
|
|
@@ -696,10 +610,6 @@ export declare namespace Subscription {
|
|
|
696
610
|
* This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
|
|
697
611
|
*/
|
|
698
612
|
customer_balance: PaymentMethodOptions.CustomerBalance | null;
|
|
699
|
-
/**
|
|
700
|
-
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
|
701
|
-
*/
|
|
702
|
-
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
|
|
703
613
|
/**
|
|
704
614
|
* This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
|
705
615
|
*/
|
|
@@ -725,8 +635,8 @@ export declare namespace Subscription {
|
|
|
725
635
|
*/
|
|
726
636
|
us_bank_account: PaymentMethodOptions.UsBankAccount | null;
|
|
727
637
|
}
|
|
728
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | '
|
|
729
|
-
type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
|
|
638
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | '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' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
639
|
+
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
730
640
|
namespace PaymentMethodOptions {
|
|
731
641
|
interface AcssDebit {
|
|
732
642
|
mandate_options?: AcssDebit.MandateOptions;
|
|
@@ -741,9 +651,6 @@ export declare namespace Subscription {
|
|
|
741
651
|
*/
|
|
742
652
|
preferred_language: Bancontact.PreferredLanguage;
|
|
743
653
|
}
|
|
744
|
-
interface Blik {
|
|
745
|
-
mandate_options?: Blik.MandateOptions;
|
|
746
|
-
}
|
|
747
654
|
interface Card {
|
|
748
655
|
mandate_options?: Card.MandateOptions;
|
|
749
656
|
/**
|
|
@@ -762,8 +669,6 @@ export declare namespace Subscription {
|
|
|
762
669
|
*/
|
|
763
670
|
funding_type: 'bank_transfer' | null;
|
|
764
671
|
}
|
|
765
|
-
interface IdBankTransfer {
|
|
766
|
-
}
|
|
767
672
|
interface Konbini {
|
|
768
673
|
}
|
|
769
674
|
interface Payto {
|
|
@@ -795,21 +700,13 @@ export declare namespace Subscription {
|
|
|
795
700
|
*/
|
|
796
701
|
transaction_type: MandateOptions.TransactionType | null;
|
|
797
702
|
}
|
|
798
|
-
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
703
|
+
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
|
|
799
704
|
namespace MandateOptions {
|
|
800
|
-
type TransactionType = 'business' | 'personal';
|
|
705
|
+
type TransactionType = 'business' | 'personal' | OtherString;
|
|
801
706
|
}
|
|
802
707
|
}
|
|
803
708
|
namespace Bancontact {
|
|
804
|
-
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
805
|
-
}
|
|
806
|
-
namespace Blik {
|
|
807
|
-
interface MandateOptions {
|
|
808
|
-
/**
|
|
809
|
-
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
810
|
-
*/
|
|
811
|
-
expires_after: number | null;
|
|
812
|
-
}
|
|
709
|
+
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
813
710
|
}
|
|
814
711
|
namespace Card {
|
|
815
712
|
interface MandateOptions {
|
|
@@ -827,9 +724,9 @@ export declare namespace Subscription {
|
|
|
827
724
|
description: string | null;
|
|
828
725
|
}
|
|
829
726
|
type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa';
|
|
830
|
-
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
727
|
+
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
|
|
831
728
|
namespace MandateOptions {
|
|
832
|
-
type AmountType = 'fixed' | 'maximum';
|
|
729
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
833
730
|
}
|
|
834
731
|
}
|
|
835
732
|
namespace CustomerBalance {
|
|
@@ -868,8 +765,8 @@ export declare namespace Subscription {
|
|
|
868
765
|
purpose: MandateOptions.Purpose | null;
|
|
869
766
|
}
|
|
870
767
|
namespace MandateOptions {
|
|
871
|
-
type AmountType = 'fixed' | 'maximum';
|
|
872
|
-
type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility';
|
|
768
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
769
|
+
type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility' | OtherString;
|
|
873
770
|
}
|
|
874
771
|
}
|
|
875
772
|
namespace Pix {
|
|
@@ -892,8 +789,8 @@ export declare namespace Subscription {
|
|
|
892
789
|
payment_schedule: MandateOptions.PaymentSchedule | null;
|
|
893
790
|
}
|
|
894
791
|
namespace MandateOptions {
|
|
895
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
896
|
-
type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly';
|
|
792
|
+
type AmountIncludesIof = 'always' | 'never' | OtherString;
|
|
793
|
+
type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly' | OtherString;
|
|
897
794
|
}
|
|
898
795
|
}
|
|
899
796
|
namespace Upi {
|
|
@@ -916,7 +813,7 @@ export declare namespace Subscription {
|
|
|
916
813
|
end_date: number | null;
|
|
917
814
|
}
|
|
918
815
|
namespace MandateOptions {
|
|
919
|
-
type AmountType = 'fixed' | 'maximum';
|
|
816
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
920
817
|
}
|
|
921
818
|
}
|
|
922
819
|
namespace UsBankAccount {
|
|
@@ -931,22 +828,18 @@ export declare namespace Subscription {
|
|
|
931
828
|
*/
|
|
932
829
|
prefetch: Array<FinancialConnections.Prefetch> | null;
|
|
933
830
|
}
|
|
934
|
-
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
831
|
+
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
|
|
935
832
|
namespace FinancialConnections {
|
|
936
833
|
interface Filters {
|
|
937
834
|
/**
|
|
938
835
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
939
836
|
*/
|
|
940
837
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
941
|
-
/**
|
|
942
|
-
* The institution to use to filter for possible accounts to link.
|
|
943
|
-
*/
|
|
944
|
-
institution?: string;
|
|
945
838
|
}
|
|
946
|
-
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
947
|
-
type Prefetch = 'balances' | '
|
|
839
|
+
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
840
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
948
841
|
namespace Filters {
|
|
949
|
-
type AccountSubcategory = 'checking' | 'savings';
|
|
842
|
+
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
950
843
|
}
|
|
951
844
|
}
|
|
952
845
|
}
|
|
@@ -955,50 +848,15 @@ export declare namespace Subscription {
|
|
|
955
848
|
namespace PendingInvoiceItemInterval {
|
|
956
849
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
957
850
|
}
|
|
958
|
-
namespace Prebilling {
|
|
959
|
-
type UpdateBehavior = 'prebill' | 'reset';
|
|
960
|
-
}
|
|
961
|
-
namespace StatusDetails {
|
|
962
|
-
interface Paused {
|
|
963
|
-
/**
|
|
964
|
-
* Information on the `type=subscription` pause.
|
|
965
|
-
*/
|
|
966
|
-
subscription: Paused.Subscription;
|
|
967
|
-
/**
|
|
968
|
-
* Unix timestamp in seconds of when the subscription status transitioned to `paused`.
|
|
969
|
-
*/
|
|
970
|
-
transitioned_at: number;
|
|
971
|
-
/**
|
|
972
|
-
* The type of pause.
|
|
973
|
-
*/
|
|
974
|
-
type: 'subscription';
|
|
975
|
-
}
|
|
976
|
-
namespace Paused {
|
|
977
|
-
interface Subscription {
|
|
978
|
-
/**
|
|
979
|
-
* The reason that the subscription was paused.
|
|
980
|
-
*/
|
|
981
|
-
type: Subscription.Type;
|
|
982
|
-
}
|
|
983
|
-
namespace Subscription {
|
|
984
|
-
type Type = 'pause_requested' | 'system' | 'trial_end_without_payment_method';
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
851
|
namespace TrialSettings {
|
|
989
852
|
interface EndBehavior {
|
|
990
|
-
/**
|
|
991
|
-
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
|
|
992
|
-
*/
|
|
993
|
-
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
|
|
994
853
|
/**
|
|
995
854
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
996
855
|
*/
|
|
997
856
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
998
857
|
}
|
|
999
858
|
namespace EndBehavior {
|
|
1000
|
-
type
|
|
1001
|
-
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
|
|
859
|
+
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
1002
860
|
}
|
|
1003
861
|
}
|
|
1004
862
|
}
|
|
@@ -1123,10 +981,6 @@ export interface SubscriptionCreateParams {
|
|
|
1123
981
|
* 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.
|
|
1124
982
|
*/
|
|
1125
983
|
pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
|
|
1126
|
-
/**
|
|
1127
|
-
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
1128
|
-
*/
|
|
1129
|
-
prebilling?: SubscriptionCreateParams.Prebilling;
|
|
1130
984
|
/**
|
|
1131
985
|
* 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`.
|
|
1132
986
|
*/
|
|
@@ -1253,7 +1107,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1253
1107
|
*/
|
|
1254
1108
|
reset_billing_cycle_anchor?: boolean;
|
|
1255
1109
|
}
|
|
1256
|
-
type CancelAt = 'max_billed_until' | 'max_period_end' | 'min_period_end';
|
|
1110
|
+
type CancelAt = 'max_billed_until' | 'max_period_end' | 'min_period_end' | OtherString;
|
|
1257
1111
|
type CollectionMethod = 'charge_automatically' | 'send_invoice';
|
|
1258
1112
|
interface Discount {
|
|
1259
1113
|
/**
|
|
@@ -1264,10 +1118,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1264
1118
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1265
1119
|
*/
|
|
1266
1120
|
discount?: string;
|
|
1267
|
-
/**
|
|
1268
|
-
* Details to determine how long the discount should be applied for.
|
|
1269
|
-
*/
|
|
1270
|
-
discount_end?: Discount.DiscountEnd;
|
|
1271
1121
|
/**
|
|
1272
1122
|
* ID of the promotion code to create a new discount for.
|
|
1273
1123
|
*/
|
|
@@ -1300,10 +1150,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1300
1150
|
* Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
|
|
1301
1151
|
*/
|
|
1302
1152
|
billing_thresholds?: Emptyable<Item.BillingThresholds>;
|
|
1303
|
-
/**
|
|
1304
|
-
* The trial offer to apply to this subscription item.
|
|
1305
|
-
*/
|
|
1306
|
-
current_trial?: Item.CurrentTrial;
|
|
1307
1153
|
/**
|
|
1308
1154
|
* The coupons to redeem into discounts for the subscription item.
|
|
1309
1155
|
*/
|
|
@@ -1332,10 +1178,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1332
1178
|
* 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.
|
|
1333
1179
|
*/
|
|
1334
1180
|
tax_rates?: Emptyable<Array<string>>;
|
|
1335
|
-
/**
|
|
1336
|
-
* Define options to configure the trial on the subscription item.
|
|
1337
|
-
*/
|
|
1338
|
-
trial?: Item.Trial;
|
|
1339
1181
|
}
|
|
1340
1182
|
type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
|
|
1341
1183
|
interface PaymentSettings {
|
|
@@ -1362,17 +1204,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1362
1204
|
*/
|
|
1363
1205
|
interval_count?: number;
|
|
1364
1206
|
}
|
|
1365
|
-
|
|
1366
|
-
/**
|
|
1367
|
-
* This is used to determine the number of billing cycles to prebill.
|
|
1368
|
-
*/
|
|
1369
|
-
iterations: number;
|
|
1370
|
-
/**
|
|
1371
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
1372
|
-
*/
|
|
1373
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
1374
|
-
}
|
|
1375
|
-
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
|
|
1207
|
+
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
1376
1208
|
interface TransferData {
|
|
1377
1209
|
/**
|
|
1378
1210
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
|
@@ -1399,10 +1231,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1399
1231
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1400
1232
|
*/
|
|
1401
1233
|
discount?: string;
|
|
1402
|
-
/**
|
|
1403
|
-
* Details to determine how long the discount should be applied for.
|
|
1404
|
-
*/
|
|
1405
|
-
discount_end?: Discount.DiscountEnd;
|
|
1406
1234
|
/**
|
|
1407
1235
|
* ID of the promotion code to create a new discount for.
|
|
1408
1236
|
*/
|
|
@@ -1440,38 +1268,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1440
1268
|
*/
|
|
1441
1269
|
unit_amount_decimal?: Decimal;
|
|
1442
1270
|
}
|
|
1443
|
-
namespace Discount {
|
|
1444
|
-
interface DiscountEnd {
|
|
1445
|
-
/**
|
|
1446
|
-
* Time span for the redeemed discount.
|
|
1447
|
-
*/
|
|
1448
|
-
duration?: DiscountEnd.Duration;
|
|
1449
|
-
/**
|
|
1450
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1451
|
-
*/
|
|
1452
|
-
timestamp?: number;
|
|
1453
|
-
/**
|
|
1454
|
-
* The type of calculation made to determine when the discount ends.
|
|
1455
|
-
*/
|
|
1456
|
-
type: DiscountEnd.Type;
|
|
1457
|
-
}
|
|
1458
|
-
namespace DiscountEnd {
|
|
1459
|
-
interface Duration {
|
|
1460
|
-
/**
|
|
1461
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1462
|
-
*/
|
|
1463
|
-
interval: Duration.Interval;
|
|
1464
|
-
/**
|
|
1465
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1466
|
-
*/
|
|
1467
|
-
interval_count: number;
|
|
1468
|
-
}
|
|
1469
|
-
type Type = 'duration' | 'timestamp';
|
|
1470
|
-
namespace Duration {
|
|
1471
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
}
|
|
1475
1271
|
namespace Period {
|
|
1476
1272
|
interface End {
|
|
1477
1273
|
/**
|
|
@@ -1494,10 +1290,10 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1494
1290
|
type: Start.Type;
|
|
1495
1291
|
}
|
|
1496
1292
|
namespace End {
|
|
1497
|
-
type Type = 'min_item_period_end' | 'timestamp';
|
|
1293
|
+
type Type = 'min_item_period_end' | 'timestamp' | OtherString;
|
|
1498
1294
|
}
|
|
1499
1295
|
namespace Start {
|
|
1500
|
-
type Type = 'max_item_period_start' | 'now' | 'timestamp';
|
|
1296
|
+
type Type = 'max_item_period_start' | 'now' | 'timestamp' | OtherString;
|
|
1501
1297
|
}
|
|
1502
1298
|
}
|
|
1503
1299
|
namespace PriceData {
|
|
@@ -1516,7 +1312,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1516
1312
|
type: Liability.Type;
|
|
1517
1313
|
}
|
|
1518
1314
|
namespace Liability {
|
|
1519
|
-
type Type = 'account' | 'self';
|
|
1315
|
+
type Type = 'account' | 'self' | OtherString;
|
|
1520
1316
|
}
|
|
1521
1317
|
}
|
|
1522
1318
|
namespace BillingMode {
|
|
@@ -1526,7 +1322,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1526
1322
|
*/
|
|
1527
1323
|
proration_discounts?: Flexible.ProrationDiscounts;
|
|
1528
1324
|
}
|
|
1529
|
-
type Type = 'classic' | 'flexible';
|
|
1325
|
+
type Type = 'classic' | 'flexible' | OtherString;
|
|
1530
1326
|
namespace Flexible {
|
|
1531
1327
|
type ProrationDiscounts = 'included' | 'itemized';
|
|
1532
1328
|
}
|
|
@@ -1567,39 +1363,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1567
1363
|
*/
|
|
1568
1364
|
interval_count?: number;
|
|
1569
1365
|
}
|
|
1570
|
-
type Type = 'duration' | 'timestamp';
|
|
1571
|
-
namespace Duration {
|
|
1572
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
namespace Discount {
|
|
1577
|
-
interface DiscountEnd {
|
|
1578
|
-
/**
|
|
1579
|
-
* Time span for the redeemed discount.
|
|
1580
|
-
*/
|
|
1581
|
-
duration?: DiscountEnd.Duration;
|
|
1582
|
-
/**
|
|
1583
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1584
|
-
*/
|
|
1585
|
-
timestamp?: number;
|
|
1586
|
-
/**
|
|
1587
|
-
* The type of calculation made to determine when the discount ends.
|
|
1588
|
-
*/
|
|
1589
|
-
type: DiscountEnd.Type;
|
|
1590
|
-
}
|
|
1591
|
-
namespace DiscountEnd {
|
|
1592
|
-
interface Duration {
|
|
1593
|
-
/**
|
|
1594
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1595
|
-
*/
|
|
1596
|
-
interval: Duration.Interval;
|
|
1597
|
-
/**
|
|
1598
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1599
|
-
*/
|
|
1600
|
-
interval_count: number;
|
|
1601
|
-
}
|
|
1602
|
-
type Type = 'duration' | 'timestamp';
|
|
1366
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1603
1367
|
namespace Duration {
|
|
1604
1368
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1605
1369
|
}
|
|
@@ -1627,7 +1391,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1627
1391
|
type: Issuer.Type;
|
|
1628
1392
|
}
|
|
1629
1393
|
namespace Issuer {
|
|
1630
|
-
type Type = 'account' | 'self';
|
|
1394
|
+
type Type = 'account' | 'self' | OtherString;
|
|
1631
1395
|
}
|
|
1632
1396
|
}
|
|
1633
1397
|
namespace Item {
|
|
@@ -1637,16 +1401,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1637
1401
|
*/
|
|
1638
1402
|
usage_gte: number;
|
|
1639
1403
|
}
|
|
1640
|
-
interface CurrentTrial {
|
|
1641
|
-
/**
|
|
1642
|
-
* 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`.
|
|
1643
|
-
*/
|
|
1644
|
-
trial_end?: number;
|
|
1645
|
-
/**
|
|
1646
|
-
* The ID of the trial offer to apply to the subscription item.
|
|
1647
|
-
*/
|
|
1648
|
-
trial_offer: string;
|
|
1649
|
-
}
|
|
1650
1404
|
interface Discount {
|
|
1651
1405
|
/**
|
|
1652
1406
|
* ID of the coupon to create a new discount for.
|
|
@@ -1656,10 +1410,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1656
1410
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1657
1411
|
*/
|
|
1658
1412
|
discount?: string;
|
|
1659
|
-
/**
|
|
1660
|
-
* Details to determine how long the discount should be applied for.
|
|
1661
|
-
*/
|
|
1662
|
-
discount_end?: Discount.DiscountEnd;
|
|
1663
1413
|
/**
|
|
1664
1414
|
* ID of the promotion code to create a new discount for.
|
|
1665
1415
|
*/
|
|
@@ -1691,48 +1441,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1691
1441
|
*/
|
|
1692
1442
|
unit_amount_decimal?: Decimal;
|
|
1693
1443
|
}
|
|
1694
|
-
interface Trial {
|
|
1695
|
-
/**
|
|
1696
|
-
* 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.
|
|
1697
|
-
*/
|
|
1698
|
-
converts_to?: Array<string>;
|
|
1699
|
-
/**
|
|
1700
|
-
* Determines the type of trial for this item.
|
|
1701
|
-
*/
|
|
1702
|
-
type: Trial.Type;
|
|
1703
|
-
}
|
|
1704
|
-
namespace Discount {
|
|
1705
|
-
interface DiscountEnd {
|
|
1706
|
-
/**
|
|
1707
|
-
* Time span for the redeemed discount.
|
|
1708
|
-
*/
|
|
1709
|
-
duration?: DiscountEnd.Duration;
|
|
1710
|
-
/**
|
|
1711
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1712
|
-
*/
|
|
1713
|
-
timestamp?: number;
|
|
1714
|
-
/**
|
|
1715
|
-
* The type of calculation made to determine when the discount ends.
|
|
1716
|
-
*/
|
|
1717
|
-
type: DiscountEnd.Type;
|
|
1718
|
-
}
|
|
1719
|
-
namespace DiscountEnd {
|
|
1720
|
-
interface Duration {
|
|
1721
|
-
/**
|
|
1722
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1723
|
-
*/
|
|
1724
|
-
interval: Duration.Interval;
|
|
1725
|
-
/**
|
|
1726
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1727
|
-
*/
|
|
1728
|
-
interval_count: number;
|
|
1729
|
-
}
|
|
1730
|
-
type Type = 'duration' | 'timestamp';
|
|
1731
|
-
namespace Duration {
|
|
1732
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1733
|
-
}
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
1444
|
namespace PriceData {
|
|
1737
1445
|
interface Recurring {
|
|
1738
1446
|
/**
|
|
@@ -1749,9 +1457,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1749
1457
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1750
1458
|
}
|
|
1751
1459
|
}
|
|
1752
|
-
namespace Trial {
|
|
1753
|
-
type Type = 'free' | 'paid';
|
|
1754
|
-
}
|
|
1755
1460
|
}
|
|
1756
1461
|
namespace PaymentSettings {
|
|
1757
1462
|
interface PaymentMethodOptions {
|
|
@@ -1763,10 +1468,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1763
1468
|
* This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
|
|
1764
1469
|
*/
|
|
1765
1470
|
bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
|
|
1766
|
-
/**
|
|
1767
|
-
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
1768
|
-
*/
|
|
1769
|
-
blik?: Emptyable<PaymentMethodOptions.Blik>;
|
|
1770
1471
|
/**
|
|
1771
1472
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
1772
1473
|
*/
|
|
@@ -1775,10 +1476,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1775
1476
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1776
1477
|
*/
|
|
1777
1478
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
1778
|
-
/**
|
|
1779
|
-
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1780
|
-
*/
|
|
1781
|
-
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
1782
1479
|
/**
|
|
1783
1480
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
1784
1481
|
*/
|
|
@@ -1804,8 +1501,8 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1804
1501
|
*/
|
|
1805
1502
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
1806
1503
|
}
|
|
1807
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | '
|
|
1808
|
-
type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
|
|
1504
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | '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' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
1505
|
+
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
1809
1506
|
namespace PaymentMethodOptions {
|
|
1810
1507
|
interface AcssDebit {
|
|
1811
1508
|
/**
|
|
@@ -1823,12 +1520,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1823
1520
|
*/
|
|
1824
1521
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
1825
1522
|
}
|
|
1826
|
-
interface Blik {
|
|
1827
|
-
/**
|
|
1828
|
-
* Configuration options for setting up a mandate
|
|
1829
|
-
*/
|
|
1830
|
-
mandate_options?: Blik.MandateOptions;
|
|
1831
|
-
}
|
|
1832
1523
|
interface Card {
|
|
1833
1524
|
/**
|
|
1834
1525
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -1853,8 +1544,6 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1853
1544
|
*/
|
|
1854
1545
|
funding_type?: string;
|
|
1855
1546
|
}
|
|
1856
|
-
interface IdBankTransfer {
|
|
1857
|
-
}
|
|
1858
1547
|
interface Konbini {
|
|
1859
1548
|
}
|
|
1860
1549
|
interface Payto {
|
|
@@ -1898,21 +1587,13 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1898
1587
|
*/
|
|
1899
1588
|
transaction_type?: MandateOptions.TransactionType;
|
|
1900
1589
|
}
|
|
1901
|
-
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
1590
|
+
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
|
|
1902
1591
|
namespace MandateOptions {
|
|
1903
|
-
type TransactionType = 'business' | 'personal';
|
|
1592
|
+
type TransactionType = 'business' | 'personal' | OtherString;
|
|
1904
1593
|
}
|
|
1905
1594
|
}
|
|
1906
1595
|
namespace Bancontact {
|
|
1907
|
-
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
1908
|
-
}
|
|
1909
|
-
namespace Blik {
|
|
1910
|
-
interface MandateOptions {
|
|
1911
|
-
/**
|
|
1912
|
-
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
1913
|
-
*/
|
|
1914
|
-
expires_after?: number;
|
|
1915
|
-
}
|
|
1596
|
+
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
1916
1597
|
}
|
|
1917
1598
|
namespace Card {
|
|
1918
1599
|
interface MandateOptions {
|
|
@@ -1930,9 +1611,9 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1930
1611
|
description?: string;
|
|
1931
1612
|
}
|
|
1932
1613
|
type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa';
|
|
1933
|
-
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
1614
|
+
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
|
|
1934
1615
|
namespace MandateOptions {
|
|
1935
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1616
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
1936
1617
|
}
|
|
1937
1618
|
}
|
|
1938
1619
|
namespace CustomerBalance {
|
|
@@ -1967,7 +1648,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1967
1648
|
purpose?: MandateOptions.Purpose;
|
|
1968
1649
|
}
|
|
1969
1650
|
namespace MandateOptions {
|
|
1970
|
-
type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility';
|
|
1651
|
+
type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility' | OtherString;
|
|
1971
1652
|
}
|
|
1972
1653
|
}
|
|
1973
1654
|
namespace Pix {
|
|
@@ -1990,8 +1671,8 @@ export declare namespace SubscriptionCreateParams {
|
|
|
1990
1671
|
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
1991
1672
|
}
|
|
1992
1673
|
namespace MandateOptions {
|
|
1993
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
1994
|
-
type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly';
|
|
1674
|
+
type AmountIncludesIof = 'always' | 'never' | OtherString;
|
|
1675
|
+
type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly' | OtherString;
|
|
1995
1676
|
}
|
|
1996
1677
|
}
|
|
1997
1678
|
namespace Upi {
|
|
@@ -2014,7 +1695,7 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2014
1695
|
end_date?: number;
|
|
2015
1696
|
}
|
|
2016
1697
|
namespace MandateOptions {
|
|
2017
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1698
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
2018
1699
|
}
|
|
2019
1700
|
}
|
|
2020
1701
|
namespace UsBankAccount {
|
|
@@ -2032,22 +1713,18 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2032
1713
|
*/
|
|
2033
1714
|
prefetch?: Array<FinancialConnections.Prefetch>;
|
|
2034
1715
|
}
|
|
2035
|
-
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
1716
|
+
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
|
|
2036
1717
|
namespace FinancialConnections {
|
|
2037
1718
|
interface Filters {
|
|
2038
1719
|
/**
|
|
2039
1720
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2040
1721
|
*/
|
|
2041
1722
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2042
|
-
/**
|
|
2043
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
2044
|
-
*/
|
|
2045
|
-
institution?: string;
|
|
2046
1723
|
}
|
|
2047
1724
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
2048
|
-
type Prefetch = 'balances' | '
|
|
1725
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2049
1726
|
namespace Filters {
|
|
2050
|
-
type AccountSubcategory = 'checking' | 'savings';
|
|
1727
|
+
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2051
1728
|
}
|
|
2052
1729
|
}
|
|
2053
1730
|
}
|
|
@@ -2056,23 +1733,15 @@ export declare namespace SubscriptionCreateParams {
|
|
|
2056
1733
|
namespace PendingInvoiceItemInterval {
|
|
2057
1734
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2058
1735
|
}
|
|
2059
|
-
namespace Prebilling {
|
|
2060
|
-
type UpdateBehavior = 'prebill' | 'reset';
|
|
2061
|
-
}
|
|
2062
1736
|
namespace TrialSettings {
|
|
2063
1737
|
interface EndBehavior {
|
|
2064
|
-
/**
|
|
2065
|
-
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
2066
|
-
*/
|
|
2067
|
-
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
2068
1738
|
/**
|
|
2069
1739
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
2070
1740
|
*/
|
|
2071
1741
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
2072
1742
|
}
|
|
2073
1743
|
namespace EndBehavior {
|
|
2074
|
-
type
|
|
2075
|
-
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
|
|
1744
|
+
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
2076
1745
|
}
|
|
2077
1746
|
}
|
|
2078
1747
|
}
|
|
@@ -2112,7 +1781,7 @@ export interface SubscriptionUpdateParams {
|
|
|
2112
1781
|
*/
|
|
2113
1782
|
cancel_at?: Emptyable<number | SubscriptionUpdateParams.CancelAt>;
|
|
2114
1783
|
/**
|
|
2115
|
-
* Indicate whether this subscription should cancel at the end of the current period (`current_period_end`).
|
|
1784
|
+
* Indicate whether this subscription should cancel at the end of the current period (`current_period_end`).
|
|
2116
1785
|
*/
|
|
2117
1786
|
cancel_at_period_end?: boolean;
|
|
2118
1787
|
/**
|
|
@@ -2187,10 +1856,6 @@ export interface SubscriptionUpdateParams {
|
|
|
2187
1856
|
* 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.
|
|
2188
1857
|
*/
|
|
2189
1858
|
pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
|
|
2190
|
-
/**
|
|
2191
|
-
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
2192
|
-
*/
|
|
2193
|
-
prebilling?: SubscriptionUpdateParams.Prebilling;
|
|
2194
1859
|
/**
|
|
2195
1860
|
* 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`.
|
|
2196
1861
|
*/
|
|
@@ -2286,7 +1951,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2286
1951
|
*/
|
|
2287
1952
|
reset_billing_cycle_anchor?: boolean;
|
|
2288
1953
|
}
|
|
2289
|
-
type CancelAt = 'max_billed_until' | 'max_period_end' | 'min_period_end';
|
|
1954
|
+
type CancelAt = 'max_billed_until' | 'max_period_end' | 'min_period_end' | OtherString;
|
|
2290
1955
|
interface CancellationDetails {
|
|
2291
1956
|
/**
|
|
2292
1957
|
* Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
|
|
@@ -2307,10 +1972,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2307
1972
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2308
1973
|
*/
|
|
2309
1974
|
discount?: string;
|
|
2310
|
-
/**
|
|
2311
|
-
* Details to determine how long the discount should be applied for.
|
|
2312
|
-
*/
|
|
2313
|
-
discount_end?: Discount.DiscountEnd;
|
|
2314
1975
|
/**
|
|
2315
1976
|
* ID of the promotion code to create a new discount for.
|
|
2316
1977
|
*/
|
|
@@ -2347,10 +2008,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2347
2008
|
* Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
|
|
2348
2009
|
*/
|
|
2349
2010
|
clear_usage?: boolean;
|
|
2350
|
-
/**
|
|
2351
|
-
* The trial offer to apply to this subscription item.
|
|
2352
|
-
*/
|
|
2353
|
-
current_trial?: Item.CurrentTrial;
|
|
2354
2011
|
/**
|
|
2355
2012
|
* A flag that, if set to `true`, will delete the specified item.
|
|
2356
2013
|
*/
|
|
@@ -2423,17 +2080,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2423
2080
|
*/
|
|
2424
2081
|
interval_count?: number;
|
|
2425
2082
|
}
|
|
2426
|
-
|
|
2427
|
-
/**
|
|
2428
|
-
* This is used to determine the number of billing cycles to prebill.
|
|
2429
|
-
*/
|
|
2430
|
-
iterations: number;
|
|
2431
|
-
/**
|
|
2432
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
2433
|
-
*/
|
|
2434
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
2435
|
-
}
|
|
2436
|
-
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
|
|
2083
|
+
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2437
2084
|
interface TransferData {
|
|
2438
2085
|
/**
|
|
2439
2086
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
|
@@ -2460,10 +2107,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2460
2107
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2461
2108
|
*/
|
|
2462
2109
|
discount?: string;
|
|
2463
|
-
/**
|
|
2464
|
-
* Details to determine how long the discount should be applied for.
|
|
2465
|
-
*/
|
|
2466
|
-
discount_end?: Discount.DiscountEnd;
|
|
2467
2110
|
/**
|
|
2468
2111
|
* ID of the promotion code to create a new discount for.
|
|
2469
2112
|
*/
|
|
@@ -2501,38 +2144,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2501
2144
|
*/
|
|
2502
2145
|
unit_amount_decimal?: Decimal;
|
|
2503
2146
|
}
|
|
2504
|
-
namespace Discount {
|
|
2505
|
-
interface DiscountEnd {
|
|
2506
|
-
/**
|
|
2507
|
-
* Time span for the redeemed discount.
|
|
2508
|
-
*/
|
|
2509
|
-
duration?: DiscountEnd.Duration;
|
|
2510
|
-
/**
|
|
2511
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2512
|
-
*/
|
|
2513
|
-
timestamp?: number;
|
|
2514
|
-
/**
|
|
2515
|
-
* The type of calculation made to determine when the discount ends.
|
|
2516
|
-
*/
|
|
2517
|
-
type: DiscountEnd.Type;
|
|
2518
|
-
}
|
|
2519
|
-
namespace DiscountEnd {
|
|
2520
|
-
interface Duration {
|
|
2521
|
-
/**
|
|
2522
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2523
|
-
*/
|
|
2524
|
-
interval: Duration.Interval;
|
|
2525
|
-
/**
|
|
2526
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2527
|
-
*/
|
|
2528
|
-
interval_count: number;
|
|
2529
|
-
}
|
|
2530
|
-
type Type = 'duration' | 'timestamp';
|
|
2531
|
-
namespace Duration {
|
|
2532
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2533
|
-
}
|
|
2534
|
-
}
|
|
2535
|
-
}
|
|
2536
2147
|
namespace Period {
|
|
2537
2148
|
interface End {
|
|
2538
2149
|
/**
|
|
@@ -2555,10 +2166,10 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2555
2166
|
type: Start.Type;
|
|
2556
2167
|
}
|
|
2557
2168
|
namespace End {
|
|
2558
|
-
type Type = 'min_item_period_end' | 'timestamp';
|
|
2169
|
+
type Type = 'min_item_period_end' | 'timestamp' | OtherString;
|
|
2559
2170
|
}
|
|
2560
2171
|
namespace Start {
|
|
2561
|
-
type Type = 'max_item_period_start' | 'now' | 'timestamp';
|
|
2172
|
+
type Type = 'max_item_period_start' | 'now' | 'timestamp' | OtherString;
|
|
2562
2173
|
}
|
|
2563
2174
|
}
|
|
2564
2175
|
namespace PriceData {
|
|
@@ -2577,7 +2188,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2577
2188
|
type: Liability.Type;
|
|
2578
2189
|
}
|
|
2579
2190
|
namespace Liability {
|
|
2580
|
-
type Type = 'account' | 'self';
|
|
2191
|
+
type Type = 'account' | 'self' | OtherString;
|
|
2581
2192
|
}
|
|
2582
2193
|
}
|
|
2583
2194
|
namespace BillingSchedule {
|
|
@@ -2616,46 +2227,14 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2616
2227
|
*/
|
|
2617
2228
|
interval_count?: number;
|
|
2618
2229
|
}
|
|
2619
|
-
type Type = 'duration' | 'timestamp';
|
|
2230
|
+
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2620
2231
|
namespace Duration {
|
|
2621
2232
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2622
2233
|
}
|
|
2623
2234
|
}
|
|
2624
2235
|
}
|
|
2625
2236
|
namespace CancellationDetails {
|
|
2626
|
-
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
|
|
2627
|
-
}
|
|
2628
|
-
namespace Discount {
|
|
2629
|
-
interface DiscountEnd {
|
|
2630
|
-
/**
|
|
2631
|
-
* Time span for the redeemed discount.
|
|
2632
|
-
*/
|
|
2633
|
-
duration?: DiscountEnd.Duration;
|
|
2634
|
-
/**
|
|
2635
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2636
|
-
*/
|
|
2637
|
-
timestamp?: number;
|
|
2638
|
-
/**
|
|
2639
|
-
* The type of calculation made to determine when the discount ends.
|
|
2640
|
-
*/
|
|
2641
|
-
type: DiscountEnd.Type;
|
|
2642
|
-
}
|
|
2643
|
-
namespace DiscountEnd {
|
|
2644
|
-
interface Duration {
|
|
2645
|
-
/**
|
|
2646
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2647
|
-
*/
|
|
2648
|
-
interval: Duration.Interval;
|
|
2649
|
-
/**
|
|
2650
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2651
|
-
*/
|
|
2652
|
-
interval_count: number;
|
|
2653
|
-
}
|
|
2654
|
-
type Type = 'duration' | 'timestamp';
|
|
2655
|
-
namespace Duration {
|
|
2656
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2657
|
-
}
|
|
2658
|
-
}
|
|
2237
|
+
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused' | OtherString;
|
|
2659
2238
|
}
|
|
2660
2239
|
namespace InvoiceSettings {
|
|
2661
2240
|
interface CustomField {
|
|
@@ -2679,7 +2258,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2679
2258
|
type: Issuer.Type;
|
|
2680
2259
|
}
|
|
2681
2260
|
namespace Issuer {
|
|
2682
|
-
type Type = 'account' | 'self';
|
|
2261
|
+
type Type = 'account' | 'self' | OtherString;
|
|
2683
2262
|
}
|
|
2684
2263
|
}
|
|
2685
2264
|
namespace Item {
|
|
@@ -2689,16 +2268,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2689
2268
|
*/
|
|
2690
2269
|
usage_gte: number;
|
|
2691
2270
|
}
|
|
2692
|
-
interface CurrentTrial {
|
|
2693
|
-
/**
|
|
2694
|
-
* 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`.
|
|
2695
|
-
*/
|
|
2696
|
-
trial_end?: number;
|
|
2697
|
-
/**
|
|
2698
|
-
* The ID of the trial offer to apply to the subscription item.
|
|
2699
|
-
*/
|
|
2700
|
-
trial_offer: string;
|
|
2701
|
-
}
|
|
2702
2271
|
interface Discount {
|
|
2703
2272
|
/**
|
|
2704
2273
|
* ID of the coupon to create a new discount for.
|
|
@@ -2708,10 +2277,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2708
2277
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2709
2278
|
*/
|
|
2710
2279
|
discount?: string;
|
|
2711
|
-
/**
|
|
2712
|
-
* Details to determine how long the discount should be applied for.
|
|
2713
|
-
*/
|
|
2714
|
-
discount_end?: Discount.DiscountEnd;
|
|
2715
2280
|
/**
|
|
2716
2281
|
* ID of the promotion code to create a new discount for.
|
|
2717
2282
|
*/
|
|
@@ -2743,38 +2308,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2743
2308
|
*/
|
|
2744
2309
|
unit_amount_decimal?: Decimal;
|
|
2745
2310
|
}
|
|
2746
|
-
namespace Discount {
|
|
2747
|
-
interface DiscountEnd {
|
|
2748
|
-
/**
|
|
2749
|
-
* Time span for the redeemed discount.
|
|
2750
|
-
*/
|
|
2751
|
-
duration?: DiscountEnd.Duration;
|
|
2752
|
-
/**
|
|
2753
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2754
|
-
*/
|
|
2755
|
-
timestamp?: number;
|
|
2756
|
-
/**
|
|
2757
|
-
* The type of calculation made to determine when the discount ends.
|
|
2758
|
-
*/
|
|
2759
|
-
type: DiscountEnd.Type;
|
|
2760
|
-
}
|
|
2761
|
-
namespace DiscountEnd {
|
|
2762
|
-
interface Duration {
|
|
2763
|
-
/**
|
|
2764
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2765
|
-
*/
|
|
2766
|
-
interval: Duration.Interval;
|
|
2767
|
-
/**
|
|
2768
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2769
|
-
*/
|
|
2770
|
-
interval_count: number;
|
|
2771
|
-
}
|
|
2772
|
-
type Type = 'duration' | 'timestamp';
|
|
2773
|
-
namespace Duration {
|
|
2774
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2775
|
-
}
|
|
2776
|
-
}
|
|
2777
|
-
}
|
|
2778
2311
|
namespace PriceData {
|
|
2779
2312
|
interface Recurring {
|
|
2780
2313
|
/**
|
|
@@ -2805,10 +2338,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2805
2338
|
* This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
|
|
2806
2339
|
*/
|
|
2807
2340
|
bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
|
|
2808
|
-
/**
|
|
2809
|
-
* This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
2810
|
-
*/
|
|
2811
|
-
blik?: Emptyable<PaymentMethodOptions.Blik>;
|
|
2812
2341
|
/**
|
|
2813
2342
|
* This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
2814
2343
|
*/
|
|
@@ -2817,10 +2346,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2817
2346
|
* This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2818
2347
|
*/
|
|
2819
2348
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
2820
|
-
/**
|
|
2821
|
-
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2822
|
-
*/
|
|
2823
|
-
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
2824
2349
|
/**
|
|
2825
2350
|
* This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
2826
2351
|
*/
|
|
@@ -2846,8 +2371,8 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2846
2371
|
*/
|
|
2847
2372
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
2848
2373
|
}
|
|
2849
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | '
|
|
2850
|
-
type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
|
|
2374
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | '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' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
|
|
2375
|
+
type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
|
|
2851
2376
|
namespace PaymentMethodOptions {
|
|
2852
2377
|
interface AcssDebit {
|
|
2853
2378
|
/**
|
|
@@ -2865,12 +2390,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2865
2390
|
*/
|
|
2866
2391
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
2867
2392
|
}
|
|
2868
|
-
interface Blik {
|
|
2869
|
-
/**
|
|
2870
|
-
* Configuration options for setting up a mandate
|
|
2871
|
-
*/
|
|
2872
|
-
mandate_options?: Blik.MandateOptions;
|
|
2873
|
-
}
|
|
2874
2393
|
interface Card {
|
|
2875
2394
|
/**
|
|
2876
2395
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -2895,8 +2414,6 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2895
2414
|
*/
|
|
2896
2415
|
funding_type?: string;
|
|
2897
2416
|
}
|
|
2898
|
-
interface IdBankTransfer {
|
|
2899
|
-
}
|
|
2900
2417
|
interface Konbini {
|
|
2901
2418
|
}
|
|
2902
2419
|
interface Payto {
|
|
@@ -2940,21 +2457,13 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2940
2457
|
*/
|
|
2941
2458
|
transaction_type?: MandateOptions.TransactionType;
|
|
2942
2459
|
}
|
|
2943
|
-
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
2460
|
+
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
|
|
2944
2461
|
namespace MandateOptions {
|
|
2945
|
-
type TransactionType = 'business' | 'personal';
|
|
2462
|
+
type TransactionType = 'business' | 'personal' | OtherString;
|
|
2946
2463
|
}
|
|
2947
2464
|
}
|
|
2948
2465
|
namespace Bancontact {
|
|
2949
|
-
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
2950
|
-
}
|
|
2951
|
-
namespace Blik {
|
|
2952
|
-
interface MandateOptions {
|
|
2953
|
-
/**
|
|
2954
|
-
* Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
2955
|
-
*/
|
|
2956
|
-
expires_after?: number;
|
|
2957
|
-
}
|
|
2466
|
+
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
2958
2467
|
}
|
|
2959
2468
|
namespace Card {
|
|
2960
2469
|
interface MandateOptions {
|
|
@@ -2972,9 +2481,9 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
2972
2481
|
description?: string;
|
|
2973
2482
|
}
|
|
2974
2483
|
type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa';
|
|
2975
|
-
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
2484
|
+
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
|
|
2976
2485
|
namespace MandateOptions {
|
|
2977
|
-
type AmountType = 'fixed' | 'maximum';
|
|
2486
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
2978
2487
|
}
|
|
2979
2488
|
}
|
|
2980
2489
|
namespace CustomerBalance {
|
|
@@ -3009,7 +2518,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
3009
2518
|
purpose?: MandateOptions.Purpose;
|
|
3010
2519
|
}
|
|
3011
2520
|
namespace MandateOptions {
|
|
3012
|
-
type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility';
|
|
2521
|
+
type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility' | OtherString;
|
|
3013
2522
|
}
|
|
3014
2523
|
}
|
|
3015
2524
|
namespace Pix {
|
|
@@ -3032,8 +2541,8 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
3032
2541
|
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
3033
2542
|
}
|
|
3034
2543
|
namespace MandateOptions {
|
|
3035
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
3036
|
-
type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly';
|
|
2544
|
+
type AmountIncludesIof = 'always' | 'never' | OtherString;
|
|
2545
|
+
type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly' | OtherString;
|
|
3037
2546
|
}
|
|
3038
2547
|
}
|
|
3039
2548
|
namespace Upi {
|
|
@@ -3056,7 +2565,7 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
3056
2565
|
end_date?: number;
|
|
3057
2566
|
}
|
|
3058
2567
|
namespace MandateOptions {
|
|
3059
|
-
type AmountType = 'fixed' | 'maximum';
|
|
2568
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
3060
2569
|
}
|
|
3061
2570
|
}
|
|
3062
2571
|
namespace UsBankAccount {
|
|
@@ -3074,22 +2583,18 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
3074
2583
|
*/
|
|
3075
2584
|
prefetch?: Array<FinancialConnections.Prefetch>;
|
|
3076
2585
|
}
|
|
3077
|
-
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
2586
|
+
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
|
|
3078
2587
|
namespace FinancialConnections {
|
|
3079
2588
|
interface Filters {
|
|
3080
2589
|
/**
|
|
3081
2590
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3082
2591
|
*/
|
|
3083
2592
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3084
|
-
/**
|
|
3085
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
3086
|
-
*/
|
|
3087
|
-
institution?: string;
|
|
3088
2593
|
}
|
|
3089
2594
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
3090
|
-
type Prefetch = 'balances' | '
|
|
2595
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
3091
2596
|
namespace Filters {
|
|
3092
|
-
type AccountSubcategory = 'checking' | 'savings';
|
|
2597
|
+
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
3093
2598
|
}
|
|
3094
2599
|
}
|
|
3095
2600
|
}
|
|
@@ -3098,23 +2603,15 @@ export declare namespace SubscriptionUpdateParams {
|
|
|
3098
2603
|
namespace PendingInvoiceItemInterval {
|
|
3099
2604
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
3100
2605
|
}
|
|
3101
|
-
namespace Prebilling {
|
|
3102
|
-
type UpdateBehavior = 'prebill' | 'reset';
|
|
3103
|
-
}
|
|
3104
2606
|
namespace TrialSettings {
|
|
3105
2607
|
interface EndBehavior {
|
|
3106
|
-
/**
|
|
3107
|
-
* Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
3108
|
-
*/
|
|
3109
|
-
billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
|
|
3110
2608
|
/**
|
|
3111
2609
|
* Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
3112
2610
|
*/
|
|
3113
2611
|
missing_payment_method: EndBehavior.MissingPaymentMethod;
|
|
3114
2612
|
}
|
|
3115
2613
|
namespace EndBehavior {
|
|
3116
|
-
type
|
|
3117
|
-
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
|
|
2614
|
+
type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
|
|
3118
2615
|
}
|
|
3119
2616
|
}
|
|
3120
2617
|
}
|
|
@@ -3176,7 +2673,7 @@ export declare namespace SubscriptionListParams {
|
|
|
3176
2673
|
enabled: boolean;
|
|
3177
2674
|
}
|
|
3178
2675
|
type CollectionMethod = 'charge_automatically' | 'send_invoice';
|
|
3179
|
-
type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
|
|
2676
|
+
type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
|
|
3180
2677
|
}
|
|
3181
2678
|
export interface SubscriptionCancelParams {
|
|
3182
2679
|
/**
|
|
@@ -3208,7 +2705,7 @@ export declare namespace SubscriptionCancelParams {
|
|
|
3208
2705
|
feedback?: Emptyable<CancellationDetails.Feedback>;
|
|
3209
2706
|
}
|
|
3210
2707
|
namespace CancellationDetails {
|
|
3211
|
-
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
|
|
2708
|
+
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused' | OtherString;
|
|
3212
2709
|
}
|
|
3213
2710
|
}
|
|
3214
2711
|
export interface SubscriptionDeleteDiscountParams {
|
|
@@ -3246,57 +2743,6 @@ export declare namespace SubscriptionMigrateParams {
|
|
|
3246
2743
|
}
|
|
3247
2744
|
}
|
|
3248
2745
|
}
|
|
3249
|
-
export interface SubscriptionPauseParams {
|
|
3250
|
-
/**
|
|
3251
|
-
* Controls what to bill for when pausing the subscription.
|
|
3252
|
-
*/
|
|
3253
|
-
bill_for?: SubscriptionPauseParams.BillFor;
|
|
3254
|
-
/**
|
|
3255
|
-
* Specifies which fields in the response should be expanded.
|
|
3256
|
-
*/
|
|
3257
|
-
expand?: Array<string>;
|
|
3258
|
-
/**
|
|
3259
|
-
* Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`.
|
|
3260
|
-
*/
|
|
3261
|
-
invoicing_behavior?: SubscriptionPauseParams.InvoicingBehavior;
|
|
3262
|
-
/**
|
|
3263
|
-
* The type of pause to apply. Defaults to `subscription`.
|
|
3264
|
-
*/
|
|
3265
|
-
type?: 'subscription';
|
|
3266
|
-
}
|
|
3267
|
-
export declare namespace SubscriptionPauseParams {
|
|
3268
|
-
interface BillFor {
|
|
3269
|
-
/**
|
|
3270
|
-
* Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
|
|
3271
|
-
*/
|
|
3272
|
-
outstanding_usage_through?: BillFor.OutstandingUsageThrough;
|
|
3273
|
-
/**
|
|
3274
|
-
* Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
|
|
3275
|
-
*/
|
|
3276
|
-
unused_time_from?: BillFor.UnusedTimeFrom;
|
|
3277
|
-
}
|
|
3278
|
-
type InvoicingBehavior = 'invoice' | 'pending_invoice_item';
|
|
3279
|
-
namespace BillFor {
|
|
3280
|
-
interface OutstandingUsageThrough {
|
|
3281
|
-
/**
|
|
3282
|
-
* When to bill metered usage in the current period.
|
|
3283
|
-
*/
|
|
3284
|
-
type: OutstandingUsageThrough.Type;
|
|
3285
|
-
}
|
|
3286
|
-
interface UnusedTimeFrom {
|
|
3287
|
-
/**
|
|
3288
|
-
* When to credit for unused time.
|
|
3289
|
-
*/
|
|
3290
|
-
type: UnusedTimeFrom.Type;
|
|
3291
|
-
}
|
|
3292
|
-
namespace OutstandingUsageThrough {
|
|
3293
|
-
type Type = 'none' | 'now';
|
|
3294
|
-
}
|
|
3295
|
-
namespace UnusedTimeFrom {
|
|
3296
|
-
type Type = 'item_current_period_start' | 'none' | 'now';
|
|
3297
|
-
}
|
|
3298
|
-
}
|
|
3299
|
-
}
|
|
3300
2746
|
export interface SubscriptionResumeParams {
|
|
3301
2747
|
/**
|
|
3302
2748
|
* The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
|
|
@@ -3306,10 +2752,6 @@ export interface SubscriptionResumeParams {
|
|
|
3306
2752
|
* Specifies which fields in the response should be expanded.
|
|
3307
2753
|
*/
|
|
3308
2754
|
expand?: Array<string>;
|
|
3309
|
-
/**
|
|
3310
|
-
* Controls whether Stripe attempts payment on the resumption invoice in the resume request, and how payment on that invoice affects the subscription's status. The default is `resume_on_payment_attempt`.
|
|
3311
|
-
*/
|
|
3312
|
-
payment_behavior?: SubscriptionResumeParams.PaymentBehavior;
|
|
3313
2755
|
/**
|
|
3314
2756
|
* Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor` being `unchanged`. When the `billing_cycle_anchor` is set to `now` (default value), no prorations are generated. If no value is passed, the default is `create_prorations`.
|
|
3315
2757
|
*/
|
|
@@ -3320,9 +2762,8 @@ export interface SubscriptionResumeParams {
|
|
|
3320
2762
|
proration_date?: number;
|
|
3321
2763
|
}
|
|
3322
2764
|
export declare namespace SubscriptionResumeParams {
|
|
3323
|
-
type BillingCycleAnchor = 'now' | 'unchanged';
|
|
3324
|
-
type
|
|
3325
|
-
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
|
|
2765
|
+
type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
|
|
2766
|
+
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
3326
2767
|
}
|
|
3327
2768
|
export interface SubscriptionSearchParams {
|
|
3328
2769
|
/**
|
|
@@ -3342,9 +2783,3 @@ export interface SubscriptionSearchParams {
|
|
|
3342
2783
|
*/
|
|
3343
2784
|
page?: string;
|
|
3344
2785
|
}
|
|
3345
|
-
export interface SubscriptionSerializeBatchCancelParams {
|
|
3346
|
-
}
|
|
3347
|
-
export interface SubscriptionSerializeBatchMigrateParams {
|
|
3348
|
-
}
|
|
3349
|
-
export interface SubscriptionSerializeBatchUpdateParams {
|
|
3350
|
-
}
|