stripe 22.6.0-alpha.2 → 22.6.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 +51 -3248
- package/OPENAPI_VERSION +1 -1
- package/README.md +60 -44
- package/VERSION +1 -1
- package/cjs/Error.d.ts +0 -61
- package/cjs/Error.js +1 -143
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +4 -2
- package/cjs/RequestSender.js +27 -9
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +46 -6
- package/cjs/StripeEventNotificationHandler.js +76 -432
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +6 -9
- package/cjs/Types.js.map +1 -1
- package/cjs/V2Coercion.js +70 -22
- package/cjs/V2Coercion.js.map +1 -1
- package/cjs/Webhooks.d.ts +2 -3
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/net/FetchHttpClient.d.ts +14 -1
- package/cjs/net/FetchHttpClient.js +76 -24
- package/cjs/net/FetchHttpClient.js.map +1 -1
- package/cjs/net/HttpClient.d.ts +18 -0
- package/cjs/net/HttpClient.js +23 -1
- package/cjs/net/HttpClient.js.map +1 -1
- package/cjs/net/NodeHttpClient.js +40 -3
- package/cjs/net/NodeHttpClient.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -5
- package/cjs/resources/AccountSessions.d.ts +21 -547
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +4 -1050
- package/cjs/resources/Accounts.js +0 -47
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +1 -28
- package/cjs/resources/Balance.d.ts +0 -134
- package/cjs/resources/BalanceSettings.d.ts +0 -18
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -55
- package/cjs/resources/Billing/Alerts.d.ts +5 -448
- package/cjs/resources/Billing/Alerts.js +5 -329
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +3 -136
- package/cjs/resources/Billing/CreditBalanceSummary.js +1 -39
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +3 -97
- package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -100
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +3 -105
- package/cjs/resources/Billing/CreditGrants.js +5 -134
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/FeedbackOptions.d.ts +74 -0
- package/cjs/resources/Billing/FeedbackOptions.js +37 -0
- package/cjs/resources/Billing/FeedbackOptions.js.map +1 -1
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +0 -6
- package/cjs/resources/Billing/Meters.d.ts +0 -31
- package/cjs/resources/Billing/index.d.ts +21 -25
- package/cjs/resources/Billing/index.js +2 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Configurations.d.ts +8 -0
- package/cjs/resources/BillingPortal/Sessions.d.ts +2 -12
- package/cjs/resources/Capabilities.d.ts +2 -25
- package/cjs/resources/Cards.d.ts +0 -28
- package/cjs/resources/Charges.d.ts +75 -3364
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +24 -1204
- package/cjs/resources/Checkout/Sessions.js +0 -115
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +0 -1
- package/cjs/resources/ConfirmationTokens.d.ts +6 -147
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +2 -128
- package/cjs/resources/Coupons.js +0 -41
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -7
- package/cjs/resources/CreditNotes.js +0 -13
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +20 -74
- package/cjs/resources/CustomerSessions.js +0 -13
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/Customers.d.ts +1 -115
- package/cjs/resources/Customers.js +0 -195
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Discounts.d.ts +0 -19
- package/cjs/resources/Disputes.d.ts +0 -43
- package/cjs/resources/Disputes.js +0 -14
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +3 -640
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -105
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +1 -46
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +9 -124
- package/cjs/resources/FinancialConnections/Transactions.d.ts +0 -76
- 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/Identity/VerificationReports.d.ts +2 -33
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +3 -11
- package/cjs/resources/Identity/index.d.ts +10 -18
- package/cjs/resources/Identity/index.js +0 -2
- package/cjs/resources/Identity/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +2 -215
- package/cjs/resources/InvoiceItems.js +0 -41
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +4 -174
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +0 -12
- package/cjs/resources/InvoiceRenderingTemplates.js +0 -28
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +32 -2164
- package/cjs/resources/Invoices.js +0 -221
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +1 -730
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +7 -25
- package/cjs/resources/Issuing/Cards.d.ts +0 -82
- package/cjs/resources/Issuing/Disputes.d.ts +0 -246
- package/cjs/resources/Issuing/Tokens.d.ts +0 -26
- package/cjs/resources/Issuing/Transactions.d.ts +0 -233
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +22 -56
- package/cjs/resources/Issuing/index.js +0 -8
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +2 -29
- package/cjs/resources/Mandates.d.ts +2 -47
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/PaymentAttemptRecords.d.ts +2 -683
- package/cjs/resources/PaymentAttemptRecords.js +0 -48
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -52
- package/cjs/resources/PaymentIntents.d.ts +6356 -20114
- package/cjs/resources/PaymentIntents.js +0 -46
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +42 -75
- package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -420
- package/cjs/resources/PaymentMethods.d.ts +3 -300
- package/cjs/resources/PaymentMethods.js +0 -20
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +20 -741
- package/cjs/resources/PaymentRecords.js +0 -18
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Persons.d.ts +2 -25
- package/cjs/resources/Plans.d.ts +0 -16
- package/cjs/resources/Prices.d.ts +0 -76
- package/cjs/resources/Prices.js +0 -27
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Products.d.ts +0 -198
- package/cjs/resources/Products.js +0 -69
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +0 -27
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +94 -3388
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -115
- package/cjs/resources/Radar/ValueListItems.d.ts +1 -39
- package/cjs/resources/Radar/ValueListItems.js +0 -13
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +16 -36
- package/cjs/resources/Radar/index.js +0 -6
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +0 -39
- package/cjs/resources/Refunds.js +0 -27
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reserve/Holds.d.ts +1 -53
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +0 -16
- package/cjs/resources/Reserve/Plans.js +0 -11
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +1 -41
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +6 -17
- package/cjs/resources/Reserve/index.js +0 -9
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +1 -35
- package/cjs/resources/SetupAttempts.js.map +1 -1
- package/cjs/resources/SetupIntents.d.ts +16 -632
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/Sources.d.ts +1 -29
- package/cjs/resources/SubscriptionItems.d.ts +0 -265
- package/cjs/resources/SubscriptionItems.js +0 -41
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +57 -2430
- package/cjs/resources/SubscriptionSchedules.js +0 -61
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +30 -967
- package/cjs/resources/Subscriptions.js +0 -289
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +3 -14
- package/cjs/resources/Tax/Calculations.d.ts +4 -46
- package/cjs/resources/Tax/Registrations.d.ts +353 -171
- package/cjs/resources/Tax/Registrations.js +0 -27
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +0 -8
- package/cjs/resources/Tax/Settings.js +0 -13
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +2 -10
- package/cjs/resources/Tax/Transactions.js +0 -13
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +13 -31
- package/cjs/resources/Tax/index.js +0 -4
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +1 -16
- package/cjs/resources/TaxIds.d.ts +0 -6
- package/cjs/resources/TaxIds.js +0 -13
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.d.ts +0 -12
- package/cjs/resources/TaxRates.js +0 -27
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +0 -27
- package/cjs/resources/Terminal/Readers.d.ts +2 -207
- package/cjs/resources/Terminal/Readers.js +0 -24
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +0 -9
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +1 -100
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -102
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +0 -110
- package/cjs/resources/TestHelpers/Issuing/index.d.ts +0 -2
- package/cjs/resources/TestHelpers/Issuing/index.js +0 -2
- package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +1 -15
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +6 -14
- package/cjs/resources/TestHelpers/index.js +6 -12
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +0 -76
- package/cjs/resources/Transfers.d.ts +0 -12
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/V2/Billing/index.d.ts +6 -175
- package/cjs/resources/V2/Billing/index.js +0 -32
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountLinks.d.ts +6 -158
- package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +2 -220
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +3731 -17878
- package/cjs/resources/V2/Core/Accounts.js +38 -10364
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/Events.d.ts +227 -8087
- package/cjs/resources/V2/Core/index.d.ts +14 -66
- package/cjs/resources/V2/Core/index.js +0 -18
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/index.d.ts +0 -42
- package/cjs/resources/V2/index.js +0 -24
- 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 -20
- package/cjs/resources.js +20 -296
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +882 -15087
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +66 -166
- package/cjs/stripe.core.js +38 -70
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +1 -1
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +0 -61
- package/esm/Error.js +0 -125
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +4 -2
- package/esm/RequestSender.js +28 -10
- package/esm/RequestSender.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +46 -6
- package/esm/StripeEventNotificationHandler.js +74 -431
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +6 -9
- package/esm/Types.js.map +1 -1
- package/esm/V2Coercion.js +70 -22
- package/esm/V2Coercion.js.map +1 -1
- package/esm/Webhooks.d.ts +2 -3
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/net/FetchHttpClient.d.ts +14 -1
- package/esm/net/FetchHttpClient.js +76 -24
- package/esm/net/FetchHttpClient.js.map +1 -1
- package/esm/net/HttpClient.d.ts +18 -0
- package/esm/net/HttpClient.js +21 -0
- package/esm/net/HttpClient.js.map +1 -1
- package/esm/net/NodeHttpClient.js +40 -3
- package/esm/net/NodeHttpClient.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -5
- package/esm/resources/AccountSessions.d.ts +21 -547
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +4 -1050
- package/esm/resources/Accounts.js +0 -47
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +1 -28
- package/esm/resources/Balance.d.ts +0 -134
- package/esm/resources/BalanceSettings.d.ts +0 -18
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -55
- package/esm/resources/Billing/Alerts.d.ts +5 -448
- package/esm/resources/Billing/Alerts.js +5 -329
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +3 -136
- package/esm/resources/Billing/CreditBalanceSummary.js +1 -39
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +3 -97
- package/esm/resources/Billing/CreditBalanceTransactions.js +1 -100
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +3 -105
- package/esm/resources/Billing/CreditGrants.js +5 -134
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/FeedbackOptions.d.ts +74 -0
- package/esm/resources/Billing/FeedbackOptions.js +35 -1
- package/esm/resources/Billing/FeedbackOptions.js.map +1 -1
- package/esm/resources/Billing/MeterEventSummaries.d.ts +0 -6
- package/esm/resources/Billing/Meters.d.ts +0 -31
- package/esm/resources/Billing/index.d.ts +21 -25
- package/esm/resources/Billing/index.js +2 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Configurations.d.ts +8 -0
- package/esm/resources/BillingPortal/Sessions.d.ts +2 -12
- package/esm/resources/Capabilities.d.ts +2 -25
- package/esm/resources/Cards.d.ts +0 -28
- package/esm/resources/Charges.d.ts +75 -3364
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +24 -1204
- package/esm/resources/Checkout/Sessions.js +0 -115
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +0 -1
- package/esm/resources/ConfirmationTokens.d.ts +6 -147
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/Coupons.d.ts +2 -128
- package/esm/resources/Coupons.js +0 -41
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -7
- package/esm/resources/CreditNotes.js +0 -13
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +20 -74
- package/esm/resources/CustomerSessions.js +0 -13
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/Customers.d.ts +1 -115
- package/esm/resources/Customers.js +0 -195
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Discounts.d.ts +0 -19
- package/esm/resources/Disputes.d.ts +0 -43
- package/esm/resources/Disputes.js +0 -14
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +3 -640
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +4 -105
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +1 -46
- package/esm/resources/FinancialConnections/Authorizations.js +1 -9
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +9 -124
- package/esm/resources/FinancialConnections/Transactions.d.ts +0 -76
- 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/Identity/VerificationReports.d.ts +2 -33
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +3 -11
- package/esm/resources/Identity/index.d.ts +10 -18
- package/esm/resources/Identity/index.js +0 -2
- package/esm/resources/Identity/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +2 -215
- package/esm/resources/InvoiceItems.js +0 -41
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +4 -174
- package/esm/resources/InvoiceRenderingTemplates.d.ts +0 -12
- package/esm/resources/InvoiceRenderingTemplates.js +0 -28
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +32 -2164
- package/esm/resources/Invoices.js +0 -221
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +1 -730
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +7 -25
- package/esm/resources/Issuing/Cards.d.ts +0 -82
- package/esm/resources/Issuing/Disputes.d.ts +0 -246
- package/esm/resources/Issuing/Tokens.d.ts +0 -26
- package/esm/resources/Issuing/Transactions.d.ts +0 -233
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +22 -56
- package/esm/resources/Issuing/index.js +0 -8
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +2 -29
- package/esm/resources/Mandates.d.ts +2 -47
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/PaymentAttemptRecords.d.ts +2 -683
- package/esm/resources/PaymentAttemptRecords.js +0 -48
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -52
- package/esm/resources/PaymentIntents.d.ts +6356 -20114
- package/esm/resources/PaymentIntents.js +0 -46
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +42 -75
- package/esm/resources/PaymentMethodConfigurations.d.ts +0 -420
- package/esm/resources/PaymentMethods.d.ts +3 -300
- package/esm/resources/PaymentMethods.js +0 -20
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +20 -741
- package/esm/resources/PaymentRecords.js +0 -18
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Persons.d.ts +2 -25
- package/esm/resources/Plans.d.ts +0 -16
- package/esm/resources/Prices.d.ts +0 -76
- package/esm/resources/Prices.js +0 -27
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Products.d.ts +0 -198
- package/esm/resources/Products.js +0 -69
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +0 -27
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +94 -3388
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -115
- package/esm/resources/Radar/ValueListItems.d.ts +1 -39
- package/esm/resources/Radar/ValueListItems.js +0 -13
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +16 -36
- package/esm/resources/Radar/index.js +0 -6
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +0 -39
- package/esm/resources/Refunds.js +0 -27
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reserve/Holds.d.ts +1 -53
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +0 -16
- package/esm/resources/Reserve/Plans.js +1 -9
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +1 -41
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +6 -17
- package/esm/resources/Reserve/index.js +0 -9
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +1 -35
- package/esm/resources/SetupAttempts.js.map +1 -1
- package/esm/resources/SetupIntents.d.ts +16 -632
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/Sources.d.ts +1 -29
- package/esm/resources/SubscriptionItems.d.ts +0 -265
- package/esm/resources/SubscriptionItems.js +0 -41
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +57 -2430
- package/esm/resources/SubscriptionSchedules.js +0 -61
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +30 -967
- package/esm/resources/Subscriptions.js +0 -289
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +3 -14
- package/esm/resources/Tax/Calculations.d.ts +4 -46
- package/esm/resources/Tax/Registrations.d.ts +353 -171
- package/esm/resources/Tax/Registrations.js +0 -27
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +0 -8
- package/esm/resources/Tax/Settings.js +0 -13
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +2 -10
- package/esm/resources/Tax/Transactions.js +0 -13
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +13 -31
- package/esm/resources/Tax/index.js +0 -4
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +1 -16
- package/esm/resources/TaxIds.d.ts +0 -6
- package/esm/resources/TaxIds.js +0 -13
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.d.ts +0 -12
- package/esm/resources/TaxRates.js +0 -27
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +0 -27
- package/esm/resources/Terminal/Readers.d.ts +2 -207
- package/esm/resources/Terminal/Readers.js +0 -24
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +0 -9
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +1 -100
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -102
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +0 -110
- package/esm/resources/TestHelpers/Issuing/index.d.ts +0 -2
- package/esm/resources/TestHelpers/Issuing/index.js +0 -2
- package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/esm/resources/TestHelpers/Terminal/Readers.d.ts +1 -15
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +6 -14
- package/esm/resources/TestHelpers/index.js +0 -6
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +0 -76
- package/esm/resources/Transfers.d.ts +0 -12
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/V2/Billing/index.d.ts +6 -175
- package/esm/resources/V2/Billing/index.js +0 -32
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountLinks.d.ts +6 -158
- package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +2 -220
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +3731 -17878
- package/esm/resources/V2/Core/Accounts.js +38 -10364
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/Events.d.ts +227 -8087
- package/esm/resources/V2/Core/index.d.ts +14 -66
- package/esm/resources/V2/Core/index.js +0 -18
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/index.d.ts +0 -42
- package/esm/resources/V2/index.js +0 -24
- 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 -20
- package/esm/resources.js +2 -266
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +66 -166
- package/esm/stripe.core.js +9 -41
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +66 -166
- package/esm/stripe.esm.node.js +9 -41
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +1 -1
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
- package/cjs/resources/AccountNotices.d.ts +0 -140
- package/cjs/resources/AccountNotices.js +0 -29
- package/cjs/resources/AccountNotices.js.map +0 -1
- package/cjs/resources/AccountSignals.d.ts +0 -111
- package/cjs/resources/AccountSignals.js +0 -4
- package/cjs/resources/AccountSignals.js.map +0 -1
- package/cjs/resources/BalanceTransfers.d.ts +0 -160
- package/cjs/resources/BalanceTransfers.js +0 -15
- package/cjs/resources/BalanceTransfers.js.map +0 -1
- package/cjs/resources/Billing/AlertNotifications.d.ts +0 -75
- package/cjs/resources/Billing/AlertNotifications.js +0 -4
- package/cjs/resources/Billing/AlertNotifications.js.map +0 -1
- package/cjs/resources/Billing/AlertRecovereds.d.ts +0 -56
- package/cjs/resources/Billing/AlertRecovereds.js +0 -4
- package/cjs/resources/Billing/AlertRecovereds.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -89
- 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 -38
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
- package/cjs/resources/Billing/Analytics/index.js +0 -13
- package/cjs/resources/Billing/Analytics/index.js.map +0 -1
- package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
- package/cjs/resources/Capital/FinancingOffers.js +0 -30
- package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +0 -102
- package/cjs/resources/Capital/FinancingSummary.js +0 -15
- package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
- package/cjs/resources/Capital/FinancingTransactions.js +0 -24
- package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
- package/cjs/resources/Capital/index.d.ts +0 -25
- package/cjs/resources/Capital/index.js +0 -17
- package/cjs/resources/Capital/index.js.map +0 -1
- package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +0 -30
- package/cjs/resources/Crypto/CustomerConsumerWallets.js +0 -4
- package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +0 -1
- package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +0 -80
- package/cjs/resources/Crypto/CustomerPaymentTokens.js +0 -4
- package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +0 -1
- package/cjs/resources/Crypto/Customers.d.ts +0 -111
- package/cjs/resources/Crypto/Customers.js +0 -31
- package/cjs/resources/Crypto/Customers.js.map +0 -1
- package/cjs/resources/Crypto/DepositAddresses.d.ts +0 -128
- package/cjs/resources/Crypto/DepositAddresses.js +0 -31
- package/cjs/resources/Crypto/DepositAddresses.js.map +0 -1
- package/cjs/resources/Crypto/OnrampSessions.d.ts +0 -425
- package/cjs/resources/Crypto/OnrampSessions.js +0 -47
- package/cjs/resources/Crypto/OnrampSessions.js.map +0 -1
- package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +0 -61
- package/cjs/resources/Crypto/OnrampTransactionLimits.js +0 -15
- package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +0 -1
- package/cjs/resources/Crypto/index.d.ts +0 -41
- package/cjs/resources/Crypto/index.js +0 -19
- package/cjs/resources/Crypto/index.js.map +0 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +0 -129
- package/cjs/resources/DelegatedCheckout/OrderEvents.js +0 -4
- package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
- package/cjs/resources/DelegatedCheckout/Orders.d.ts +0 -159
- package/cjs/resources/DelegatedCheckout/Orders.js +0 -15
- package/cjs/resources/DelegatedCheckout/Orders.js.map +0 -1
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1424
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +0 -47
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
- package/cjs/resources/DelegatedCheckout/index.d.ts +0 -25
- package/cjs/resources/DelegatedCheckout/index.js +0 -15
- package/cjs/resources/DelegatedCheckout/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/GiftCardOperations.d.ts +0 -249
- package/cjs/resources/GiftCardOperations.js +0 -15
- package/cjs/resources/GiftCardOperations.js.map +0 -1
- package/cjs/resources/GiftCards.d.ts +0 -181
- package/cjs/resources/GiftCards.js +0 -51
- package/cjs/resources/GiftCards.js.map +0 -1
- package/cjs/resources/Identity/BlocklistEntries.d.ts +0 -155
- package/cjs/resources/Identity/BlocklistEntries.js +0 -54
- package/cjs/resources/Identity/BlocklistEntries.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -654
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -53
- 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/Programs.d.ts +0 -95
- package/cjs/resources/Issuing/Programs.js +0 -35
- package/cjs/resources/Issuing/Programs.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/Orchestration/PaymentAttempts.d.ts +0 -34
- package/cjs/resources/Orchestration/PaymentAttempts.js +0 -15
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +0 -1
- package/cjs/resources/Orchestration/index.d.ts +0 -12
- package/cjs/resources/Orchestration/index.js +0 -13
- package/cjs/resources/Orchestration/index.js.map +0 -1
- package/cjs/resources/Orders.d.ts +0 -4773
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/PaymentLocationCapabilities.d.ts +0 -123
- package/cjs/resources/PaymentLocationCapabilities.js +0 -29
- package/cjs/resources/PaymentLocationCapabilities.js.map +0 -1
- package/cjs/resources/PaymentLocations.d.ts +0 -178
- package/cjs/resources/PaymentLocations.js +0 -41
- package/cjs/resources/PaymentLocations.js.map +0 -1
- package/cjs/resources/PaymentMethodBalances.d.ts +0 -46
- package/cjs/resources/PaymentMethodBalances.js +0 -4
- package/cjs/resources/PaymentMethodBalances.js.map +0 -1
- package/cjs/resources/PaymentPlans.d.ts +0 -427
- package/cjs/resources/PaymentPlans.js +0 -35
- package/cjs/resources/PaymentPlans.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
- package/cjs/resources/Privacy/RedactionJobs.js +0 -73
- package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
- package/cjs/resources/Privacy/index.d.ts +0 -22
- package/cjs/resources/Privacy/index.js +0 -13
- package/cjs/resources/Privacy/index.js.map +0 -1
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -158
- package/cjs/resources/ProductCatalog/TrialOffers.js +0 -29
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/cjs/resources/ProductCatalog/index.d.ts +0 -14
- package/cjs/resources/ProductCatalog/index.js +0 -13
- package/cjs/resources/ProductCatalog/index.js.map +0 -1
- package/cjs/resources/Profiles.d.ts +0 -68
- package/cjs/resources/Profiles.js +0 -4
- package/cjs/resources/Profiles.js.map +0 -1
- package/cjs/resources/QuoteLines.d.ts +0 -684
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1210
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -1087
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/Radar/AccountEvaluations.d.ts +0 -309
- package/cjs/resources/Radar/AccountEvaluations.js +0 -27
- package/cjs/resources/Radar/AccountEvaluations.js.map +0 -1
- package/cjs/resources/Radar/CustomerEvaluations.d.ts +0 -245
- package/cjs/resources/Radar/CustomerEvaluations.js +0 -27
- package/cjs/resources/Radar/CustomerEvaluations.js.map +0 -1
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -433
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +0 -15
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
- package/cjs/resources/RiskSignals.d.ts +0 -10
- package/cjs/resources/RiskSignals.js +0 -4
- package/cjs/resources/RiskSignals.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -425
- 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 -344
- 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 -112
- package/cjs/resources/Tax/Locations.js +0 -33
- package/cjs/resources/Tax/Locations.js.map +0 -1
- package/cjs/resources/TaxFunds.d.ts +0 -174
- package/cjs/resources/TaxFunds.js +0 -23
- package/cjs/resources/TaxFunds.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/Capital/FinancingOffers.d.ts +0 -82
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/TestHelpers/Capital/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/Capital/index.js +0 -13
- package/cjs/resources/TestHelpers/Capital/index.js.map +0 -1
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +0 -127
- package/cjs/resources/TestHelpers/Issuing/Disputes.js +0 -39
- package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +0 -38
- package/cjs/resources/TestHelpers/PaymentIntents.js +0 -15
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
- 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/TransitBalances.d.ts +0 -25
- package/cjs/resources/TransitBalances.js +0 -4
- package/cjs/resources/TransitBalances.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
- package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -281
- package/cjs/resources/V2/Billing/BillSettings.js +0 -41
- package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -84
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +0 -4
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -23
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +0 -1011
- package/cjs/resources/V2/Billing/Cadences.js +0 -264
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
- 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 -776
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +0 -47
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +0 -4
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +0 -1
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +0 -23
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +0 -29
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +0 -1
- package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +0 -8
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js +0 -15
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +0 -1
- package/cjs/resources/V2/Billing/Contracts.d.ts +0 -1512
- package/cjs/resources/V2/Billing/Contracts.js +0 -331
- package/cjs/resources/V2/Billing/Contracts.js.map +0 -1
- package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -35
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
- package/cjs/resources/V2/Billing/IntentActions.d.ts +0 -603
- package/cjs/resources/V2/Billing/IntentActions.js +0 -4
- package/cjs/resources/V2/Billing/IntentActions.js.map +0 -1
- package/cjs/resources/V2/Billing/Intents/Actions.d.ts +0 -33
- package/cjs/resources/V2/Billing/Intents/Actions.js +0 -70
- package/cjs/resources/V2/Billing/Intents/Actions.js.map +0 -1
- package/cjs/resources/V2/Billing/Intents.d.ts +0 -1261
- package/cjs/resources/V2/Billing/Intents.js +0 -87
- package/cjs/resources/V2/Billing/Intents.js.map +0 -1
- package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -78
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js +0 -4
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -64
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/LicenseFees.d.ts +0 -360
- package/cjs/resources/V2/Billing/LicenseFees.js +0 -148
- package/cjs/resources/V2/Billing/LicenseFees.js.map +0 -1
- package/cjs/resources/V2/Billing/LicensedItems.d.ts +0 -170
- package/cjs/resources/V2/Billing/LicensedItems.js +0 -35
- package/cjs/resources/V2/Billing/LicensedItems.js.map +0 -1
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +0 -218
- package/cjs/resources/V2/Billing/MeteredItems.js +0 -35
- package/cjs/resources/V2/Billing/MeteredItems.js.map +0 -1
- package/cjs/resources/V2/Billing/OneTimeItems.d.ts +0 -170
- package/cjs/resources/V2/Billing/OneTimeItems.js +0 -35
- package/cjs/resources/V2/Billing/OneTimeItems.js.map +0 -1
- package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +0 -80
- package/cjs/resources/V2/Billing/PricingPlanComponents.js +0 -4
- package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -620
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -296
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
- package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
- package/cjs/resources/V2/Billing/PricingPlanVersions.js +0 -4
- package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -41
- package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
- package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -23
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/PricingPlans.d.ts +0 -169
- package/cjs/resources/V2/Billing/PricingPlans.js +0 -43
- package/cjs/resources/V2/Billing/PricingPlans.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/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -4
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCardRates.d.ts +0 -111
- package/cjs/resources/V2/Billing/RateCardRates.js +0 -4
- package/cjs/resources/V2/Billing/RateCardRates.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -215
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -41
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCardVersions.d.ts +0 -22
- package/cjs/resources/V2/Billing/RateCardVersions.js +0 -4
- package/cjs/resources/V2/Billing/RateCardVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -35
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
- package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -110
- package/cjs/resources/V2/Billing/RateCards/Rates.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -23
- package/cjs/resources/V2/Billing/RateCards/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCards.d.ts +0 -336
- package/cjs/resources/V2/Billing/RateCards.js +0 -76
- package/cjs/resources/V2/Billing/RateCards.js.map +0 -1
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +0 -510
- package/cjs/resources/V2/Billing/ServiceActions.js +0 -162
- package/cjs/resources/V2/Billing/ServiceActions.js.map +0 -1
- package/cjs/resources/V2/Core/AccountEvaluations.d.ts +0 -159
- package/cjs/resources/V2/Core/AccountEvaluations.js +0 -15
- package/cjs/resources/V2/Core/AccountEvaluations.js.map +0 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +0 -331
- package/cjs/resources/V2/Core/ApprovalRequests.js +0 -46
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
- package/cjs/resources/V2/Core/BatchJobs.js +0 -225
- package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
- package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +0 -225
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -31
- package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
- package/cjs/resources/V2/Core/ConnectionSessions.d.ts +0 -86
- package/cjs/resources/V2/Core/ConnectionSessions.js +0 -21
- package/cjs/resources/V2/Core/ConnectionSessions.js.map +0 -1
- package/cjs/resources/V2/Core/FeeBatches.d.ts +0 -234
- package/cjs/resources/V2/Core/FeeBatches.js +0 -23
- package/cjs/resources/V2/Core/FeeBatches.js.map +0 -1
- package/cjs/resources/V2/Core/FeeEntries.d.ts +0 -200
- package/cjs/resources/V2/Core/FeeEntries.js +0 -23
- package/cjs/resources/V2/Core/FeeEntries.js.map +0 -1
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +0 -423
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +0 -4
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +0 -1
- package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +0 -23
- package/cjs/resources/V2/Core/Health/Alerts/History.js +0 -101
- package/cjs/resources/V2/Core/Health/Alerts/History.js.map +0 -1
- package/cjs/resources/V2/Core/Health/Alerts.d.ts +0 -537
- package/cjs/resources/V2/Core/Health/Alerts.js +0 -182
- package/cjs/resources/V2/Core/Health/Alerts.js.map +0 -1
- package/cjs/resources/V2/Core/Health/index.d.ts +0 -16
- package/cjs/resources/V2/Core/Health/index.js +0 -13
- package/cjs/resources/V2/Core/Health/index.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -280
- 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 -252
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -65
- 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/Analytics/MetricQuery.d.ts +0 -74
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js +0 -36
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -76
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +0 -4
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
- package/cjs/resources/V2/Data/Analytics/index.d.ts +0 -12
- package/cjs/resources/V2/Data/Analytics/index.js +0 -13
- package/cjs/resources/V2/Data/Analytics/index.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -172
- 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 -13
- package/cjs/resources/V2/Data/index.js +0 -15
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
- package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +0 -120
- package/cjs/resources/V2/Extend/Workflows.js +0 -30
- package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
- package/cjs/resources/V2/Extend/index.d.ts +0 -20
- package/cjs/resources/V2/Extend/index.js +0 -15
- package/cjs/resources/V2/Extend/index.js.map +0 -1
- package/cjs/resources/V2/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 -218
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +0 -305
- package/cjs/resources/V2/Iam/ApiKeys.js +0 -47
- package/cjs/resources/V2/Iam/ApiKeys.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -23
- package/cjs/resources/V2/Iam/index.js +0 -15
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -131
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +0 -31
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -169
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +0 -29
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -99
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -4
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -49
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -53
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -438
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -50
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +0 -14
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +0 -4
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -304
- 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 -251
- 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 -329
- 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 -638
- 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 -318
- 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 -394
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +0 -648
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +0 -57
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -277
- 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 -481
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +0 -166
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +0 -29
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -308
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -116
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -27
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +0 -34
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -15
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -266
- 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 -321
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -29
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -153
- package/cjs/resources/V2/MoneyManagement/index.js +0 -51
- 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/Payments/OffSessionPayments.d.ts +0 -835
- package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -53
- package/cjs/resources/V2/Payments/OffSessionPayments.js.map +0 -1
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -73
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -4
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -35
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -209
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +0 -53
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
- package/cjs/resources/V2/Payments/index.d.ts +0 -31
- package/cjs/resources/V2/Payments/index.js +0 -15
- package/cjs/resources/V2/Payments/index.js.map +0 -1
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +0 -191
- package/cjs/resources/V2/Reporting/ReportRuns.js +0 -50
- package/cjs/resources/V2/Reporting/ReportRuns.js.map +0 -1
- package/cjs/resources/V2/Reporting/Reports.d.ts +0 -106
- package/cjs/resources/V2/Reporting/Reports.js +0 -17
- package/cjs/resources/V2/Reporting/Reports.js.map +0 -1
- package/cjs/resources/V2/Reporting/index.d.ts +0 -18
- package/cjs/resources/V2/Reporting/index.js +0 -15
- package/cjs/resources/V2/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Risk/Inquiries.d.ts +0 -143
- package/cjs/resources/V2/Risk/Inquiries.js +0 -29
- package/cjs/resources/V2/Risk/Inquiries.js.map +0 -1
- package/cjs/resources/V2/Risk/index.d.ts +0 -14
- package/cjs/resources/V2/Risk/index.js +0 -13
- package/cjs/resources/V2/Risk/index.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountActivity.d.ts +0 -424
- package/cjs/resources/V2/Signals/AccountActivity.js +0 -27
- package/cjs/resources/V2/Signals/AccountActivity.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
- package/cjs/resources/V2/Signals/AccountEvaluations.js +0 -59
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -281
- package/cjs/resources/V2/Signals/AccountSignals.js +0 -110
- package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/cjs/resources/V2/Signals/index.d.ts +0 -26
- package/cjs/resources/V2/Signals/index.js +0 -17
- package/cjs/resources/V2/Signals/index.js.map +0 -1
- package/cjs/resources/V2/Tax/ManualRules.d.ts +0 -331
- package/cjs/resources/V2/Tax/ManualRules.js +0 -193
- package/cjs/resources/V2/Tax/ManualRules.js.map +0 -1
- package/cjs/resources/V2/Tax/Operations.d.ts +0 -43
- package/cjs/resources/V2/Tax/Operations.js +0 -15
- package/cjs/resources/V2/Tax/Operations.js.map +0 -1
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.d.ts +0 -68
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js +0 -4
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js.map +0 -1
- package/cjs/resources/V2/Tax/index.d.ts +0 -21
- package/cjs/resources/V2/Tax/index.js +0 -15
- package/cjs/resources/V2/Tax/index.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -15
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/index.d.ts +0 -10
- package/cjs/resources/V2/TestHelpers/index.js +0 -15
- package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
- package/esm/resources/AccountNotices.d.ts +0 -140
- package/esm/resources/AccountNotices.js +0 -25
- package/esm/resources/AccountNotices.js.map +0 -1
- package/esm/resources/AccountSignals.d.ts +0 -111
- package/esm/resources/AccountSignals.js +0 -3
- package/esm/resources/AccountSignals.js.map +0 -1
- package/esm/resources/BalanceTransfers.d.ts +0 -160
- package/esm/resources/BalanceTransfers.js +0 -11
- package/esm/resources/BalanceTransfers.js.map +0 -1
- package/esm/resources/Billing/AlertNotifications.d.ts +0 -75
- package/esm/resources/Billing/AlertNotifications.js +0 -3
- package/esm/resources/Billing/AlertNotifications.js.map +0 -1
- package/esm/resources/Billing/AlertRecovereds.d.ts +0 -56
- package/esm/resources/Billing/AlertRecovereds.js +0 -3
- package/esm/resources/Billing/AlertRecovereds.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -89
- 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 -38
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/esm/resources/Billing/Analytics/index.d.ts +0 -15
- package/esm/resources/Billing/Analytics/index.js +0 -9
- package/esm/resources/Billing/Analytics/index.js.map +0 -1
- package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
- package/esm/resources/Capital/FinancingOffers.js +0 -26
- package/esm/resources/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +0 -102
- package/esm/resources/Capital/FinancingSummary.js +0 -11
- package/esm/resources/Capital/FinancingSummary.js.map +0 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
- package/esm/resources/Capital/FinancingTransactions.js +0 -20
- package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
- package/esm/resources/Capital/index.d.ts +0 -25
- package/esm/resources/Capital/index.js +0 -13
- package/esm/resources/Capital/index.js.map +0 -1
- package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +0 -30
- package/esm/resources/Crypto/CustomerConsumerWallets.js +0 -3
- package/esm/resources/Crypto/CustomerConsumerWallets.js.map +0 -1
- package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +0 -80
- package/esm/resources/Crypto/CustomerPaymentTokens.js +0 -3
- package/esm/resources/Crypto/CustomerPaymentTokens.js.map +0 -1
- package/esm/resources/Crypto/Customers.d.ts +0 -111
- package/esm/resources/Crypto/Customers.js +0 -27
- package/esm/resources/Crypto/Customers.js.map +0 -1
- package/esm/resources/Crypto/DepositAddresses.d.ts +0 -128
- package/esm/resources/Crypto/DepositAddresses.js +0 -27
- package/esm/resources/Crypto/DepositAddresses.js.map +0 -1
- package/esm/resources/Crypto/OnrampSessions.d.ts +0 -425
- package/esm/resources/Crypto/OnrampSessions.js +0 -43
- package/esm/resources/Crypto/OnrampSessions.js.map +0 -1
- package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +0 -61
- package/esm/resources/Crypto/OnrampTransactionLimits.js +0 -11
- package/esm/resources/Crypto/OnrampTransactionLimits.js.map +0 -1
- package/esm/resources/Crypto/index.d.ts +0 -41
- package/esm/resources/Crypto/index.js +0 -15
- package/esm/resources/Crypto/index.js.map +0 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +0 -129
- package/esm/resources/DelegatedCheckout/OrderEvents.js +0 -3
- package/esm/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
- package/esm/resources/DelegatedCheckout/Orders.d.ts +0 -159
- package/esm/resources/DelegatedCheckout/Orders.js +0 -11
- package/esm/resources/DelegatedCheckout/Orders.js.map +0 -1
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1424
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +0 -43
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
- package/esm/resources/DelegatedCheckout/index.d.ts +0 -25
- package/esm/resources/DelegatedCheckout/index.js +0 -11
- package/esm/resources/DelegatedCheckout/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/GiftCardOperations.d.ts +0 -249
- package/esm/resources/GiftCardOperations.js +0 -11
- package/esm/resources/GiftCardOperations.js.map +0 -1
- package/esm/resources/GiftCards.d.ts +0 -181
- package/esm/resources/GiftCards.js +0 -47
- package/esm/resources/GiftCards.js.map +0 -1
- package/esm/resources/Identity/BlocklistEntries.d.ts +0 -155
- package/esm/resources/Identity/BlocklistEntries.js +0 -50
- package/esm/resources/Identity/BlocklistEntries.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -654
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -49
- 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/Programs.d.ts +0 -95
- package/esm/resources/Issuing/Programs.js +0 -31
- package/esm/resources/Issuing/Programs.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/Orchestration/PaymentAttempts.d.ts +0 -34
- package/esm/resources/Orchestration/PaymentAttempts.js +0 -11
- package/esm/resources/Orchestration/PaymentAttempts.js.map +0 -1
- package/esm/resources/Orchestration/index.d.ts +0 -12
- package/esm/resources/Orchestration/index.js +0 -9
- package/esm/resources/Orchestration/index.js.map +0 -1
- package/esm/resources/Orders.d.ts +0 -4773
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/PaymentLocationCapabilities.d.ts +0 -123
- package/esm/resources/PaymentLocationCapabilities.js +0 -25
- package/esm/resources/PaymentLocationCapabilities.js.map +0 -1
- package/esm/resources/PaymentLocations.d.ts +0 -178
- package/esm/resources/PaymentLocations.js +0 -37
- package/esm/resources/PaymentLocations.js.map +0 -1
- package/esm/resources/PaymentMethodBalances.d.ts +0 -46
- package/esm/resources/PaymentMethodBalances.js +0 -3
- package/esm/resources/PaymentMethodBalances.js.map +0 -1
- package/esm/resources/PaymentPlans.d.ts +0 -427
- package/esm/resources/PaymentPlans.js +0 -31
- package/esm/resources/PaymentPlans.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
- package/esm/resources/Privacy/RedactionJobs.js +0 -69
- package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
- package/esm/resources/Privacy/index.d.ts +0 -22
- package/esm/resources/Privacy/index.js +0 -9
- package/esm/resources/Privacy/index.js.map +0 -1
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -158
- package/esm/resources/ProductCatalog/TrialOffers.js +0 -25
- package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/esm/resources/ProductCatalog/index.d.ts +0 -14
- package/esm/resources/ProductCatalog/index.js +0 -9
- package/esm/resources/ProductCatalog/index.js.map +0 -1
- package/esm/resources/Profiles.d.ts +0 -68
- package/esm/resources/Profiles.js +0 -3
- package/esm/resources/Profiles.js.map +0 -1
- package/esm/resources/QuoteLines.d.ts +0 -684
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1210
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -1087
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/Radar/AccountEvaluations.d.ts +0 -309
- package/esm/resources/Radar/AccountEvaluations.js +0 -23
- package/esm/resources/Radar/AccountEvaluations.js.map +0 -1
- package/esm/resources/Radar/CustomerEvaluations.d.ts +0 -245
- package/esm/resources/Radar/CustomerEvaluations.js +0 -23
- package/esm/resources/Radar/CustomerEvaluations.js.map +0 -1
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -433
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +0 -11
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
- package/esm/resources/RiskSignals.d.ts +0 -10
- package/esm/resources/RiskSignals.js +0 -3
- package/esm/resources/RiskSignals.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -425
- 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 -344
- 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 -112
- package/esm/resources/Tax/Locations.js +0 -29
- package/esm/resources/Tax/Locations.js.map +0 -1
- package/esm/resources/TaxFunds.d.ts +0 -174
- package/esm/resources/TaxFunds.js +0 -19
- package/esm/resources/TaxFunds.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/Capital/FinancingOffers.d.ts +0 -82
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +0 -17
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/TestHelpers/Capital/index.d.ts +0 -8
- package/esm/resources/TestHelpers/Capital/index.js +0 -9
- package/esm/resources/TestHelpers/Capital/index.js.map +0 -1
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +0 -127
- package/esm/resources/TestHelpers/Issuing/Disputes.js +0 -35
- package/esm/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +0 -38
- package/esm/resources/TestHelpers/PaymentIntents.js +0 -11
- package/esm/resources/TestHelpers/PaymentIntents.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
- 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/TransitBalances.d.ts +0 -25
- package/esm/resources/TransitBalances.js +0 -3
- package/esm/resources/TransitBalances.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
- package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +0 -281
- package/esm/resources/V2/Billing/BillSettings.js +0 -37
- package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
- package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -84
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js +0 -3
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -19
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +0 -1011
- package/esm/resources/V2/Billing/Cadences.js +0 -260
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
- 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 -776
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +0 -47
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +0 -3
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +0 -1
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +0 -23
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +0 -25
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +0 -1
- package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +0 -8
- package/esm/resources/V2/Billing/Contracts/PricingLines.js +0 -11
- package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +0 -1
- package/esm/resources/V2/Billing/Contracts.d.ts +0 -1512
- package/esm/resources/V2/Billing/Contracts.js +0 -327
- package/esm/resources/V2/Billing/Contracts.js.map +0 -1
- package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
- package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -31
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
- package/esm/resources/V2/Billing/IntentActions.d.ts +0 -603
- package/esm/resources/V2/Billing/IntentActions.js +0 -3
- package/esm/resources/V2/Billing/IntentActions.js.map +0 -1
- package/esm/resources/V2/Billing/Intents/Actions.d.ts +0 -33
- package/esm/resources/V2/Billing/Intents/Actions.js +0 -66
- package/esm/resources/V2/Billing/Intents/Actions.js.map +0 -1
- package/esm/resources/V2/Billing/Intents.d.ts +0 -1261
- package/esm/resources/V2/Billing/Intents.js +0 -83
- package/esm/resources/V2/Billing/Intents.js.map +0 -1
- package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -78
- package/esm/resources/V2/Billing/LicenseFeeVersions.js +0 -3
- package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
- package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -60
- package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/LicenseFees.d.ts +0 -360
- package/esm/resources/V2/Billing/LicenseFees.js +0 -144
- package/esm/resources/V2/Billing/LicenseFees.js.map +0 -1
- package/esm/resources/V2/Billing/LicensedItems.d.ts +0 -170
- package/esm/resources/V2/Billing/LicensedItems.js +0 -31
- package/esm/resources/V2/Billing/LicensedItems.js.map +0 -1
- package/esm/resources/V2/Billing/MeteredItems.d.ts +0 -218
- package/esm/resources/V2/Billing/MeteredItems.js +0 -31
- package/esm/resources/V2/Billing/MeteredItems.js.map +0 -1
- package/esm/resources/V2/Billing/OneTimeItems.d.ts +0 -170
- package/esm/resources/V2/Billing/OneTimeItems.js +0 -31
- package/esm/resources/V2/Billing/OneTimeItems.js.map +0 -1
- package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +0 -80
- package/esm/resources/V2/Billing/PricingPlanComponents.js +0 -3
- package/esm/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -620
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -292
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
- package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
- package/esm/resources/V2/Billing/PricingPlanVersions.js +0 -3
- package/esm/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
- package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
- package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -37
- package/esm/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
- package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -19
- package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/PricingPlans.d.ts +0 -169
- package/esm/resources/V2/Billing/PricingPlans.js +0 -39
- package/esm/resources/V2/Billing/PricingPlans.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/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -3
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
- package/esm/resources/V2/Billing/RateCardRates.d.ts +0 -111
- package/esm/resources/V2/Billing/RateCardRates.js +0 -3
- package/esm/resources/V2/Billing/RateCardRates.js.map +0 -1
- package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -215
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -37
- package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
- package/esm/resources/V2/Billing/RateCardVersions.d.ts +0 -22
- package/esm/resources/V2/Billing/RateCardVersions.js +0 -3
- package/esm/resources/V2/Billing/RateCardVersions.js.map +0 -1
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -31
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
- package/esm/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
- package/esm/resources/V2/Billing/RateCards/Rates.js +0 -106
- package/esm/resources/V2/Billing/RateCards/Rates.js.map +0 -1
- package/esm/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/RateCards/Versions.js +0 -19
- package/esm/resources/V2/Billing/RateCards/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/RateCards.d.ts +0 -336
- package/esm/resources/V2/Billing/RateCards.js +0 -72
- package/esm/resources/V2/Billing/RateCards.js.map +0 -1
- package/esm/resources/V2/Billing/ServiceActions.d.ts +0 -510
- package/esm/resources/V2/Billing/ServiceActions.js +0 -158
- package/esm/resources/V2/Billing/ServiceActions.js.map +0 -1
- package/esm/resources/V2/Core/AccountEvaluations.d.ts +0 -159
- package/esm/resources/V2/Core/AccountEvaluations.js +0 -11
- package/esm/resources/V2/Core/AccountEvaluations.js.map +0 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +0 -331
- package/esm/resources/V2/Core/ApprovalRequests.js +0 -42
- package/esm/resources/V2/Core/ApprovalRequests.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
- package/esm/resources/V2/Core/BatchJobs.js +0 -221
- package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
- package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +0 -225
- package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -27
- package/esm/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
- package/esm/resources/V2/Core/ConnectionSessions.d.ts +0 -86
- package/esm/resources/V2/Core/ConnectionSessions.js +0 -17
- package/esm/resources/V2/Core/ConnectionSessions.js.map +0 -1
- package/esm/resources/V2/Core/FeeBatches.d.ts +0 -234
- package/esm/resources/V2/Core/FeeBatches.js +0 -19
- package/esm/resources/V2/Core/FeeBatches.js.map +0 -1
- package/esm/resources/V2/Core/FeeEntries.d.ts +0 -200
- package/esm/resources/V2/Core/FeeEntries.js +0 -19
- package/esm/resources/V2/Core/FeeEntries.js.map +0 -1
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +0 -423
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +0 -3
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +0 -1
- package/esm/resources/V2/Core/Health/Alerts/History.d.ts +0 -23
- package/esm/resources/V2/Core/Health/Alerts/History.js +0 -97
- package/esm/resources/V2/Core/Health/Alerts/History.js.map +0 -1
- package/esm/resources/V2/Core/Health/Alerts.d.ts +0 -537
- package/esm/resources/V2/Core/Health/Alerts.js +0 -178
- package/esm/resources/V2/Core/Health/Alerts.js.map +0 -1
- package/esm/resources/V2/Core/Health/index.d.ts +0 -16
- package/esm/resources/V2/Core/Health/index.js +0 -9
- package/esm/resources/V2/Core/Health/index.js.map +0 -1
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -280
- 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 -252
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -61
- 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/Analytics/MetricQuery.d.ts +0 -74
- package/esm/resources/V2/Data/Analytics/MetricQuery.js +0 -32
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -76
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +0 -3
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
- package/esm/resources/V2/Data/Analytics/index.d.ts +0 -12
- package/esm/resources/V2/Data/Analytics/index.js +0 -9
- package/esm/resources/V2/Data/Analytics/index.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -172
- 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 -13
- package/esm/resources/V2/Data/index.js +0 -11
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
- package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +0 -120
- package/esm/resources/V2/Extend/Workflows.js +0 -26
- package/esm/resources/V2/Extend/Workflows.js.map +0 -1
- package/esm/resources/V2/Extend/index.d.ts +0 -20
- package/esm/resources/V2/Extend/index.js +0 -11
- package/esm/resources/V2/Extend/index.js.map +0 -1
- package/esm/resources/V2/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 -218
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/ApiKeys.d.ts +0 -305
- package/esm/resources/V2/Iam/ApiKeys.js +0 -43
- package/esm/resources/V2/Iam/ApiKeys.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -23
- package/esm/resources/V2/Iam/index.js +0 -11
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -131
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +0 -27
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -169
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js +0 -25
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -99
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -3
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -49
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -49
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -438
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -46
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +0 -3
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -304
- 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 -251
- 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 -329
- 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 -638
- 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 -318
- 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 -394
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +0 -648
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js +0 -53
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -277
- 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 -481
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +0 -166
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +0 -25
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -308
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -116
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -23
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +0 -34
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -11
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +0 -9
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -266
- 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 -321
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -25
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +0 -153
- package/esm/resources/V2/MoneyManagement/index.js +0 -47
- 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/Payments/OffSessionPayments.d.ts +0 -835
- package/esm/resources/V2/Payments/OffSessionPayments.js +0 -49
- package/esm/resources/V2/Payments/OffSessionPayments.js.map +0 -1
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -73
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -3
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -31
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
- package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -209
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +0 -49
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
- package/esm/resources/V2/Payments/index.d.ts +0 -31
- package/esm/resources/V2/Payments/index.js +0 -11
- package/esm/resources/V2/Payments/index.js.map +0 -1
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +0 -191
- package/esm/resources/V2/Reporting/ReportRuns.js +0 -46
- package/esm/resources/V2/Reporting/ReportRuns.js.map +0 -1
- package/esm/resources/V2/Reporting/Reports.d.ts +0 -106
- package/esm/resources/V2/Reporting/Reports.js +0 -13
- package/esm/resources/V2/Reporting/Reports.js.map +0 -1
- package/esm/resources/V2/Reporting/index.d.ts +0 -18
- package/esm/resources/V2/Reporting/index.js +0 -11
- package/esm/resources/V2/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Risk/Inquiries.d.ts +0 -143
- package/esm/resources/V2/Risk/Inquiries.js +0 -25
- package/esm/resources/V2/Risk/Inquiries.js.map +0 -1
- package/esm/resources/V2/Risk/index.d.ts +0 -14
- package/esm/resources/V2/Risk/index.js +0 -9
- package/esm/resources/V2/Risk/index.js.map +0 -1
- package/esm/resources/V2/Signals/AccountActivity.d.ts +0 -424
- package/esm/resources/V2/Signals/AccountActivity.js +0 -23
- package/esm/resources/V2/Signals/AccountActivity.js.map +0 -1
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
- package/esm/resources/V2/Signals/AccountEvaluations.js +0 -55
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +0 -1
- package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -281
- package/esm/resources/V2/Signals/AccountSignals.js +0 -106
- package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/esm/resources/V2/Signals/index.d.ts +0 -26
- package/esm/resources/V2/Signals/index.js +0 -13
- package/esm/resources/V2/Signals/index.js.map +0 -1
- package/esm/resources/V2/Tax/ManualRules.d.ts +0 -331
- package/esm/resources/V2/Tax/ManualRules.js +0 -189
- package/esm/resources/V2/Tax/ManualRules.js.map +0 -1
- package/esm/resources/V2/Tax/Operations.d.ts +0 -43
- package/esm/resources/V2/Tax/Operations.js +0 -11
- package/esm/resources/V2/Tax/Operations.js.map +0 -1
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.d.ts +0 -68
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.js +0 -3
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.js.map +0 -1
- package/esm/resources/V2/Tax/index.d.ts +0 -21
- package/esm/resources/V2/Tax/index.js +0 -11
- package/esm/resources/V2/Tax/index.js.map +0 -1
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -11
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
- package/esm/resources/V2/TestHelpers/index.d.ts +0 -10
- package/esm/resources/V2/TestHelpers/index.js +0 -11
- package/esm/resources/V2/TestHelpers/index.js.map +0 -1
|
@@ -4,14 +4,11 @@ import { Discount, DeletedDiscount } from './Discounts.js';
|
|
|
4
4
|
import { TaxId, DeletedTaxId } from './TaxIds.js';
|
|
5
5
|
import { Application, DeletedApplication } from './Applications.js';
|
|
6
6
|
import { Customer, DeletedCustomer } from './Customers.js';
|
|
7
|
-
import { Margin } from './Margins.js';
|
|
8
7
|
import { PaymentMethod } from './PaymentMethods.js';
|
|
9
8
|
import { CustomerSource } from './CustomerSources.js';
|
|
10
9
|
import { TaxRate } from './TaxRates.js';
|
|
11
10
|
import { Account } from './Accounts.js';
|
|
12
|
-
import { PaymentPlan } from './PaymentPlans.js';
|
|
13
11
|
import { InvoicePayment } from './InvoicePayments.js';
|
|
14
|
-
import { GiftCardOperation } from './GiftCardOperations.js';
|
|
15
12
|
import { PaymentIntent } from './PaymentIntents.js';
|
|
16
13
|
import { SetupIntent } from './SetupIntents.js';
|
|
17
14
|
import { Subscription } from './Subscriptions.js';
|
|
@@ -70,10 +67,6 @@ export declare class InvoiceResource extends StripeResource {
|
|
|
70
67
|
* See: [Partial payments](https://docs.stripe.com/docs/invoicing/partial-payments) to learn more.
|
|
71
68
|
*/
|
|
72
69
|
attachPayment(id: string, params?: InvoiceAttachPaymentParams, options?: RequestOptions): Promise<Response<Invoice>>;
|
|
73
|
-
/**
|
|
74
|
-
* Detaches a payment from the invoice, removing it from the list of payments
|
|
75
|
-
*/
|
|
76
|
-
detachPayment(id: string, params?: InvoiceDetachPaymentParams, options?: RequestOptions): Promise<Response<Invoice>>;
|
|
77
70
|
/**
|
|
78
71
|
* Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method.
|
|
79
72
|
*/
|
|
@@ -118,54 +111,6 @@ export declare class InvoiceResource extends StripeResource {
|
|
|
118
111
|
* Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. [Learn more](https://docs.stripe.com/currencies/conversions)
|
|
119
112
|
*/
|
|
120
113
|
createPreview(params?: InvoiceCreatePreviewParams, options?: RequestOptions): Promise<Response<Invoice>>;
|
|
121
|
-
serializeBatchDelete(invoice: string, params?: Record<string, unknown>, options?: {
|
|
122
|
-
apiVersion?: string;
|
|
123
|
-
stripeContext?: string;
|
|
124
|
-
}): string;
|
|
125
|
-
serializeBatchUpdate(invoice: string, params?: Record<string, unknown>, options?: {
|
|
126
|
-
apiVersion?: string;
|
|
127
|
-
stripeContext?: string;
|
|
128
|
-
}): string;
|
|
129
|
-
serializeBatchCreate(params?: Record<string, unknown>, options?: {
|
|
130
|
-
apiVersion?: string;
|
|
131
|
-
stripeContext?: string;
|
|
132
|
-
}): string;
|
|
133
|
-
serializeBatchAddLines(invoice: string, params?: Record<string, unknown>, options?: {
|
|
134
|
-
apiVersion?: string;
|
|
135
|
-
stripeContext?: string;
|
|
136
|
-
}): string;
|
|
137
|
-
serializeBatchFinalizeInvoice(invoice: string, params?: Record<string, unknown>, options?: {
|
|
138
|
-
apiVersion?: string;
|
|
139
|
-
stripeContext?: string;
|
|
140
|
-
}): string;
|
|
141
|
-
serializeBatchMarkUncollectible(invoice: string, params?: Record<string, unknown>, options?: {
|
|
142
|
-
apiVersion?: string;
|
|
143
|
-
stripeContext?: string;
|
|
144
|
-
}): string;
|
|
145
|
-
serializeBatchPay(invoice: string, params?: Record<string, unknown>, options?: {
|
|
146
|
-
apiVersion?: string;
|
|
147
|
-
stripeContext?: string;
|
|
148
|
-
}): string;
|
|
149
|
-
serializeBatchRemoveLines(invoice: string, params?: Record<string, unknown>, options?: {
|
|
150
|
-
apiVersion?: string;
|
|
151
|
-
stripeContext?: string;
|
|
152
|
-
}): string;
|
|
153
|
-
serializeBatchSendInvoice(invoice: string, params?: Record<string, unknown>, options?: {
|
|
154
|
-
apiVersion?: string;
|
|
155
|
-
stripeContext?: string;
|
|
156
|
-
}): string;
|
|
157
|
-
serializeBatchUpdateLines(invoice: string, params?: Record<string, unknown>, options?: {
|
|
158
|
-
apiVersion?: string;
|
|
159
|
-
stripeContext?: string;
|
|
160
|
-
}): string;
|
|
161
|
-
serializeBatchVoidInvoice(invoice: string, params?: Record<string, unknown>, options?: {
|
|
162
|
-
apiVersion?: string;
|
|
163
|
-
stripeContext?: string;
|
|
164
|
-
}): string;
|
|
165
|
-
serializeBatchCreatePreview(params?: Record<string, unknown>, options?: {
|
|
166
|
-
apiVersion?: string;
|
|
167
|
-
stripeContext?: string;
|
|
168
|
-
}): string;
|
|
169
114
|
/**
|
|
170
115
|
* When retrieving an invoice, you'll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
|
|
171
116
|
*/
|
|
@@ -177,10 +122,6 @@ export declare class InvoiceResource extends StripeResource {
|
|
|
177
122
|
* Updating an invoice's line item is only possible before the invoice is finalized.
|
|
178
123
|
*/
|
|
179
124
|
updateLineItem(invoiceId: string, id: string, params?: InvoiceUpdateLineItemParams, options?: RequestOptions): Promise<Response<InvoiceLineItem>>;
|
|
180
|
-
serializeBatchUpdateLineItem(invoice: string, lineItemId: string, params?: Record<string, unknown>, options?: {
|
|
181
|
-
apiVersion?: string;
|
|
182
|
-
stripeContext?: string;
|
|
183
|
-
}): string;
|
|
184
125
|
}
|
|
185
126
|
export interface Invoice {
|
|
186
127
|
/**
|
|
@@ -227,10 +168,6 @@ export interface Invoice {
|
|
|
227
168
|
* This is the sum of all the shipping amounts.
|
|
228
169
|
*/
|
|
229
170
|
amount_shipping: number;
|
|
230
|
-
/**
|
|
231
|
-
* List of expected payments and corresponding due dates. This value will be null for invoices where collection_method=charge_automatically.
|
|
232
|
-
*/
|
|
233
|
-
amounts_due?: Array<Invoice.AmountsDue> | null;
|
|
234
171
|
/**
|
|
235
172
|
* ID of the Connect Application that created the invoice.
|
|
236
173
|
*/
|
|
@@ -296,10 +233,6 @@ export interface Invoice {
|
|
|
296
233
|
* The customer's address. Until the invoice is finalized, this field will equal `customer.address`. Once the invoice is finalized, this field will no longer be updated.
|
|
297
234
|
*/
|
|
298
235
|
customer_address: Address | null;
|
|
299
|
-
/**
|
|
300
|
-
* The customer balance amounts applied to this invoice.
|
|
301
|
-
*/
|
|
302
|
-
customer_balance?: Invoice.CustomerBalance | null;
|
|
303
236
|
/**
|
|
304
237
|
* The customer's email. Until the invoice is finalized, this field will equal `customer.email`. Once the invoice is finalized, this field will no longer be updated.
|
|
305
238
|
*/
|
|
@@ -324,10 +257,6 @@ export interface Invoice {
|
|
|
324
257
|
* The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as `customer.tax_ids`. Once the invoice is finalized, this field will no longer be updated.
|
|
325
258
|
*/
|
|
326
259
|
customer_tax_ids?: Array<Invoice.CustomerTaxId> | null;
|
|
327
|
-
/**
|
|
328
|
-
* The margins applied to the invoice. Can be overridden by line item `margins`. Use `expand[]=default_margins` to expand each margin.
|
|
329
|
-
*/
|
|
330
|
-
default_margins?: Array<string | Margin> | null;
|
|
331
260
|
/**
|
|
332
261
|
* ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings.
|
|
333
262
|
*/
|
|
@@ -397,7 +326,6 @@ export interface Invoice {
|
|
|
397
326
|
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
398
327
|
*/
|
|
399
328
|
livemode: boolean;
|
|
400
|
-
managed_payments?: Invoice.ManagedPayments | null;
|
|
401
329
|
/**
|
|
402
330
|
* 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.
|
|
403
331
|
*/
|
|
@@ -418,10 +346,6 @@ export interface Invoice {
|
|
|
418
346
|
* The parent that generated this invoice
|
|
419
347
|
*/
|
|
420
348
|
parent: Invoice.Parent | null;
|
|
421
|
-
/**
|
|
422
|
-
* The ID of the payment plan associated with this invoice, if any. Use `expand[]=payment_plan` to include the full payment plan object.
|
|
423
|
-
*/
|
|
424
|
-
payment_plan?: string | PaymentPlan;
|
|
425
349
|
payment_settings: Invoice.PaymentSettings;
|
|
426
350
|
/**
|
|
427
351
|
* Payments for this invoice. Use [invoice payment](https://docs.stripe.com/api/invoice-payment) to get more details.
|
|
@@ -497,10 +421,6 @@ export interface Invoice {
|
|
|
497
421
|
* The integer amount in cents (or local equivalent) representing the total amount of the invoice including all discounts but excluding all tax.
|
|
498
422
|
*/
|
|
499
423
|
total_excluding_tax: number | null;
|
|
500
|
-
/**
|
|
501
|
-
* The aggregate amounts calculated per margin across all line items.
|
|
502
|
-
*/
|
|
503
|
-
total_margin_amounts?: Array<Invoice.TotalMarginAmount> | null;
|
|
504
424
|
/**
|
|
505
425
|
* Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this invoice. This is a combined list of total_pretax_credit_amounts across all invoice line items.
|
|
506
426
|
*/
|
|
@@ -529,40 +449,6 @@ export interface DeletedInvoice {
|
|
|
529
449
|
deleted: true;
|
|
530
450
|
}
|
|
531
451
|
export declare namespace Invoice {
|
|
532
|
-
interface AmountsDue {
|
|
533
|
-
/**
|
|
534
|
-
* Incremental amount due for this payment in cents (or local equivalent).
|
|
535
|
-
*/
|
|
536
|
-
amount: number;
|
|
537
|
-
/**
|
|
538
|
-
* The amount in cents (or local equivalent) that was paid for this payment.
|
|
539
|
-
*/
|
|
540
|
-
amount_paid: number;
|
|
541
|
-
/**
|
|
542
|
-
* The difference between the payment's amount and amount_paid, in cents (or local equivalent).
|
|
543
|
-
*/
|
|
544
|
-
amount_remaining: number;
|
|
545
|
-
/**
|
|
546
|
-
* Number of days from when invoice is finalized until the payment is due.
|
|
547
|
-
*/
|
|
548
|
-
days_until_due: number | null;
|
|
549
|
-
/**
|
|
550
|
-
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
551
|
-
*/
|
|
552
|
-
description: string | null;
|
|
553
|
-
/**
|
|
554
|
-
* Date on which a payment plan's payment is due.
|
|
555
|
-
*/
|
|
556
|
-
due_date: number | null;
|
|
557
|
-
/**
|
|
558
|
-
* Timestamp when the payment was paid.
|
|
559
|
-
*/
|
|
560
|
-
paid_at: number | null;
|
|
561
|
-
/**
|
|
562
|
-
* The status of the payment, one of `open`, `paid`, or `past_due`
|
|
563
|
-
*/
|
|
564
|
-
status: AmountsDue.Status;
|
|
565
|
-
}
|
|
566
452
|
interface AutomaticTax {
|
|
567
453
|
/**
|
|
568
454
|
* If Stripe disabled automatic tax, this enum describes why.
|
|
@@ -607,20 +493,6 @@ export declare namespace Invoice {
|
|
|
607
493
|
*/
|
|
608
494
|
value: string;
|
|
609
495
|
}
|
|
610
|
-
interface CustomerBalance {
|
|
611
|
-
/**
|
|
612
|
-
* The total amount of customer balance applied to this invoice (automatically + manually).
|
|
613
|
-
*/
|
|
614
|
-
applied_balance: number;
|
|
615
|
-
/**
|
|
616
|
-
* The amount of customer balance automatically applied during invoice finalization.
|
|
617
|
-
*/
|
|
618
|
-
automatically_applied_balance: number;
|
|
619
|
-
/**
|
|
620
|
-
* The total amount of customer balance manually applied after finalization.
|
|
621
|
-
*/
|
|
622
|
-
manually_applied_balance: number;
|
|
623
|
-
}
|
|
624
496
|
interface CustomerShipping {
|
|
625
497
|
address?: Address;
|
|
626
498
|
/**
|
|
@@ -692,11 +564,6 @@ export declare namespace Invoice {
|
|
|
692
564
|
* A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
|
|
693
565
|
*/
|
|
694
566
|
doc_url?: string;
|
|
695
|
-
/**
|
|
696
|
-
* A GiftCardOperation represents an operation performed on a third-party gift card,
|
|
697
|
-
* such as activation, reload, cashout, balance check, or void.
|
|
698
|
-
*/
|
|
699
|
-
gift_card_operation?: GiftCardOperation;
|
|
700
567
|
/**
|
|
701
568
|
* A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
|
|
702
569
|
*/
|
|
@@ -773,25 +640,11 @@ export declare namespace Invoice {
|
|
|
773
640
|
*/
|
|
774
641
|
type: LastFinalizationError.Type;
|
|
775
642
|
}
|
|
776
|
-
interface ManagedPayments {
|
|
777
|
-
/**
|
|
778
|
-
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
|
|
779
|
-
*/
|
|
780
|
-
enabled: boolean;
|
|
781
|
-
}
|
|
782
643
|
interface Parent {
|
|
783
|
-
/**
|
|
784
|
-
* Details about the billing cadence that generated this invoice
|
|
785
|
-
*/
|
|
786
|
-
billing_cadence_details?: Parent.BillingCadenceDetails | null;
|
|
787
644
|
/**
|
|
788
645
|
* Details about the quote that generated this invoice
|
|
789
646
|
*/
|
|
790
647
|
quote_details: Parent.QuoteDetails | null;
|
|
791
|
-
/**
|
|
792
|
-
* Details about the schedule that generated this invoice
|
|
793
|
-
*/
|
|
794
|
-
schedule_details?: Parent.ScheduleDetails | null;
|
|
795
648
|
/**
|
|
796
649
|
* Details about the subscription that generated this invoice
|
|
797
650
|
*/
|
|
@@ -913,16 +766,6 @@ export declare namespace Invoice {
|
|
|
913
766
|
*/
|
|
914
767
|
discount: string | Discount | DeletedDiscount;
|
|
915
768
|
}
|
|
916
|
-
interface TotalMarginAmount {
|
|
917
|
-
/**
|
|
918
|
-
* The amount, in cents (or local equivalent), of the reduction in line item amount.
|
|
919
|
-
*/
|
|
920
|
-
amount: number;
|
|
921
|
-
/**
|
|
922
|
-
* The margin that was applied to get this margin amount.
|
|
923
|
-
*/
|
|
924
|
-
margin: string | Margin;
|
|
925
|
-
}
|
|
926
769
|
interface TotalPretaxCreditAmount {
|
|
927
770
|
/**
|
|
928
771
|
* The amount, in cents (or local equivalent), of the pretax credit amount.
|
|
@@ -936,10 +779,6 @@ export declare namespace Invoice {
|
|
|
936
779
|
* The discount that was applied to get this pretax credit amount.
|
|
937
780
|
*/
|
|
938
781
|
discount?: string | Discount | DeletedDiscount;
|
|
939
|
-
/**
|
|
940
|
-
* The margin that was applied to get this pretax credit amount.
|
|
941
|
-
*/
|
|
942
|
-
margin?: string | Margin;
|
|
943
782
|
/**
|
|
944
783
|
* Type of the pretax credit amount referenced.
|
|
945
784
|
*/
|
|
@@ -971,9 +810,6 @@ export declare namespace Invoice {
|
|
|
971
810
|
*/
|
|
972
811
|
type: 'tax_rate_details';
|
|
973
812
|
}
|
|
974
|
-
namespace AmountsDue {
|
|
975
|
-
type Status = 'open' | 'paid' | 'past_due' | OtherString;
|
|
976
|
-
}
|
|
977
813
|
namespace AutomaticTax {
|
|
978
814
|
type DisabledReason = 'finalization_requires_location_inputs' | 'finalization_system_error' | OtherString;
|
|
979
815
|
interface Liability {
|
|
@@ -988,52 +824,32 @@ export declare namespace Invoice {
|
|
|
988
824
|
}
|
|
989
825
|
type Status = 'complete' | 'failed' | 'requires_location_inputs' | OtherString;
|
|
990
826
|
namespace Liability {
|
|
991
|
-
type Type = 'account' | '
|
|
827
|
+
type Type = 'account' | 'self' | OtherString;
|
|
992
828
|
}
|
|
993
829
|
}
|
|
994
830
|
namespace CustomerTaxId {
|
|
995
831
|
type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'gb_vat' | 'ge_vat' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'ic_nif' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'unknown' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin' | OtherString;
|
|
996
832
|
}
|
|
997
833
|
namespace Issuer {
|
|
998
|
-
type Type = 'account' | '
|
|
834
|
+
type Type = 'account' | 'self' | OtherString;
|
|
999
835
|
}
|
|
1000
836
|
namespace LastFinalizationError {
|
|
1001
|
-
type Code = 'account_closed' | 'account_country_invalid_address' | 'account_error_country_change_requires_additional_steps' | 'account_information_mismatch' | 'account_invalid' | 'account_number_invalid' | 'account_token_required_for_v2_account' | 'acss_debit_session_incomplete' | 'action_blocked' | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' | 'authentication_required' | 'balance_insufficient' | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' | 'bank_account_restricted' | 'bank_account_unusable' | 'bank_account_unverified' | 'bank_account_verification_failed' | 'billing_invalid_mandate' | 'bitcoin_upgrade_required' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'card_declined' | 'cardholder_phone_number_required' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_exceeds_transaction_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'clearing_code_unsupported' | 'country_code_invalid' | 'country_unsupported' | 'coupon_expired' | 'customer_max_payment_methods' | 'customer_max_subscriptions' | 'customer_session_expired' | 'customer_tax_location_invalid' | 'debit_not_authorized' | 'email_invalid' | 'expired_card' | 'failed_tax_calculation' | 'financial_account_balance_does_not_support_currency' | 'financial_account_capability_not_enabled' | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' | '
|
|
837
|
+
type Code = 'account_closed' | 'account_country_invalid_address' | 'account_error_country_change_requires_additional_steps' | 'account_information_mismatch' | 'account_invalid' | 'account_number_invalid' | 'account_token_required_for_v2_account' | 'acss_debit_session_incomplete' | 'action_blocked' | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' | 'authentication_failure' | 'authentication_required' | 'balance_insufficient' | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' | 'bank_account_restricted' | 'bank_account_unusable' | 'bank_account_unverified' | 'bank_account_verification_failed' | 'billing_invalid_mandate' | 'bitcoin_upgrade_required' | 'capability_not_active' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'card_declined' | 'cardholder_phone_number_required' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_exceeds_transaction_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'clearing_code_unsupported' | 'country_code_invalid' | 'country_unsupported' | 'coupon_expired' | 'customer_max_payment_methods' | 'customer_max_subscriptions' | 'customer_session_expired' | 'customer_tax_location_invalid' | 'debit_not_authorized' | 'email_invalid' | 'expired_card' | 'expired_payment_method' | 'failed_tax_calculation' | 'financial_account_balance_does_not_support_currency' | 'financial_account_capability_not_enabled' | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' | 'financial_connections_no_successful_transaction_refresh' | 'forwarding_api_inactive' | 'forwarding_api_invalid_parameter' | 'forwarding_api_retryable_upstream_error' | 'forwarding_api_upstream_connection_error' | 'forwarding_api_upstream_connection_timeout' | 'forwarding_api_upstream_error' | 'idempotency_key_in_use' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_number' | 'incorrect_postal_code' | 'incorrect_zip' | 'india_recurring_payment_mandate_canceled' | 'instant_payouts_config_disabled' | 'instant_payouts_currency_disabled' | 'instant_payouts_limit_exceeded' | 'instant_payouts_unsupported' | 'insufficient_funds' | 'intent_invalid_state' | 'intent_verification_method_missing' | 'invalid_canceled_subscription_fields' | 'invalid_card_type' | 'invalid_characters' | 'invalid_charge_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_mandate_reference_prefix_format' | 'invalid_number' | 'invalid_source_usage' | 'invalid_tax_location' | 'invoice_no_customer_line_items' | 'invoice_no_payment_method_types' | 'invoice_no_subscription_line_items' | 'invoice_not_editable' | 'invoice_on_behalf_of_not_editable' | 'invoice_payment_intent_requires_action' | 'invoice_upcoming_none' | 'livemode_mismatch' | 'lock_timeout' | 'missing' | 'no_account' | 'not_allowed_on_standard_account' | 'out_of_inventory' | 'ownership_declaration_not_allowed' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_invalid_parameter' | 'payment_intent_konbini_rejected_confirmation_number' | 'payment_intent_mandate_invalid' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_rate_limit_exceeded' | 'payment_intent_unexpected_state' | 'payment_method_bank_account_already_verified' | 'payment_method_bank_account_blocked' | 'payment_method_billing_details_address_missing' | 'payment_method_configuration_failures' | 'payment_method_currency_mismatch' | 'payment_method_customer_decline' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_microdeposit_failed' | 'payment_method_microdeposit_processing_error' | 'payment_method_microdeposit_verification_amounts_invalid' | 'payment_method_microdeposit_verification_amounts_mismatch' | 'payment_method_microdeposit_verification_attempts_exceeded' | 'payment_method_microdeposit_verification_descriptor_code_mismatch' | 'payment_method_microdeposit_verification_timeout' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_restricted' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' | 'platform_api_key_expired' | 'postal_code_invalid' | 'processing_error' | 'product_inactive' | 'progressive_onboarding_limit_exceeded' | 'rate_limit' | 'refer_to_customer' | 'refund_disputed_payment' | 'request_blocked' | 'resource_already_exists' | 'resource_missing' | 'return_intent_already_processed' | 'routing_number_invalid' | 'secret_key_required' | 'sepa_unsupported_account' | 'service_period_coupon_with_metered_tiered_item_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_mandate_invalid' | 'setup_intent_mobile_wallet_unsupported' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state' | 'shipping_address_invalid' | 'shipping_calculation_failed' | 'siret_invalid' | 'sku_inactive' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | 'tax_id_invalid' | 'tax_id_prohibited' | 'taxes_calculation_failed' | 'terminal_location_country_unsupported' | 'terminal_reader_busy' | 'terminal_reader_hardware_fault' | 'terminal_reader_invalid_location_for_activation' | 'terminal_reader_invalid_location_for_payment' | 'terminal_reader_offline' | 'terminal_reader_timeout' | 'testmode_charges_only' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid' | OtherString;
|
|
1002
838
|
type Type = 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | OtherString;
|
|
1003
839
|
}
|
|
1004
840
|
namespace Parent {
|
|
1005
|
-
interface BillingCadenceDetails {
|
|
1006
|
-
/**
|
|
1007
|
-
* The billing cadence that generated this invoice
|
|
1008
|
-
*/
|
|
1009
|
-
billing_cadence: string;
|
|
1010
|
-
}
|
|
1011
841
|
interface QuoteDetails {
|
|
1012
842
|
/**
|
|
1013
843
|
* The quote that generated this invoice
|
|
1014
844
|
*/
|
|
1015
845
|
quote: string;
|
|
1016
846
|
}
|
|
1017
|
-
interface ScheduleDetails {
|
|
1018
|
-
/**
|
|
1019
|
-
* The schedule that generated this invoice
|
|
1020
|
-
*/
|
|
1021
|
-
schedule: string;
|
|
1022
|
-
/**
|
|
1023
|
-
* The subscription associated with this schedule
|
|
1024
|
-
*/
|
|
1025
|
-
subscription: string | Subscription | null;
|
|
1026
|
-
}
|
|
1027
847
|
interface SubscriptionDetails {
|
|
1028
848
|
/**
|
|
1029
849
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) defined as subscription metadata when an invoice is created. Becomes an immutable snapshot of the subscription metadata at the time of invoice finalization.
|
|
1030
850
|
* *Note: This attribute is populated only for invoices created on or after June 29, 2023.*
|
|
1031
851
|
*/
|
|
1032
852
|
metadata: Metadata | null;
|
|
1033
|
-
/**
|
|
1034
|
-
* If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://docs.stripe.com/billing/subscriptions/pause-payment).
|
|
1035
|
-
*/
|
|
1036
|
-
pause_collection?: SubscriptionDetails.PauseCollection | null;
|
|
1037
853
|
/**
|
|
1038
854
|
* The subscription that generated this invoice
|
|
1039
855
|
*/
|
|
@@ -1043,22 +859,7 @@ export declare namespace Invoice {
|
|
|
1043
859
|
*/
|
|
1044
860
|
subscription_proration_date?: number;
|
|
1045
861
|
}
|
|
1046
|
-
type Type = '
|
|
1047
|
-
namespace SubscriptionDetails {
|
|
1048
|
-
interface PauseCollection {
|
|
1049
|
-
/**
|
|
1050
|
-
* The payment collection behavior for this subscription while paused.
|
|
1051
|
-
*/
|
|
1052
|
-
behavior: PauseCollection.Behavior | null;
|
|
1053
|
-
/**
|
|
1054
|
-
* The time after which the subscription will resume collecting payments.
|
|
1055
|
-
*/
|
|
1056
|
-
resumes_at: number | null;
|
|
1057
|
-
}
|
|
1058
|
-
namespace PauseCollection {
|
|
1059
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
862
|
+
type Type = 'quote_details' | 'subscription_details' | OtherString;
|
|
1062
863
|
}
|
|
1063
864
|
namespace PaymentSettings {
|
|
1064
865
|
interface PaymentMethodOptions {
|
|
@@ -1074,30 +875,14 @@ export declare namespace Invoice {
|
|
|
1074
875
|
* If paying by `billie`, this sub-hash contains details about the Billie payment method options to pass to the invoice's PaymentIntent.
|
|
1075
876
|
*/
|
|
1076
877
|
billie?: PaymentMethodOptions.Billie | null;
|
|
1077
|
-
/**
|
|
1078
|
-
* If paying by `bizum`, this sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
|
|
1079
|
-
*/
|
|
1080
|
-
bizum?: PaymentMethodOptions.Bizum | null;
|
|
1081
|
-
/**
|
|
1082
|
-
* If paying by `blik`, this sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
1083
|
-
*/
|
|
1084
|
-
blik?: PaymentMethodOptions.Blik | null;
|
|
1085
878
|
/**
|
|
1086
879
|
* If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
1087
880
|
*/
|
|
1088
881
|
card: PaymentMethodOptions.Card | null;
|
|
1089
|
-
/**
|
|
1090
|
-
* If paying by `check_scan`, this sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
1091
|
-
*/
|
|
1092
|
-
check_scan?: PaymentMethodOptions.CheckScan | null;
|
|
1093
882
|
/**
|
|
1094
883
|
* If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1095
884
|
*/
|
|
1096
885
|
customer_balance: PaymentMethodOptions.CustomerBalance | null;
|
|
1097
|
-
/**
|
|
1098
|
-
* If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1099
|
-
*/
|
|
1100
|
-
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
|
|
1101
886
|
/**
|
|
1102
887
|
* If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
1103
888
|
*/
|
|
@@ -1122,12 +907,8 @@ export declare namespace Invoice {
|
|
|
1122
907
|
* If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
1123
908
|
*/
|
|
1124
909
|
us_bank_account: PaymentMethodOptions.UsBankAccount | null;
|
|
1125
|
-
/**
|
|
1126
|
-
* If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
1127
|
-
*/
|
|
1128
|
-
wechat_pay?: PaymentMethodOptions.WechatPay | null;
|
|
1129
910
|
}
|
|
1130
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | '
|
|
911
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | '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;
|
|
1131
912
|
namespace PaymentMethodOptions {
|
|
1132
913
|
interface AcssDebit {
|
|
1133
914
|
mandate_options?: AcssDebit.MandateOptions;
|
|
@@ -1144,10 +925,6 @@ export declare namespace Invoice {
|
|
|
1144
925
|
}
|
|
1145
926
|
interface Billie {
|
|
1146
927
|
}
|
|
1147
|
-
interface Bizum {
|
|
1148
|
-
}
|
|
1149
|
-
interface Blik {
|
|
1150
|
-
}
|
|
1151
928
|
interface Card {
|
|
1152
929
|
installments?: Card.Installments;
|
|
1153
930
|
/**
|
|
@@ -1155,8 +932,6 @@ export declare namespace Invoice {
|
|
|
1155
932
|
*/
|
|
1156
933
|
request_three_d_secure: Card.RequestThreeDSecure | null;
|
|
1157
934
|
}
|
|
1158
|
-
interface CheckScan {
|
|
1159
|
-
}
|
|
1160
935
|
interface CustomerBalance {
|
|
1161
936
|
bank_transfer?: CustomerBalance.BankTransfer;
|
|
1162
937
|
/**
|
|
@@ -1164,8 +939,6 @@ export declare namespace Invoice {
|
|
|
1164
939
|
*/
|
|
1165
940
|
funding_type: 'bank_transfer' | null;
|
|
1166
941
|
}
|
|
1167
|
-
interface IdBankTransfer {
|
|
1168
|
-
}
|
|
1169
942
|
interface Konbini {
|
|
1170
943
|
}
|
|
1171
944
|
interface Payto {
|
|
@@ -1193,16 +966,6 @@ export declare namespace Invoice {
|
|
|
1193
966
|
*/
|
|
1194
967
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
1195
968
|
}
|
|
1196
|
-
interface WechatPay {
|
|
1197
|
-
/**
|
|
1198
|
-
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
1199
|
-
*/
|
|
1200
|
-
app_id?: string;
|
|
1201
|
-
/**
|
|
1202
|
-
* The client type that the end customer will pay from.
|
|
1203
|
-
*/
|
|
1204
|
-
client?: WechatPay.Client;
|
|
1205
|
-
}
|
|
1206
969
|
namespace AcssDebit {
|
|
1207
970
|
interface MandateOptions {
|
|
1208
971
|
/**
|
|
@@ -1312,21 +1075,14 @@ export declare namespace Invoice {
|
|
|
1312
1075
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
1313
1076
|
*/
|
|
1314
1077
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1315
|
-
/**
|
|
1316
|
-
* The institution to use to filter for possible accounts to link.
|
|
1317
|
-
*/
|
|
1318
|
-
institution?: string;
|
|
1319
1078
|
}
|
|
1320
1079
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
1321
|
-
type Prefetch = 'balances' | '
|
|
1080
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
1322
1081
|
namespace Filters {
|
|
1323
1082
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
1324
1083
|
}
|
|
1325
1084
|
}
|
|
1326
1085
|
}
|
|
1327
|
-
namespace WechatPay {
|
|
1328
|
-
type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
|
|
1329
|
-
}
|
|
1330
1086
|
}
|
|
1331
1087
|
}
|
|
1332
1088
|
namespace Rendering {
|
|
@@ -1378,7 +1134,7 @@ export declare namespace Invoice {
|
|
|
1378
1134
|
}
|
|
1379
1135
|
}
|
|
1380
1136
|
namespace TotalPretaxCreditAmount {
|
|
1381
|
-
type Type = 'credit_balance_transaction' | 'discount' |
|
|
1137
|
+
type Type = 'credit_balance_transaction' | 'discount' | OtherString;
|
|
1382
1138
|
}
|
|
1383
1139
|
namespace TotalTax {
|
|
1384
1140
|
type TaxBehavior = 'exclusive' | 'inclusive' | OtherString;
|
|
@@ -1386,7 +1142,7 @@ export declare namespace Invoice {
|
|
|
1386
1142
|
/**
|
|
1387
1143
|
* ID of the tax rate
|
|
1388
1144
|
*/
|
|
1389
|
-
tax_rate: string
|
|
1145
|
+
tax_rate: string;
|
|
1390
1146
|
}
|
|
1391
1147
|
type TaxabilityReason = 'customer_exempt' | 'not_available' | 'not_collecting' | 'not_subject_to_tax' | 'not_supported' | 'portion_product_exempt' | 'portion_reduced_rated' | 'portion_standard_rated' | 'product_exempt' | 'product_exempt_holiday' | 'proportionally_rated' | 'reduced_rated' | 'reverse_charge' | 'standard_rated' | 'taxable_basis_reduced' | 'zero_rated' | OtherString;
|
|
1392
1148
|
}
|
|
@@ -1396,10 +1152,6 @@ export interface InvoiceCreateParams {
|
|
|
1396
1152
|
* The account tax IDs associated with the invoice. Only editable when the invoice is a draft.
|
|
1397
1153
|
*/
|
|
1398
1154
|
account_tax_ids?: Emptyable<Array<string>>;
|
|
1399
|
-
/**
|
|
1400
|
-
* List of expected payments and corresponding due dates. Valid only for invoices where `collection_method=send_invoice`.
|
|
1401
|
-
*/
|
|
1402
|
-
amounts_due?: Emptyable<Array<InvoiceCreateParams.AmountsDue>>;
|
|
1403
1155
|
/**
|
|
1404
1156
|
* A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://docs.stripe.com/billing/invoices/connect#collecting-fees).
|
|
1405
1157
|
*/
|
|
@@ -1440,10 +1192,6 @@ export interface InvoiceCreateParams {
|
|
|
1440
1192
|
* The number of days from when the invoice is created until it is due. Valid only for invoices where `collection_method=send_invoice`.
|
|
1441
1193
|
*/
|
|
1442
1194
|
days_until_due?: number;
|
|
1443
|
-
/**
|
|
1444
|
-
* The ids of the margins to apply to the invoice. Can be overridden by line item `margins`.
|
|
1445
|
-
*/
|
|
1446
|
-
default_margins?: Array<string>;
|
|
1447
1195
|
/**
|
|
1448
1196
|
* ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings.
|
|
1449
1197
|
*/
|
|
@@ -1488,10 +1236,6 @@ export interface InvoiceCreateParams {
|
|
|
1488
1236
|
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
1489
1237
|
*/
|
|
1490
1238
|
issuer?: InvoiceCreateParams.Issuer;
|
|
1491
|
-
/**
|
|
1492
|
-
* Settings for Managed Payments for this invoice.
|
|
1493
|
-
*/
|
|
1494
|
-
managed_payments?: InvoiceCreateParams.ManagedPayments;
|
|
1495
1239
|
/**
|
|
1496
1240
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
1497
1241
|
*/
|
|
@@ -1538,24 +1282,6 @@ export interface InvoiceCreateParams {
|
|
|
1538
1282
|
transfer_data?: InvoiceCreateParams.TransferData;
|
|
1539
1283
|
}
|
|
1540
1284
|
export declare namespace InvoiceCreateParams {
|
|
1541
|
-
interface AmountsDue {
|
|
1542
|
-
/**
|
|
1543
|
-
* The amount in cents (or local equivalent).
|
|
1544
|
-
*/
|
|
1545
|
-
amount: number;
|
|
1546
|
-
/**
|
|
1547
|
-
* Number of days from when invoice is finalized until the payment is due.
|
|
1548
|
-
*/
|
|
1549
|
-
days_until_due?: number;
|
|
1550
|
-
/**
|
|
1551
|
-
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
1552
|
-
*/
|
|
1553
|
-
description: string;
|
|
1554
|
-
/**
|
|
1555
|
-
* Date on which a payment plan's payment is due.
|
|
1556
|
-
*/
|
|
1557
|
-
due_date?: number;
|
|
1558
|
-
}
|
|
1559
1285
|
interface AutomaticTax {
|
|
1560
1286
|
/**
|
|
1561
1287
|
* Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://docs.stripe.com/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.
|
|
@@ -1586,10 +1312,6 @@ export declare namespace InvoiceCreateParams {
|
|
|
1586
1312
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1587
1313
|
*/
|
|
1588
1314
|
discount?: string;
|
|
1589
|
-
/**
|
|
1590
|
-
* Details to determine how long the discount should be applied for.
|
|
1591
|
-
*/
|
|
1592
|
-
discount_end?: Discount.DiscountEnd;
|
|
1593
1315
|
/**
|
|
1594
1316
|
* ID of the promotion code to create a new discount for.
|
|
1595
1317
|
*/
|
|
@@ -1615,12 +1337,6 @@ export declare namespace InvoiceCreateParams {
|
|
|
1615
1337
|
*/
|
|
1616
1338
|
type: Issuer.Type;
|
|
1617
1339
|
}
|
|
1618
|
-
interface ManagedPayments {
|
|
1619
|
-
/**
|
|
1620
|
-
* Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution.
|
|
1621
|
-
*/
|
|
1622
|
-
enabled?: boolean;
|
|
1623
|
-
}
|
|
1624
1340
|
interface PaymentSettings {
|
|
1625
1341
|
/**
|
|
1626
1342
|
* ID of the mandate to be used for this invoice. It must correspond to the payment method used to pay the invoice, including the invoice's default_payment_method or default_source, if set.
|
|
@@ -1700,43 +1416,11 @@ export declare namespace InvoiceCreateParams {
|
|
|
1700
1416
|
type: Liability.Type;
|
|
1701
1417
|
}
|
|
1702
1418
|
namespace Liability {
|
|
1703
|
-
type Type = 'account' | '
|
|
1704
|
-
}
|
|
1705
|
-
}
|
|
1706
|
-
namespace Discount {
|
|
1707
|
-
interface DiscountEnd {
|
|
1708
|
-
/**
|
|
1709
|
-
* Time span for the redeemed discount.
|
|
1710
|
-
*/
|
|
1711
|
-
duration?: DiscountEnd.Duration;
|
|
1712
|
-
/**
|
|
1713
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1714
|
-
*/
|
|
1715
|
-
timestamp?: number;
|
|
1716
|
-
/**
|
|
1717
|
-
* The type of calculation made to determine when the discount ends.
|
|
1718
|
-
*/
|
|
1719
|
-
type: DiscountEnd.Type;
|
|
1720
|
-
}
|
|
1721
|
-
namespace DiscountEnd {
|
|
1722
|
-
interface Duration {
|
|
1723
|
-
/**
|
|
1724
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1725
|
-
*/
|
|
1726
|
-
interval: Duration.Interval;
|
|
1727
|
-
/**
|
|
1728
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1729
|
-
*/
|
|
1730
|
-
interval_count: number;
|
|
1731
|
-
}
|
|
1732
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1733
|
-
namespace Duration {
|
|
1734
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1735
|
-
}
|
|
1419
|
+
type Type = 'account' | 'self' | OtherString;
|
|
1736
1420
|
}
|
|
1737
1421
|
}
|
|
1738
1422
|
namespace Issuer {
|
|
1739
|
-
type Type = 'account' | '
|
|
1423
|
+
type Type = 'account' | 'self' | OtherString;
|
|
1740
1424
|
}
|
|
1741
1425
|
namespace PaymentSettings {
|
|
1742
1426
|
interface PaymentMethodOptions {
|
|
@@ -1749,29 +1433,17 @@ export declare namespace InvoiceCreateParams {
|
|
|
1749
1433
|
*/
|
|
1750
1434
|
bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
|
|
1751
1435
|
/**
|
|
1752
|
-
* If paying by `
|
|
1753
|
-
*/
|
|
1754
|
-
bizum?: Emptyable<PaymentMethodOptions.Bizum>;
|
|
1755
|
-
/**
|
|
1756
|
-
* If paying by `blik`, this sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
1436
|
+
* If paying by `billie`, this sub-hash contains details about the Billie payment method options to pass to the invoice's PaymentIntent.
|
|
1757
1437
|
*/
|
|
1758
|
-
|
|
1438
|
+
billie?: Emptyable<PaymentMethodOptions.Billie>;
|
|
1759
1439
|
/**
|
|
1760
1440
|
* If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
1761
1441
|
*/
|
|
1762
1442
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
1763
|
-
/**
|
|
1764
|
-
* If paying by `check_scan`, this sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
1765
|
-
*/
|
|
1766
|
-
check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
|
|
1767
1443
|
/**
|
|
1768
1444
|
* If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1769
1445
|
*/
|
|
1770
1446
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
1771
|
-
/**
|
|
1772
|
-
* If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1773
|
-
*/
|
|
1774
|
-
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
1775
1447
|
/**
|
|
1776
1448
|
* If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
1777
1449
|
*/
|
|
@@ -1796,12 +1468,8 @@ export declare namespace InvoiceCreateParams {
|
|
|
1796
1468
|
* If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
1797
1469
|
*/
|
|
1798
1470
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
1799
|
-
/**
|
|
1800
|
-
* If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
1801
|
-
*/
|
|
1802
|
-
wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
|
|
1803
1471
|
}
|
|
1804
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | '
|
|
1472
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | '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;
|
|
1805
1473
|
namespace PaymentMethodOptions {
|
|
1806
1474
|
interface AcssDebit {
|
|
1807
1475
|
/**
|
|
@@ -1819,9 +1487,7 @@ export declare namespace InvoiceCreateParams {
|
|
|
1819
1487
|
*/
|
|
1820
1488
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
1821
1489
|
}
|
|
1822
|
-
interface
|
|
1823
|
-
}
|
|
1824
|
-
interface Blik {
|
|
1490
|
+
interface Billie {
|
|
1825
1491
|
}
|
|
1826
1492
|
interface Card {
|
|
1827
1493
|
/**
|
|
@@ -1835,8 +1501,6 @@ export declare namespace InvoiceCreateParams {
|
|
|
1835
1501
|
*/
|
|
1836
1502
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
1837
1503
|
}
|
|
1838
|
-
interface CheckScan {
|
|
1839
|
-
}
|
|
1840
1504
|
interface CustomerBalance {
|
|
1841
1505
|
/**
|
|
1842
1506
|
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
@@ -1847,8 +1511,6 @@ export declare namespace InvoiceCreateParams {
|
|
|
1847
1511
|
*/
|
|
1848
1512
|
funding_type?: string;
|
|
1849
1513
|
}
|
|
1850
|
-
interface IdBankTransfer {
|
|
1851
|
-
}
|
|
1852
1514
|
interface Konbini {
|
|
1853
1515
|
}
|
|
1854
1516
|
interface Payto {
|
|
@@ -1885,16 +1547,6 @@ export declare namespace InvoiceCreateParams {
|
|
|
1885
1547
|
*/
|
|
1886
1548
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
1887
1549
|
}
|
|
1888
|
-
interface WechatPay {
|
|
1889
|
-
/**
|
|
1890
|
-
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
1891
|
-
*/
|
|
1892
|
-
app_id?: string;
|
|
1893
|
-
/**
|
|
1894
|
-
* The client type that the end customer will pay from.
|
|
1895
|
-
*/
|
|
1896
|
-
client?: WechatPay.Client;
|
|
1897
|
-
}
|
|
1898
1550
|
namespace AcssDebit {
|
|
1899
1551
|
interface MandateOptions {
|
|
1900
1552
|
/**
|
|
@@ -2027,21 +1679,14 @@ export declare namespace InvoiceCreateParams {
|
|
|
2027
1679
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2028
1680
|
*/
|
|
2029
1681
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2030
|
-
/**
|
|
2031
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
2032
|
-
*/
|
|
2033
|
-
institution?: string;
|
|
2034
1682
|
}
|
|
2035
1683
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
2036
|
-
type Prefetch = 'balances' | '
|
|
1684
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2037
1685
|
namespace Filters {
|
|
2038
1686
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2039
1687
|
}
|
|
2040
1688
|
}
|
|
2041
1689
|
}
|
|
2042
|
-
namespace WechatPay {
|
|
2043
|
-
type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
|
|
2044
|
-
}
|
|
2045
1690
|
}
|
|
2046
1691
|
}
|
|
2047
1692
|
namespace Rendering {
|
|
@@ -2174,10 +1819,6 @@ export interface InvoiceUpdateParams {
|
|
|
2174
1819
|
* The account tax IDs associated with the invoice. Only editable when the invoice is a draft.
|
|
2175
1820
|
*/
|
|
2176
1821
|
account_tax_ids?: Emptyable<Array<string>>;
|
|
2177
|
-
/**
|
|
2178
|
-
* List of expected payments and corresponding due dates. Valid only for invoices where `collection_method=send_invoice`.
|
|
2179
|
-
*/
|
|
2180
|
-
amounts_due?: Emptyable<Array<InvoiceUpdateParams.AmountsDue>>;
|
|
2181
1822
|
/**
|
|
2182
1823
|
* A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://docs.stripe.com/billing/invoices/connect#collecting-fees).
|
|
2183
1824
|
*/
|
|
@@ -2206,10 +1847,6 @@ export interface InvoiceUpdateParams {
|
|
|
2206
1847
|
* The number of days from which the invoice is created until it is due. Only valid for invoices where `collection_method=send_invoice`. This field can only be updated on `draft` invoices.
|
|
2207
1848
|
*/
|
|
2208
1849
|
days_until_due?: number;
|
|
2209
|
-
/**
|
|
2210
|
-
* The ids of the margins to apply to the invoice. Can be overridden by line item `margins`.
|
|
2211
|
-
*/
|
|
2212
|
-
default_margins?: Emptyable<Array<string>>;
|
|
2213
1850
|
/**
|
|
2214
1851
|
* ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings.
|
|
2215
1852
|
*/
|
|
@@ -2288,24 +1925,6 @@ export interface InvoiceUpdateParams {
|
|
|
2288
1925
|
transfer_data?: Emptyable<InvoiceUpdateParams.TransferData>;
|
|
2289
1926
|
}
|
|
2290
1927
|
export declare namespace InvoiceUpdateParams {
|
|
2291
|
-
interface AmountsDue {
|
|
2292
|
-
/**
|
|
2293
|
-
* The amount in cents (or local equivalent).
|
|
2294
|
-
*/
|
|
2295
|
-
amount: number;
|
|
2296
|
-
/**
|
|
2297
|
-
* Number of days from when invoice is finalized until the payment is due.
|
|
2298
|
-
*/
|
|
2299
|
-
days_until_due?: number;
|
|
2300
|
-
/**
|
|
2301
|
-
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
2302
|
-
*/
|
|
2303
|
-
description: string;
|
|
2304
|
-
/**
|
|
2305
|
-
* Date on which a payment plan's payment is due.
|
|
2306
|
-
*/
|
|
2307
|
-
due_date?: number;
|
|
2308
|
-
}
|
|
2309
1928
|
interface AutomaticTax {
|
|
2310
1929
|
/**
|
|
2311
1930
|
* Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://docs.stripe.com/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.
|
|
@@ -2336,10 +1955,6 @@ export declare namespace InvoiceUpdateParams {
|
|
|
2336
1955
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2337
1956
|
*/
|
|
2338
1957
|
discount?: string;
|
|
2339
|
-
/**
|
|
2340
|
-
* Details to determine how long the discount should be applied for.
|
|
2341
|
-
*/
|
|
2342
|
-
discount_end?: Discount.DiscountEnd;
|
|
2343
1958
|
/**
|
|
2344
1959
|
* ID of the promotion code to create a new discount for.
|
|
2345
1960
|
*/
|
|
@@ -2433,43 +2048,11 @@ export declare namespace InvoiceUpdateParams {
|
|
|
2433
2048
|
type: Liability.Type;
|
|
2434
2049
|
}
|
|
2435
2050
|
namespace Liability {
|
|
2436
|
-
type Type = 'account' | '
|
|
2437
|
-
}
|
|
2438
|
-
}
|
|
2439
|
-
namespace Discount {
|
|
2440
|
-
interface DiscountEnd {
|
|
2441
|
-
/**
|
|
2442
|
-
* Time span for the redeemed discount.
|
|
2443
|
-
*/
|
|
2444
|
-
duration?: DiscountEnd.Duration;
|
|
2445
|
-
/**
|
|
2446
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2447
|
-
*/
|
|
2448
|
-
timestamp?: number;
|
|
2449
|
-
/**
|
|
2450
|
-
* The type of calculation made to determine when the discount ends.
|
|
2451
|
-
*/
|
|
2452
|
-
type: DiscountEnd.Type;
|
|
2453
|
-
}
|
|
2454
|
-
namespace DiscountEnd {
|
|
2455
|
-
interface Duration {
|
|
2456
|
-
/**
|
|
2457
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2458
|
-
*/
|
|
2459
|
-
interval: Duration.Interval;
|
|
2460
|
-
/**
|
|
2461
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2462
|
-
*/
|
|
2463
|
-
interval_count: number;
|
|
2464
|
-
}
|
|
2465
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2466
|
-
namespace Duration {
|
|
2467
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2468
|
-
}
|
|
2051
|
+
type Type = 'account' | 'self' | OtherString;
|
|
2469
2052
|
}
|
|
2470
2053
|
}
|
|
2471
2054
|
namespace Issuer {
|
|
2472
|
-
type Type = 'account' | '
|
|
2055
|
+
type Type = 'account' | 'self' | OtherString;
|
|
2473
2056
|
}
|
|
2474
2057
|
namespace PaymentSettings {
|
|
2475
2058
|
interface PaymentMethodOptions {
|
|
@@ -2482,29 +2065,17 @@ export declare namespace InvoiceUpdateParams {
|
|
|
2482
2065
|
*/
|
|
2483
2066
|
bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
|
|
2484
2067
|
/**
|
|
2485
|
-
* If paying by `
|
|
2486
|
-
*/
|
|
2487
|
-
bizum?: Emptyable<PaymentMethodOptions.Bizum>;
|
|
2488
|
-
/**
|
|
2489
|
-
* If paying by `blik`, this sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
|
|
2068
|
+
* If paying by `billie`, this sub-hash contains details about the Billie payment method options to pass to the invoice's PaymentIntent.
|
|
2490
2069
|
*/
|
|
2491
|
-
|
|
2070
|
+
billie?: Emptyable<PaymentMethodOptions.Billie>;
|
|
2492
2071
|
/**
|
|
2493
2072
|
* If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
|
|
2494
2073
|
*/
|
|
2495
2074
|
card?: Emptyable<PaymentMethodOptions.Card>;
|
|
2496
|
-
/**
|
|
2497
|
-
* If paying by `check_scan`, this sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
|
|
2498
|
-
*/
|
|
2499
|
-
check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
|
|
2500
2075
|
/**
|
|
2501
2076
|
* If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2502
2077
|
*/
|
|
2503
2078
|
customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
|
|
2504
|
-
/**
|
|
2505
|
-
* If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
2506
|
-
*/
|
|
2507
|
-
id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
|
|
2508
2079
|
/**
|
|
2509
2080
|
* If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
2510
2081
|
*/
|
|
@@ -2529,12 +2100,8 @@ export declare namespace InvoiceUpdateParams {
|
|
|
2529
2100
|
* If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
|
|
2530
2101
|
*/
|
|
2531
2102
|
us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
|
|
2532
|
-
/**
|
|
2533
|
-
* If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
|
|
2534
|
-
*/
|
|
2535
|
-
wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
|
|
2536
2103
|
}
|
|
2537
|
-
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | '
|
|
2104
|
+
type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | '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;
|
|
2538
2105
|
namespace PaymentMethodOptions {
|
|
2539
2106
|
interface AcssDebit {
|
|
2540
2107
|
/**
|
|
@@ -2552,9 +2119,7 @@ export declare namespace InvoiceUpdateParams {
|
|
|
2552
2119
|
*/
|
|
2553
2120
|
preferred_language?: Bancontact.PreferredLanguage;
|
|
2554
2121
|
}
|
|
2555
|
-
interface
|
|
2556
|
-
}
|
|
2557
|
-
interface Blik {
|
|
2122
|
+
interface Billie {
|
|
2558
2123
|
}
|
|
2559
2124
|
interface Card {
|
|
2560
2125
|
/**
|
|
@@ -2568,8 +2133,6 @@ export declare namespace InvoiceUpdateParams {
|
|
|
2568
2133
|
*/
|
|
2569
2134
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
2570
2135
|
}
|
|
2571
|
-
interface CheckScan {
|
|
2572
|
-
}
|
|
2573
2136
|
interface CustomerBalance {
|
|
2574
2137
|
/**
|
|
2575
2138
|
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
@@ -2580,8 +2143,6 @@ export declare namespace InvoiceUpdateParams {
|
|
|
2580
2143
|
*/
|
|
2581
2144
|
funding_type?: string;
|
|
2582
2145
|
}
|
|
2583
|
-
interface IdBankTransfer {
|
|
2584
|
-
}
|
|
2585
2146
|
interface Konbini {
|
|
2586
2147
|
}
|
|
2587
2148
|
interface Payto {
|
|
@@ -2618,16 +2179,6 @@ export declare namespace InvoiceUpdateParams {
|
|
|
2618
2179
|
*/
|
|
2619
2180
|
verification_method?: UsBankAccount.VerificationMethod;
|
|
2620
2181
|
}
|
|
2621
|
-
interface WechatPay {
|
|
2622
|
-
/**
|
|
2623
|
-
* The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
|
|
2624
|
-
*/
|
|
2625
|
-
app_id?: string;
|
|
2626
|
-
/**
|
|
2627
|
-
* The client type that the end customer will pay from.
|
|
2628
|
-
*/
|
|
2629
|
-
client?: WechatPay.Client;
|
|
2630
|
-
}
|
|
2631
2182
|
namespace AcssDebit {
|
|
2632
2183
|
interface MandateOptions {
|
|
2633
2184
|
/**
|
|
@@ -2760,21 +2311,14 @@ export declare namespace InvoiceUpdateParams {
|
|
|
2760
2311
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2761
2312
|
*/
|
|
2762
2313
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2763
|
-
/**
|
|
2764
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
2765
|
-
*/
|
|
2766
|
-
institution?: string;
|
|
2767
2314
|
}
|
|
2768
2315
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
2769
|
-
type Prefetch = 'balances' | '
|
|
2316
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2770
2317
|
namespace Filters {
|
|
2771
2318
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2772
2319
|
}
|
|
2773
2320
|
}
|
|
2774
2321
|
}
|
|
2775
|
-
namespace WechatPay {
|
|
2776
|
-
type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
|
|
2777
|
-
}
|
|
2778
2322
|
}
|
|
2779
2323
|
}
|
|
2780
2324
|
namespace Rendering {
|
|
@@ -2897,10 +2441,6 @@ export declare namespace InvoiceUpdateParams {
|
|
|
2897
2441
|
}
|
|
2898
2442
|
}
|
|
2899
2443
|
export interface InvoiceListParams extends PaginationParams {
|
|
2900
|
-
/**
|
|
2901
|
-
* Only return invoices for the cadence specified by this billing cadence ID.
|
|
2902
|
-
*/
|
|
2903
|
-
billing_cadence?: string;
|
|
2904
2444
|
/**
|
|
2905
2445
|
* The collection method of the invoice to retrieve. Either `charge_automatically` or `send_invoice`.
|
|
2906
2446
|
*/
|
|
@@ -2975,10 +2515,6 @@ export declare namespace InvoiceAddLinesParams {
|
|
|
2975
2515
|
* ID of an unassigned invoice item to assign to this invoice. If not provided, a new item will be created.
|
|
2976
2516
|
*/
|
|
2977
2517
|
invoice_item?: string;
|
|
2978
|
-
/**
|
|
2979
|
-
* The IDs of the margins to apply to the line item. When set, the `default_margins` on the invoice do not apply to this line item.
|
|
2980
|
-
*/
|
|
2981
|
-
margins?: Emptyable<Array<string>>;
|
|
2982
2518
|
/**
|
|
2983
2519
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
2984
2520
|
*/
|
|
@@ -3022,10 +2558,6 @@ export declare namespace InvoiceAddLinesParams {
|
|
|
3022
2558
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
3023
2559
|
*/
|
|
3024
2560
|
discount?: string;
|
|
3025
|
-
/**
|
|
3026
|
-
* Details to determine how long the discount should be applied for.
|
|
3027
|
-
*/
|
|
3028
|
-
discount_end?: Discount.DiscountEnd;
|
|
3029
2561
|
/**
|
|
3030
2562
|
* ID of the promotion code to create a new discount for.
|
|
3031
2563
|
*/
|
|
@@ -3093,38 +2625,6 @@ export declare namespace InvoiceAddLinesParams {
|
|
|
3093
2625
|
*/
|
|
3094
2626
|
taxable_amount: number;
|
|
3095
2627
|
}
|
|
3096
|
-
namespace Discount {
|
|
3097
|
-
interface DiscountEnd {
|
|
3098
|
-
/**
|
|
3099
|
-
* Time span for the redeemed discount.
|
|
3100
|
-
*/
|
|
3101
|
-
duration?: DiscountEnd.Duration;
|
|
3102
|
-
/**
|
|
3103
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3104
|
-
*/
|
|
3105
|
-
timestamp?: number;
|
|
3106
|
-
/**
|
|
3107
|
-
* The type of calculation made to determine when the discount ends.
|
|
3108
|
-
*/
|
|
3109
|
-
type: DiscountEnd.Type;
|
|
3110
|
-
}
|
|
3111
|
-
namespace DiscountEnd {
|
|
3112
|
-
interface Duration {
|
|
3113
|
-
/**
|
|
3114
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3115
|
-
*/
|
|
3116
|
-
interval: Duration.Interval;
|
|
3117
|
-
/**
|
|
3118
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3119
|
-
*/
|
|
3120
|
-
interval_count: number;
|
|
3121
|
-
}
|
|
3122
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3123
|
-
namespace Duration {
|
|
3124
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3125
|
-
}
|
|
3126
|
-
}
|
|
3127
|
-
}
|
|
3128
2628
|
namespace PriceData {
|
|
3129
2629
|
interface ProductData {
|
|
3130
2630
|
/**
|
|
@@ -3147,28 +2647,12 @@ export declare namespace InvoiceAddLinesParams {
|
|
|
3147
2647
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
3148
2648
|
*/
|
|
3149
2649
|
tax_code?: string;
|
|
3150
|
-
/**
|
|
3151
|
-
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
3152
|
-
*/
|
|
3153
|
-
tax_details?: ProductData.TaxDetails;
|
|
3154
2650
|
/**
|
|
3155
2651
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
3156
2652
|
*/
|
|
3157
2653
|
unit_label?: string;
|
|
3158
2654
|
}
|
|
3159
2655
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
|
|
3160
|
-
namespace ProductData {
|
|
3161
|
-
interface TaxDetails {
|
|
3162
|
-
/**
|
|
3163
|
-
* A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
3164
|
-
*/
|
|
3165
|
-
performance_location?: string;
|
|
3166
|
-
/**
|
|
3167
|
-
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
3168
|
-
*/
|
|
3169
|
-
tax_code?: Emptyable<string>;
|
|
3170
|
-
}
|
|
3171
|
-
}
|
|
3172
2656
|
}
|
|
3173
2657
|
namespace TaxAmount {
|
|
3174
2658
|
interface TaxRateData {
|
|
@@ -3218,10 +2702,6 @@ export declare namespace InvoiceAddLinesParams {
|
|
|
3218
2702
|
}
|
|
3219
2703
|
}
|
|
3220
2704
|
export interface InvoiceAttachPaymentParams {
|
|
3221
|
-
/**
|
|
3222
|
-
* The portion of the `amount` on the PaymentIntent or out of band payment to apply to this invoice. It defaults to the entire amount.
|
|
3223
|
-
*/
|
|
3224
|
-
amount_requested?: number;
|
|
3225
2705
|
/**
|
|
3226
2706
|
* Specifies which fields in the response should be expanded.
|
|
3227
2707
|
*/
|
|
@@ -3234,48 +2714,12 @@ export interface InvoiceAttachPaymentParams {
|
|
|
3234
2714
|
* The ID of the PaymentRecord to attach to the invoice.
|
|
3235
2715
|
*/
|
|
3236
2716
|
payment_record?: string;
|
|
2717
|
+
}
|
|
2718
|
+
export interface InvoiceCreatePreviewParams {
|
|
3237
2719
|
/**
|
|
3238
|
-
*
|
|
3239
|
-
*/
|
|
3240
|
-
payment_record_data?: InvoiceAttachPaymentParams.PaymentRecordData;
|
|
3241
|
-
}
|
|
3242
|
-
export declare namespace InvoiceAttachPaymentParams {
|
|
3243
|
-
interface PaymentRecordData {
|
|
3244
|
-
/**
|
|
3245
|
-
* The amount that was paid out of band.
|
|
3246
|
-
*/
|
|
3247
|
-
amount: number;
|
|
3248
|
-
/**
|
|
3249
|
-
* The currency that was paid out of band.
|
|
3250
|
-
*/
|
|
3251
|
-
currency: string;
|
|
3252
|
-
/**
|
|
3253
|
-
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
3254
|
-
*/
|
|
3255
|
-
metadata?: Emptyable<MetadataParam>;
|
|
3256
|
-
/**
|
|
3257
|
-
* The type of money movement for this out of band payment record.
|
|
3258
|
-
*/
|
|
3259
|
-
money_movement_type: string;
|
|
3260
|
-
/**
|
|
3261
|
-
* The timestamp when this out of band payment was paid.
|
|
3262
|
-
*/
|
|
3263
|
-
paid_at?: number;
|
|
3264
|
-
/**
|
|
3265
|
-
* The reference for this out of band payment record.
|
|
3266
|
-
*/
|
|
3267
|
-
payment_reference?: string;
|
|
3268
|
-
}
|
|
3269
|
-
}
|
|
3270
|
-
export interface InvoiceCreatePreviewParams {
|
|
3271
|
-
/**
|
|
3272
|
-
* Settings for automatic tax lookup for this invoice preview.
|
|
2720
|
+
* Settings for automatic tax lookup for this invoice preview.
|
|
3273
2721
|
*/
|
|
3274
2722
|
automatic_tax?: InvoiceCreatePreviewParams.AutomaticTax;
|
|
3275
|
-
/**
|
|
3276
|
-
* The identifier of the billing cadence for which you'd like to retrieve the upcoming invoice. Cannot be provided when `subscription`, `schedule`, `subscription_details` or `schedule_details` are provided.
|
|
3277
|
-
*/
|
|
3278
|
-
billing_cadence?: string;
|
|
3279
2723
|
/**
|
|
3280
2724
|
* The currency to preview this invoice in. Defaults to that of `customer` if not specified.
|
|
3281
2725
|
*/
|
|
@@ -3375,18 +2819,10 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
3375
2819
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
3376
2820
|
*/
|
|
3377
2821
|
discount?: string;
|
|
3378
|
-
/**
|
|
3379
|
-
* Details to determine how long the discount should be applied for.
|
|
3380
|
-
*/
|
|
3381
|
-
discount_end?: Discount.DiscountEnd;
|
|
3382
2822
|
/**
|
|
3383
2823
|
* ID of the promotion code to create a new discount for.
|
|
3384
2824
|
*/
|
|
3385
2825
|
promotion_code?: string;
|
|
3386
|
-
/**
|
|
3387
|
-
* Settings for discount application including service period anchoring.
|
|
3388
|
-
*/
|
|
3389
|
-
settings?: Discount.Settings;
|
|
3390
2826
|
}
|
|
3391
2827
|
interface InvoiceItem {
|
|
3392
2828
|
/**
|
|
@@ -3470,26 +2906,10 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
3470
2906
|
}
|
|
3471
2907
|
type PreviewMode = 'next' | 'recurring' | OtherString;
|
|
3472
2908
|
interface ScheduleDetails {
|
|
3473
|
-
/**
|
|
3474
|
-
* Changes to apply to the phases of the subscription schedule, in the order provided.
|
|
3475
|
-
*/
|
|
3476
|
-
amendments?: Array<ScheduleDetails.Amendment>;
|
|
3477
|
-
/**
|
|
3478
|
-
* Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
|
3479
|
-
*/
|
|
3480
|
-
billing_behavior?: ScheduleDetails.BillingBehavior;
|
|
3481
2909
|
/**
|
|
3482
2910
|
* Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
|
3483
2911
|
*/
|
|
3484
2912
|
billing_mode?: ScheduleDetails.BillingMode;
|
|
3485
|
-
/**
|
|
3486
|
-
* Sets the billing schedules for the subscription schedule.
|
|
3487
|
-
*/
|
|
3488
|
-
billing_schedules?: Emptyable<Array<ScheduleDetails.BillingSchedule>>;
|
|
3489
|
-
/**
|
|
3490
|
-
* Object representing the subscription schedule's default settings.
|
|
3491
|
-
*/
|
|
3492
|
-
default_settings?: ScheduleDetails.DefaultSettings;
|
|
3493
2913
|
/**
|
|
3494
2914
|
* Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.
|
|
3495
2915
|
*/
|
|
@@ -3498,10 +2918,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
3498
2918
|
* List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.
|
|
3499
2919
|
*/
|
|
3500
2920
|
phases?: Array<ScheduleDetails.Phase>;
|
|
3501
|
-
/**
|
|
3502
|
-
* Provide any time periods to bill in advance.
|
|
3503
|
-
*/
|
|
3504
|
-
prebilling?: Emptyable<Array<ScheduleDetails.Prebilling>>;
|
|
3505
2921
|
/**
|
|
3506
2922
|
* In cases where the `schedule_details` params update the currently active phase, specifies if and how to prorate at the time of the request.
|
|
3507
2923
|
*/
|
|
@@ -3544,18 +2960,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
3544
2960
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
3545
2961
|
*/
|
|
3546
2962
|
metadata?: Emptyable<MetadataParam>;
|
|
3547
|
-
/**
|
|
3548
|
-
* Previews the invoice that would be generated when pausing the subscription. Passing an empty hash won't preview pausing and instead returns the next invoice.
|
|
3549
|
-
*
|
|
3550
|
-
* To receive a preview invoice, set `invoicing_behavior` to `invoice`. A preview isn't available if the `bill_for` options produce no billable amounts.
|
|
3551
|
-
*
|
|
3552
|
-
* `pending_invoice_item` never has a preview available because pausing wouldn't generate an invoice, and paused subscriptions don't generate invoices either.
|
|
3553
|
-
*/
|
|
3554
|
-
pause?: SubscriptionDetails.Pause;
|
|
3555
|
-
/**
|
|
3556
|
-
* The pre-billing to apply to the subscription as a preview.
|
|
3557
|
-
*/
|
|
3558
|
-
prebilling?: SubscriptionDetails.Prebilling;
|
|
3559
2963
|
/**
|
|
3560
2964
|
* 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`.
|
|
3561
2965
|
*/
|
|
@@ -3589,7 +2993,7 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
3589
2993
|
type: Liability.Type;
|
|
3590
2994
|
}
|
|
3591
2995
|
namespace Liability {
|
|
3592
|
-
type Type = 'account' | '
|
|
2996
|
+
type Type = 'account' | 'self' | OtherString;
|
|
3593
2997
|
}
|
|
3594
2998
|
}
|
|
3595
2999
|
namespace CustomerDetails {
|
|
@@ -3628,86 +3032,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
3628
3032
|
type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'gb_vat' | 'ge_vat' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'ic_nif' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin' | OtherString;
|
|
3629
3033
|
}
|
|
3630
3034
|
}
|
|
3631
|
-
namespace Discount {
|
|
3632
|
-
interface DiscountEnd {
|
|
3633
|
-
/**
|
|
3634
|
-
* Time span for the redeemed discount.
|
|
3635
|
-
*/
|
|
3636
|
-
duration?: DiscountEnd.Duration;
|
|
3637
|
-
/**
|
|
3638
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3639
|
-
*/
|
|
3640
|
-
timestamp?: number;
|
|
3641
|
-
/**
|
|
3642
|
-
* The type of calculation made to determine when the discount ends.
|
|
3643
|
-
*/
|
|
3644
|
-
type: DiscountEnd.Type;
|
|
3645
|
-
}
|
|
3646
|
-
interface Settings {
|
|
3647
|
-
/**
|
|
3648
|
-
* Configures service period cycle anchoring.
|
|
3649
|
-
*/
|
|
3650
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
3651
|
-
/**
|
|
3652
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
|
|
3653
|
-
*/
|
|
3654
|
-
start_date?: Settings.StartDate;
|
|
3655
|
-
}
|
|
3656
|
-
namespace DiscountEnd {
|
|
3657
|
-
interface Duration {
|
|
3658
|
-
/**
|
|
3659
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3660
|
-
*/
|
|
3661
|
-
interval: Duration.Interval;
|
|
3662
|
-
/**
|
|
3663
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3664
|
-
*/
|
|
3665
|
-
interval_count: number;
|
|
3666
|
-
}
|
|
3667
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3668
|
-
namespace Duration {
|
|
3669
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3670
|
-
}
|
|
3671
|
-
}
|
|
3672
|
-
namespace Settings {
|
|
3673
|
-
interface ServicePeriodAnchorConfig {
|
|
3674
|
-
/**
|
|
3675
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
3676
|
-
*/
|
|
3677
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
3678
|
-
/**
|
|
3679
|
-
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
3680
|
-
*/
|
|
3681
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
3682
|
-
}
|
|
3683
|
-
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
3684
|
-
namespace ServicePeriodAnchorConfig {
|
|
3685
|
-
interface Custom {
|
|
3686
|
-
/**
|
|
3687
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3688
|
-
*/
|
|
3689
|
-
day_of_month: number;
|
|
3690
|
-
/**
|
|
3691
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3692
|
-
*/
|
|
3693
|
-
hour?: number;
|
|
3694
|
-
/**
|
|
3695
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3696
|
-
*/
|
|
3697
|
-
minute?: number;
|
|
3698
|
-
/**
|
|
3699
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3700
|
-
*/
|
|
3701
|
-
month?: number;
|
|
3702
|
-
/**
|
|
3703
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3704
|
-
*/
|
|
3705
|
-
second?: number;
|
|
3706
|
-
}
|
|
3707
|
-
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
3708
|
-
}
|
|
3709
|
-
}
|
|
3710
|
-
}
|
|
3711
3035
|
namespace InvoiceItem {
|
|
3712
3036
|
interface Discount {
|
|
3713
3037
|
/**
|
|
@@ -3718,10 +3042,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
3718
3042
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
3719
3043
|
*/
|
|
3720
3044
|
discount?: string;
|
|
3721
|
-
/**
|
|
3722
|
-
* Details to determine how long the discount should be applied for.
|
|
3723
|
-
*/
|
|
3724
|
-
discount_end?: Discount.DiscountEnd;
|
|
3725
3045
|
/**
|
|
3726
3046
|
* ID of the promotion code to create a new discount for.
|
|
3727
3047
|
*/
|
|
@@ -3760,97 +3080,14 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
3760
3080
|
unit_amount_decimal?: Decimal;
|
|
3761
3081
|
}
|
|
3762
3082
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
|
|
3763
|
-
namespace Discount {
|
|
3764
|
-
interface DiscountEnd {
|
|
3765
|
-
/**
|
|
3766
|
-
* Time span for the redeemed discount.
|
|
3767
|
-
*/
|
|
3768
|
-
duration?: DiscountEnd.Duration;
|
|
3769
|
-
/**
|
|
3770
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3771
|
-
*/
|
|
3772
|
-
timestamp?: number;
|
|
3773
|
-
/**
|
|
3774
|
-
* The type of calculation made to determine when the discount ends.
|
|
3775
|
-
*/
|
|
3776
|
-
type: DiscountEnd.Type;
|
|
3777
|
-
}
|
|
3778
|
-
namespace DiscountEnd {
|
|
3779
|
-
interface Duration {
|
|
3780
|
-
/**
|
|
3781
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3782
|
-
*/
|
|
3783
|
-
interval: Duration.Interval;
|
|
3784
|
-
/**
|
|
3785
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3786
|
-
*/
|
|
3787
|
-
interval_count: number;
|
|
3788
|
-
}
|
|
3789
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3790
|
-
namespace Duration {
|
|
3791
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3792
|
-
}
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
3083
|
namespace PriceData {
|
|
3796
3084
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
|
|
3797
3085
|
}
|
|
3798
3086
|
}
|
|
3799
3087
|
namespace Issuer {
|
|
3800
|
-
type Type = 'account' | '
|
|
3088
|
+
type Type = 'account' | 'self' | OtherString;
|
|
3801
3089
|
}
|
|
3802
3090
|
namespace ScheduleDetails {
|
|
3803
|
-
interface Amendment {
|
|
3804
|
-
/**
|
|
3805
|
-
* Details to identify the end of the time range modified by the proposed change. If not supplied, the amendment is considered a point-in-time operation that only affects the exact timestamp at `amendment_start`, and a restricted set of attributes is supported on the amendment.
|
|
3806
|
-
*/
|
|
3807
|
-
amendment_end?: Amendment.AmendmentEnd;
|
|
3808
|
-
/**
|
|
3809
|
-
* Details to identify the earliest timestamp where the proposed change should take effect.
|
|
3810
|
-
*/
|
|
3811
|
-
amendment_start: Amendment.AmendmentStart;
|
|
3812
|
-
/**
|
|
3813
|
-
* For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp. For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
|
|
3814
|
-
*/
|
|
3815
|
-
billing_cycle_anchor?: Amendment.BillingCycleAnchor;
|
|
3816
|
-
/**
|
|
3817
|
-
* Actions to apply to the billing schedules.
|
|
3818
|
-
*/
|
|
3819
|
-
billing_schedules_actions?: Array<Amendment.BillingSchedulesAction>;
|
|
3820
|
-
/**
|
|
3821
|
-
* Changes to the coupons being redeemed or discounts being applied during the amendment time span.
|
|
3822
|
-
*/
|
|
3823
|
-
discount_actions?: Array<Amendment.DiscountAction>;
|
|
3824
|
-
/**
|
|
3825
|
-
* Configures how the subscription schedule handles billing for phase transitions.
|
|
3826
|
-
*/
|
|
3827
|
-
effective_at?: Amendment.EffectiveAt;
|
|
3828
|
-
/**
|
|
3829
|
-
* Changes to the subscription items during the amendment time span.
|
|
3830
|
-
*/
|
|
3831
|
-
item_actions?: Array<Amendment.ItemAction>;
|
|
3832
|
-
/**
|
|
3833
|
-
* Instructions for how to modify phase metadata
|
|
3834
|
-
*/
|
|
3835
|
-
metadata_actions?: Array<Amendment.MetadataAction>;
|
|
3836
|
-
/**
|
|
3837
|
-
* Changes to how Stripe handles prorations during the amendment time span. Affects if and how prorations are created when a future phase starts. In cases where the amendment changes the currently active phase, it is used to determine whether or how to prorate now, at the time of the request. Also supported as a point-in-time operation when `amendment_end` is `null`.
|
|
3838
|
-
*/
|
|
3839
|
-
proration_behavior?: Amendment.ProrationBehavior;
|
|
3840
|
-
/**
|
|
3841
|
-
* Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
|
|
3842
|
-
*/
|
|
3843
|
-
set_pause_collection?: Amendment.SetPauseCollection;
|
|
3844
|
-
/**
|
|
3845
|
-
* Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.
|
|
3846
|
-
*/
|
|
3847
|
-
set_schedule_end?: Amendment.SetScheduleEnd;
|
|
3848
|
-
/**
|
|
3849
|
-
* Settings related to subscription trials.
|
|
3850
|
-
*/
|
|
3851
|
-
trial_settings?: Amendment.TrialSettings;
|
|
3852
|
-
}
|
|
3853
|
-
type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front' | OtherString;
|
|
3854
3091
|
interface BillingMode {
|
|
3855
3092
|
/**
|
|
3856
3093
|
* Configure behavior for flexible billing mode.
|
|
@@ -3861,26 +3098,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
3861
3098
|
*/
|
|
3862
3099
|
type: BillingMode.Type;
|
|
3863
3100
|
}
|
|
3864
|
-
interface BillingSchedule {
|
|
3865
|
-
/**
|
|
3866
|
-
* Configure billing schedule differently for individual subscription items.
|
|
3867
|
-
*/
|
|
3868
|
-
applies_to?: Array<BillingSchedule.AppliesTo>;
|
|
3869
|
-
/**
|
|
3870
|
-
* The end date for the billing schedule.
|
|
3871
|
-
*/
|
|
3872
|
-
bill_until?: BillingSchedule.BillUntil;
|
|
3873
|
-
/**
|
|
3874
|
-
* Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated.
|
|
3875
|
-
*/
|
|
3876
|
-
key?: string;
|
|
3877
|
-
}
|
|
3878
|
-
interface DefaultSettings {
|
|
3879
|
-
/**
|
|
3880
|
-
* Configures how the subscription schedule handles billing for phase transitions.
|
|
3881
|
-
*/
|
|
3882
|
-
phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
|
|
3883
|
-
}
|
|
3884
3101
|
type EndBehavior = 'cancel' | 'release' | OtherString;
|
|
3885
3102
|
interface Phase {
|
|
3886
3103
|
/**
|
|
@@ -3931,10 +3148,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
3931
3148
|
* The number of intervals the phase should last. If set, `end_date` must not be set.
|
|
3932
3149
|
*/
|
|
3933
3150
|
duration?: Phase.Duration;
|
|
3934
|
-
/**
|
|
3935
|
-
* Configures how the subscription schedule handles billing for phase transitions.
|
|
3936
|
-
*/
|
|
3937
|
-
effective_at?: Phase.EffectiveAt;
|
|
3938
3151
|
/**
|
|
3939
3152
|
* The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
|
|
3940
3153
|
*/
|
|
@@ -3955,10 +3168,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
3955
3168
|
* The account on behalf of which to charge, for each of the associated subscription's invoices.
|
|
3956
3169
|
*/
|
|
3957
3170
|
on_behalf_of?: string;
|
|
3958
|
-
/**
|
|
3959
|
-
* If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://docs.stripe.com/billing/subscriptions/pause-payment).
|
|
3960
|
-
*/
|
|
3961
|
-
pause_collection?: Phase.PauseCollection;
|
|
3962
3171
|
/**
|
|
3963
3172
|
* Controls whether the subscription schedule should create [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when transitioning to this phase if there is a difference in billing configuration. It's different from the request-level [proration_behavior](https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration (item price, quantity, etc.) of the current phase.
|
|
3964
3173
|
*/
|
|
@@ -3975,702 +3184,12 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
3975
3184
|
* If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
|
|
3976
3185
|
*/
|
|
3977
3186
|
trial?: boolean;
|
|
3978
|
-
/**
|
|
3979
|
-
* Specify trial behavior when crossing phase boundaries
|
|
3980
|
-
*/
|
|
3981
|
-
trial_continuation?: Phase.TrialContinuation;
|
|
3982
3187
|
/**
|
|
3983
3188
|
* Sets the phase to trialing from the start date to this date. Must be within the phase. When previewing an update, if combined with `trial=true`, it must match the phase end date.
|
|
3984
3189
|
*/
|
|
3985
3190
|
trial_end?: number | 'now';
|
|
3986
|
-
/**
|
|
3987
|
-
* Settings related to subscription trials.
|
|
3988
|
-
*/
|
|
3989
|
-
trial_settings?: Phase.TrialSettings;
|
|
3990
|
-
}
|
|
3991
|
-
interface Prebilling {
|
|
3992
|
-
/**
|
|
3993
|
-
* The end of the prebilled time period.
|
|
3994
|
-
*/
|
|
3995
|
-
bill_until?: Prebilling.BillUntil;
|
|
3996
|
-
/**
|
|
3997
|
-
* This is used to determine the number of billing cycles to prebill.
|
|
3998
|
-
*/
|
|
3999
|
-
iterations?: number;
|
|
4000
3191
|
}
|
|
4001
3192
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
4002
|
-
namespace Amendment {
|
|
4003
|
-
interface AmendmentEnd {
|
|
4004
|
-
/**
|
|
4005
|
-
* Use the `end` time of a given discount.
|
|
4006
|
-
*/
|
|
4007
|
-
discount_end?: AmendmentEnd.DiscountEnd;
|
|
4008
|
-
/**
|
|
4009
|
-
* Time span for the amendment starting from the `amendment_start`.
|
|
4010
|
-
*/
|
|
4011
|
-
duration?: AmendmentEnd.Duration;
|
|
4012
|
-
/**
|
|
4013
|
-
* A precise Unix timestamp for the amendment to end. Must be after the `amendment_start`.
|
|
4014
|
-
*/
|
|
4015
|
-
timestamp?: number;
|
|
4016
|
-
/**
|
|
4017
|
-
* Select one of three ways to pass the `amendment_end`.
|
|
4018
|
-
*/
|
|
4019
|
-
type: AmendmentEnd.Type;
|
|
4020
|
-
}
|
|
4021
|
-
interface AmendmentStart {
|
|
4022
|
-
/**
|
|
4023
|
-
* Details of another amendment in the same array, immediately after which this amendment should begin.
|
|
4024
|
-
*/
|
|
4025
|
-
amendment_end?: AmendmentStart.AmendmentEnd;
|
|
4026
|
-
/**
|
|
4027
|
-
* Use the `end` time of a given discount.
|
|
4028
|
-
*/
|
|
4029
|
-
discount_end?: AmendmentStart.DiscountEnd;
|
|
4030
|
-
/**
|
|
4031
|
-
* A precise Unix timestamp for the amendment to start.
|
|
4032
|
-
*/
|
|
4033
|
-
timestamp?: number;
|
|
4034
|
-
/**
|
|
4035
|
-
* Select one of three ways to pass the `amendment_start`.
|
|
4036
|
-
*/
|
|
4037
|
-
type: AmendmentStart.Type;
|
|
4038
|
-
}
|
|
4039
|
-
type BillingCycleAnchor = 'amendment_start' | 'automatic' | OtherString;
|
|
4040
|
-
interface BillingSchedulesAction {
|
|
4041
|
-
/**
|
|
4042
|
-
* Specify which subscription items the billing schedule applies to.
|
|
4043
|
-
*/
|
|
4044
|
-
applies_to?: Array<BillingSchedulesAction.AppliesTo>;
|
|
4045
|
-
/**
|
|
4046
|
-
* Select the action.
|
|
4047
|
-
*/
|
|
4048
|
-
type: BillingSchedulesAction.Type;
|
|
4049
|
-
}
|
|
4050
|
-
interface DiscountAction {
|
|
4051
|
-
/**
|
|
4052
|
-
* Details of the discount to add.
|
|
4053
|
-
*/
|
|
4054
|
-
add?: DiscountAction.Add;
|
|
4055
|
-
/**
|
|
4056
|
-
* Details of the discount to remove.
|
|
4057
|
-
*/
|
|
4058
|
-
remove?: DiscountAction.Remove;
|
|
4059
|
-
/**
|
|
4060
|
-
* Details of the discount to replace the existing discounts with.
|
|
4061
|
-
*/
|
|
4062
|
-
set?: DiscountAction.Set;
|
|
4063
|
-
/**
|
|
4064
|
-
* Determines the type of discount action.
|
|
4065
|
-
*/
|
|
4066
|
-
type: DiscountAction.Type;
|
|
4067
|
-
}
|
|
4068
|
-
type EffectiveAt = 'amendment_start' | 'billing_period_start' | OtherString;
|
|
4069
|
-
interface ItemAction {
|
|
4070
|
-
/**
|
|
4071
|
-
* Details of the subscription item to add. If an item with the same `price` exists, it will be replaced by this new item. Otherwise, it adds the new item.
|
|
4072
|
-
*/
|
|
4073
|
-
add?: ItemAction.Add;
|
|
4074
|
-
/**
|
|
4075
|
-
* Details of the subscription item to remove.
|
|
4076
|
-
*/
|
|
4077
|
-
remove?: ItemAction.Remove;
|
|
4078
|
-
/**
|
|
4079
|
-
* Details of the subscription item to replace the existing items with. If an item with the `set[price]` already exists, the `items` array is not cleared. Instead, all of the other `set` properties that are passed in this request will replace the existing values for the configuration item.
|
|
4080
|
-
*/
|
|
4081
|
-
set?: ItemAction.Set;
|
|
4082
|
-
/**
|
|
4083
|
-
* Determines the type of item action.
|
|
4084
|
-
*/
|
|
4085
|
-
type: ItemAction.Type;
|
|
4086
|
-
}
|
|
4087
|
-
interface MetadataAction {
|
|
4088
|
-
/**
|
|
4089
|
-
* Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata.
|
|
4090
|
-
*/
|
|
4091
|
-
add?: {
|
|
4092
|
-
[key: string]: string;
|
|
4093
|
-
};
|
|
4094
|
-
/**
|
|
4095
|
-
* Keys to remove from schedule phase metadata.
|
|
4096
|
-
*/
|
|
4097
|
-
remove?: Array<string>;
|
|
4098
|
-
/**
|
|
4099
|
-
* Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.
|
|
4100
|
-
*/
|
|
4101
|
-
set?: Emptyable<{
|
|
4102
|
-
[key: string]: string;
|
|
4103
|
-
}>;
|
|
4104
|
-
/**
|
|
4105
|
-
* Select one of three ways to update phase-level `metadata` on subscription schedules.
|
|
4106
|
-
*/
|
|
4107
|
-
type: MetadataAction.Type;
|
|
4108
|
-
}
|
|
4109
|
-
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
4110
|
-
interface SetPauseCollection {
|
|
4111
|
-
/**
|
|
4112
|
-
* Details of the pause_collection behavior to apply to the amendment.
|
|
4113
|
-
*/
|
|
4114
|
-
set?: SetPauseCollection.Set;
|
|
4115
|
-
/**
|
|
4116
|
-
* Determines the type of the pause_collection amendment.
|
|
4117
|
-
*/
|
|
4118
|
-
type: SetPauseCollection.Type;
|
|
4119
|
-
}
|
|
4120
|
-
type SetScheduleEnd = 'amendment_end' | 'amendment_start' | OtherString;
|
|
4121
|
-
interface TrialSettings {
|
|
4122
|
-
/**
|
|
4123
|
-
* Defines how the subscription should behave when a trial ends.
|
|
4124
|
-
*/
|
|
4125
|
-
end_behavior?: TrialSettings.EndBehavior;
|
|
4126
|
-
}
|
|
4127
|
-
namespace AmendmentEnd {
|
|
4128
|
-
interface DiscountEnd {
|
|
4129
|
-
/**
|
|
4130
|
-
* The ID of a specific discount.
|
|
4131
|
-
*/
|
|
4132
|
-
discount: string;
|
|
4133
|
-
}
|
|
4134
|
-
interface Duration {
|
|
4135
|
-
/**
|
|
4136
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
4137
|
-
*/
|
|
4138
|
-
interval: Duration.Interval;
|
|
4139
|
-
/**
|
|
4140
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
4141
|
-
*/
|
|
4142
|
-
interval_count: number;
|
|
4143
|
-
}
|
|
4144
|
-
type Type = 'discount_end' | 'duration' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
|
|
4145
|
-
namespace Duration {
|
|
4146
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
4147
|
-
}
|
|
4148
|
-
}
|
|
4149
|
-
namespace AmendmentStart {
|
|
4150
|
-
interface AmendmentEnd {
|
|
4151
|
-
/**
|
|
4152
|
-
* The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array.
|
|
4153
|
-
*/
|
|
4154
|
-
index: number;
|
|
4155
|
-
}
|
|
4156
|
-
interface DiscountEnd {
|
|
4157
|
-
/**
|
|
4158
|
-
* The ID of a specific discount.
|
|
4159
|
-
*/
|
|
4160
|
-
discount: string;
|
|
4161
|
-
}
|
|
4162
|
-
type Type = 'amendment_end' | 'discount_end' | 'now' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
|
|
4163
|
-
}
|
|
4164
|
-
namespace BillingSchedulesAction {
|
|
4165
|
-
interface AppliesTo {
|
|
4166
|
-
/**
|
|
4167
|
-
* The ID of the price object.
|
|
4168
|
-
*/
|
|
4169
|
-
price?: string;
|
|
4170
|
-
/**
|
|
4171
|
-
* Controls which subscription items the billing schedule applies to.
|
|
4172
|
-
*/
|
|
4173
|
-
type: 'price';
|
|
4174
|
-
}
|
|
4175
|
-
type Type = 'remove' | 'set' | OtherString;
|
|
4176
|
-
}
|
|
4177
|
-
namespace DiscountAction {
|
|
4178
|
-
interface Add {
|
|
4179
|
-
/**
|
|
4180
|
-
* The coupon code to redeem.
|
|
4181
|
-
*/
|
|
4182
|
-
coupon?: string;
|
|
4183
|
-
/**
|
|
4184
|
-
* An ID of an existing discount for a coupon that was already redeemed.
|
|
4185
|
-
*/
|
|
4186
|
-
discount?: string;
|
|
4187
|
-
/**
|
|
4188
|
-
* Details to determine how long the discount should be applied for.
|
|
4189
|
-
*/
|
|
4190
|
-
discount_end?: Add.DiscountEnd;
|
|
4191
|
-
/**
|
|
4192
|
-
* The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.
|
|
4193
|
-
*/
|
|
4194
|
-
index?: number;
|
|
4195
|
-
/**
|
|
4196
|
-
* The promotion code to redeem.
|
|
4197
|
-
*/
|
|
4198
|
-
promotion_code?: string;
|
|
4199
|
-
/**
|
|
4200
|
-
* Settings for discount application including service period anchoring.
|
|
4201
|
-
*/
|
|
4202
|
-
settings?: Add.Settings;
|
|
4203
|
-
}
|
|
4204
|
-
interface Remove {
|
|
4205
|
-
/**
|
|
4206
|
-
* The coupon code to remove from the `discounts` array.
|
|
4207
|
-
*/
|
|
4208
|
-
coupon?: string;
|
|
4209
|
-
/**
|
|
4210
|
-
* The ID of a discount to remove from the `discounts` array.
|
|
4211
|
-
*/
|
|
4212
|
-
discount?: string;
|
|
4213
|
-
/**
|
|
4214
|
-
* The ID of a promotion code to remove from the `discounts` array.
|
|
4215
|
-
*/
|
|
4216
|
-
promotion_code?: string;
|
|
4217
|
-
}
|
|
4218
|
-
interface Set {
|
|
4219
|
-
/**
|
|
4220
|
-
* The coupon code to replace the `discounts` array with.
|
|
4221
|
-
*/
|
|
4222
|
-
coupon?: string;
|
|
4223
|
-
/**
|
|
4224
|
-
* An ID of an existing discount to replace the `discounts` array with.
|
|
4225
|
-
*/
|
|
4226
|
-
discount?: string;
|
|
4227
|
-
/**
|
|
4228
|
-
* An ID of an existing promotion code to replace the `discounts` array with.
|
|
4229
|
-
*/
|
|
4230
|
-
promotion_code?: string;
|
|
4231
|
-
/**
|
|
4232
|
-
* Settings for discount application including service period anchoring.
|
|
4233
|
-
*/
|
|
4234
|
-
settings?: Set.Settings;
|
|
4235
|
-
}
|
|
4236
|
-
type Type = 'add' | 'remove' | 'set' | OtherString;
|
|
4237
|
-
namespace Add {
|
|
4238
|
-
interface DiscountEnd {
|
|
4239
|
-
/**
|
|
4240
|
-
* The type of calculation made to determine when the discount ends.
|
|
4241
|
-
*/
|
|
4242
|
-
type: 'amendment_end';
|
|
4243
|
-
}
|
|
4244
|
-
interface Settings {
|
|
4245
|
-
/**
|
|
4246
|
-
* Configures service period cycle anchoring.
|
|
4247
|
-
*/
|
|
4248
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
4249
|
-
/**
|
|
4250
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
|
|
4251
|
-
*/
|
|
4252
|
-
start_date?: Settings.StartDate;
|
|
4253
|
-
}
|
|
4254
|
-
namespace Settings {
|
|
4255
|
-
interface ServicePeriodAnchorConfig {
|
|
4256
|
-
/**
|
|
4257
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
4258
|
-
*/
|
|
4259
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
4260
|
-
/**
|
|
4261
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
4262
|
-
*/
|
|
4263
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
4264
|
-
}
|
|
4265
|
-
type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
|
|
4266
|
-
namespace ServicePeriodAnchorConfig {
|
|
4267
|
-
interface Custom {
|
|
4268
|
-
/**
|
|
4269
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
4270
|
-
*/
|
|
4271
|
-
day_of_month: number;
|
|
4272
|
-
/**
|
|
4273
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
4274
|
-
*/
|
|
4275
|
-
hour?: number;
|
|
4276
|
-
/**
|
|
4277
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
4278
|
-
*/
|
|
4279
|
-
minute?: number;
|
|
4280
|
-
/**
|
|
4281
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
4282
|
-
*/
|
|
4283
|
-
month?: number;
|
|
4284
|
-
/**
|
|
4285
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
4286
|
-
*/
|
|
4287
|
-
second?: number;
|
|
4288
|
-
}
|
|
4289
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
4290
|
-
}
|
|
4291
|
-
}
|
|
4292
|
-
}
|
|
4293
|
-
namespace Set {
|
|
4294
|
-
interface Settings {
|
|
4295
|
-
/**
|
|
4296
|
-
* Configures service period cycle anchoring.
|
|
4297
|
-
*/
|
|
4298
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
4299
|
-
/**
|
|
4300
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
|
|
4301
|
-
*/
|
|
4302
|
-
start_date?: Settings.StartDate;
|
|
4303
|
-
}
|
|
4304
|
-
namespace Settings {
|
|
4305
|
-
interface ServicePeriodAnchorConfig {
|
|
4306
|
-
/**
|
|
4307
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
4308
|
-
*/
|
|
4309
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
4310
|
-
/**
|
|
4311
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
4312
|
-
*/
|
|
4313
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
4314
|
-
}
|
|
4315
|
-
type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
|
|
4316
|
-
namespace ServicePeriodAnchorConfig {
|
|
4317
|
-
interface Custom {
|
|
4318
|
-
/**
|
|
4319
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
4320
|
-
*/
|
|
4321
|
-
day_of_month: number;
|
|
4322
|
-
/**
|
|
4323
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
4324
|
-
*/
|
|
4325
|
-
hour?: number;
|
|
4326
|
-
/**
|
|
4327
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
4328
|
-
*/
|
|
4329
|
-
minute?: number;
|
|
4330
|
-
/**
|
|
4331
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
4332
|
-
*/
|
|
4333
|
-
month?: number;
|
|
4334
|
-
/**
|
|
4335
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
4336
|
-
*/
|
|
4337
|
-
second?: number;
|
|
4338
|
-
}
|
|
4339
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
4340
|
-
}
|
|
4341
|
-
}
|
|
4342
|
-
}
|
|
4343
|
-
}
|
|
4344
|
-
namespace ItemAction {
|
|
4345
|
-
interface Add {
|
|
4346
|
-
/**
|
|
4347
|
-
* The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
|
|
4348
|
-
*/
|
|
4349
|
-
discounts?: Array<Add.Discount>;
|
|
4350
|
-
/**
|
|
4351
|
-
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
4352
|
-
*/
|
|
4353
|
-
metadata?: MetadataParam;
|
|
4354
|
-
/**
|
|
4355
|
-
* The ID of the price object.
|
|
4356
|
-
*/
|
|
4357
|
-
price: string;
|
|
4358
|
-
/**
|
|
4359
|
-
* Quantity for this item.
|
|
4360
|
-
*/
|
|
4361
|
-
quantity?: number;
|
|
4362
|
-
/**
|
|
4363
|
-
* The tax rates that apply to this subscription item. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.
|
|
4364
|
-
*/
|
|
4365
|
-
tax_rates?: Array<string>;
|
|
4366
|
-
/**
|
|
4367
|
-
* Options that configure the trial on the subscription item.
|
|
4368
|
-
*/
|
|
4369
|
-
trial?: Add.Trial;
|
|
4370
|
-
/**
|
|
4371
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
4372
|
-
*/
|
|
4373
|
-
trial_offer?: string;
|
|
4374
|
-
}
|
|
4375
|
-
interface Remove {
|
|
4376
|
-
/**
|
|
4377
|
-
* ID of a price to remove.
|
|
4378
|
-
*/
|
|
4379
|
-
price: string;
|
|
4380
|
-
}
|
|
4381
|
-
interface Set {
|
|
4382
|
-
/**
|
|
4383
|
-
* If an item with the `price` already exists, passing this will override the `discounts` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `discounts`.
|
|
4384
|
-
*/
|
|
4385
|
-
discounts?: Array<Set.Discount>;
|
|
4386
|
-
/**
|
|
4387
|
-
* If an item with the `price` already exists, passing this will override the `metadata` on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `metadata`.
|
|
4388
|
-
*/
|
|
4389
|
-
metadata?: MetadataParam;
|
|
4390
|
-
/**
|
|
4391
|
-
* The ID of the price object.
|
|
4392
|
-
*/
|
|
4393
|
-
price: string;
|
|
4394
|
-
/**
|
|
4395
|
-
* If an item with the `price` already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `quantity`.
|
|
4396
|
-
*/
|
|
4397
|
-
quantity?: number;
|
|
4398
|
-
/**
|
|
4399
|
-
* If an item with the `price` already exists, passing this will override the `tax_rates` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `tax_rates`.
|
|
4400
|
-
*/
|
|
4401
|
-
tax_rates?: Array<string>;
|
|
4402
|
-
/**
|
|
4403
|
-
* If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.
|
|
4404
|
-
*/
|
|
4405
|
-
trial?: Set.Trial;
|
|
4406
|
-
/**
|
|
4407
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
4408
|
-
*/
|
|
4409
|
-
trial_offer?: string;
|
|
4410
|
-
}
|
|
4411
|
-
type Type = 'add' | 'remove' | 'set' | OtherString;
|
|
4412
|
-
namespace Add {
|
|
4413
|
-
interface Discount {
|
|
4414
|
-
/**
|
|
4415
|
-
* ID of the coupon to create a new discount for.
|
|
4416
|
-
*/
|
|
4417
|
-
coupon?: string;
|
|
4418
|
-
/**
|
|
4419
|
-
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
4420
|
-
*/
|
|
4421
|
-
discount?: string;
|
|
4422
|
-
/**
|
|
4423
|
-
* Details to determine how long the discount should be applied for.
|
|
4424
|
-
*/
|
|
4425
|
-
discount_end?: Discount.DiscountEnd;
|
|
4426
|
-
/**
|
|
4427
|
-
* ID of the promotion code to create a new discount for.
|
|
4428
|
-
*/
|
|
4429
|
-
promotion_code?: string;
|
|
4430
|
-
/**
|
|
4431
|
-
* Settings for discount application including service period anchoring.
|
|
4432
|
-
*/
|
|
4433
|
-
settings?: Discount.Settings;
|
|
4434
|
-
}
|
|
4435
|
-
interface Trial {
|
|
4436
|
-
/**
|
|
4437
|
-
* 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.
|
|
4438
|
-
*/
|
|
4439
|
-
converts_to?: Array<string>;
|
|
4440
|
-
/**
|
|
4441
|
-
* Determines the type of trial for this item.
|
|
4442
|
-
*/
|
|
4443
|
-
type: Trial.Type;
|
|
4444
|
-
}
|
|
4445
|
-
namespace Discount {
|
|
4446
|
-
interface DiscountEnd {
|
|
4447
|
-
/**
|
|
4448
|
-
* Time span for the redeemed discount.
|
|
4449
|
-
*/
|
|
4450
|
-
duration?: DiscountEnd.Duration;
|
|
4451
|
-
/**
|
|
4452
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
4453
|
-
*/
|
|
4454
|
-
timestamp?: number;
|
|
4455
|
-
/**
|
|
4456
|
-
* The type of calculation made to determine when the discount ends.
|
|
4457
|
-
*/
|
|
4458
|
-
type: DiscountEnd.Type;
|
|
4459
|
-
}
|
|
4460
|
-
interface Settings {
|
|
4461
|
-
/**
|
|
4462
|
-
* Configures service period cycle anchoring.
|
|
4463
|
-
*/
|
|
4464
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
4465
|
-
/**
|
|
4466
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
|
|
4467
|
-
*/
|
|
4468
|
-
start_date?: Settings.StartDate;
|
|
4469
|
-
}
|
|
4470
|
-
namespace DiscountEnd {
|
|
4471
|
-
interface Duration {
|
|
4472
|
-
/**
|
|
4473
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
4474
|
-
*/
|
|
4475
|
-
interval: Duration.Interval;
|
|
4476
|
-
/**
|
|
4477
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
4478
|
-
*/
|
|
4479
|
-
interval_count: number;
|
|
4480
|
-
}
|
|
4481
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
4482
|
-
namespace Duration {
|
|
4483
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
4484
|
-
}
|
|
4485
|
-
}
|
|
4486
|
-
namespace Settings {
|
|
4487
|
-
interface ServicePeriodAnchorConfig {
|
|
4488
|
-
/**
|
|
4489
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
4490
|
-
*/
|
|
4491
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
4492
|
-
/**
|
|
4493
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
4494
|
-
*/
|
|
4495
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
4496
|
-
}
|
|
4497
|
-
type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
|
|
4498
|
-
namespace ServicePeriodAnchorConfig {
|
|
4499
|
-
interface Custom {
|
|
4500
|
-
/**
|
|
4501
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
4502
|
-
*/
|
|
4503
|
-
day_of_month: number;
|
|
4504
|
-
/**
|
|
4505
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
4506
|
-
*/
|
|
4507
|
-
hour?: number;
|
|
4508
|
-
/**
|
|
4509
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
4510
|
-
*/
|
|
4511
|
-
minute?: number;
|
|
4512
|
-
/**
|
|
4513
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
4514
|
-
*/
|
|
4515
|
-
month?: number;
|
|
4516
|
-
/**
|
|
4517
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
4518
|
-
*/
|
|
4519
|
-
second?: number;
|
|
4520
|
-
}
|
|
4521
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
4522
|
-
}
|
|
4523
|
-
}
|
|
4524
|
-
}
|
|
4525
|
-
namespace Trial {
|
|
4526
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
4527
|
-
}
|
|
4528
|
-
}
|
|
4529
|
-
namespace Set {
|
|
4530
|
-
interface Discount {
|
|
4531
|
-
/**
|
|
4532
|
-
* ID of the coupon to create a new discount for.
|
|
4533
|
-
*/
|
|
4534
|
-
coupon?: string;
|
|
4535
|
-
/**
|
|
4536
|
-
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
4537
|
-
*/
|
|
4538
|
-
discount?: string;
|
|
4539
|
-
/**
|
|
4540
|
-
* Details to determine how long the discount should be applied for.
|
|
4541
|
-
*/
|
|
4542
|
-
discount_end?: Discount.DiscountEnd;
|
|
4543
|
-
/**
|
|
4544
|
-
* ID of the promotion code to create a new discount for.
|
|
4545
|
-
*/
|
|
4546
|
-
promotion_code?: string;
|
|
4547
|
-
/**
|
|
4548
|
-
* Settings for discount application including service period anchoring.
|
|
4549
|
-
*/
|
|
4550
|
-
settings?: Discount.Settings;
|
|
4551
|
-
}
|
|
4552
|
-
interface Trial {
|
|
4553
|
-
/**
|
|
4554
|
-
* 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.
|
|
4555
|
-
*/
|
|
4556
|
-
converts_to?: Array<string>;
|
|
4557
|
-
/**
|
|
4558
|
-
* Determines the type of trial for this item.
|
|
4559
|
-
*/
|
|
4560
|
-
type: Trial.Type;
|
|
4561
|
-
}
|
|
4562
|
-
namespace Discount {
|
|
4563
|
-
interface DiscountEnd {
|
|
4564
|
-
/**
|
|
4565
|
-
* Time span for the redeemed discount.
|
|
4566
|
-
*/
|
|
4567
|
-
duration?: DiscountEnd.Duration;
|
|
4568
|
-
/**
|
|
4569
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
4570
|
-
*/
|
|
4571
|
-
timestamp?: number;
|
|
4572
|
-
/**
|
|
4573
|
-
* The type of calculation made to determine when the discount ends.
|
|
4574
|
-
*/
|
|
4575
|
-
type: DiscountEnd.Type;
|
|
4576
|
-
}
|
|
4577
|
-
interface Settings {
|
|
4578
|
-
/**
|
|
4579
|
-
* Configures service period cycle anchoring.
|
|
4580
|
-
*/
|
|
4581
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
4582
|
-
/**
|
|
4583
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
|
|
4584
|
-
*/
|
|
4585
|
-
start_date?: Settings.StartDate;
|
|
4586
|
-
}
|
|
4587
|
-
namespace DiscountEnd {
|
|
4588
|
-
interface Duration {
|
|
4589
|
-
/**
|
|
4590
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
4591
|
-
*/
|
|
4592
|
-
interval: Duration.Interval;
|
|
4593
|
-
/**
|
|
4594
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
4595
|
-
*/
|
|
4596
|
-
interval_count: number;
|
|
4597
|
-
}
|
|
4598
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
4599
|
-
namespace Duration {
|
|
4600
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
4601
|
-
}
|
|
4602
|
-
}
|
|
4603
|
-
namespace Settings {
|
|
4604
|
-
interface ServicePeriodAnchorConfig {
|
|
4605
|
-
/**
|
|
4606
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
4607
|
-
*/
|
|
4608
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
4609
|
-
/**
|
|
4610
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
4611
|
-
*/
|
|
4612
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
4613
|
-
}
|
|
4614
|
-
type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
|
|
4615
|
-
namespace ServicePeriodAnchorConfig {
|
|
4616
|
-
interface Custom {
|
|
4617
|
-
/**
|
|
4618
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
4619
|
-
*/
|
|
4620
|
-
day_of_month: number;
|
|
4621
|
-
/**
|
|
4622
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
4623
|
-
*/
|
|
4624
|
-
hour?: number;
|
|
4625
|
-
/**
|
|
4626
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
4627
|
-
*/
|
|
4628
|
-
minute?: number;
|
|
4629
|
-
/**
|
|
4630
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
4631
|
-
*/
|
|
4632
|
-
month?: number;
|
|
4633
|
-
/**
|
|
4634
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
4635
|
-
*/
|
|
4636
|
-
second?: number;
|
|
4637
|
-
}
|
|
4638
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
4639
|
-
}
|
|
4640
|
-
}
|
|
4641
|
-
}
|
|
4642
|
-
namespace Trial {
|
|
4643
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
4644
|
-
}
|
|
4645
|
-
}
|
|
4646
|
-
}
|
|
4647
|
-
namespace MetadataAction {
|
|
4648
|
-
type Type = 'add' | 'remove' | 'set' | OtherString;
|
|
4649
|
-
}
|
|
4650
|
-
namespace SetPauseCollection {
|
|
4651
|
-
interface Set {
|
|
4652
|
-
/**
|
|
4653
|
-
* The payment collection behavior for this subscription while paused.
|
|
4654
|
-
*/
|
|
4655
|
-
behavior: Set.Behavior;
|
|
4656
|
-
}
|
|
4657
|
-
type Type = 'remove' | 'set' | OtherString;
|
|
4658
|
-
namespace Set {
|
|
4659
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
4660
|
-
}
|
|
4661
|
-
}
|
|
4662
|
-
namespace TrialSettings {
|
|
4663
|
-
interface EndBehavior {
|
|
4664
|
-
/**
|
|
4665
|
-
* Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
|
|
4666
|
-
*/
|
|
4667
|
-
prorate_up_front?: EndBehavior.ProrateUpFront;
|
|
4668
|
-
}
|
|
4669
|
-
namespace EndBehavior {
|
|
4670
|
-
type ProrateUpFront = 'defer' | 'include' | OtherString;
|
|
4671
|
-
}
|
|
4672
|
-
}
|
|
4673
|
-
}
|
|
4674
3193
|
namespace BillingMode {
|
|
4675
3194
|
interface Flexible {
|
|
4676
3195
|
/**
|
|
@@ -4683,51 +3202,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
4683
3202
|
type ProrationDiscounts = 'included' | 'itemized' | OtherString;
|
|
4684
3203
|
}
|
|
4685
3204
|
}
|
|
4686
|
-
namespace BillingSchedule {
|
|
4687
|
-
interface AppliesTo {
|
|
4688
|
-
/**
|
|
4689
|
-
* The ID of the price object.
|
|
4690
|
-
*/
|
|
4691
|
-
price?: string;
|
|
4692
|
-
/**
|
|
4693
|
-
* Controls which subscription items the billing schedule applies to.
|
|
4694
|
-
*/
|
|
4695
|
-
type: 'price';
|
|
4696
|
-
}
|
|
4697
|
-
interface BillUntil {
|
|
4698
|
-
/**
|
|
4699
|
-
* Specifies the billing period.
|
|
4700
|
-
*/
|
|
4701
|
-
duration?: BillUntil.Duration;
|
|
4702
|
-
/**
|
|
4703
|
-
* The end date of the billing schedule.
|
|
4704
|
-
*/
|
|
4705
|
-
timestamp?: number;
|
|
4706
|
-
/**
|
|
4707
|
-
* Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
|
|
4708
|
-
*/
|
|
4709
|
-
type: BillUntil.Type;
|
|
4710
|
-
}
|
|
4711
|
-
namespace BillUntil {
|
|
4712
|
-
interface Duration {
|
|
4713
|
-
/**
|
|
4714
|
-
* Specifies billing duration. Either `day`, `week`, `month` or `year`.
|
|
4715
|
-
*/
|
|
4716
|
-
interval: Duration.Interval;
|
|
4717
|
-
/**
|
|
4718
|
-
* The multiplier applied to the interval.
|
|
4719
|
-
*/
|
|
4720
|
-
interval_count?: number;
|
|
4721
|
-
}
|
|
4722
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
4723
|
-
namespace Duration {
|
|
4724
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
4725
|
-
}
|
|
4726
|
-
}
|
|
4727
|
-
}
|
|
4728
|
-
namespace DefaultSettings {
|
|
4729
|
-
type PhaseEffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
|
|
4730
|
-
}
|
|
4731
3205
|
namespace Phase {
|
|
4732
3206
|
interface AddInvoiceItem {
|
|
4733
3207
|
/**
|
|
@@ -4794,18 +3268,10 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
4794
3268
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
4795
3269
|
*/
|
|
4796
3270
|
discount?: string;
|
|
4797
|
-
/**
|
|
4798
|
-
* Details to determine how long the discount should be applied for.
|
|
4799
|
-
*/
|
|
4800
|
-
discount_end?: Discount.DiscountEnd;
|
|
4801
3271
|
/**
|
|
4802
3272
|
* ID of the promotion code to create a new discount for.
|
|
4803
3273
|
*/
|
|
4804
3274
|
promotion_code?: string;
|
|
4805
|
-
/**
|
|
4806
|
-
* Settings for discount application including service period anchoring.
|
|
4807
|
-
*/
|
|
4808
|
-
settings?: Discount.Settings;
|
|
4809
3275
|
}
|
|
4810
3276
|
interface Duration {
|
|
4811
3277
|
/**
|
|
@@ -4817,7 +3283,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
4817
3283
|
*/
|
|
4818
3284
|
interval_count?: number;
|
|
4819
3285
|
}
|
|
4820
|
-
type EffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
|
|
4821
3286
|
interface InvoiceSettings {
|
|
4822
3287
|
/**
|
|
4823
3288
|
* The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.
|
|
@@ -4862,23 +3327,9 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
4862
3327
|
*/
|
|
4863
3328
|
quantity?: number;
|
|
4864
3329
|
/**
|
|
4865
|
-
* 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.
|
|
4866
|
-
*/
|
|
4867
|
-
tax_rates?: Emptyable<Array<string>>;
|
|
4868
|
-
/**
|
|
4869
|
-
* Options that configure the trial on the subscription item.
|
|
4870
|
-
*/
|
|
4871
|
-
trial?: Item.Trial;
|
|
4872
|
-
/**
|
|
4873
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
4874
|
-
*/
|
|
4875
|
-
trial_offer?: string;
|
|
4876
|
-
}
|
|
4877
|
-
interface PauseCollection {
|
|
4878
|
-
/**
|
|
4879
|
-
* The payment collection behavior for this subscription while paused.
|
|
3330
|
+
* 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.
|
|
4880
3331
|
*/
|
|
4881
|
-
|
|
3332
|
+
tax_rates?: Emptyable<Array<string>>;
|
|
4882
3333
|
}
|
|
4883
3334
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
4884
3335
|
interface TransferData {
|
|
@@ -4891,13 +3342,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
4891
3342
|
*/
|
|
4892
3343
|
destination: string;
|
|
4893
3344
|
}
|
|
4894
|
-
type TrialContinuation = 'continue' | 'none' | OtherString;
|
|
4895
|
-
interface TrialSettings {
|
|
4896
|
-
/**
|
|
4897
|
-
* Defines how the subscription should behave when a trial ends.
|
|
4898
|
-
*/
|
|
4899
|
-
end_behavior?: TrialSettings.EndBehavior;
|
|
4900
|
-
}
|
|
4901
3345
|
namespace AddInvoiceItem {
|
|
4902
3346
|
interface Discount {
|
|
4903
3347
|
/**
|
|
@@ -4908,10 +3352,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
4908
3352
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
4909
3353
|
*/
|
|
4910
3354
|
discount?: string;
|
|
4911
|
-
/**
|
|
4912
|
-
* Details to determine how long the discount should be applied for.
|
|
4913
|
-
*/
|
|
4914
|
-
discount_end?: Discount.DiscountEnd;
|
|
4915
3355
|
/**
|
|
4916
3356
|
* ID of the promotion code to create a new discount for.
|
|
4917
3357
|
*/
|
|
@@ -4949,38 +3389,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
4949
3389
|
*/
|
|
4950
3390
|
unit_amount_decimal?: Decimal;
|
|
4951
3391
|
}
|
|
4952
|
-
namespace Discount {
|
|
4953
|
-
interface DiscountEnd {
|
|
4954
|
-
/**
|
|
4955
|
-
* Time span for the redeemed discount.
|
|
4956
|
-
*/
|
|
4957
|
-
duration?: DiscountEnd.Duration;
|
|
4958
|
-
/**
|
|
4959
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
4960
|
-
*/
|
|
4961
|
-
timestamp?: number;
|
|
4962
|
-
/**
|
|
4963
|
-
* The type of calculation made to determine when the discount ends.
|
|
4964
|
-
*/
|
|
4965
|
-
type: DiscountEnd.Type;
|
|
4966
|
-
}
|
|
4967
|
-
namespace DiscountEnd {
|
|
4968
|
-
interface Duration {
|
|
4969
|
-
/**
|
|
4970
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
4971
|
-
*/
|
|
4972
|
-
interval: Duration.Interval;
|
|
4973
|
-
/**
|
|
4974
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
4975
|
-
*/
|
|
4976
|
-
interval_count: number;
|
|
4977
|
-
}
|
|
4978
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
4979
|
-
namespace Duration {
|
|
4980
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
4981
|
-
}
|
|
4982
|
-
}
|
|
4983
|
-
}
|
|
4984
3392
|
namespace Period {
|
|
4985
3393
|
interface End {
|
|
4986
3394
|
/**
|
|
@@ -5025,87 +3433,7 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
5025
3433
|
type: Liability.Type;
|
|
5026
3434
|
}
|
|
5027
3435
|
namespace Liability {
|
|
5028
|
-
type Type = 'account' | '
|
|
5029
|
-
}
|
|
5030
|
-
}
|
|
5031
|
-
namespace Discount {
|
|
5032
|
-
interface DiscountEnd {
|
|
5033
|
-
/**
|
|
5034
|
-
* Time span for the redeemed discount.
|
|
5035
|
-
*/
|
|
5036
|
-
duration?: DiscountEnd.Duration;
|
|
5037
|
-
/**
|
|
5038
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
5039
|
-
*/
|
|
5040
|
-
timestamp?: number;
|
|
5041
|
-
/**
|
|
5042
|
-
* The type of calculation made to determine when the discount ends.
|
|
5043
|
-
*/
|
|
5044
|
-
type: DiscountEnd.Type;
|
|
5045
|
-
}
|
|
5046
|
-
interface Settings {
|
|
5047
|
-
/**
|
|
5048
|
-
* Configures service period cycle anchoring.
|
|
5049
|
-
*/
|
|
5050
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
5051
|
-
/**
|
|
5052
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `phase_start` if omitted.
|
|
5053
|
-
*/
|
|
5054
|
-
start_date?: Settings.StartDate;
|
|
5055
|
-
}
|
|
5056
|
-
namespace DiscountEnd {
|
|
5057
|
-
interface Duration {
|
|
5058
|
-
/**
|
|
5059
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
5060
|
-
*/
|
|
5061
|
-
interval: Duration.Interval;
|
|
5062
|
-
/**
|
|
5063
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
5064
|
-
*/
|
|
5065
|
-
interval_count: number;
|
|
5066
|
-
}
|
|
5067
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
5068
|
-
namespace Duration {
|
|
5069
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
5070
|
-
}
|
|
5071
|
-
}
|
|
5072
|
-
namespace Settings {
|
|
5073
|
-
interface ServicePeriodAnchorConfig {
|
|
5074
|
-
/**
|
|
5075
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
5076
|
-
*/
|
|
5077
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
5078
|
-
/**
|
|
5079
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
5080
|
-
*/
|
|
5081
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
5082
|
-
}
|
|
5083
|
-
type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
|
|
5084
|
-
namespace ServicePeriodAnchorConfig {
|
|
5085
|
-
interface Custom {
|
|
5086
|
-
/**
|
|
5087
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
5088
|
-
*/
|
|
5089
|
-
day_of_month: number;
|
|
5090
|
-
/**
|
|
5091
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
5092
|
-
*/
|
|
5093
|
-
hour?: number;
|
|
5094
|
-
/**
|
|
5095
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
5096
|
-
*/
|
|
5097
|
-
minute?: number;
|
|
5098
|
-
/**
|
|
5099
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
5100
|
-
*/
|
|
5101
|
-
month?: number;
|
|
5102
|
-
/**
|
|
5103
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
5104
|
-
*/
|
|
5105
|
-
second?: number;
|
|
5106
|
-
}
|
|
5107
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
5108
|
-
}
|
|
3436
|
+
type Type = 'account' | 'self' | OtherString;
|
|
5109
3437
|
}
|
|
5110
3438
|
}
|
|
5111
3439
|
namespace Duration {
|
|
@@ -5123,7 +3451,7 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
5123
3451
|
type: Issuer.Type;
|
|
5124
3452
|
}
|
|
5125
3453
|
namespace Issuer {
|
|
5126
|
-
type Type = 'account' | '
|
|
3454
|
+
type Type = 'account' | 'self' | OtherString;
|
|
5127
3455
|
}
|
|
5128
3456
|
}
|
|
5129
3457
|
namespace Item {
|
|
@@ -5142,18 +3470,10 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
5142
3470
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
5143
3471
|
*/
|
|
5144
3472
|
discount?: string;
|
|
5145
|
-
/**
|
|
5146
|
-
* Details to determine how long the discount should be applied for.
|
|
5147
|
-
*/
|
|
5148
|
-
discount_end?: Discount.DiscountEnd;
|
|
5149
3473
|
/**
|
|
5150
3474
|
* ID of the promotion code to create a new discount for.
|
|
5151
3475
|
*/
|
|
5152
3476
|
promotion_code?: string;
|
|
5153
|
-
/**
|
|
5154
|
-
* Settings for discount application including service period anchoring.
|
|
5155
|
-
*/
|
|
5156
|
-
settings?: Discount.Settings;
|
|
5157
3477
|
}
|
|
5158
3478
|
interface PriceData {
|
|
5159
3479
|
/**
|
|
@@ -5181,96 +3501,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
5181
3501
|
*/
|
|
5182
3502
|
unit_amount_decimal?: Decimal;
|
|
5183
3503
|
}
|
|
5184
|
-
interface Trial {
|
|
5185
|
-
/**
|
|
5186
|
-
* 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.
|
|
5187
|
-
*/
|
|
5188
|
-
converts_to?: Array<string>;
|
|
5189
|
-
/**
|
|
5190
|
-
* Determines the type of trial for this item.
|
|
5191
|
-
*/
|
|
5192
|
-
type: Trial.Type;
|
|
5193
|
-
}
|
|
5194
|
-
namespace Discount {
|
|
5195
|
-
interface DiscountEnd {
|
|
5196
|
-
/**
|
|
5197
|
-
* Time span for the redeemed discount.
|
|
5198
|
-
*/
|
|
5199
|
-
duration?: DiscountEnd.Duration;
|
|
5200
|
-
/**
|
|
5201
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
5202
|
-
*/
|
|
5203
|
-
timestamp?: number;
|
|
5204
|
-
/**
|
|
5205
|
-
* The type of calculation made to determine when the discount ends.
|
|
5206
|
-
*/
|
|
5207
|
-
type: DiscountEnd.Type;
|
|
5208
|
-
}
|
|
5209
|
-
interface Settings {
|
|
5210
|
-
/**
|
|
5211
|
-
* Configures service period cycle anchoring.
|
|
5212
|
-
*/
|
|
5213
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
5214
|
-
/**
|
|
5215
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `phase_start` if omitted.
|
|
5216
|
-
*/
|
|
5217
|
-
start_date?: Settings.StartDate;
|
|
5218
|
-
}
|
|
5219
|
-
namespace DiscountEnd {
|
|
5220
|
-
interface Duration {
|
|
5221
|
-
/**
|
|
5222
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
5223
|
-
*/
|
|
5224
|
-
interval: Duration.Interval;
|
|
5225
|
-
/**
|
|
5226
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
5227
|
-
*/
|
|
5228
|
-
interval_count: number;
|
|
5229
|
-
}
|
|
5230
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
5231
|
-
namespace Duration {
|
|
5232
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
5233
|
-
}
|
|
5234
|
-
}
|
|
5235
|
-
namespace Settings {
|
|
5236
|
-
interface ServicePeriodAnchorConfig {
|
|
5237
|
-
/**
|
|
5238
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
5239
|
-
*/
|
|
5240
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
5241
|
-
/**
|
|
5242
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
5243
|
-
*/
|
|
5244
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
5245
|
-
}
|
|
5246
|
-
type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
|
|
5247
|
-
namespace ServicePeriodAnchorConfig {
|
|
5248
|
-
interface Custom {
|
|
5249
|
-
/**
|
|
5250
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
5251
|
-
*/
|
|
5252
|
-
day_of_month: number;
|
|
5253
|
-
/**
|
|
5254
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
5255
|
-
*/
|
|
5256
|
-
hour?: number;
|
|
5257
|
-
/**
|
|
5258
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
5259
|
-
*/
|
|
5260
|
-
minute?: number;
|
|
5261
|
-
/**
|
|
5262
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
5263
|
-
*/
|
|
5264
|
-
month?: number;
|
|
5265
|
-
/**
|
|
5266
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
5267
|
-
*/
|
|
5268
|
-
second?: number;
|
|
5269
|
-
}
|
|
5270
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
5271
|
-
}
|
|
5272
|
-
}
|
|
5273
|
-
}
|
|
5274
3504
|
namespace PriceData {
|
|
5275
3505
|
interface Recurring {
|
|
5276
3506
|
/**
|
|
@@ -5287,65 +3517,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
5287
3517
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
5288
3518
|
}
|
|
5289
3519
|
}
|
|
5290
|
-
namespace Trial {
|
|
5291
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
5292
|
-
}
|
|
5293
|
-
}
|
|
5294
|
-
namespace PauseCollection {
|
|
5295
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
5296
|
-
}
|
|
5297
|
-
namespace TrialSettings {
|
|
5298
|
-
interface EndBehavior {
|
|
5299
|
-
/**
|
|
5300
|
-
* Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
|
|
5301
|
-
*/
|
|
5302
|
-
prorate_up_front?: EndBehavior.ProrateUpFront;
|
|
5303
|
-
}
|
|
5304
|
-
namespace EndBehavior {
|
|
5305
|
-
type ProrateUpFront = 'defer' | 'include' | OtherString;
|
|
5306
|
-
}
|
|
5307
|
-
}
|
|
5308
|
-
}
|
|
5309
|
-
namespace Prebilling {
|
|
5310
|
-
interface BillUntil {
|
|
5311
|
-
/**
|
|
5312
|
-
* End the prebilled period when a specified amendment ends.
|
|
5313
|
-
*/
|
|
5314
|
-
amendment_end?: BillUntil.AmendmentEnd;
|
|
5315
|
-
/**
|
|
5316
|
-
* Time span for prebilling, starting from `bill_from`.
|
|
5317
|
-
*/
|
|
5318
|
-
duration?: BillUntil.Duration;
|
|
5319
|
-
/**
|
|
5320
|
-
* End the prebilled period at a precise integer timestamp, starting from the Unix epoch.
|
|
5321
|
-
*/
|
|
5322
|
-
timestamp?: number;
|
|
5323
|
-
/**
|
|
5324
|
-
* Select one of several ways to pass the `bill_until` value.
|
|
5325
|
-
*/
|
|
5326
|
-
type: BillUntil.Type;
|
|
5327
|
-
}
|
|
5328
|
-
namespace BillUntil {
|
|
5329
|
-
interface AmendmentEnd {
|
|
5330
|
-
/**
|
|
5331
|
-
* The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments.
|
|
5332
|
-
*/
|
|
5333
|
-
index: number;
|
|
5334
|
-
}
|
|
5335
|
-
interface Duration {
|
|
5336
|
-
/**
|
|
5337
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
5338
|
-
*/
|
|
5339
|
-
interval: Duration.Interval;
|
|
5340
|
-
/**
|
|
5341
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
5342
|
-
*/
|
|
5343
|
-
interval_count: number;
|
|
5344
|
-
}
|
|
5345
|
-
type Type = 'amendment_end' | 'duration' | 'schedule_end' | 'timestamp' | OtherString;
|
|
5346
|
-
namespace Duration {
|
|
5347
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
5348
|
-
}
|
|
5349
3520
|
}
|
|
5350
3521
|
}
|
|
5351
3522
|
}
|
|
@@ -5367,7 +3538,7 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
5367
3538
|
*/
|
|
5368
3539
|
applies_to?: Array<BillingSchedule.AppliesTo>;
|
|
5369
3540
|
/**
|
|
5370
|
-
* The end date for the billing schedule.
|
|
3541
|
+
* The end date for the billing schedule. You must not set this earlier than current period end for every applicable subscription item.
|
|
5371
3542
|
*/
|
|
5372
3543
|
bill_until?: BillingSchedule.BillUntil;
|
|
5373
3544
|
/**
|
|
@@ -5385,10 +3556,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
5385
3556
|
* 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.
|
|
5386
3557
|
*/
|
|
5387
3558
|
clear_usage?: boolean;
|
|
5388
|
-
/**
|
|
5389
|
-
* The trial offer to apply to this subscription item.
|
|
5390
|
-
*/
|
|
5391
|
-
current_trial?: Item.CurrentTrial;
|
|
5392
3559
|
/**
|
|
5393
3560
|
* A flag that, if set to `true`, will delete the specified item.
|
|
5394
3561
|
*/
|
|
@@ -5426,26 +3593,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
5426
3593
|
*/
|
|
5427
3594
|
tax_rates?: Emptyable<Array<string>>;
|
|
5428
3595
|
}
|
|
5429
|
-
interface Pause {
|
|
5430
|
-
/**
|
|
5431
|
-
* Controls what to bill for when pausing the subscription.
|
|
5432
|
-
*/
|
|
5433
|
-
bill_for?: Pause.BillFor;
|
|
5434
|
-
/**
|
|
5435
|
-
* Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`.
|
|
5436
|
-
*/
|
|
5437
|
-
invoicing_behavior?: Pause.InvoicingBehavior;
|
|
5438
|
-
/**
|
|
5439
|
-
* The type of pause to apply. Defaults to `subscription`.
|
|
5440
|
-
*/
|
|
5441
|
-
type?: 'subscription';
|
|
5442
|
-
}
|
|
5443
|
-
interface Prebilling {
|
|
5444
|
-
/**
|
|
5445
|
-
* This is used to determine the number of billing cycles to prebill.
|
|
5446
|
-
*/
|
|
5447
|
-
iterations: number;
|
|
5448
|
-
}
|
|
5449
3596
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
5450
3597
|
namespace BillingMode {
|
|
5451
3598
|
interface Flexible {
|
|
@@ -5508,16 +3655,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
5508
3655
|
*/
|
|
5509
3656
|
usage_gte: number;
|
|
5510
3657
|
}
|
|
5511
|
-
interface CurrentTrial {
|
|
5512
|
-
/**
|
|
5513
|
-
* 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`.
|
|
5514
|
-
*/
|
|
5515
|
-
trial_end?: number;
|
|
5516
|
-
/**
|
|
5517
|
-
* The ID of the trial offer to apply to the subscription item.
|
|
5518
|
-
*/
|
|
5519
|
-
trial_offer: string;
|
|
5520
|
-
}
|
|
5521
3658
|
interface Discount {
|
|
5522
3659
|
/**
|
|
5523
3660
|
* ID of the coupon to create a new discount for.
|
|
@@ -5527,18 +3664,10 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
5527
3664
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
5528
3665
|
*/
|
|
5529
3666
|
discount?: string;
|
|
5530
|
-
/**
|
|
5531
|
-
* Details to determine how long the discount should be applied for.
|
|
5532
|
-
*/
|
|
5533
|
-
discount_end?: Discount.DiscountEnd;
|
|
5534
3667
|
/**
|
|
5535
3668
|
* ID of the promotion code to create a new discount for.
|
|
5536
3669
|
*/
|
|
5537
3670
|
promotion_code?: string;
|
|
5538
|
-
/**
|
|
5539
|
-
* Settings for discount application including service period anchoring.
|
|
5540
|
-
*/
|
|
5541
|
-
settings?: Discount.Settings;
|
|
5542
3671
|
}
|
|
5543
3672
|
interface PriceData {
|
|
5544
3673
|
/**
|
|
@@ -5566,86 +3695,6 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
5566
3695
|
*/
|
|
5567
3696
|
unit_amount_decimal?: Decimal;
|
|
5568
3697
|
}
|
|
5569
|
-
namespace Discount {
|
|
5570
|
-
interface DiscountEnd {
|
|
5571
|
-
/**
|
|
5572
|
-
* Time span for the redeemed discount.
|
|
5573
|
-
*/
|
|
5574
|
-
duration?: DiscountEnd.Duration;
|
|
5575
|
-
/**
|
|
5576
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
5577
|
-
*/
|
|
5578
|
-
timestamp?: number;
|
|
5579
|
-
/**
|
|
5580
|
-
* The type of calculation made to determine when the discount ends.
|
|
5581
|
-
*/
|
|
5582
|
-
type: DiscountEnd.Type;
|
|
5583
|
-
}
|
|
5584
|
-
interface Settings {
|
|
5585
|
-
/**
|
|
5586
|
-
* Configures service period cycle anchoring.
|
|
5587
|
-
*/
|
|
5588
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
5589
|
-
/**
|
|
5590
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
|
|
5591
|
-
*/
|
|
5592
|
-
start_date?: Settings.StartDate;
|
|
5593
|
-
}
|
|
5594
|
-
namespace DiscountEnd {
|
|
5595
|
-
interface Duration {
|
|
5596
|
-
/**
|
|
5597
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
5598
|
-
*/
|
|
5599
|
-
interval: Duration.Interval;
|
|
5600
|
-
/**
|
|
5601
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
5602
|
-
*/
|
|
5603
|
-
interval_count: number;
|
|
5604
|
-
}
|
|
5605
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
5606
|
-
namespace Duration {
|
|
5607
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
5608
|
-
}
|
|
5609
|
-
}
|
|
5610
|
-
namespace Settings {
|
|
5611
|
-
interface ServicePeriodAnchorConfig {
|
|
5612
|
-
/**
|
|
5613
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
5614
|
-
*/
|
|
5615
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
5616
|
-
/**
|
|
5617
|
-
* The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
|
|
5618
|
-
*/
|
|
5619
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
5620
|
-
}
|
|
5621
|
-
type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
|
|
5622
|
-
namespace ServicePeriodAnchorConfig {
|
|
5623
|
-
interface Custom {
|
|
5624
|
-
/**
|
|
5625
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
5626
|
-
*/
|
|
5627
|
-
day_of_month: number;
|
|
5628
|
-
/**
|
|
5629
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
5630
|
-
*/
|
|
5631
|
-
hour?: number;
|
|
5632
|
-
/**
|
|
5633
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
5634
|
-
*/
|
|
5635
|
-
minute?: number;
|
|
5636
|
-
/**
|
|
5637
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
5638
|
-
*/
|
|
5639
|
-
month?: number;
|
|
5640
|
-
/**
|
|
5641
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
5642
|
-
*/
|
|
5643
|
-
second?: number;
|
|
5644
|
-
}
|
|
5645
|
-
type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
|
|
5646
|
-
}
|
|
5647
|
-
}
|
|
5648
|
-
}
|
|
5649
3698
|
namespace PriceData {
|
|
5650
3699
|
interface Recurring {
|
|
5651
3700
|
/**
|
|
@@ -5663,51 +3712,8 @@ export declare namespace InvoiceCreatePreviewParams {
|
|
|
5663
3712
|
}
|
|
5664
3713
|
}
|
|
5665
3714
|
}
|
|
5666
|
-
namespace Pause {
|
|
5667
|
-
interface BillFor {
|
|
5668
|
-
/**
|
|
5669
|
-
* Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
|
|
5670
|
-
*/
|
|
5671
|
-
outstanding_usage_through?: BillFor.OutstandingUsageThrough;
|
|
5672
|
-
/**
|
|
5673
|
-
* Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
|
|
5674
|
-
*/
|
|
5675
|
-
unused_time_from?: BillFor.UnusedTimeFrom;
|
|
5676
|
-
}
|
|
5677
|
-
type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
|
|
5678
|
-
namespace BillFor {
|
|
5679
|
-
interface OutstandingUsageThrough {
|
|
5680
|
-
/**
|
|
5681
|
-
* When to bill metered usage in the current period.
|
|
5682
|
-
*/
|
|
5683
|
-
type: OutstandingUsageThrough.Type;
|
|
5684
|
-
}
|
|
5685
|
-
interface UnusedTimeFrom {
|
|
5686
|
-
/**
|
|
5687
|
-
* When to credit for unused time.
|
|
5688
|
-
*/
|
|
5689
|
-
type: UnusedTimeFrom.Type;
|
|
5690
|
-
}
|
|
5691
|
-
namespace OutstandingUsageThrough {
|
|
5692
|
-
type Type = 'none' | 'now' | OtherString;
|
|
5693
|
-
}
|
|
5694
|
-
namespace UnusedTimeFrom {
|
|
5695
|
-
type Type = 'item_current_period_start' | 'none' | 'now' | OtherString;
|
|
5696
|
-
}
|
|
5697
|
-
}
|
|
5698
|
-
}
|
|
5699
3715
|
}
|
|
5700
3716
|
}
|
|
5701
|
-
export interface InvoiceDetachPaymentParams {
|
|
5702
|
-
/**
|
|
5703
|
-
* Specifies which fields in the response should be expanded.
|
|
5704
|
-
*/
|
|
5705
|
-
expand?: Array<string>;
|
|
5706
|
-
/**
|
|
5707
|
-
* The ID of the PaymentIntent to detach from the invoice.
|
|
5708
|
-
*/
|
|
5709
|
-
payment_intent?: string;
|
|
5710
|
-
}
|
|
5711
3717
|
export interface InvoiceFinalizeInvoiceParams {
|
|
5712
3718
|
/**
|
|
5713
3719
|
* Controls whether Stripe performs [automatic collection](https://docs.stripe.com/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action.
|
|
@@ -5817,32 +3823,6 @@ export interface InvoiceSendInvoiceParams {
|
|
|
5817
3823
|
*/
|
|
5818
3824
|
expand?: Array<string>;
|
|
5819
3825
|
}
|
|
5820
|
-
export interface InvoiceSerializeBatchAddLinesParams {
|
|
5821
|
-
}
|
|
5822
|
-
export interface InvoiceSerializeBatchCreateParams {
|
|
5823
|
-
}
|
|
5824
|
-
export interface InvoiceSerializeBatchCreatePreviewParams {
|
|
5825
|
-
}
|
|
5826
|
-
export interface InvoiceSerializeBatchDeleteParams {
|
|
5827
|
-
}
|
|
5828
|
-
export interface InvoiceSerializeBatchFinalizeInvoiceParams {
|
|
5829
|
-
}
|
|
5830
|
-
export interface InvoiceSerializeBatchMarkUncollectibleParams {
|
|
5831
|
-
}
|
|
5832
|
-
export interface InvoiceSerializeBatchPayParams {
|
|
5833
|
-
}
|
|
5834
|
-
export interface InvoiceSerializeBatchRemoveLinesParams {
|
|
5835
|
-
}
|
|
5836
|
-
export interface InvoiceSerializeBatchSendInvoiceParams {
|
|
5837
|
-
}
|
|
5838
|
-
export interface InvoiceSerializeBatchUpdateParams {
|
|
5839
|
-
}
|
|
5840
|
-
export interface InvoiceSerializeBatchUpdateLineItemParams {
|
|
5841
|
-
}
|
|
5842
|
-
export interface InvoiceSerializeBatchUpdateLinesParams {
|
|
5843
|
-
}
|
|
5844
|
-
export interface InvoiceSerializeBatchVoidInvoiceParams {
|
|
5845
|
-
}
|
|
5846
3826
|
export interface InvoiceUpdateLinesParams {
|
|
5847
3827
|
/**
|
|
5848
3828
|
* The line items to update.
|
|
@@ -5881,10 +3861,6 @@ export declare namespace InvoiceUpdateLinesParams {
|
|
|
5881
3861
|
* ID of an existing line item on the invoice.
|
|
5882
3862
|
*/
|
|
5883
3863
|
id: string;
|
|
5884
|
-
/**
|
|
5885
|
-
* The IDs of the margins to apply to the line item. When set, the `default_margins` on the invoice do not apply to this line item.
|
|
5886
|
-
*/
|
|
5887
|
-
margins?: Emptyable<Array<string>>;
|
|
5888
3864
|
/**
|
|
5889
3865
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For [type=subscription](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-type) line items, the incoming metadata specified on the request is directly used to set this value, in contrast to [type=invoiceitem](api/invoices/line_item#invoice_line_item_object-type) line items, where any existing metadata on the invoice line is merged with the incoming data.
|
|
5890
3866
|
*/
|
|
@@ -5928,10 +3904,6 @@ export declare namespace InvoiceUpdateLinesParams {
|
|
|
5928
3904
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
5929
3905
|
*/
|
|
5930
3906
|
discount?: string;
|
|
5931
|
-
/**
|
|
5932
|
-
* Details to determine how long the discount should be applied for.
|
|
5933
|
-
*/
|
|
5934
|
-
discount_end?: Discount.DiscountEnd;
|
|
5935
3907
|
/**
|
|
5936
3908
|
* ID of the promotion code to create a new discount for.
|
|
5937
3909
|
*/
|
|
@@ -5999,38 +3971,6 @@ export declare namespace InvoiceUpdateLinesParams {
|
|
|
5999
3971
|
*/
|
|
6000
3972
|
taxable_amount: number;
|
|
6001
3973
|
}
|
|
6002
|
-
namespace Discount {
|
|
6003
|
-
interface DiscountEnd {
|
|
6004
|
-
/**
|
|
6005
|
-
* Time span for the redeemed discount.
|
|
6006
|
-
*/
|
|
6007
|
-
duration?: DiscountEnd.Duration;
|
|
6008
|
-
/**
|
|
6009
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
6010
|
-
*/
|
|
6011
|
-
timestamp?: number;
|
|
6012
|
-
/**
|
|
6013
|
-
* The type of calculation made to determine when the discount ends.
|
|
6014
|
-
*/
|
|
6015
|
-
type: DiscountEnd.Type;
|
|
6016
|
-
}
|
|
6017
|
-
namespace DiscountEnd {
|
|
6018
|
-
interface Duration {
|
|
6019
|
-
/**
|
|
6020
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
6021
|
-
*/
|
|
6022
|
-
interval: Duration.Interval;
|
|
6023
|
-
/**
|
|
6024
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
6025
|
-
*/
|
|
6026
|
-
interval_count: number;
|
|
6027
|
-
}
|
|
6028
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
6029
|
-
namespace Duration {
|
|
6030
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
6031
|
-
}
|
|
6032
|
-
}
|
|
6033
|
-
}
|
|
6034
3974
|
namespace PriceData {
|
|
6035
3975
|
interface ProductData {
|
|
6036
3976
|
/**
|
|
@@ -6053,28 +3993,12 @@ export declare namespace InvoiceUpdateLinesParams {
|
|
|
6053
3993
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
6054
3994
|
*/
|
|
6055
3995
|
tax_code?: string;
|
|
6056
|
-
/**
|
|
6057
|
-
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
6058
|
-
*/
|
|
6059
|
-
tax_details?: ProductData.TaxDetails;
|
|
6060
3996
|
/**
|
|
6061
3997
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
6062
3998
|
*/
|
|
6063
3999
|
unit_label?: string;
|
|
6064
4000
|
}
|
|
6065
4001
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
|
|
6066
|
-
namespace ProductData {
|
|
6067
|
-
interface TaxDetails {
|
|
6068
|
-
/**
|
|
6069
|
-
* A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
6070
|
-
*/
|
|
6071
|
-
performance_location?: string;
|
|
6072
|
-
/**
|
|
6073
|
-
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
6074
|
-
*/
|
|
6075
|
-
tax_code?: Emptyable<string>;
|
|
6076
|
-
}
|
|
6077
|
-
}
|
|
6078
4002
|
}
|
|
6079
4003
|
namespace TaxAmount {
|
|
6080
4004
|
interface TaxRateData {
|
|
@@ -6144,10 +4068,6 @@ export interface InvoiceUpdateLineItemParams {
|
|
|
6144
4068
|
* Specifies which fields in the response should be expanded.
|
|
6145
4069
|
*/
|
|
6146
4070
|
expand?: Array<string>;
|
|
6147
|
-
/**
|
|
6148
|
-
* The IDs of the margins to apply to the line item. When set, the `default_margins` on the invoice do not apply to this line item.
|
|
6149
|
-
*/
|
|
6150
|
-
margins?: Emptyable<Array<string>>;
|
|
6151
4071
|
/**
|
|
6152
4072
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For [type=subscription](https://docs.stripe.com/api/invoices/line_item) line items, the incoming metadata specified on the request is directly used to set this value, in contrast to [type=invoiceitem](https://docs.stripe.com/api/invoices/line_item) line items, where any existing metadata on the invoice line is merged with the incoming data.
|
|
6153
4073
|
*/
|
|
@@ -6191,10 +4111,6 @@ export declare namespace InvoiceUpdateLineItemParams {
|
|
|
6191
4111
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
6192
4112
|
*/
|
|
6193
4113
|
discount?: string;
|
|
6194
|
-
/**
|
|
6195
|
-
* Details to determine how long the discount should be applied for.
|
|
6196
|
-
*/
|
|
6197
|
-
discount_end?: Discount.DiscountEnd;
|
|
6198
4114
|
/**
|
|
6199
4115
|
* ID of the promotion code to create a new discount for.
|
|
6200
4116
|
*/
|
|
@@ -6262,38 +4178,6 @@ export declare namespace InvoiceUpdateLineItemParams {
|
|
|
6262
4178
|
*/
|
|
6263
4179
|
taxable_amount: number;
|
|
6264
4180
|
}
|
|
6265
|
-
namespace Discount {
|
|
6266
|
-
interface DiscountEnd {
|
|
6267
|
-
/**
|
|
6268
|
-
* Time span for the redeemed discount.
|
|
6269
|
-
*/
|
|
6270
|
-
duration?: DiscountEnd.Duration;
|
|
6271
|
-
/**
|
|
6272
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
6273
|
-
*/
|
|
6274
|
-
timestamp?: number;
|
|
6275
|
-
/**
|
|
6276
|
-
* The type of calculation made to determine when the discount ends.
|
|
6277
|
-
*/
|
|
6278
|
-
type: DiscountEnd.Type;
|
|
6279
|
-
}
|
|
6280
|
-
namespace DiscountEnd {
|
|
6281
|
-
interface Duration {
|
|
6282
|
-
/**
|
|
6283
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
6284
|
-
*/
|
|
6285
|
-
interval: Duration.Interval;
|
|
6286
|
-
/**
|
|
6287
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
6288
|
-
*/
|
|
6289
|
-
interval_count: number;
|
|
6290
|
-
}
|
|
6291
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
6292
|
-
namespace Duration {
|
|
6293
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
6294
|
-
}
|
|
6295
|
-
}
|
|
6296
|
-
}
|
|
6297
4181
|
namespace PriceData {
|
|
6298
4182
|
interface ProductData {
|
|
6299
4183
|
/**
|
|
@@ -6316,28 +4200,12 @@ export declare namespace InvoiceUpdateLineItemParams {
|
|
|
6316
4200
|
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
6317
4201
|
*/
|
|
6318
4202
|
tax_code?: string;
|
|
6319
|
-
/**
|
|
6320
|
-
* Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
|
|
6321
|
-
*/
|
|
6322
|
-
tax_details?: ProductData.TaxDetails;
|
|
6323
4203
|
/**
|
|
6324
4204
|
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
6325
4205
|
*/
|
|
6326
4206
|
unit_label?: string;
|
|
6327
4207
|
}
|
|
6328
4208
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
|
|
6329
|
-
namespace ProductData {
|
|
6330
|
-
interface TaxDetails {
|
|
6331
|
-
/**
|
|
6332
|
-
* A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
6333
|
-
*/
|
|
6334
|
-
performance_location?: string;
|
|
6335
|
-
/**
|
|
6336
|
-
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
6337
|
-
*/
|
|
6338
|
-
tax_code?: Emptyable<string>;
|
|
6339
|
-
}
|
|
6340
|
-
}
|
|
6341
4209
|
}
|
|
6342
4210
|
namespace TaxAmount {
|
|
6343
4211
|
interface TaxRateData {
|