stripe 19.4.0-alpha.2 → 20.0.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 +38 -1720
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +1 -115
- package/cjs/apiVersion.js +3 -2
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Mandates.js +0 -5
- package/cjs/resources/PaymentIntents.js +0 -8
- package/cjs/resources/PaymentMethods.js +0 -4
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Subscriptions.js +0 -4
- package/cjs/resources.js +8 -148
- package/cjs/stripe.core.js +1 -1
- package/cjs/utils.js +2 -1
- package/esm/Error.js +0 -100
- package/esm/apiVersion.js +2 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Mandates.js +0 -5
- package/esm/resources/PaymentIntents.js +0 -8
- package/esm/resources/PaymentMethods.js +0 -4
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Subscriptions.js +0 -4
- package/esm/resources.js +0 -135
- package/esm/stripe.core.js +1 -1
- package/esm/utils.js +2 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -264
- package/types/Accounts.d.ts +2 -215
- package/types/AccountsResource.d.ts +2 -634
- package/types/ApplicationFees.d.ts +1 -6
- package/types/Balance.d.ts +0 -82
- package/types/BalanceTransactions.d.ts +1 -2
- package/types/BankAccounts.d.ts +2 -4
- package/types/Billing/AlertTriggereds.d.ts +1 -16
- package/types/Billing/Alerts.d.ts +1 -116
- package/types/Billing/AlertsResource.d.ts +2 -149
- package/types/Billing/CreditBalanceSummary.d.ts +2 -123
- package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -20
- package/types/Billing/CreditBalanceTransactions.d.ts +2 -118
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
- package/types/Billing/CreditGrants.d.ts +1 -76
- package/types/Billing/CreditGrantsResource.d.ts +4 -45
- package/types/Billing/MeterEventSummaries.d.ts +0 -7
- package/types/Billing/Meters.d.ts +0 -5
- package/types/Billing/MetersResource.d.ts +0 -17
- package/types/BillingPortal/Configurations.d.ts +5 -0
- package/types/BillingPortal/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Capabilities.d.ts +0 -2
- package/types/Cards.d.ts +0 -19
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +8 -191
- package/types/ChargesResource.d.ts +0 -1406
- package/types/Checkout/Sessions.d.ts +2 -427
- package/types/Checkout/SessionsResource.d.ts +2 -682
- package/types/ConfirmationTokens.d.ts +5 -141
- package/types/Coupons.d.ts +0 -35
- package/types/CouponsResource.d.ts +0 -23
- package/types/CreditNoteLineItems.d.ts +0 -17
- package/types/CreditNotes.d.ts +0 -5
- package/types/CreditNotesResource.d.ts +0 -5
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +0 -46
- package/types/CustomerSessionsResource.d.ts +2 -48
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +5 -8
- package/types/Discounts.d.ts +0 -20
- package/types/Disputes.d.ts +0 -40
- package/types/DisputesResource.d.ts +0 -11
- package/types/Errors.d.ts +0 -85
- package/types/EventTypes.d.ts +27 -621
- package/types/Events.d.ts +2 -95
- package/types/FinancialConnections/Accounts.d.ts +34 -36
- package/types/FinancialConnections/AccountsResource.d.ts +3 -40
- package/types/FinancialConnections/Sessions.d.ts +2 -52
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationReports.d.ts +0 -10
- package/types/Identity/VerificationReportsResource.d.ts +0 -5
- package/types/Identity/VerificationSessions.d.ts +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +2 -127
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +3 -171
- package/types/InvoicePaymentsResource.d.ts +5 -0
- package/types/Invoices.d.ts +5 -217
- package/types/InvoicesResource.d.ts +4 -1712
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Cards.d.ts +25 -0
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -49
- package/types/Mandates.d.ts +1 -135
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentAttemptRecords.d.ts +16 -147
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +13 -7
- package/types/PaymentIntents.d.ts +27 -786
- package/types/PaymentIntentsResource.d.ts +4722 -9378
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -216
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -300
- package/types/PaymentMethods.d.ts +5 -146
- package/types/PaymentMethodsResource.d.ts +3 -187
- package/types/PaymentRecords.d.ts +16 -147
- package/types/Persons.d.ts +0 -30
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +1 -982
- package/types/QuotesResource.d.ts +293 -3226
- package/types/Refunds.d.ts +10 -6
- package/types/SetupAttempts.d.ts +4 -52
- package/types/SetupIntents.d.ts +2 -239
- package/types/SetupIntentsResource.d.ts +7 -1044
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -26
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -403
- package/types/SubscriptionSchedulesResource.d.ts +0 -1404
- package/types/Subscriptions.d.ts +1 -370
- package/types/SubscriptionsResource.d.ts +8 -757
- package/types/Tax/Associations.d.ts +1 -1
- package/types/Tax/RegistrationsResource.d.ts +1 -1
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/Terminal/Configurations.d.ts +0 -9
- package/types/Terminal/ConfigurationsResource.d.ts +18 -46
- package/types/Terminal/Readers.d.ts +0 -20
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +1 -126
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +27 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/TokensResource.d.ts +0 -44
- package/types/Transfers.d.ts +0 -9
- package/types/TransfersResource.d.ts +0 -7
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/Billing/MeterEvents.d.ts +2 -1
- package/types/V2/Core/EventTypes.d.ts +10 -8680
- package/types/V2/Core/Events.d.ts +0 -14
- package/types/V2/Core/EventsResource.d.ts +2 -17
- package/types/WebhookEndpointsResource.d.ts +6 -75
- package/types/Webhooks.d.ts +0 -2
- package/types/apiVersion.d.ts +2 -1
- package/types/index.d.ts +0 -227
- package/types/lib.d.ts +0 -10
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +0 -28
- package/cjs/resources/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/Identity/BlocklistEntries.js +0 -25
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Issuing/Programs.js +0 -22
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +0 -16
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/BillSettings.js +0 -27
- package/cjs/resources/V2/Billing/Cadences.js +0 -23
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -25
- package/cjs/resources/V2/Billing/Intents/Actions.js +0 -17
- package/cjs/resources/V2/Billing/Intents.js +0 -36
- package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -12
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -17
- package/cjs/resources/V2/Billing/LicenseFees.js +0 -27
- package/cjs/resources/V2/Billing/LicensedItems.js +0 -25
- package/cjs/resources/V2/Billing/MeteredItems.js +0 -22
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +0 -12
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -26
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -29
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -17
- package/cjs/resources/V2/Billing/PricingPlans.js +0 -29
- package/cjs/resources/V2/Billing/Profiles.js +0 -19
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -29
- package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -25
- package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -17
- package/cjs/resources/V2/Billing/RateCards.js +0 -29
- package/cjs/resources/V2/Billing/ServiceActions.js +0 -20
- package/cjs/resources/V2/Core/AccountLinks.js +0 -9
- package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
- package/cjs/resources/V2/Core/Accounts.js +0 -25
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -16
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -33
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -37
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -29
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -20
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -29
- package/cjs/resources/V2/Reporting/ReportRuns.js +0 -13
- package/cjs/resources/V2/Reporting/Reports.js +0 -12
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -12
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +0 -25
- package/esm/resources/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/Identity/BlocklistEntries.js +0 -22
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Issuing/Programs.js +0 -19
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +0 -13
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/BillSettings.js +0 -24
- package/esm/resources/V2/Billing/Cadences.js +0 -20
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
- package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -22
- package/esm/resources/V2/Billing/Intents/Actions.js +0 -14
- package/esm/resources/V2/Billing/Intents.js +0 -33
- package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -9
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -14
- package/esm/resources/V2/Billing/LicenseFees.js +0 -24
- package/esm/resources/V2/Billing/LicensedItems.js +0 -22
- package/esm/resources/V2/Billing/MeteredItems.js +0 -19
- package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +0 -9
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -23
- package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -26
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -14
- package/esm/resources/V2/Billing/PricingPlans.js +0 -26
- package/esm/resources/V2/Billing/Profiles.js +0 -16
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -26
- package/esm/resources/V2/Billing/RateCards/Rates.js +0 -22
- package/esm/resources/V2/Billing/RateCards/Versions.js +0 -14
- package/esm/resources/V2/Billing/RateCards.js +0 -26
- package/esm/resources/V2/Billing/ServiceActions.js +0 -17
- package/esm/resources/V2/Core/AccountLinks.js +0 -6
- package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
- package/esm/resources/V2/Core/Accounts.js +0 -22
- package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -13
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -30
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -34
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -26
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -17
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/Payments/OffSessionPayments.js +0 -26
- package/esm/resources/V2/Reporting/ReportRuns.js +0 -10
- package/esm/resources/V2/Reporting/Reports.js +0 -9
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -9
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
- package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -694
- package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -58
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/DelegatedCheckout/RequestedSessions.d.ts +0 -384
- package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +0 -599
- package/types/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -98
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -155
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/Identity/BlocklistEntries.d.ts +0 -78
- package/types/Identity/BlocklistEntriesResource.d.ts +0 -146
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Programs.d.ts +0 -42
- package/types/Issuing/ProgramsResource.d.ts +0 -96
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1163
- package/types/OrdersResource.d.ts +0 -3139
- package/types/PaymentMethodBalances.d.ts +0 -63
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
- package/types/Privacy/RedactionJobs.d.ts +0 -111
- package/types/Privacy/RedactionJobsResource.d.ts +0 -230
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1784
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -1108
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/TestHelpers/Capital/FinancingOffersResource.d.ts +0 -130
- package/types/TransitBalances.d.ts +0 -40
- package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/BillSettings.d.ts +0 -120
- package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
- package/types/V2/Billing/Cadences.d.ts +0 -735
- package/types/V2/Billing/CadencesResource.d.ts +0 -516
- package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -318
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
- package/types/V2/Billing/CollectionSettings.d.ts +0 -341
- package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -683
- package/types/V2/Billing/CustomPricingUnits.d.ts +0 -56
- package/types/V2/Billing/CustomPricingUnitsResource.d.ts +0 -122
- package/types/V2/Billing/IntentActions.d.ts +0 -459
- package/types/V2/Billing/Intents/ActionsResource.d.ts +0 -58
- package/types/V2/Billing/Intents.d.ts +0 -117
- package/types/V2/Billing/IntentsResource.d.ts +0 -575
- package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +0 -64
- package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +0 -28
- package/types/V2/Billing/LicenseFeeVersions.d.ts +0 -106
- package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/LicenseFees.d.ts +0 -164
- package/types/V2/Billing/LicenseFeesResource.d.ts +0 -290
- package/types/V2/Billing/LicensedItems.d.ts +0 -73
- package/types/V2/Billing/LicensedItemsResource.d.ts +0 -157
- package/types/V2/Billing/MeteredItems.d.ts +0 -101
- package/types/V2/Billing/MeteredItemsResource.d.ts +0 -189
- package/types/V2/Billing/PricingPlanComponents.d.ts +0 -109
- package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +0 -57
- package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +0 -40
- package/types/V2/Billing/PricingPlanSubscriptions.d.ts +0 -144
- package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +0 -120
- package/types/V2/Billing/PricingPlanVersions.d.ts +0 -49
- package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +0 -197
- package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/PricingPlans.d.ts +0 -84
- package/types/V2/Billing/PricingPlansResource.d.ts +0 -151
- package/types/V2/Billing/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- package/types/V2/Billing/RateCardRates.d.ts +0 -144
- package/types/V2/Billing/RateCardSubscriptions.d.ts +0 -144
- package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +0 -157
- package/types/V2/Billing/RateCardVersions.d.ts +0 -39
- package/types/V2/Billing/RateCards/RatesResource.d.ts +0 -203
- package/types/V2/Billing/RateCards/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/RateCards.d.ts +0 -98
- package/types/V2/Billing/RateCardsResource.d.ts +0 -162
- package/types/V2/Billing/ServiceActions.d.ts +0 -274
- package/types/V2/Billing/ServiceActionsResource.d.ts +0 -370
- package/types/V2/Core/AccountLinks.d.ts +0 -168
- package/types/V2/Core/AccountLinksResource.d.ts +0 -152
- package/types/V2/Core/AccountPersons.d.ts +0 -615
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -1153
- package/types/V2/Core/Accounts.d.ts +0 -7478
- package/types/V2/Core/AccountsResource.d.ts +0 -6723
- package/types/V2/Core/ClaimableSandboxes.d.ts +0 -132
- package/types/V2/Core/ClaimableSandboxesResource.d.ts +0 -74
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -194
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -116
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -198
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -148
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -172
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -178
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -126
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -212
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -283
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -247
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -330
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -256
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -213
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -201
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -307
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -186
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/RecipientVerifications.d.ts +0 -112
- package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +0 -77
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/Payments/OffSessionPayments.d.ts +0 -326
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -401
- package/types/V2/Reporting/ReportRuns.d.ts +0 -154
- package/types/V2/Reporting/ReportRunsResource.d.ts +0 -75
- package/types/V2/Reporting/Reports.d.ts +0 -120
- package/types/V2/Reporting/ReportsResource.d.ts +0 -30
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -73
- package/types/V2/TestHelpers/MoneyManagementResource.d.ts +0 -49
package/types/Subscriptions.d.ts
CHANGED
|
@@ -34,11 +34,6 @@ declare module 'stripe' {
|
|
|
34
34
|
|
|
35
35
|
automatic_tax: Subscription.AutomaticTax;
|
|
36
36
|
|
|
37
|
-
/**
|
|
38
|
-
* The Billing Cadence which controls the timing of recurring invoice generation for this subscription.If unset, the subscription will bill according to its own configured schedule and create its own invoices.If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
|
|
39
|
-
*/
|
|
40
|
-
billing_cadence?: string;
|
|
41
|
-
|
|
42
37
|
/**
|
|
43
38
|
* The reference point that aligns future [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle) dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals. The timestamp is in UTC format.
|
|
44
39
|
*/
|
|
@@ -54,11 +49,6 @@ declare module 'stripe' {
|
|
|
54
49
|
*/
|
|
55
50
|
billing_mode: Subscription.BillingMode;
|
|
56
51
|
|
|
57
|
-
/**
|
|
58
|
-
* Billing schedules for this subscription.
|
|
59
|
-
*/
|
|
60
|
-
billing_schedules?: Array<Subscription.BillingSchedule>;
|
|
61
|
-
|
|
62
52
|
/**
|
|
63
53
|
* Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
|
|
64
54
|
*/
|
|
@@ -104,11 +94,6 @@ declare module 'stripe' {
|
|
|
104
94
|
*/
|
|
105
95
|
customer: string | Stripe.Customer | Stripe.DeletedCustomer;
|
|
106
96
|
|
|
107
|
-
/**
|
|
108
|
-
* ID of the account who owns the subscription.
|
|
109
|
-
*/
|
|
110
|
-
customer_account?: string | null;
|
|
111
|
-
|
|
112
97
|
/**
|
|
113
98
|
* Number of days a customer has to pay invoices generated by this subscription. This value will be `null` for subscriptions where `collection_method=charge_automatically`.
|
|
114
99
|
*/
|
|
@@ -151,11 +136,6 @@ declare module 'stripe' {
|
|
|
151
136
|
*/
|
|
152
137
|
items: ApiList<Stripe.SubscriptionItem>;
|
|
153
138
|
|
|
154
|
-
/**
|
|
155
|
-
* Details of the most recent price migration that failed for the subscription.
|
|
156
|
-
*/
|
|
157
|
-
last_price_migration_error?: Subscription.LastPriceMigrationError | null;
|
|
158
|
-
|
|
159
139
|
/**
|
|
160
140
|
* The most recent invoice this subscription has generated.
|
|
161
141
|
*/
|
|
@@ -206,11 +186,6 @@ declare module 'stripe' {
|
|
|
206
186
|
*/
|
|
207
187
|
pending_update: Subscription.PendingUpdate | null;
|
|
208
188
|
|
|
209
|
-
/**
|
|
210
|
-
* Time period and invoice for a Subscription billed in advance.
|
|
211
|
-
*/
|
|
212
|
-
prebilling?: Subscription.Prebilling | null;
|
|
213
|
-
|
|
214
189
|
/**
|
|
215
190
|
* The schedule attached to the subscription
|
|
216
191
|
*/
|
|
@@ -357,187 +332,6 @@ declare module 'stripe' {
|
|
|
357
332
|
type Type = 'classic' | 'flexible';
|
|
358
333
|
}
|
|
359
334
|
|
|
360
|
-
interface BillingSchedule {
|
|
361
|
-
/**
|
|
362
|
-
* Specifies which subscription items the billing schedule applies to.
|
|
363
|
-
*/
|
|
364
|
-
applies_to: Array<BillingSchedule.AppliesTo> | null;
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* Specifies the billing period.
|
|
368
|
-
*/
|
|
369
|
-
bill_until: BillingSchedule.BillUntil;
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Unique identifier for the billing schedule.
|
|
373
|
-
*/
|
|
374
|
-
key: string;
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* Specifies the start of the billing period.
|
|
378
|
-
*/
|
|
379
|
-
bill_from?: BillingSchedule.BillFrom | null;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
namespace BillingSchedule {
|
|
383
|
-
interface AppliesTo {
|
|
384
|
-
/**
|
|
385
|
-
* The billing schedule will apply to the subscription item with the given price ID.
|
|
386
|
-
*/
|
|
387
|
-
price: string | Stripe.Price | null;
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* Controls which subscription items the billing schedule applies to.
|
|
391
|
-
*/
|
|
392
|
-
type: 'price';
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
interface BillFrom {
|
|
396
|
-
/**
|
|
397
|
-
* Use an index to specify the position of an amendment to start prebilling with.
|
|
398
|
-
*/
|
|
399
|
-
amendment_start: BillFrom.AmendmentStart | null;
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* The time the billing schedule applies from.
|
|
403
|
-
*/
|
|
404
|
-
computed_timestamp: number | null;
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* Lets you bill the period starting from a particular Quote line.
|
|
408
|
-
*/
|
|
409
|
-
line_starts_at: BillFrom.LineStartsAt | null;
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* Timestamp is calculated from the request time.
|
|
413
|
-
*/
|
|
414
|
-
relative: BillFrom.Relative | null;
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* Use a precise Unix timestamp for prebilling to start. Must be earlier than `bill_until`.
|
|
418
|
-
*/
|
|
419
|
-
timestamp: number | null;
|
|
420
|
-
|
|
421
|
-
/**
|
|
422
|
-
* Describes how the billing schedule determines the start date. Possible values are `timestamp`, `relative`, `amendment_start`, `now`, `quote_acceptance_date`, `line_starts_at`, or `pause_collection_start`.
|
|
423
|
-
*/
|
|
424
|
-
type: BillFrom.Type;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
namespace BillFrom {
|
|
428
|
-
interface AmendmentStart {
|
|
429
|
-
/**
|
|
430
|
-
* Use an index to specify the position of an amendment to start prebilling with.
|
|
431
|
-
*/
|
|
432
|
-
index: number;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
interface LineStartsAt {
|
|
436
|
-
/**
|
|
437
|
-
* Unique identifier for the object.
|
|
438
|
-
*/
|
|
439
|
-
id: string;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
interface Relative {
|
|
443
|
-
/**
|
|
444
|
-
* Specifies billing duration. Possible values are `day`, `week`, `month`, or `year`.
|
|
445
|
-
*/
|
|
446
|
-
interval: Relative.Interval;
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* The multiplier applied to the interval.
|
|
450
|
-
*/
|
|
451
|
-
interval_count: number | null;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
namespace Relative {
|
|
455
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
type Type =
|
|
459
|
-
| 'amendment_start'
|
|
460
|
-
| 'line_starts_at'
|
|
461
|
-
| 'now'
|
|
462
|
-
| 'pause_collection_start'
|
|
463
|
-
| 'quote_acceptance_date'
|
|
464
|
-
| 'relative'
|
|
465
|
-
| 'timestamp';
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
interface BillUntil {
|
|
469
|
-
/**
|
|
470
|
-
* The timestamp the billing schedule will apply until.
|
|
471
|
-
*/
|
|
472
|
-
computed_timestamp: number;
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* Specifies the billing period.
|
|
476
|
-
*/
|
|
477
|
-
duration: BillUntil.Duration | null;
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
* If specified, the billing schedule will apply until the specified timestamp.
|
|
481
|
-
*/
|
|
482
|
-
timestamp: number | null;
|
|
483
|
-
|
|
484
|
-
/**
|
|
485
|
-
* Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
|
|
486
|
-
*/
|
|
487
|
-
type: BillUntil.Type;
|
|
488
|
-
|
|
489
|
-
/**
|
|
490
|
-
* Use an index to specify the position of an amendment to end prebilling with.
|
|
491
|
-
*/
|
|
492
|
-
amendment_end?: BillUntil.AmendmentEnd | null;
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
* Lets you bill the period ending at a particular Quote line.
|
|
496
|
-
*/
|
|
497
|
-
line_ends_at?: BillUntil.LineEndsAt | null;
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
namespace BillUntil {
|
|
501
|
-
interface AmendmentEnd {
|
|
502
|
-
/**
|
|
503
|
-
* Use an index to specify the position of an amendment to end prebilling with.
|
|
504
|
-
*/
|
|
505
|
-
index: number;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
interface Duration {
|
|
509
|
-
/**
|
|
510
|
-
* Specifies billing duration. Either `day`, `week`, `month` or `year`.
|
|
511
|
-
*/
|
|
512
|
-
interval: Duration.Interval;
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* The multiplier applied to the interval.
|
|
516
|
-
*/
|
|
517
|
-
interval_count: number | null;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
namespace Duration {
|
|
521
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
interface LineEndsAt {
|
|
525
|
-
/**
|
|
526
|
-
* Unique identifier for the object.
|
|
527
|
-
*/
|
|
528
|
-
id: string;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
type Type =
|
|
532
|
-
| 'amendment_end'
|
|
533
|
-
| 'duration'
|
|
534
|
-
| 'line_ends_at'
|
|
535
|
-
| 'schedule_end'
|
|
536
|
-
| 'timestamp'
|
|
537
|
-
| 'upcoming_invoice';
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
|
|
541
335
|
interface BillingThresholds {
|
|
542
336
|
/**
|
|
543
337
|
* Monetary threshold that triggers the subscription to create an invoice
|
|
@@ -615,37 +409,6 @@ declare module 'stripe' {
|
|
|
615
409
|
}
|
|
616
410
|
}
|
|
617
411
|
|
|
618
|
-
interface LastPriceMigrationError {
|
|
619
|
-
/**
|
|
620
|
-
* The time at which the price migration encountered an error.
|
|
621
|
-
*/
|
|
622
|
-
errored_at: number;
|
|
623
|
-
|
|
624
|
-
/**
|
|
625
|
-
* The involved price pairs in each failed transition.
|
|
626
|
-
*/
|
|
627
|
-
failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* The type of error encountered by the price migration.
|
|
631
|
-
*/
|
|
632
|
-
type: 'price_uniqueness_violation';
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
namespace LastPriceMigrationError {
|
|
636
|
-
interface FailedTransition {
|
|
637
|
-
/**
|
|
638
|
-
* The original price to be migrated.
|
|
639
|
-
*/
|
|
640
|
-
source_price: string;
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* The intended resulting price of the migration.
|
|
644
|
-
*/
|
|
645
|
-
target_price: string;
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
|
|
649
412
|
interface PauseCollection {
|
|
650
413
|
/**
|
|
651
414
|
* The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
|
|
@@ -701,31 +464,16 @@ declare module 'stripe' {
|
|
|
701
464
|
*/
|
|
702
465
|
customer_balance: PaymentMethodOptions.CustomerBalance | null;
|
|
703
466
|
|
|
704
|
-
/**
|
|
705
|
-
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
|
706
|
-
*/
|
|
707
|
-
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
|
|
708
|
-
|
|
709
467
|
/**
|
|
710
468
|
* This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
|
711
469
|
*/
|
|
712
470
|
konbini: PaymentMethodOptions.Konbini | null;
|
|
713
471
|
|
|
714
|
-
/**
|
|
715
|
-
* This sub-hash contains details about the Pix payment method options to pass to invoices created by the subscription.
|
|
716
|
-
*/
|
|
717
|
-
pix?: PaymentMethodOptions.Pix | null;
|
|
718
|
-
|
|
719
472
|
/**
|
|
720
473
|
* This sub-hash contains details about the SEPA Direct Debit payment method options to pass to invoices created by the subscription.
|
|
721
474
|
*/
|
|
722
475
|
sepa_debit: PaymentMethodOptions.SepaDebit | null;
|
|
723
476
|
|
|
724
|
-
/**
|
|
725
|
-
* This sub-hash contains details about the UPI payment method options to pass to invoices created by the subscription.
|
|
726
|
-
*/
|
|
727
|
-
upi?: PaymentMethodOptions.Upi | null;
|
|
728
|
-
|
|
729
477
|
/**
|
|
730
478
|
* This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
|
|
731
479
|
*/
|
|
@@ -855,83 +603,10 @@ declare module 'stripe' {
|
|
|
855
603
|
}
|
|
856
604
|
}
|
|
857
605
|
|
|
858
|
-
interface IdBankTransfer {}
|
|
859
|
-
|
|
860
606
|
interface Konbini {}
|
|
861
607
|
|
|
862
|
-
interface Pix {
|
|
863
|
-
mandate_options?: Pix.MandateOptions;
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
namespace Pix {
|
|
867
|
-
interface MandateOptions {
|
|
868
|
-
/**
|
|
869
|
-
* Amount to be charged for future payments.
|
|
870
|
-
*/
|
|
871
|
-
amount: number | null;
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* Determines if the amount includes the IOF tax.
|
|
875
|
-
*/
|
|
876
|
-
amount_includes_iof: MandateOptions.AmountIncludesIof | null;
|
|
877
|
-
|
|
878
|
-
/**
|
|
879
|
-
* Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
|
880
|
-
*/
|
|
881
|
-
end_date: string | null;
|
|
882
|
-
|
|
883
|
-
/**
|
|
884
|
-
* Schedule at which the future payments will be charged.
|
|
885
|
-
*/
|
|
886
|
-
payment_schedule: MandateOptions.PaymentSchedule | null;
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
namespace MandateOptions {
|
|
890
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
891
|
-
|
|
892
|
-
type PaymentSchedule =
|
|
893
|
-
| 'halfyearly'
|
|
894
|
-
| 'monthly'
|
|
895
|
-
| 'quarterly'
|
|
896
|
-
| 'weekly'
|
|
897
|
-
| 'yearly';
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
|
|
901
608
|
interface SepaDebit {}
|
|
902
609
|
|
|
903
|
-
interface Upi {
|
|
904
|
-
mandate_options?: Upi.MandateOptions;
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
namespace Upi {
|
|
908
|
-
interface MandateOptions {
|
|
909
|
-
/**
|
|
910
|
-
* Amount to be charged for future payments.
|
|
911
|
-
*/
|
|
912
|
-
amount: number | null;
|
|
913
|
-
|
|
914
|
-
/**
|
|
915
|
-
* One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
|
916
|
-
*/
|
|
917
|
-
amount_type: MandateOptions.AmountType | null;
|
|
918
|
-
|
|
919
|
-
/**
|
|
920
|
-
* A description of the mandate or subscription that is meant to be displayed to the customer.
|
|
921
|
-
*/
|
|
922
|
-
description: string | null;
|
|
923
|
-
|
|
924
|
-
/**
|
|
925
|
-
* End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
926
|
-
*/
|
|
927
|
-
end_date: number | null;
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
namespace MandateOptions {
|
|
931
|
-
type AmountType = 'fixed' | 'maximum';
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
|
|
935
610
|
interface UsBankAccount {
|
|
936
611
|
financial_connections?: UsBankAccount.FinancialConnections;
|
|
937
612
|
|
|
@@ -962,11 +637,6 @@ declare module 'stripe' {
|
|
|
962
637
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
963
638
|
*/
|
|
964
639
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
965
|
-
|
|
966
|
-
/**
|
|
967
|
-
* The institution to use to filter for possible accounts to link.
|
|
968
|
-
*/
|
|
969
|
-
institution?: string;
|
|
970
640
|
}
|
|
971
641
|
|
|
972
642
|
namespace Filters {
|
|
@@ -979,11 +649,7 @@ declare module 'stripe' {
|
|
|
979
649
|
| 'payment_method'
|
|
980
650
|
| 'transactions';
|
|
981
651
|
|
|
982
|
-
type Prefetch =
|
|
983
|
-
| 'balances'
|
|
984
|
-
| 'inferred_balances'
|
|
985
|
-
| 'ownership'
|
|
986
|
-
| 'transactions';
|
|
652
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
987
653
|
}
|
|
988
654
|
|
|
989
655
|
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
@@ -1009,7 +675,6 @@ declare module 'stripe' {
|
|
|
1009
675
|
| 'fpx'
|
|
1010
676
|
| 'giropay'
|
|
1011
677
|
| 'grabpay'
|
|
1012
|
-
| 'id_bank_transfer'
|
|
1013
678
|
| 'ideal'
|
|
1014
679
|
| 'jp_credit_transfer'
|
|
1015
680
|
| 'kakao_pay'
|
|
@@ -1024,15 +689,12 @@ declare module 'stripe' {
|
|
|
1024
689
|
| 'payco'
|
|
1025
690
|
| 'paynow'
|
|
1026
691
|
| 'paypal'
|
|
1027
|
-
| 'pix'
|
|
1028
692
|
| 'promptpay'
|
|
1029
693
|
| 'revolut_pay'
|
|
1030
694
|
| 'sepa_credit_transfer'
|
|
1031
695
|
| 'sepa_debit'
|
|
1032
696
|
| 'sofort'
|
|
1033
|
-
| 'stripe_balance'
|
|
1034
697
|
| 'swish'
|
|
1035
|
-
| 'upi'
|
|
1036
698
|
| 'us_bank_account'
|
|
1037
699
|
| 'wechat_pay';
|
|
1038
700
|
|
|
@@ -1066,11 +728,6 @@ declare module 'stripe' {
|
|
|
1066
728
|
*/
|
|
1067
729
|
expires_at: number;
|
|
1068
730
|
|
|
1069
|
-
/**
|
|
1070
|
-
* The number of iterations of prebilling to apply.
|
|
1071
|
-
*/
|
|
1072
|
-
prebilling_iterations?: number | null;
|
|
1073
|
-
|
|
1074
731
|
/**
|
|
1075
732
|
* List of subscription items, each with an attached plan, that will be set if the update is applied.
|
|
1076
733
|
*/
|
|
@@ -1087,32 +744,6 @@ declare module 'stripe' {
|
|
|
1087
744
|
trial_from_plan: boolean | null;
|
|
1088
745
|
}
|
|
1089
746
|
|
|
1090
|
-
interface Prebilling {
|
|
1091
|
-
/**
|
|
1092
|
-
* ID of the prebilling invoice.
|
|
1093
|
-
*/
|
|
1094
|
-
invoice: string | Stripe.Invoice;
|
|
1095
|
-
|
|
1096
|
-
/**
|
|
1097
|
-
* The end of the last period for which the invoice pre-bills.
|
|
1098
|
-
*/
|
|
1099
|
-
period_end: number;
|
|
1100
|
-
|
|
1101
|
-
/**
|
|
1102
|
-
* The start of the first period for which the invoice pre-bills.
|
|
1103
|
-
*/
|
|
1104
|
-
period_start: number;
|
|
1105
|
-
|
|
1106
|
-
/**
|
|
1107
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
1108
|
-
*/
|
|
1109
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
namespace Prebilling {
|
|
1113
|
-
type UpdateBehavior = 'prebill' | 'reset';
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
747
|
type Status =
|
|
1117
748
|
| 'active'
|
|
1118
749
|
| 'canceled'
|